diff --git a/docs/ibm_account_info.rst b/docs/ibm_account_info.rst index e6e452993..8b2127534 100644 --- a/docs/ibm_account_info.rst +++ b/docs/ibm_account_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_api_gateway_endpoint.rst b/docs/ibm_api_gateway_endpoint.rst index 0b08821b8..279196b93 100644 --- a/docs/ibm_api_gateway_endpoint.rst +++ b/docs/ibm_api_gateway_endpoint.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,12 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - service_instance_crn (True, str, None) - (Required for new resource) Api Gateway Service Instance Crn + type (False, str, unshare) + Action type of Endpoint ALoowable values are share, unshare, manage, unmanage - open_api_doc_name (True, str, None) - (Required for new resource) Json File path + name (True, str, None) + (Required for new resource) Endpoint name routes (False, list, None) @@ -47,16 +47,16 @@ Parameters Provider ID of an endpoint allowable values user-defined and whisk - name (True, str, None) - (Required for new resource) Endpoint name + service_instance_crn (True, str, None) + (Required for new resource) Api Gateway Service Instance Crn - managed (False, bool, False) - Managed indicates if endpoint is online or offline. + open_api_doc_name (True, str, None) + (Required for new resource) Json File path - type (False, str, unshare) - Action type of Endpoint ALoowable values are share, unshare, manage, unmanage + managed (False, bool, False) + Managed indicates if endpoint is online or offline. id (False, str, None) diff --git a/docs/ibm_api_gateway_endpoint_subscription.rst b/docs/ibm_api_gateway_endpoint_subscription.rst index 6af9f00cb..88844ae51 100644 --- a/docs/ibm_api_gateway_endpoint_subscription.rst +++ b/docs/ibm_api_gateway_endpoint_subscription.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,18 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - type (True, str, None) - (Required for new resource) Subscription type. Allowable values are external, internal - - - client_secret (False, str, None) - Client Sercret of a Subscription - - - generate_secret (False, bool, None) - Indicates if Client Sercret has to be autogenerated - - artifact_id (True, str, None) (Required for new resource) Endpoint ID @@ -55,6 +43,18 @@ Parameters (Required for new resource) Subscription name + type (True, str, None) + (Required for new resource) Subscription type. Allowable values are external, internal + + + client_secret (False, str, None) + Client Sercret of a Subscription + + + generate_secret (False, bool, None) + Indicates if Client Sercret has to be autogenerated + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_api_gateway_info.rst b/docs/ibm_api_gateway_info.rst index 214ccaf7e..0322263b6 100644 --- a/docs/ibm_api_gateway_info.rst +++ b/docs/ibm_api_gateway_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_app_config_collection.rst b/docs/ibm_app_config_collection.rst index fb0b8d1fe..a8814d293 100644 --- a/docs/ibm_app_config_collection.rst +++ b/docs/ibm_app_config_collection.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,6 +35,10 @@ Parameters (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + tags (False, str, None) + Tags associated with the collection + + name (True, str, None) (Required for new resource) Collection name. @@ -47,10 +51,6 @@ Parameters Collection description - tags (False, str, None) - Tags associated with the collection - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_app_config_collection_info.rst b/docs/ibm_app_config_collection_info.rst index 38b61daf6..2e1d01b47 100644 --- a/docs/ibm_app_config_collection_info.rst +++ b/docs/ibm_app_config_collection_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -37,14 +37,14 @@ Parameters Collection Id of the collection. - include (False, list, None) - Include feature, property details in the response. - - expand (False, bool, None) If set to true, returns expanded view of the resource details. + include (False, list, None) + Include feature, property details in the response. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_app_config_collections_info.rst b/docs/ibm_app_config_collections_info.rst index 43ff8ef45..a24f0bf03 100644 --- a/docs/ibm_app_config_collections_info.rst +++ b/docs/ibm_app_config_collections_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - offset (False, int, None) - Skipped number of records. - - - include (False, list, None) - Include feature, property details in the response. - - expand (False, bool, None) If set to true, returns expanded view of the resource details. @@ -49,6 +41,14 @@ Parameters The number of records to retrieve. + offset (False, int, None) + Skipped number of records. + + + include (False, list, None) + Include feature, property details in the response. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_app_config_environment.rst b/docs/ibm_app_config_environment.rst index c081cb4cd..2f5ac899e 100644 --- a/docs/ibm_app_config_environment.rst +++ b/docs/ibm_app_config_environment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + color_code (False, str, None) + Color code to distinguish the environment. + + + tags (False, str, None) + Tags associated with the environment + + guid (True, str, None) (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. @@ -43,18 +51,10 @@ Parameters (Required for new resource) Environment Id. - tags (False, str, None) - Tags associated with the environment - - description (False, str, None) Environment description - color_code (False, str, None) - Color code to distinguish the environment. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_app_config_environment_info.rst b/docs/ibm_app_config_environment_info.rst index ab8ee6d48..f60f218f2 100644 --- a/docs/ibm_app_config_environment_info.rst +++ b/docs/ibm_app_config_environment_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_app_config_environments_info.rst b/docs/ibm_app_config_environments_info.rst index 456fd6273..c109e9a0e 100644 --- a/docs/ibm_app_config_environments_info.rst +++ b/docs/ibm_app_config_environments_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,20 +29,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - offset (False, int, None) - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. + guid (True, str, None) + GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. tags (False, str, None) filter the resources to be returned based on the associated tags. Returns resources associated with any of the specified tags. - expand (False, bool, None) - If set to `true`, returns expanded view of the resource details. + offset (False, int, None) + The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. - guid (True, str, None) - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + expand (False, bool, None) + If set to `true`, returns expanded view of the resource details. limit (False, int, None) diff --git a/docs/ibm_app_config_feature.rst b/docs/ibm_app_config_feature.rst index adae7ccfa..f75611b59 100644 --- a/docs/ibm_app_config_feature.rst +++ b/docs/ibm_app_config_feature.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,54 +31,54 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - environment_id (True, str, None) - (Required for new resource) Environment Id. - - - feature_id (True, str, None) - (Required for new resource) Feature id. - - - tags (False, str, None) - Tags associated with the feature. + name (True, str, None) + (Required for new resource) Feature name. - collections (False, list, None) - List of collection id representing the collections that are associated with the specified feature flag. + description (False, str, None) + Feature description. - name (True, str, None) - (Required for new resource) Feature name. + guid (True, str, None) + (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - disabled_value (True, str, None) - (Required for new resource) Value of the feature when it is disabled. The value can be BOOLEAN, STRING or a NUMERIC value as per the `type` attribute. + feature_id (True, str, None) + (Required for new resource) Feature id. enabled_value (True, str, None) (Required for new resource) Value of the feature when it is enabled. The value can be BOOLEAN, STRING or a NUMERIC value as per the `type` attribute. - description (False, str, None) - Feature description. + tags (False, str, None) + Tags associated with the feature. rollout_percentage (False, int, None) Rollout percentage of the feature. - guid (True, str, None) - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + environment_id (True, str, None) + (Required for new resource) Environment Id. type (True, str, None) (Required for new resource) Type of the feature (BOOLEAN, STRING, NUMERIC). + disabled_value (True, str, None) + (Required for new resource) Value of the feature when it is disabled. The value can be BOOLEAN, STRING or a NUMERIC value as per the `type` attribute. + + segment_rules (False, list, None) Specify the targeting rules that is used to set different feature flag values for different segments. + collections (False, list, None) + List of collection id representing the collections that are associated with the specified feature flag. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_app_config_feature_info.rst b/docs/ibm_app_config_feature_info.rst index f6733b4b2..f34e923e2 100644 --- a/docs/ibm_app_config_feature_info.rst +++ b/docs/ibm_app_config_feature_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,22 +29,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - environment_id (True, str, None) - Environment Id. - - - feature_id (True, str, None) - Feature Id. - - guid (True, str, None) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + environment_id (True, str, None) + Environment Id. + + includes (False, str, None) Include the associated collections in the response. + feature_id (True, str, None) + Feature Id. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_app_config_features_info.rst b/docs/ibm_app_config_features_info.rst index 63c1f9daa..ab86655dc 100644 --- a/docs/ibm_app_config_features_info.rst +++ b/docs/ibm_app_config_features_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,44 +29,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, str, None) - Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated tags. Returns resources associated with any of the specified tags. - - - offset (False, int, None) - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. + guid (True, str, None) + GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. limit (False, int, None) The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. - guid (True, str, None) - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + environment_id (True, str, None) + Environment Id. - collections (False, list, None) - Filter features by a list of comma separated collections. + expand (False, bool, None) + If set to `true`, returns expanded view of the resource details. includes (False, list, None) Include the associated collections or targeting rules details in the response. - segments (False, list, None) - Filter features by a list of comma separated segments. + collections (False, list, None) + Filter features by a list of comma separated collections. - environment_id (True, str, None) - Environment Id. + offset (False, int, None) + The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. sort (False, str, None) Sort the feature details based on the specified attribute. - expand (False, bool, None) - If set to `true`, returns expanded view of the resource details. + tags (False, str, None) + Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated tags. Returns resources associated with any of the specified tags. + + + segments (False, list, None) + Filter features by a list of comma separated segments. iaas_classic_username (False, any, None) diff --git a/docs/ibm_app_config_properties_info.rst b/docs/ibm_app_config_properties_info.rst index 92776c60a..afa29e076 100644 --- a/docs/ibm_app_config_properties_info.rst +++ b/docs/ibm_app_config_properties_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + guid (True, str, None) + GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + + environment_id (True, str, None) Environment Id. @@ -37,22 +41,10 @@ Parameters Sort the feature details based on the specified attribute. - collections (False, list, None) - Filter features by a list of comma separated collections. - - segments (False, list, None) Filter features by a list of comma separated segments. - guid (True, str, None) - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - - - tags (False, str, None) - Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated tags. Returns resources associated with any of the specified tags. - - expand (False, bool, None) If set to `true`, returns expanded view of the resource details. @@ -61,14 +53,22 @@ Parameters Include the associated collections or targeting rules details in the response. - limit (False, int, None) - The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. - - offset (False, int, None) The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. + tags (False, str, None) + Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated tags. Returns resources associated with any of the specified tags. + + + collections (False, list, None) + Filter features by a list of comma separated collections. + + + limit (False, int, None) + The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_app_config_property.rst b/docs/ibm_app_config_property.rst index 46c749e1f..2ff24cbfb 100644 --- a/docs/ibm_app_config_property.rst +++ b/docs/ibm_app_config_property.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,50 +31,50 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - property_id (True, str, None) - (Required for new resource) Property id. - - - value (True, str, None) - (Required for new resource) Value of the Property. The value can be Boolean, String or a Numeric value as per the `type` attribute. - - - collections (False, list, None) - List of collection id representing the collections that are associated with the specified property. - - - environment_id (True, str, None) - (Required for new resource) Environment Id. - - description (False, str, None) Property description. - segment_rules (False, list, None) - Specify the targeting rules that is used to set different property values for different segments. + format (False, str, None) + Format of the feature (TEXT, JSON, YAML). name (True, str, None) (Required for new resource) Property name. - tags (False, str, None) - Tags associated with the property. + property_id (True, str, None) + (Required for new resource) Property id. guid (True, str, None) (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - format (False, str, None) - Format of the feature (TEXT, JSON, YAML). + tags (False, str, None) + Tags associated with the property. + + + segment_rules (False, list, None) + Specify the targeting rules that is used to set different property values for different segments. + + + collections (False, list, None) + List of collection id representing the collections that are associated with the specified property. type (True, str, None) (Required for new resource) Type of the Property (BOOLEAN, STRING, NUMERIC). + value (True, str, None) + (Required for new resource) Value of the Property. The value can be Boolean, String or a Numeric value as per the `type` attribute. + + + environment_id (True, str, None) + (Required for new resource) Environment Id. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_app_config_property_info.rst b/docs/ibm_app_config_property_info.rst index 9bf33eaa1..283d27fe8 100644 --- a/docs/ibm_app_config_property_info.rst +++ b/docs/ibm_app_config_property_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -37,14 +37,14 @@ Parameters Environment Id. - include (False, str, None) - Include the associated collections in the response. - - property_id (True, str, None) Property Id. + include (False, str, None) + Include the associated collections in the response. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_app_config_segment.rst b/docs/ibm_app_config_segment.rst index 66597b3e8..10a28e510 100644 --- a/docs/ibm_app_config_segment.rst +++ b/docs/ibm_app_config_segment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,24 +35,24 @@ Parameters (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - name (True, str, None) - (Required for new resource) Segment name. - - description (False, str, None) Segment description. - tags (False, str, None) - Tags associated with the segments. + rules (True, list, None) + (Required for new resource) List of rules that determine if the entity belongs to the segment during feature / property evaluation. An entity is identified by an unique identifier and the attributes that it defines. + + + name (True, str, None) + (Required for new resource) Segment name. segment_id (True, str, None) (Required for new resource) Segment id. - rules (True, list, None) - (Required for new resource) List of rules that determine if the entity belongs to the segment during feature / property evaluation. An entity is identified by an unique identifier and the attributes that it defines. + tags (False, str, None) + Tags associated with the segments. id (False, str, None) diff --git a/docs/ibm_app_config_segment_info.rst b/docs/ibm_app_config_segment_info.rst index c011dbc4f..0d55ede6e 100644 --- a/docs/ibm_app_config_segment_info.rst +++ b/docs/ibm_app_config_segment_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_app_config_segments_info.rst b/docs/ibm_app_config_segments_info.rst index 88cc49b5d..ee8791e33 100644 --- a/docs/ibm_app_config_segments_info.rst +++ b/docs/ibm_app_config_segments_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,36 +29,36 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, str, None) - Filter the resources to be returned based on the associated tags. + guid (True, str, None) + GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. sort (False, str, None) Sort the segment details based on the specified attribute. - total_count (False, int, None) - Total number of records. - - - offset (False, int, None) - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. + include (False, str, None) + Segment details to include the associated rules in the response - guid (True, str, None) - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + limit (False, int, None) + The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. - include (False, str, None) - Segment details to include the associated rules in the response + tags (False, str, None) + Filter the resources to be returned based on the associated tags. expand (False, bool, None) If set to `true`, returns expanded view of the resource details. - limit (False, int, None) - The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. + total_count (False, int, None) + Total number of records. + + + offset (False, int, None) + The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. iaas_classic_username (False, any, None) diff --git a/docs/ibm_app_config_snapshot.rst b/docs/ibm_app_config_snapshot.rst new file mode 100644 index 000000000..27d01fe87 --- /dev/null +++ b/docs/ibm_app_config_snapshot.rst @@ -0,0 +1,113 @@ + +ibm_app_config_snapshot -- Configure IBM Cloud 'ibm_app_config_snapshot' resource +================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_app_config_snapshot' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/app_config_snapshot + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.47.1 +- Terraform v0.12.20 + + + +Parameters +---------- + + action (False, str, None) + action promote + + + guid (True, str, None) + (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + + + git_config_id (True, str, None) + (Required for new resource) Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only + + + git_url (True, str, None) + (Required for new resource) Git url which will be used to connect to the github account. + + + collection_id (True, str, None) + (Required for new resource) Collection id. + + + git_config_name (True, str, None) + (Required for new resource) Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only + + + git_file_path (True, str, None) + (Required for new resource) Git file path, this is a path where your configuration file will be written. + + + git_token (True, str, None) + (Required for new resource) Git token, this needs to be provided with enough permission to write and update the file. + + + git_branch (True, str, None) + (Required for new resource) Branch name to which you need to write or update the configuration. + + + environment_id (True, str, None) + (Required for new resource) Environment id. + + + id (False, str, None) + (Required when updating or destroying existing resource) IBM Cloud Resource ID. + + + state (False, any, available) + State of resource + + + iaas_classic_username (False, any, None) + (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. + + + iaas_classic_api_key (False, any, None) + (Required when generation = 1) The IBM Cloud Classic Infrastructure API key. This can also be provided via the environment variable 'IAAS_CLASSIC_API_KEY'. + + + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + ibmcloud_api_key (True, any, None) + The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_app_config_snapshot_info.rst b/docs/ibm_app_config_snapshot_info.rst new file mode 100644 index 000000000..f002bf257 --- /dev/null +++ b/docs/ibm_app_config_snapshot_info.rst @@ -0,0 +1,71 @@ + +ibm_app_config_snapshot_info -- Retrieve IBM Cloud 'ibm_app_config_snapshot' resource +===================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_app_config_snapshot' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/app_config_snapshot + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.47.1 +- Terraform v0.12.20 + + + +Parameters +---------- + + guid (True, str, None) + GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + + + git_config_id (True, str, None) + Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only + + + iaas_classic_username (False, any, None) + (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. + + + iaas_classic_api_key (False, any, None) + (Required when generation = 1) The IBM Cloud Classic Infrastructure API key. This can also be provided via the environment variable 'IAAS_CLASSIC_API_KEY'. + + + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + ibmcloud_api_key (True, any, None) + The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_app_config_snapshots_info.rst b/docs/ibm_app_config_snapshots_info.rst new file mode 100644 index 000000000..b02b9edd8 --- /dev/null +++ b/docs/ibm_app_config_snapshots_info.rst @@ -0,0 +1,83 @@ + +ibm_app_config_snapshots_info -- Retrieve IBM Cloud 'ibm_app_config_snapshots' resource +======================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_app_config_snapshots' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/app_config_snapshots + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.47.1 +- Terraform v0.12.20 + + + +Parameters +---------- + + guid (True, str, None) + GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + + + collection_id (False, str, None) + Filters the response based on the specified collection_id. + + + environment_id (False, str, None) + Filters the response based on the specified environment_id. + + + limit (False, int, None) + The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. + + + offset (False, int, None) + The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. + + + iaas_classic_username (False, any, None) + (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. + + + iaas_classic_api_key (False, any, None) + (Required when generation = 1) The IBM Cloud Classic Infrastructure API key. This can also be provided via the environment variable 'IAAS_CLASSIC_API_KEY'. + + + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + ibmcloud_api_key (True, any, None) + The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_app_domain_private.rst b/docs/ibm_app_domain_private.rst index 4f4381691..2e1cf34a6 100644 --- a/docs/ibm_app_domain_private.rst +++ b/docs/ibm_app_domain_private.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) The name of the domain - - org_guid (True, str, None) (Required for new resource) The organization that owns the domain. @@ -43,6 +39,10 @@ Parameters None + name (True, str, None) + (Required for new resource) The name of the domain + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_app_domain_private_info.rst b/docs/ibm_app_domain_private_info.rst index c95d3462d..553ff2d1b 100644 --- a/docs/ibm_app_domain_private_info.rst +++ b/docs/ibm_app_domain_private_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_app_domain_shared.rst b/docs/ibm_app_domain_shared.rst index 7cf5bc20d..8b79b2e96 100644 --- a/docs/ibm_app_domain_shared.rst +++ b/docs/ibm_app_domain_shared.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_app_domain_shared_info.rst b/docs/ibm_app_domain_shared_info.rst index 446abf083..c65e9fd8a 100644 --- a/docs/ibm_app_domain_shared_info.rst +++ b/docs/ibm_app_domain_shared_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_app_info.rst b/docs/ibm_app_info.rst index f92804864..bb62f78dc 100644 --- a/docs/ibm_app_info.rst +++ b/docs/ibm_app_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_app_route.rst b/docs/ibm_app_route.rst index 278d53e30..0517761a7 100644 --- a/docs/ibm_app_route.rst +++ b/docs/ibm_app_route.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - None - - host (False, str, None) The host portion of the route. Required for shared-domains. @@ -55,6 +51,10 @@ Parameters The path for a route as raw text.Paths must be between 2 and 128 characters.Paths must start with a forward slash '/'.Paths must not contain a '?' + tags (False, list, None) + None + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_app_route_info.rst b/docs/ibm_app_route_info.rst index 968c8fd96..986a5554e 100644 --- a/docs/ibm_app_route_info.rst +++ b/docs/ibm_app_route_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_apm.rst b/docs/ibm_appid_apm.rst index dad4898b5..818f57763 100644 --- a/docs/ibm_appid_apm.rst +++ b/docs/ibm_appid_apm.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + password_expiration (True, list, None) + (Required for new resource) + + lockout_policy (True, list, None) (Required for new resource) @@ -55,10 +59,6 @@ Parameters (Required for new resource) - password_expiration (True, list, None) - (Required for new resource) - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_appid_apm_info.rst b/docs/ibm_appid_apm_info.rst index 76793456e..ae0ff36d7 100644 --- a/docs/ibm_appid_apm_info.rst +++ b/docs/ibm_appid_apm_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_application.rst b/docs/ibm_appid_application.rst index 68a079622..c68315c13 100644 --- a/docs/ibm_appid_application.rst +++ b/docs/ibm_appid_application.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + type (False, str, regularwebapp) + The type of application to be registered. Allowed types are `regularwebapp` and `singlepageapp`, default is `regularwebapp`. + + tenant_id (True, str, None) (Required for new resource) The service `tenantId` @@ -39,10 +43,6 @@ Parameters (Required for new resource) The application name to be registered. Application name cannot exceed 50 characters. - type (False, str, regularwebapp) - The type of application to be registered. Allowed types are `regularwebapp` and `singlepageapp`, default is `regularwebapp`. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_appid_application_info.rst b/docs/ibm_appid_application_info.rst index 33a59ae32..1d76455d2 100644 --- a/docs/ibm_appid_application_info.rst +++ b/docs/ibm_appid_application_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_application_roles.rst b/docs/ibm_appid_application_roles.rst index b78bb27c9..efc75cf79 100644 --- a/docs/ibm_appid_application_roles.rst +++ b/docs/ibm_appid_application_roles.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_application_roles_info.rst b/docs/ibm_appid_application_roles_info.rst index 8062dc1c7..0753282e9 100644 --- a/docs/ibm_appid_application_roles_info.rst +++ b/docs/ibm_appid_application_roles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_application_scopes.rst b/docs/ibm_appid_application_scopes.rst index be8d7a8fd..2875cdb8a 100644 --- a/docs/ibm_appid_application_scopes.rst +++ b/docs/ibm_appid_application_scopes.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_application_scopes_info.rst b/docs/ibm_appid_application_scopes_info.rst index 3d61a3c2a..1457a9482 100644 --- a/docs/ibm_appid_application_scopes_info.rst +++ b/docs/ibm_appid_application_scopes_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - client_id (True, str, None) - The `client_id` is a public identifier for applications - - tenant_id (True, str, None) The service `tenantId` + client_id (True, str, None) + The `client_id` is a public identifier for applications + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_appid_applications_info.rst b/docs/ibm_appid_applications_info.rst index d589720d1..9e701ff92 100644 --- a/docs/ibm_appid_applications_info.rst +++ b/docs/ibm_appid_applications_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_audit_status.rst b/docs/ibm_appid_audit_status.rst index c850677b4..fc88d3e3e 100644 --- a/docs/ibm_appid_audit_status.rst +++ b/docs/ibm_appid_audit_status.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_audit_status_info.rst b/docs/ibm_appid_audit_status_info.rst index bad6c4149..681bbcd0d 100644 --- a/docs/ibm_appid_audit_status_info.rst +++ b/docs/ibm_appid_audit_status_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_cloud_directory_template.rst b/docs/ibm_appid_cloud_directory_template.rst index c4e60cff7..fba6974f4 100644 --- a/docs/ibm_appid_cloud_directory_template.rst +++ b/docs/ibm_appid_cloud_directory_template.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - language (False, str, en) - Preferred language for resource. Format as described at RFC5646. According to the configured languages codes returned from the `GET /management/v4/{tenantId}/config/ui/languages API`. - - subject (True, str, None) (Required for new resource) The subject of the email @@ -55,6 +51,10 @@ Parameters (Required for new resource) The type of email template. This can be `USER_VERIFICATION`, `WELCOME`, `PASSWORD_CHANGED`, `RESET_PASSWORD` or `MFA_VERIFICATION` + language (False, str, en) + Preferred language for resource. Format as described at RFC5646. According to the configured languages codes returned from the `GET /management/v4/{tenantId}/config/ui/languages API`. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_appid_cloud_directory_template_info.rst b/docs/ibm_appid_cloud_directory_template_info.rst index d9dd8f506..f8faac6b0 100644 --- a/docs/ibm_appid_cloud_directory_template_info.rst +++ b/docs/ibm_appid_cloud_directory_template_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_cloud_directory_user.rst b/docs/ibm_appid_cloud_directory_user.rst index c93972bb6..9c547ddef 100644 --- a/docs/ibm_appid_cloud_directory_user.rst +++ b/docs/ibm_appid_cloud_directory_user.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - active (False, bool, True) - Determines if the user account is active or not - - - create_profile (False, bool, True) - A boolean indication if a profile should be created for the Cloud Directory user - - locked_until (False, int, None) Integer (epoch time in milliseconds), determines till when the user account will be locked @@ -47,24 +39,32 @@ Parameters Cloud Directory user display name + user_name (False, str, None) + Optional username + + status (False, str, PENDING) Accepted values `PENDING` or `CONFIRMED` - tenant_id (True, str, None) - (Required for new resource) The AppID instance GUID + email (True, list, None) + (Required for new resource) A set of user emails - user_name (False, str, None) - Optional username + create_profile (False, bool, True) + A boolean indication if a profile should be created for the Cloud Directory user + + + active (False, bool, True) + Determines if the user account is active or not password (True, str, None) (Required for new resource) User password - email (True, list, None) - (Required for new resource) A set of user emails + tenant_id (True, str, None) + (Required for new resource) The AppID instance GUID id (False, str, None) diff --git a/docs/ibm_appid_cloud_directory_user_info.rst b/docs/ibm_appid_cloud_directory_user_info.rst index 1b774f224..2215cab66 100644 --- a/docs/ibm_appid_cloud_directory_user_info.rst +++ b/docs/ibm_appid_cloud_directory_user_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_cloud_directory.rst b/docs/ibm_appid_idp_cloud_directory.rst index 1653882c0..6e0a8f7f9 100644 --- a/docs/ibm_appid_idp_cloud_directory.rst +++ b/docs/ibm_appid_idp_cloud_directory.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,15 +31,11 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - identity_confirm_access_mode (False, str, FULL) - None - - identity_confirm_methods (False, list, None) None - is_active (True, bool, None) + tenant_id (True, str, None) (Required for new resource) @@ -47,6 +43,10 @@ Parameters None + identity_confirm_access_mode (False, str, FULL) + None + + reset_password_enabled (False, bool, True) None @@ -55,7 +55,11 @@ Parameters None - tenant_id (True, str, None) + identity_field (False, str, None) + None + + + is_active (True, bool, None) (Required for new resource) @@ -67,10 +71,6 @@ Parameters None - identity_field (False, str, None) - None - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_appid_idp_cloud_directory_info.rst b/docs/ibm_appid_idp_cloud_directory_info.rst index 5bb53de5f..f4227f96e 100644 --- a/docs/ibm_appid_idp_cloud_directory_info.rst +++ b/docs/ibm_appid_idp_cloud_directory_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_custom.rst b/docs/ibm_appid_idp_custom.rst index 72013404f..30a8b71ea 100644 --- a/docs/ibm_appid_idp_custom.rst +++ b/docs/ibm_appid_idp_custom.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + tenant_id (True, str, None) + (Required for new resource) The service `tenantId` + + is_active (True, bool, None) (Required for new resource) @@ -39,10 +43,6 @@ Parameters This is the public key used to validate your signed JWT. It is required to be a PEM in the RS256 or greater format. - tenant_id (True, str, None) - (Required for new resource) The service `tenantId` - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_appid_idp_custom_info.rst b/docs/ibm_appid_idp_custom_info.rst index b966fa7a5..9744b0191 100644 --- a/docs/ibm_appid_idp_custom_info.rst +++ b/docs/ibm_appid_idp_custom_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_facebook.rst b/docs/ibm_appid_idp_facebook.rst index 9e58b6790..aa70ad2a6 100644 --- a/docs/ibm_appid_idp_facebook.rst +++ b/docs/ibm_appid_idp_facebook.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + tenant_id (True, str, None) + (Required for new resource) The AppID instance GUID + + is_active (True, bool, None) (Required for new resource) `true` if Facebook IDP configuration is active @@ -39,10 +43,6 @@ Parameters Facebook IDP configuration - tenant_id (True, str, None) - (Required for new resource) The AppID instance GUID - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_appid_idp_facebook_info.rst b/docs/ibm_appid_idp_facebook_info.rst index b4f89f3f3..1f8025e8f 100644 --- a/docs/ibm_appid_idp_facebook_info.rst +++ b/docs/ibm_appid_idp_facebook_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_google.rst b/docs/ibm_appid_idp_google.rst index 1713c0ca4..2dae87170 100644 --- a/docs/ibm_appid_idp_google.rst +++ b/docs/ibm_appid_idp_google.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + tenant_id (True, str, None) + (Required for new resource) The AppID instance GUID + + is_active (True, bool, None) (Required for new resource) `true` if Google IDP configuration is active @@ -39,10 +43,6 @@ Parameters Google IDP configuration - tenant_id (True, str, None) - (Required for new resource) The AppID instance GUID - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_appid_idp_google_info.rst b/docs/ibm_appid_idp_google_info.rst index e7b4810dc..dd855531e 100644 --- a/docs/ibm_appid_idp_google_info.rst +++ b/docs/ibm_appid_idp_google_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_saml.rst b/docs/ibm_appid_idp_saml.rst index ad90dfec1..3497066be 100644 --- a/docs/ibm_appid_idp_saml.rst +++ b/docs/ibm_appid_idp_saml.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_saml_info.rst b/docs/ibm_appid_idp_saml_info.rst index 232222051..f34aa4d3c 100644 --- a/docs/ibm_appid_idp_saml_info.rst +++ b/docs/ibm_appid_idp_saml_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_saml_metadata_info.rst b/docs/ibm_appid_idp_saml_metadata_info.rst index 44a2f6e43..3e3f366f0 100644 --- a/docs/ibm_appid_idp_saml_metadata_info.rst +++ b/docs/ibm_appid_idp_saml_metadata_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_languages.rst b/docs/ibm_appid_languages.rst index 6d1186325..98784e674 100644 --- a/docs/ibm_appid_languages.rst +++ b/docs/ibm_appid_languages.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_languages_info.rst b/docs/ibm_appid_languages_info.rst index b28ee56ac..83edaf9d0 100644 --- a/docs/ibm_appid_languages_info.rst +++ b/docs/ibm_appid_languages_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_mfa.rst b/docs/ibm_appid_mfa.rst index cdd86c54b..330079af8 100644 --- a/docs/ibm_appid_mfa.rst +++ b/docs/ibm_appid_mfa.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_mfa_channel_info.rst b/docs/ibm_appid_mfa_channel_info.rst index fb36b2b35..0a9565fbf 100644 --- a/docs/ibm_appid_mfa_channel_info.rst +++ b/docs/ibm_appid_mfa_channel_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_mfa_info.rst b/docs/ibm_appid_mfa_info.rst index 5f34499c2..bdeb1e327 100644 --- a/docs/ibm_appid_mfa_info.rst +++ b/docs/ibm_appid_mfa_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_password_regex.rst b/docs/ibm_appid_password_regex.rst index 54c50b202..3f7a2e5c4 100644 --- a/docs/ibm_appid_password_regex.rst +++ b/docs/ibm_appid_password_regex.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - regex (True, str, None) - (Required for new resource) The escaped regex expression rule for acceptable password - - tenant_id (True, str, None) (Required for new resource) The service `tenantId` @@ -43,6 +39,10 @@ Parameters Custom error message + regex (True, str, None) + (Required for new resource) The escaped regex expression rule for acceptable password + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_appid_password_regex_info.rst b/docs/ibm_appid_password_regex_info.rst index b0ec79276..0f5d591d1 100644 --- a/docs/ibm_appid_password_regex_info.rst +++ b/docs/ibm_appid_password_regex_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_redirect_urls.rst b/docs/ibm_appid_redirect_urls.rst index af6a61aaf..4918adefe 100644 --- a/docs/ibm_appid_redirect_urls.rst +++ b/docs/ibm_appid_redirect_urls.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_redirect_urls_info.rst b/docs/ibm_appid_redirect_urls_info.rst index 76fcd06c7..f19697de6 100644 --- a/docs/ibm_appid_redirect_urls_info.rst +++ b/docs/ibm_appid_redirect_urls_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_role.rst b/docs/ibm_appid_role.rst index bf6480808..d8d6b3c28 100644 --- a/docs/ibm_appid_role.rst +++ b/docs/ibm_appid_role.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - description (False, str, None) - Optional role description - - - access (False, list, None) - None - - tenant_id (True, str, None) (Required for new resource) The service `tenantId` @@ -47,6 +39,14 @@ Parameters (Required for new resource) Unique role name + description (False, str, None) + Optional role description + + + access (False, list, None) + None + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_appid_role_info.rst b/docs/ibm_appid_role_info.rst index 5561272e5..a3cda3e5d 100644 --- a/docs/ibm_appid_role_info.rst +++ b/docs/ibm_appid_role_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_roles_info.rst b/docs/ibm_appid_roles_info.rst index 295e3b407..b3009547e 100644 --- a/docs/ibm_appid_roles_info.rst +++ b/docs/ibm_appid_roles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_theme_color.rst b/docs/ibm_appid_theme_color.rst index cedb56fde..e10f8d89f 100644 --- a/docs/ibm_appid_theme_color.rst +++ b/docs/ibm_appid_theme_color.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_theme_color_info.rst b/docs/ibm_appid_theme_color_info.rst index 7da016e83..def1aa408 100644 --- a/docs/ibm_appid_theme_color_info.rst +++ b/docs/ibm_appid_theme_color_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_theme_text.rst b/docs/ibm_appid_theme_text.rst index af44dfc58..2d4b5a4b4 100644 --- a/docs/ibm_appid_theme_text.rst +++ b/docs/ibm_appid_theme_text.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_theme_text_info.rst b/docs/ibm_appid_theme_text_info.rst index ff16f4dc0..771c87d40 100644 --- a/docs/ibm_appid_theme_text_info.rst +++ b/docs/ibm_appid_theme_text_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_token_config.rst b/docs/ibm_appid_token_config.rst index 6b43f2e78..11f725e07 100644 --- a/docs/ibm_appid_token_config.rst +++ b/docs/ibm_appid_token_config.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - refresh_token_expires_in (False, int, 2592000) - The length of time for which refresh tokens are valid in seconds - - anonymous_token_expires_in (False, int, 2592000) None @@ -63,6 +59,10 @@ Parameters The length of time for which access tokens are valid in seconds + refresh_token_expires_in (False, int, 2592000) + The length of time for which refresh tokens are valid in seconds + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_appid_token_config_info.rst b/docs/ibm_appid_token_config_info.rst index 0b6e36c24..27c4f5374 100644 --- a/docs/ibm_appid_token_config_info.rst +++ b/docs/ibm_appid_token_config_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_user_roles.rst b/docs/ibm_appid_user_roles.rst index 1dd4c717e..013df45f4 100644 --- a/docs/ibm_appid_user_roles.rst +++ b/docs/ibm_appid_user_roles.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_appid_user_roles_info.rst b/docs/ibm_appid_user_roles_info.rst index d7ce1997f..3efeea668 100644 --- a/docs/ibm_appid_user_roles_info.rst +++ b/docs/ibm_appid_user_roles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tenant_id (True, str, None) - The AppID instance GUID - - subject (True, str, None) The user's identifier ('subject' in identity token) + tenant_id (True, str, None) + The AppID instance GUID + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_atracker_endpoints_info.rst b/docs/ibm_atracker_endpoints_info.rst index 6773daaa5..2c5df178e 100644 --- a/docs/ibm_atracker_endpoints_info.rst +++ b/docs/ibm_atracker_endpoints_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_atracker_route.rst b/docs/ibm_atracker_route.rst index 428f44e52..65ffb21de 100644 --- a/docs/ibm_atracker_route.rst +++ b/docs/ibm_atracker_route.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - rules (True, list, None) - (Required for new resource) Routing rules that will be evaluated in their order of the array. - - name (True, str, None) (Required for new resource) The name of the route. The name must be 1000 characters or less and cannot include any special characters other than `(space) - . _ :`. + rules (True, list, None) + (Required for new resource) Routing rules that will be evaluated in their order of the array. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_atracker_routes_info.rst b/docs/ibm_atracker_routes_info.rst index d662130bb..643b5107b 100644 --- a/docs/ibm_atracker_routes_info.rst +++ b/docs/ibm_atracker_routes_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_atracker_settings.rst b/docs/ibm_atracker_settings.rst index bf3874be3..e769a6654 100644 --- a/docs/ibm_atracker_settings.rst +++ b/docs/ibm_atracker_settings.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_atracker_target.rst b/docs/ibm_atracker_target.rst index 759d841e8..0b38e8a80 100644 --- a/docs/ibm_atracker_target.rst +++ b/docs/ibm_atracker_target.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,8 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - region (False, any, us-south) - The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + logdna_endpoint (False, list, None) + Property values for a LogDNA Endpoint. name (True, str, None) @@ -47,8 +47,8 @@ Parameters Property values for a Cloud Object Storage Endpoint. - logdna_endpoint (False, list, None) - Property values for a LogDNA Endpoint. + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. id (False, str, None) diff --git a/docs/ibm_atracker_targets_info.rst b/docs/ibm_atracker_targets_info.rst index 848c97b52..55182f381 100644 --- a/docs/ibm_atracker_targets_info.rst +++ b/docs/ibm_atracker_targets_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cbr_rule_info.rst b/docs/ibm_cbr_rule_info.rst index 4cedc3b2e..3156d2da0 100644 --- a/docs/ibm_cbr_rule_info.rst +++ b/docs/ibm_cbr_rule_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cbr_zone.rst b/docs/ibm_cbr_zone.rst index 09be79a34..ee09b65dd 100644 --- a/docs/ibm_cbr_zone.rst +++ b/docs/ibm_cbr_zone.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,32 +31,32 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - excluded (False, list, None) - The list of excluded addresses in the zone. Only addresses of type `ipAddress`, `ipRange`, and `subnet` can be excluded. + account_id (True, str, None) + (Required for new resource) The id of the account owning this zone. - transaction_id (False, str, None) - The `Transaction-Id` header behaves as the `X-Correlation-Id` header. It is supported for backward compatibility with other IBM platform services that support the `Transaction-Id` header only. If both `X-Correlation-Id` and `Transaction-Id` are provided, `X-Correlation-Id` has the precedence over `Transaction-Id`. + addresses (True, list, None) + (Required for new resource) The list of addresses in the zone. x_correlation_id (False, str, None) The supplied or generated value of this header is logged for a request and repeated in a response header for the corresponding response. The same value is used for downstream requests and retries of those requests. If a value of this headers is not supplied in a request, the service generates a random (version 4) UUID. - account_id (True, str, None) - (Required for new resource) The id of the account owning this zone. + name (True, str, None) + (Required for new resource) The name of the zone. description (False, str, None) The description of the zone. - addresses (True, list, None) - (Required for new resource) The list of addresses in the zone. + excluded (False, list, None) + The list of excluded addresses in the zone. Only addresses of type `ipAddress`, `ipRange`, and `subnet` can be excluded. - name (True, str, None) - (Required for new resource) The name of the zone. + transaction_id (False, str, None) + The `Transaction-Id` header behaves as the `X-Correlation-Id` header. It is supported for backward compatibility with other IBM platform services that support the `Transaction-Id` header only. If both `X-Correlation-Id` and `Transaction-Id` are provided, `X-Correlation-Id` has the precedence over `Transaction-Id`. id (False, str, None) diff --git a/docs/ibm_cbr_zone_info.rst b/docs/ibm_cbr_zone_info.rst index 50358268c..bf80da619 100644 --- a/docs/ibm_cbr_zone_info.rst +++ b/docs/ibm_cbr_zone_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_tekton_pipeline.rst b/docs/ibm_cd_tekton_pipeline.rst index e88578ab2..bdcb81778 100644 --- a/docs/ibm_cd_tekton_pipeline.rst +++ b/docs/ibm_cd_tekton_pipeline.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,22 +31,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - enable_slack_notifications (False, bool, False) - Flag whether to enable slack notifications for this pipeline. When enabled, pipeline run events will be published on all slack integration specified channels in the enclosing toolchain. - - enable_partial_cloning (False, bool, False) Flag whether to enable partial cloning for this pipeline. When partial clone is enabled, only the files contained within the paths specified in definition repositories will be read and cloned. This means symbolic links may not work. - worker (False, list, None) - Worker object containing worker ID only. If omitted the IBM Managed shared workers are used by default. - - pipeline_id (True, str, None) (Required for new resource) String. + enable_slack_notifications (False, bool, False) + Flag whether to enable slack notifications for this pipeline. When enabled, pipeline run events will be published on all slack integration specified channels in the enclosing toolchain. + + + worker (False, list, None) + Worker object containing worker ID only. If omitted the IBM Managed shared workers are used by default. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_tekton_pipeline_definition.rst b/docs/ibm_cd_tekton_pipeline_definition.rst index cde1104ab..05fd7c432 100644 --- a/docs/ibm_cd_tekton_pipeline_definition.rst +++ b/docs/ibm_cd_tekton_pipeline_definition.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_tekton_pipeline_definition_info.rst b/docs/ibm_cd_tekton_pipeline_definition_info.rst index 9a024f95c..576cdf404 100644 --- a/docs/ibm_cd_tekton_pipeline_definition_info.rst +++ b/docs/ibm_cd_tekton_pipeline_definition_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pipeline_id (True, str, None) - The Tekton pipeline ID. - - definition_id (True, str, None) The definition ID. + pipeline_id (True, str, None) + The Tekton pipeline ID. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cd_tekton_pipeline_info.rst b/docs/ibm_cd_tekton_pipeline_info.rst index e6f709b6a..5cd880113 100644 --- a/docs/ibm_cd_tekton_pipeline_info.rst +++ b/docs/ibm_cd_tekton_pipeline_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_tekton_pipeline_property.rst b/docs/ibm_cd_tekton_pipeline_property.rst index f1fb92187..0a04a002f 100644 --- a/docs/ibm_cd_tekton_pipeline_property.rst +++ b/docs/ibm_cd_tekton_pipeline_property.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_tekton_pipeline_property_info.rst b/docs/ibm_cd_tekton_pipeline_property_info.rst index 556069516..46461f067 100644 --- a/docs/ibm_cd_tekton_pipeline_property_info.rst +++ b/docs/ibm_cd_tekton_pipeline_property_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_tekton_pipeline_trigger.rst b/docs/ibm_cd_tekton_pipeline_trigger.rst index 0078efe88..1d72a4ee3 100644 --- a/docs/ibm_cd_tekton_pipeline_trigger.rst +++ b/docs/ibm_cd_tekton_pipeline_trigger.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,34 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pipeline_id (True, str, None) - (Required for new resource) The Tekton pipeline ID. + event_listener (True, str, None) + (Required for new resource) Event listener name. The name of the event listener to which the trigger is associated. The event listeners are defined in the definition repositories of the Tekton pipeline. + + + max_concurrent_runs (False, int, None) + Defines the maximum number of concurrent runs for this trigger. Omit this property to disable the concurrency limit. + + + timezone (False, str, None) + Only needed for timer triggers. Timezone for timer trigger. + + + scm_source (False, list, None) + SCM source repository for a Git trigger. Only needed for Git triggers. + + + events (False, list, None) + Only needed for Git triggers. Events object defines the events to which this Git trigger listens. name (True, str, None) (Required for new resource) Trigger name. + disabled (False, bool, None) + Flag whether the trigger is disabled. If omitted the trigger is enabled by default. + + worker (False, list, None) Worker used to run the trigger. If not specified the trigger will use the default pipeline worker. @@ -55,34 +75,14 @@ Parameters Only needed for generic webhook trigger type. Secret used to start generic webhook trigger. - event_listener (True, str, None) - (Required for new resource) Event listener name. The name of the event listener to which the trigger is associated. The event listeners are defined in the definition repositories of the Tekton pipeline. - - - max_concurrent_runs (False, int, None) - Defines the maximum number of concurrent runs for this trigger. Omit this property to disable the concurrency limit. - - - disabled (False, bool, None) - Flag whether the trigger is disabled. If omitted the trigger is enabled by default. - - - events (False, list, None) - Only needed for Git triggers. Events object defines the events to which this Git trigger listens. + pipeline_id (True, str, None) + (Required for new resource) The Tekton pipeline ID. type (True, str, None) (Required for new resource) Trigger type. - timezone (False, str, None) - Only needed for timer triggers. Timezone for timer trigger. - - - scm_source (False, list, None) - SCM source repository for a Git trigger. Only needed for Git triggers. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_tekton_pipeline_trigger_info.rst b/docs/ibm_cd_tekton_pipeline_trigger_info.rst index 899197907..ba47d9421 100644 --- a/docs/ibm_cd_tekton_pipeline_trigger_info.rst +++ b/docs/ibm_cd_tekton_pipeline_trigger_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pipeline_id (True, str, None) - The Tekton pipeline ID. - - trigger_id (True, str, None) The trigger ID. + pipeline_id (True, str, None) + The Tekton pipeline ID. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cd_tekton_pipeline_trigger_property.rst b/docs/ibm_cd_tekton_pipeline_trigger_property.rst index 9013e4cab..ee7ab2ed2 100644 --- a/docs/ibm_cd_tekton_pipeline_trigger_property.rst +++ b/docs/ibm_cd_tekton_pipeline_trigger_property.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_tekton_pipeline_trigger_property_info.rst b/docs/ibm_cd_tekton_pipeline_trigger_property_info.rst index 77842ea2d..906417c10 100644 --- a/docs/ibm_cd_tekton_pipeline_trigger_property_info.rst +++ b/docs/ibm_cd_tekton_pipeline_trigger_property_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pipeline_id (True, str, None) - The Tekton pipeline ID. - - trigger_id (True, str, None) The trigger ID. @@ -41,6 +37,10 @@ Parameters The property name. + pipeline_id (True, str, None) + The Tekton pipeline ID. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cd_toolchain.rst b/docs/ibm_cd_toolchain.rst index 61c5eb3bf..ae2307884 100644 --- a/docs/ibm_cd_toolchain.rst +++ b/docs/ibm_cd_toolchain.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + description (False, str, None) + Describes the toolchain. + + name (True, str, None) (Required for new resource) Toolchain name. @@ -39,10 +43,6 @@ Parameters (Required for new resource) Resource group where toolchain will be created. - description (False, str, None) - Describes the toolchain. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_toolchain_info.rst b/docs/ibm_cd_toolchain_info.rst index 455382c0f..2f8cb8e0f 100644 --- a/docs/ibm_cd_toolchain_info.rst +++ b/docs/ibm_cd_toolchain_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_appconfig.rst b/docs/ibm_cd_toolchain_tool_appconfig.rst index a1ec2c850..fa08cd1c7 100644 --- a/docs/ibm_cd_toolchain_tool_appconfig.rst +++ b/docs/ibm_cd_toolchain_tool_appconfig.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,14 +35,14 @@ Parameters (Required for new resource) ID of the toolchain to bind the tool to. - name (False, str, None) - Name of tool. - - parameters (True, list, None) (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + name (False, str, None) + Name of tool. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_toolchain_tool_appconfig_info.rst b/docs/ibm_cd_toolchain_tool_appconfig_info.rst index 3a868e81c..27a820642 100644 --- a/docs/ibm_cd_toolchain_tool_appconfig_info.rst +++ b/docs/ibm_cd_toolchain_tool_appconfig_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_artifactory.rst b/docs/ibm_cd_toolchain_tool_artifactory.rst index 2d6b9c716..64e442e02 100644 --- a/docs/ibm_cd_toolchain_tool_artifactory.rst +++ b/docs/ibm_cd_toolchain_tool_artifactory.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_artifactory_info.rst b/docs/ibm_cd_toolchain_tool_artifactory_info.rst index adaad2107..9d472e198 100644 --- a/docs/ibm_cd_toolchain_tool_artifactory_info.rst +++ b/docs/ibm_cd_toolchain_tool_artifactory_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tool_id (True, str, None) - ID of the tool bound to the toolchain. - - toolchain_id (True, str, None) ID of the toolchain. + tool_id (True, str, None) + ID of the tool bound to the toolchain. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cd_toolchain_tool_bitbucketgit.rst b/docs/ibm_cd_toolchain_tool_bitbucketgit.rst index 2d7f5c923..7b182a9a4 100644 --- a/docs/ibm_cd_toolchain_tool_bitbucketgit.rst +++ b/docs/ibm_cd_toolchain_tool_bitbucketgit.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - toolchain_id (True, str, None) - (Required for new resource) ID of the toolchain to bind the tool to. - - - parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. - - initialization (True, list, None) (Required for new resource) @@ -47,6 +39,14 @@ Parameters Name of tool. + toolchain_id (True, str, None) + (Required for new resource) ID of the toolchain to bind the tool to. + + + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_toolchain_tool_bitbucketgit_info.rst b/docs/ibm_cd_toolchain_tool_bitbucketgit_info.rst index 7f19809ca..0193aa847 100644 --- a/docs/ibm_cd_toolchain_tool_bitbucketgit_info.rst +++ b/docs/ibm_cd_toolchain_tool_bitbucketgit_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_custom.rst b/docs/ibm_cd_toolchain_tool_custom.rst index ee59ab6ca..ace7585c0 100644 --- a/docs/ibm_cd_toolchain_tool_custom.rst +++ b/docs/ibm_cd_toolchain_tool_custom.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. - - name (False, str, None) Name of tool. + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + + toolchain_id (True, str, None) (Required for new resource) ID of the toolchain to bind the tool to. diff --git a/docs/ibm_cd_toolchain_tool_custom_info.rst b/docs/ibm_cd_toolchain_tool_custom_info.rst index d07ce29b0..77fe19c3e 100644 --- a/docs/ibm_cd_toolchain_tool_custom_info.rst +++ b/docs/ibm_cd_toolchain_tool_custom_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tool_id (True, str, None) - ID of the tool bound to the toolchain. - - toolchain_id (True, str, None) ID of the toolchain. + tool_id (True, str, None) + ID of the tool bound to the toolchain. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cd_toolchain_tool_devopsinsights.rst b/docs/ibm_cd_toolchain_tool_devopsinsights.rst index 4a946855f..73c0fbf02 100644 --- a/docs/ibm_cd_toolchain_tool_devopsinsights.rst +++ b/docs/ibm_cd_toolchain_tool_devopsinsights.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_devopsinsights_info.rst b/docs/ibm_cd_toolchain_tool_devopsinsights_info.rst index 825911483..6dc012838 100644 --- a/docs/ibm_cd_toolchain_tool_devopsinsights_info.rst +++ b/docs/ibm_cd_toolchain_tool_devopsinsights_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_githubconsolidated.rst b/docs/ibm_cd_toolchain_tool_githubconsolidated.rst index ff2f3f109..5bfb5d1b5 100644 --- a/docs/ibm_cd_toolchain_tool_githubconsolidated.rst +++ b/docs/ibm_cd_toolchain_tool_githubconsolidated.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_githubconsolidated_info.rst b/docs/ibm_cd_toolchain_tool_githubconsolidated_info.rst index ccb3a7617..ee518b33b 100644 --- a/docs/ibm_cd_toolchain_tool_githubconsolidated_info.rst +++ b/docs/ibm_cd_toolchain_tool_githubconsolidated_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_githubintegrated.rst b/docs/ibm_cd_toolchain_tool_githubintegrated.rst index f02997f18..f0d7f956d 100644 --- a/docs/ibm_cd_toolchain_tool_githubintegrated.rst +++ b/docs/ibm_cd_toolchain_tool_githubintegrated.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_githubintegrated_info.rst b/docs/ibm_cd_toolchain_tool_githubintegrated_info.rst index a09697c86..b90b02228 100644 --- a/docs/ibm_cd_toolchain_tool_githubintegrated_info.rst +++ b/docs/ibm_cd_toolchain_tool_githubintegrated_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - toolchain_id (True, str, None) - ID of the toolchain. - - tool_id (True, str, None) ID of the tool bound to the toolchain. + toolchain_id (True, str, None) + ID of the toolchain. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cd_toolchain_tool_gitlab.rst b/docs/ibm_cd_toolchain_tool_gitlab.rst index 317eb2798..9baf9675f 100644 --- a/docs/ibm_cd_toolchain_tool_gitlab.rst +++ b/docs/ibm_cd_toolchain_tool_gitlab.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,8 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - toolchain_id (True, str, None) - (Required for new resource) ID of the toolchain to bind the tool to. + name (False, str, None) + Name of tool. parameters (True, list, None) @@ -43,8 +43,8 @@ Parameters (Required for new resource) - name (False, str, None) - Name of tool. + toolchain_id (True, str, None) + (Required for new resource) ID of the toolchain to bind the tool to. id (False, str, None) diff --git a/docs/ibm_cd_toolchain_tool_gitlab_info.rst b/docs/ibm_cd_toolchain_tool_gitlab_info.rst index bb1fe5513..bd9210613 100644 --- a/docs/ibm_cd_toolchain_tool_gitlab_info.rst +++ b/docs/ibm_cd_toolchain_tool_gitlab_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_hashicorpvault.rst b/docs/ibm_cd_toolchain_tool_hashicorpvault.rst index 1a2af4f55..65c4ecc10 100644 --- a/docs/ibm_cd_toolchain_tool_hashicorpvault.rst +++ b/docs/ibm_cd_toolchain_tool_hashicorpvault.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + name (False, str, None) + Name of tool. + + toolchain_id (True, str, None) (Required for new resource) ID of the toolchain to bind the tool to. @@ -39,10 +43,6 @@ Parameters (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. - name (False, str, None) - Name of tool. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_toolchain_tool_hashicorpvault_info.rst b/docs/ibm_cd_toolchain_tool_hashicorpvault_info.rst index 5ea9ed04e..008fa0b90 100644 --- a/docs/ibm_cd_toolchain_tool_hashicorpvault_info.rst +++ b/docs/ibm_cd_toolchain_tool_hashicorpvault_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_hostedgit.rst b/docs/ibm_cd_toolchain_tool_hostedgit.rst index a897737a8..24ea5d588 100644 --- a/docs/ibm_cd_toolchain_tool_hostedgit.rst +++ b/docs/ibm_cd_toolchain_tool_hostedgit.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - toolchain_id (True, str, None) - (Required for new resource) ID of the toolchain to bind the tool to. - - - parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. - - initialization (True, list, None) (Required for new resource) @@ -47,6 +39,14 @@ Parameters Name of tool. + toolchain_id (True, str, None) + (Required for new resource) ID of the toolchain to bind the tool to. + + + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_toolchain_tool_hostedgit_info.rst b/docs/ibm_cd_toolchain_tool_hostedgit_info.rst index 40d79e39f..362bfaee3 100644 --- a/docs/ibm_cd_toolchain_tool_hostedgit_info.rst +++ b/docs/ibm_cd_toolchain_tool_hostedgit_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_jenkins.rst b/docs/ibm_cd_toolchain_tool_jenkins.rst index 4e01cf359..7f053603c 100644 --- a/docs/ibm_cd_toolchain_tool_jenkins.rst +++ b/docs/ibm_cd_toolchain_tool_jenkins.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_jenkins_info.rst b/docs/ibm_cd_toolchain_tool_jenkins_info.rst index 8eb4295f9..7dd65f6e3 100644 --- a/docs/ibm_cd_toolchain_tool_jenkins_info.rst +++ b/docs/ibm_cd_toolchain_tool_jenkins_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - toolchain_id (True, str, None) - ID of the toolchain. - - tool_id (True, str, None) ID of the tool bound to the toolchain. + toolchain_id (True, str, None) + ID of the toolchain. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cd_toolchain_tool_keyprotect.rst b/docs/ibm_cd_toolchain_tool_keyprotect.rst index 74b417575..aafc2882d 100644 --- a/docs/ibm_cd_toolchain_tool_keyprotect.rst +++ b/docs/ibm_cd_toolchain_tool_keyprotect.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + toolchain_id (True, str, None) + (Required for new resource) ID of the toolchain to bind the tool to. + + parameters (True, list, None) (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. @@ -39,10 +43,6 @@ Parameters Name of tool. - toolchain_id (True, str, None) - (Required for new resource) ID of the toolchain to bind the tool to. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_toolchain_tool_keyprotect_info.rst b/docs/ibm_cd_toolchain_tool_keyprotect_info.rst index 3f995b589..831e57ed6 100644 --- a/docs/ibm_cd_toolchain_tool_keyprotect_info.rst +++ b/docs/ibm_cd_toolchain_tool_keyprotect_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_nexus.rst b/docs/ibm_cd_toolchain_tool_nexus.rst index 4396e7294..aea498635 100644 --- a/docs/ibm_cd_toolchain_tool_nexus.rst +++ b/docs/ibm_cd_toolchain_tool_nexus.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_nexus_info.rst b/docs/ibm_cd_toolchain_tool_nexus_info.rst index 426eda552..53960d656 100644 --- a/docs/ibm_cd_toolchain_tool_nexus_info.rst +++ b/docs/ibm_cd_toolchain_tool_nexus_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tool_id (True, str, None) - ID of the tool bound to the toolchain. - - toolchain_id (True, str, None) ID of the toolchain. + tool_id (True, str, None) + ID of the tool bound to the toolchain. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cd_toolchain_tool_pagerduty.rst b/docs/ibm_cd_toolchain_tool_pagerduty.rst index 6e391378e..e9812e66f 100644 --- a/docs/ibm_cd_toolchain_tool_pagerduty.rst +++ b/docs/ibm_cd_toolchain_tool_pagerduty.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. - - toolchain_id (True, str, None) (Required for new resource) ID of the toolchain to bind the tool to. @@ -43,6 +39,10 @@ Parameters Name of tool. + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_toolchain_tool_pagerduty_info.rst b/docs/ibm_cd_toolchain_tool_pagerduty_info.rst index 11311456a..f2860124f 100644 --- a/docs/ibm_cd_toolchain_tool_pagerduty_info.rst +++ b/docs/ibm_cd_toolchain_tool_pagerduty_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - toolchain_id (True, str, None) - ID of the toolchain. - - tool_id (True, str, None) ID of the tool bound to the toolchain. + toolchain_id (True, str, None) + ID of the toolchain. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cd_toolchain_tool_pipeline.rst b/docs/ibm_cd_toolchain_tool_pipeline.rst index 97fe9376c..af2f0358c 100644 --- a/docs/ibm_cd_toolchain_tool_pipeline.rst +++ b/docs/ibm_cd_toolchain_tool_pipeline.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_pipeline_info.rst b/docs/ibm_cd_toolchain_tool_pipeline_info.rst index 942ef79dc..425764f50 100644 --- a/docs/ibm_cd_toolchain_tool_pipeline_info.rst +++ b/docs/ibm_cd_toolchain_tool_pipeline_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_privateworker.rst b/docs/ibm_cd_toolchain_tool_privateworker.rst index f5a5d7fa8..af5ef6629 100644 --- a/docs/ibm_cd_toolchain_tool_privateworker.rst +++ b/docs/ibm_cd_toolchain_tool_privateworker.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + toolchain_id (True, str, None) + (Required for new resource) ID of the toolchain to bind the tool to. + + parameters (True, list, None) (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. @@ -39,10 +43,6 @@ Parameters Name of tool. - toolchain_id (True, str, None) - (Required for new resource) ID of the toolchain to bind the tool to. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_toolchain_tool_privateworker_info.rst b/docs/ibm_cd_toolchain_tool_privateworker_info.rst index 85f0be5c5..010004ca5 100644 --- a/docs/ibm_cd_toolchain_tool_privateworker_info.rst +++ b/docs/ibm_cd_toolchain_tool_privateworker_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_saucelabs.rst b/docs/ibm_cd_toolchain_tool_saucelabs.rst index 8501046ad..96738c4fd 100644 --- a/docs/ibm_cd_toolchain_tool_saucelabs.rst +++ b/docs/ibm_cd_toolchain_tool_saucelabs.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - toolchain_id (True, str, None) - (Required for new resource) ID of the toolchain to bind the tool to. - - parameters (True, list, None) (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. @@ -43,6 +39,10 @@ Parameters Name of tool. + toolchain_id (True, str, None) + (Required for new resource) ID of the toolchain to bind the tool to. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_toolchain_tool_saucelabs_info.rst b/docs/ibm_cd_toolchain_tool_saucelabs_info.rst index 605f4fde4..690385409 100644 --- a/docs/ibm_cd_toolchain_tool_saucelabs_info.rst +++ b/docs/ibm_cd_toolchain_tool_saucelabs_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tool_id (True, str, None) - ID of the tool bound to the toolchain. - - toolchain_id (True, str, None) ID of the toolchain. + tool_id (True, str, None) + ID of the tool bound to the toolchain. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cd_toolchain_tool_secretsmanager.rst b/docs/ibm_cd_toolchain_tool_secretsmanager.rst index b42033bb5..3b0d5b798 100644 --- a/docs/ibm_cd_toolchain_tool_secretsmanager.rst +++ b/docs/ibm_cd_toolchain_tool_secretsmanager.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_secretsmanager_info.rst b/docs/ibm_cd_toolchain_tool_secretsmanager_info.rst index cde41ed99..1efdd619c 100644 --- a/docs/ibm_cd_toolchain_tool_secretsmanager_info.rst +++ b/docs/ibm_cd_toolchain_tool_secretsmanager_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_securitycompliance.rst b/docs/ibm_cd_toolchain_tool_securitycompliance.rst index 12f791dab..d1657e839 100644 --- a/docs/ibm_cd_toolchain_tool_securitycompliance.rst +++ b/docs/ibm_cd_toolchain_tool_securitycompliance.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + + name (False, str, None) Name of tool. @@ -39,10 +43,6 @@ Parameters (Required for new resource) ID of the toolchain to bind the tool to. - parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_toolchain_tool_securitycompliance_info.rst b/docs/ibm_cd_toolchain_tool_securitycompliance_info.rst index 656933770..767e4ae6a 100644 --- a/docs/ibm_cd_toolchain_tool_securitycompliance_info.rst +++ b/docs/ibm_cd_toolchain_tool_securitycompliance_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_slack.rst b/docs/ibm_cd_toolchain_tool_slack.rst index 71196cc57..d5748dc0c 100644 --- a/docs/ibm_cd_toolchain_tool_slack.rst +++ b/docs/ibm_cd_toolchain_tool_slack.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_slack_info.rst b/docs/ibm_cd_toolchain_tool_slack_info.rst index f7c08a559..5a10205ff 100644 --- a/docs/ibm_cd_toolchain_tool_slack_info.rst +++ b/docs/ibm_cd_toolchain_tool_slack_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tool_id (True, str, None) - ID of the tool bound to the toolchain. - - toolchain_id (True, str, None) ID of the toolchain. + tool_id (True, str, None) + ID of the tool bound to the toolchain. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cd_toolchain_tool_sonarqube.rst b/docs/ibm_cd_toolchain_tool_sonarqube.rst index 21ba6be07..9f8e38074 100644 --- a/docs/ibm_cd_toolchain_tool_sonarqube.rst +++ b/docs/ibm_cd_toolchain_tool_sonarqube.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - toolchain_id (True, str, None) - (Required for new resource) ID of the toolchain to bind the tool to. - - parameters (True, list, None) (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. @@ -43,6 +39,10 @@ Parameters Name of tool. + toolchain_id (True, str, None) + (Required for new resource) ID of the toolchain to bind the tool to. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_toolchain_tool_sonarqube_info.rst b/docs/ibm_cd_toolchain_tool_sonarqube_info.rst index 62729ad11..3ee5f0775 100644 --- a/docs/ibm_cd_toolchain_tool_sonarqube_info.rst +++ b/docs/ibm_cd_toolchain_tool_sonarqube_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cdn.rst b/docs/ibm_cdn.rst index adff85103..61b9ad625 100644 --- a/docs/ibm_cdn.rst +++ b/docs/ibm_cdn.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,40 +31,36 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - https_port (False, int, 443) - HTTPS port number - - - respect_headers (False, bool, True) - respect headers info + bucket_name (False, str, None) + Bucket name - certificate_type (False, str, None) - Certificate type + header (False, str, None) + Header info - path (False, str, /*) - Path details + cache_key_query_rule (False, str, include-all) + query rule info - bucket_name (False, str, None) - Bucket name + https_port (False, int, 443) + HTTPS port number - protocol (False, str, HTTP) - Protocol name + file_extension (False, str, None) + File extension info - cname (False, str, None) - cname info + performance_configuration (False, str, General web delivery) + performance configuration info - file_extension (False, str, None) - File extension info + path (False, str, /*) + Path details - cache_key_query_rule (False, str, include-all) - query rule info + vendor_name (False, str, akamai) + Vendor name origin_type (False, str, HOST_SERVER) @@ -75,24 +71,28 @@ Parameters HTTP port number - performance_configuration (False, str, General web delivery) - performance configuration info + host_name (True, str, None) + (Required for new resource) Host name - origin_address (True, str, None) - (Required for new resource) origin address info + protocol (False, str, HTTP) + Protocol name - header (False, str, None) - Header info + certificate_type (False, str, None) + Certificate type - host_name (True, str, None) - (Required for new resource) Host name + origin_address (True, str, None) + (Required for new resource) origin address info - vendor_name (False, str, akamai) - Vendor name + cname (False, str, None) + cname info + + + respect_headers (False, bool, True) + respect headers info id (False, str, None) diff --git a/docs/ibm_certificate_manager_certificate_info.rst b/docs/ibm_certificate_manager_certificate_info.rst index 30c217ddb..6e8d0122b 100644 --- a/docs/ibm_certificate_manager_certificate_info.rst +++ b/docs/ibm_certificate_manager_certificate_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_certificate_manager_certificates_info.rst b/docs/ibm_certificate_manager_certificates_info.rst index f58fcf706..76acb80e5 100644 --- a/docs/ibm_certificate_manager_certificates_info.rst +++ b/docs/ibm_certificate_manager_certificates_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_certificate_manager_import.rst b/docs/ibm_certificate_manager_import.rst index 6eb822dd1..d08193dc6 100644 --- a/docs/ibm_certificate_manager_import.rst +++ b/docs/ibm_certificate_manager_import.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + certificate_manager_instance_id (True, str, None) + (Required for new resource) Instance ID of the certificate manager resource + + name (True, str, None) (Required for new resource) Name of the instance @@ -43,10 +47,6 @@ Parameters Description of the certificate instance - certificate_manager_instance_id (True, str, None) - (Required for new resource) Instance ID of the certificate manager resource - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_certificate_manager_order.rst b/docs/ibm_certificate_manager_order.rst index 060bed318..bd23171b9 100644 --- a/docs/ibm_certificate_manager_order.rst +++ b/docs/ibm_certificate_manager_order.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,44 +31,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - description (False, str, None) - Certicate description + certificate_manager_instance_id (True, str, None) + (Required for new resource) Certificate manager instance ID - name (True, str, None) - (Required for new resource) Certificate name + rotate_keys (False, bool, False) + Keys are sorated if set to true - renew_certificate (False, bool, False) - Invokes renew functionality + auto_renew_enabled (False, bool, False) + None - domain_validation_method (False, str, dns-01) - Domain validation methods + name (True, str, None) + (Required for new resource) Certificate name - key_algorithm (False, str, rsaEncryption 2048 bit) - Keyalgorithm info + description (False, str, None) + Certicate description - auto_renew_enabled (False, bool, False) - None + domain_validation_method (False, str, dns-01) + Domain validation methods - certificate_manager_instance_id (True, str, None) - (Required for new resource) Certificate manager instance ID + dns_provider_instance_crn (False, str, None) + DNS provider instance CRN domains (True, list, None) (Required for new resource) List of domain names - rotate_keys (False, bool, False) - Keys are sorated if set to true + renew_certificate (False, bool, False) + Invokes renew functionality - dns_provider_instance_crn (False, str, None) - DNS provider instance CRN + key_algorithm (False, str, rsaEncryption 2048 bit) + Keyalgorithm info id (False, str, None) diff --git a/docs/ibm_cis.rst b/docs/ibm_cis.rst index 292299511..6c9828a98 100644 --- a/docs/ibm_cis.rst +++ b/docs/ibm_cis.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,28 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group_id (False, str, None) - The resource group id + name (True, str, None) + (Required for new resource) A name for the resource instance plan (True, str, None) (Required for new resource) The plan type of the service - parameters (False, dict, None) - Arbitrary parameters to pass. Must be a JSON object + resource_group_id (False, str, None) + The resource group id - name (True, str, None) - (Required for new resource) A name for the resource instance + tags (False, list, None) + None - location (True, str, None) - (Required for new resource) The location where the instance available + parameters (False, dict, None) + Arbitrary parameters to pass. Must be a JSON object - tags (False, list, None) - None + location (True, str, None) + (Required for new resource) The location where the instance available id (False, str, None) diff --git a/docs/ibm_cis_alert.rst b/docs/ibm_cis_alert.rst index 562e85f1f..cf1917fe1 100644 --- a/docs/ibm_cis_alert.rst +++ b/docs/ibm_cis_alert.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,36 +31,36 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - conditions (False, str, None) - Conditions based on filter type - - cis_id (True, str, None) (Required for new resource) CIS instance crn - name (True, str, None) - (Required for new resource) Policy name - - - enabled (True, bool, None) - (Required for new resource) Is the alert policy active + mechanisms (True, list, None) + (Required for new resource) Delivery mechanisms for the alert, can include an email, a webhook, or both. - filters (False, str, None) - Filters based on filter type + name (True, str, None) + (Required for new resource) Policy name description (False, str, None) Policy Description + enabled (True, bool, None) + (Required for new resource) Is the alert policy active + + alert_type (True, str, None) (Required for new resource) Condition for the alert - mechanisms (True, list, None) - (Required for new resource) Delivery mechanisms for the alert, can include an email, a webhook, or both. + filters (False, str, None) + Filters based on filter type + + + conditions (False, str, None) + Conditions based on filter type id (False, str, None) diff --git a/docs/ibm_cis_alerts_info.rst b/docs/ibm_cis_alerts_info.rst index 998466bb6..8e25d0cd7 100644 --- a/docs/ibm_cis_alerts_info.rst +++ b/docs/ibm_cis_alerts_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_cache_settings.rst b/docs/ibm_cis_cache_settings.rst index 223e918f4..c5442ea63 100644 --- a/docs/ibm_cis_cache_settings.rst +++ b/docs/ibm_cis_cache_settings.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,16 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - purge_by_hosts (False, list, None) - Purge by hosts - - - serve_stale_content (False, str, True) - Serve Stale Content - - - browser_expiration (False, int, None) - Browser Expiration setting + development_mode (False, str, None) + Development mode setting purge_all (False, bool, None) @@ -51,24 +43,32 @@ Parameters Purge by URLs + cis_id (True, str, None) + (Required for new resource) CIS instance crn + + + caching_level (False, str, None) + Cache level setting + + + browser_expiration (False, int, None) + Browser Expiration setting + + purge_by_tags (False, list, None) Purge by tags - cis_id (True, str, None) - (Required for new resource) CIS instance crn + purge_by_hosts (False, list, None) + Purge by hosts domain_id (True, str, None) (Required for new resource) Associated CIS domain - caching_level (False, str, None) - Cache level setting - - - development_mode (False, str, None) - Development mode setting + serve_stale_content (False, str, True) + Serve Stale Content query_string_sort (False, str, None) diff --git a/docs/ibm_cis_cache_settings_info.rst b/docs/ibm_cis_cache_settings_info.rst index 2d593c14b..5cb49a990 100644 --- a/docs/ibm_cis_cache_settings_info.rst +++ b/docs/ibm_cis_cache_settings_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_certificate_order.rst b/docs/ibm_cis_certificate_order.rst index fb6486927..5025ce943 100644 --- a/docs/ibm_cis_certificate_order.rst +++ b/docs/ibm_cis_certificate_order.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + type (False, str, dedicated) + certificate type + + hosts (True, list, None) (Required for new resource) Hosts which certificate need to be ordered @@ -43,10 +47,6 @@ Parameters (Required for new resource) Associated CIS domain - type (False, str, dedicated) - certificate type - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_certificate_upload.rst b/docs/ibm_cis_certificate_upload.rst index 74c5ba776..0038cc228 100644 --- a/docs/ibm_cis_certificate_upload.rst +++ b/docs/ibm_cis_certificate_upload.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,30 +31,30 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - domain_id (True, str, None) - (Required for new resource) Associated CIS domain + private_key (True, str, None) + (Required for new resource) Certificate private key - bundle_method (False, str, ubiquitous) - Certificate bundle method + priority (False, int, None) + Certificate priority + + + domain_id (True, str, None) + (Required for new resource) Associated CIS domain cis_id (True, str, None) (Required for new resource) CIS instance crn - private_key (True, str, None) - (Required for new resource) Certificate private key + bundle_method (False, str, ubiquitous) + Certificate bundle method certificate (True, str, None) (Required for new resource) Certificate key - priority (False, int, None) - Certificate priority - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_certificates_info.rst b/docs/ibm_cis_certificates_info.rst index aee991d6e..2cfd194d9 100644 --- a/docs/ibm_cis_certificates_info.rst +++ b/docs/ibm_cis_certificates_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_custom_certificates_info.rst b/docs/ibm_cis_custom_certificates_info.rst index cb7acbd8a..e1889a539 100644 --- a/docs/ibm_cis_custom_certificates_info.rst +++ b/docs/ibm_cis_custom_certificates_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_custom_page.rst b/docs/ibm_cis_custom_page.rst index dc3f4e6ea..9c5983328 100644 --- a/docs/ibm_cis_custom_page.rst +++ b/docs/ibm_cis_custom_page.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + page_id (True, str, None) + (Required for new resource) Custom page identifier + + cis_id (True, str, None) (Required for new resource) CIS instance crn @@ -39,10 +43,6 @@ Parameters (Required for new resource) Associated CIS domain - page_id (True, str, None) - (Required for new resource) Custom page identifier - - url (True, str, None) (Required for new resource) Custom page url diff --git a/docs/ibm_cis_custom_pages_info.rst b/docs/ibm_cis_custom_pages_info.rst index 92e68610e..fec129f0c 100644 --- a/docs/ibm_cis_custom_pages_info.rst +++ b/docs/ibm_cis_custom_pages_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_dns_record.rst b/docs/ibm_cis_dns_record.rst index ddfdb8c1c..c8973a78e 100644 --- a/docs/ibm_cis_dns_record.rst +++ b/docs/ibm_cis_dns_record.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,22 +31,26 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - domain_id (True, str, None) - (Required for new resource) Associated CIS domain - - - proxied (False, bool, False) - Boolean value true if proxied else flase + content (False, str, None) + DNS record content - cis_id (True, str, None) - (Required for new resource) CIS object id or CRN + data (False, dict, None) + None priority (False, int, None) Priority Value + domain_id (True, str, None) + (Required for new resource) Associated CIS domain + + + cis_id (True, str, None) + (Required for new resource) CIS object id or CRN + + name (False, str, None) DNS record name @@ -55,12 +59,8 @@ Parameters (Required for new resource) Record type - content (False, str, None) - DNS record content - - - data (False, dict, None) - None + proxied (False, bool, False) + Boolean value true if proxied else flase ttl (False, int, 1) diff --git a/docs/ibm_cis_dns_records_import.rst b/docs/ibm_cis_dns_records_import.rst index ac27e84db..7f94b9324 100644 --- a/docs/ibm_cis_dns_records_import.rst +++ b/docs/ibm_cis_dns_records_import.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cis_id (True, str, None) - (Required for new resource) CIS instance crn - - domain_id (True, str, None) (Required for new resource) Associated CIS domain @@ -43,6 +39,10 @@ Parameters (Required for new resource) File to import + cis_id (True, str, None) + (Required for new resource) CIS instance crn + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_dns_records_info.rst b/docs/ibm_cis_dns_records_info.rst index 3063337b1..dceec135e 100644 --- a/docs/ibm_cis_dns_records_info.rst +++ b/docs/ibm_cis_dns_records_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cis_id (True, str, None) - DNS Zone CRN - - domain_id (True, str, None) Zone Id @@ -41,6 +37,10 @@ Parameters file to be exported + cis_id (True, str, None) + DNS Zone CRN + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cis_domain.rst b/docs/ibm_cis_domain.rst index f20c8b50a..b227e256a 100644 --- a/docs/ibm_cis_domain.rst +++ b/docs/ibm_cis_domain.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + domain (True, str, None) + (Required for new resource) CISzone - Domain + + type (False, str, full) CISzone - Domain Type @@ -39,10 +43,6 @@ Parameters (Required for new resource) CIS instance crn - domain (True, str, None) - (Required for new resource) CISzone - Domain - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_domain_info.rst b/docs/ibm_cis_domain_info.rst index cd2cb1c44..f19140acb 100644 --- a/docs/ibm_cis_domain_info.rst +++ b/docs/ibm_cis_domain_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -33,6 +33,10 @@ Parameters CIS instance crn + verification_key (False, str, None) + None + + cname_suffix (False, str, None) None @@ -41,10 +45,6 @@ Parameters CISzone - Domain - verification_key (False, str, None) - None - - iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cis_domain_settings.rst b/docs/ibm_cis_domain_settings.rst index d9e1a3634..77b39baa9 100644 --- a/docs/ibm_cis_domain_settings.rst +++ b/docs/ibm_cis_domain_settings.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,136 +31,136 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + websockets (False, str, None) + websockets setting + + opportunistic_encryption (False, str, None) opportunistic_encryption setting - automatic_https_rewrites (False, str, None) - automatic_https_rewrites setting + browser_check (False, str, None) + browser_check setting - ipv6 (False, str, None) - ipv6 setting + minify (False, list, None) + Minify setting - pseudo_ipv4 (False, str, None) - pseudo_ipv4 setting + cis_id (True, str, None) + (Required for new resource) CIS instance crn - min_tls_version (False, str, 1.1) - Minimum version of TLS required + ssl (False, str, None) + SSL/TLS setting - cname_flattening (False, str, None) - cname_flattening setting + automatic_https_rewrites (False, str, None) + automatic_https_rewrites setting - response_buffering (False, str, None) - response_buffering setting + origin_error_page_pass_thru (False, str, None) + origin_error_page_pass_thru setting - minify (False, list, None) - Minify setting + mobile_redirect (False, list, None) + None domain_id (True, str, None) (Required for new resource) Associated CIS domain - always_use_https (False, str, None) - always_use_https setting + hotlink_protection (False, str, None) + hotlink_protection setting - prefetch_preload (False, str, None) - prefetch_preload setting + http2 (False, str, None) + http2 setting - server_side_exclude (False, str, None) - server_side_exclude setting + brotli (False, str, None) + brotli setting - tls_client_auth (False, str, None) - tls_client_auth setting + pseudo_ipv4 (False, str, None) + pseudo_ipv4 setting - mobile_redirect (False, list, None) - None + prefetch_preload (False, str, None) + prefetch_preload setting - dnssec (False, str, None) - DNS Sec setting + min_tls_version (False, str, 1.1) + Minimum version of TLS required - browser_check (False, str, None) - browser_check setting + waf (False, str, None) + WAF setting - http2 (False, str, None) - http2 setting + ipv6 (False, str, None) + ipv6 setting - challenge_ttl (False, int, None) - Challenge TTL setting + image_load_optimization (False, str, None) + image_load_optimization setting - waf (False, str, None) - WAF setting + response_buffering (False, str, None) + response_buffering setting + + + tls_client_auth (False, str, None) + tls_client_auth setting true_client_ip_header (False, str, None) true_client_ip_header setting - cipher (False, list, None) - Cipher settings + dnssec (False, str, None) + DNS Sec setting - ssl (False, str, None) - SSL/TLS setting + ip_geolocation (False, str, None) + ip_geolocation setting - hotlink_protection (False, str, None) - hotlink_protection setting + max_upload (False, int, None) + Maximum upload - image_load_optimization (False, str, None) - image_load_optimization setting + security_header (False, list, None) + Security Header Setting image_size_optimization (False, str, None) image_size_optimization setting - security_header (False, list, None) - Security Header Setting - - - ip_geolocation (False, str, None) - ip_geolocation setting + always_use_https (False, str, None) + always_use_https setting script_load_optimization (False, str, None) script_load_optimization setting - max_upload (False, int, None) - Maximum upload - - - cis_id (True, str, None) - (Required for new resource) CIS instance crn + server_side_exclude (False, str, None) + server_side_exclude setting - origin_error_page_pass_thru (False, str, None) - origin_error_page_pass_thru setting + challenge_ttl (False, int, None) + Challenge TTL setting - brotli (False, str, None) - brotli setting + cipher (False, list, None) + Cipher settings - websockets (False, str, None) - websockets setting + cname_flattening (False, str, None) + cname_flattening setting id (False, str, None) diff --git a/docs/ibm_cis_edge_functions_action.rst b/docs/ibm_cis_edge_functions_action.rst index 31e6228a7..6f62d8b63 100644 --- a/docs/ibm_cis_edge_functions_action.rst +++ b/docs/ibm_cis_edge_functions_action.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - script (True, str, None) - (Required for new resource) Edge function action script - - cis_id (True, str, None) (Required for new resource) CIS Intance CRN @@ -47,6 +43,10 @@ Parameters (Required for new resource) Edge function action script name + script (True, str, None) + (Required for new resource) Edge function action script + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_edge_functions_actions_info.rst b/docs/ibm_cis_edge_functions_actions_info.rst index c06594567..c5c1f0f51 100644 --- a/docs/ibm_cis_edge_functions_actions_info.rst +++ b/docs/ibm_cis_edge_functions_actions_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cis_id (True, str, None) - CIS Intance CRN - - domain_id (True, str, None) CIS Domain ID + cis_id (True, str, None) + CIS Intance CRN + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cis_edge_functions_trigger.rst b/docs/ibm_cis_edge_functions_trigger.rst index 59b0c367a..5a5dfd5fb 100644 --- a/docs/ibm_cis_edge_functions_trigger.rst +++ b/docs/ibm_cis_edge_functions_trigger.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_edge_functions_triggers_info.rst b/docs/ibm_cis_edge_functions_triggers_info.rst index cf1639863..377cf88c3 100644 --- a/docs/ibm_cis_edge_functions_triggers_info.rst +++ b/docs/ibm_cis_edge_functions_triggers_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_filter.rst b/docs/ibm_cis_filter.rst index 2acd534c4..198652baa 100644 --- a/docs/ibm_cis_filter.rst +++ b/docs/ibm_cis_filter.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_filters_info.rst b/docs/ibm_cis_filters_info.rst index 368cc02a3..aa6635e36 100644 --- a/docs/ibm_cis_filters_info.rst +++ b/docs/ibm_cis_filters_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_firewall.rst b/docs/ibm_cis_firewall.rst index 553f93f48..bcaa393ae 100644 --- a/docs/ibm_cis_firewall.rst +++ b/docs/ibm_cis_firewall.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + cis_id (True, str, None) + (Required for new resource) CIS object id + + domain_id (True, str, None) (Required for new resource) Associated CIS domain @@ -51,10 +55,6 @@ Parameters User Agent Rule Data - cis_id (True, str, None) - (Required for new resource) CIS object id - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_firewall_info.rst b/docs/ibm_cis_firewall_info.rst index a823e7035..c7a20fb26 100644 --- a/docs/ibm_cis_firewall_info.rst +++ b/docs/ibm_cis_firewall_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_firewall_rule.rst b/docs/ibm_cis_firewall_rule.rst index 2fb3d4d64..1f39899b3 100644 --- a/docs/ibm_cis_firewall_rule.rst +++ b/docs/ibm_cis_firewall_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + cis_id (True, str, None) + (Required for new resource) CIS instance crn + + + domain_id (True, str, None) + (Required for new resource) Associated CIS domain + + filter_id (True, str, None) (Required for new resource) Firewallrules Existing FilterID @@ -51,14 +59,6 @@ Parameters Firewallrules Paused - cis_id (True, str, None) - (Required for new resource) CIS instance crn - - - domain_id (True, str, None) - (Required for new resource) Associated CIS domain - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_firewall_rules_info.rst b/docs/ibm_cis_firewall_rules_info.rst index 572725764..91fae2177 100644 --- a/docs/ibm_cis_firewall_rules_info.rst +++ b/docs/ibm_cis_firewall_rules_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - domain_id (True, str, None) - Zone identifier of the zone for which firewall rules are listed. - - cis_id (True, str, None) Full url-encoded cloud resource name (CRN) of resource instance. + domain_id (True, str, None) + Zone identifier of the zone for which firewall rules are listed. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cis_global_load_balancer.rst b/docs/ibm_cis_global_load_balancer.rst index 8e5f60df7..b24e517fc 100644 --- a/docs/ibm_cis_global_load_balancer.rst +++ b/docs/ibm_cis_global_load_balancer.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,56 +31,56 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - session_affinity (False, str, none) - Session affinity info - - - domain_id (True, str, None) - (Required for new resource) Associated CIS domain + cis_id (True, str, None) + (Required for new resource) CIS instance crn - description (False, str, None) - Description for the load balancer instance + name (True, str, None) + (Required for new resource) name - proxied (False, bool, False) - set to true if proxy needs to be enabled + region_pools (False, list, None) + None - enabled (False, bool, True) - set to true of LB needs to enabled + default_pool_ids (True, list, None) + (Required for new resource) List of default Pool IDs pop_pools (False, list, None) None - fallback_pool_id (True, str, None) - (Required for new resource) fallback pool ID + description (False, str, None) + Description for the load balancer instance steering_policy (False, str, None) Steering policy info - ttl (False, int, 60) - TTL value + proxied (False, bool, False) + set to true if proxy needs to be enabled - default_pool_ids (True, list, None) - (Required for new resource) List of default Pool IDs + enabled (False, bool, True) + set to true of LB needs to enabled - region_pools (False, list, None) - None + domain_id (True, str, None) + (Required for new resource) Associated CIS domain - cis_id (True, str, None) - (Required for new resource) CIS instance crn + session_affinity (False, str, none) + Session affinity info - name (True, str, None) - (Required for new resource) name + fallback_pool_id (True, str, None) + (Required for new resource) fallback pool ID + + + ttl (False, int, 60) + TTL value id (False, str, None) diff --git a/docs/ibm_cis_global_load_balancers_info.rst b/docs/ibm_cis_global_load_balancers_info.rst index 860898b58..96b4b956d 100644 --- a/docs/ibm_cis_global_load_balancers_info.rst +++ b/docs/ibm_cis_global_load_balancers_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_healthcheck.rst b/docs/ibm_cis_healthcheck.rst index ba9576861..8f1ec70e9 100644 --- a/docs/ibm_cis_healthcheck.rst +++ b/docs/ibm_cis_healthcheck.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,56 +35,56 @@ Parameters expected_codes - retries (False, int, 2) - retries + description (False, str, None) + description - timeout (False, int, 5) - timeout + type (False, str, http) + type - interval (False, int, 60) - interval + method (False, str, GET) + method - headers (False, list, None) - None + timeout (False, int, 5) + timeout cis_id (True, str, None) (Required for new resource) CIS instance crn - path (False, str, /) - path - - - type (False, str, http) - type + interval (False, int, 60) + interval follow_redirects (False, bool, False) follow_redirects - expected_body (False, str, None) - expected_body + allow_insecure (False, bool, False) + allow_insecure - description (False, str, None) - description + port (False, int, None) + port number - method (False, str, GET) - method + path (False, str, /) + path - allow_insecure (False, bool, False) - allow_insecure + expected_body (False, str, None) + expected_body - port (False, int, None) - port number + retries (False, int, 2) + retries + + + headers (False, list, None) + None id (False, str, None) diff --git a/docs/ibm_cis_healthchecks_info.rst b/docs/ibm_cis_healthchecks_info.rst index c95e3a8c3..f709748ca 100644 --- a/docs/ibm_cis_healthchecks_info.rst +++ b/docs/ibm_cis_healthchecks_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_info.rst b/docs/ibm_cis_info.rst index 79dab35e6..8f1b9e96d 100644 --- a/docs/ibm_cis_info.rst +++ b/docs/ibm_cis_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group_id (False, str, None) - The id of the resource group in which the cis instance is present - - name (True, str, None) Resource instance name for example, my cis instance + resource_group_id (False, str, None) + The id of the resource group in which the cis instance is present + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cis_ip_addresses_info.rst b/docs/ibm_cis_ip_addresses_info.rst index 518f7739e..d43d37f9e 100644 --- a/docs/ibm_cis_ip_addresses_info.rst +++ b/docs/ibm_cis_ip_addresses_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_logpush_job.rst b/docs/ibm_cis_logpush_job.rst index e49b28f19..9d75886e0 100644 --- a/docs/ibm_cis_logpush_job.rst +++ b/docs/ibm_cis_logpush_job.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,8 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cis_id (True, str, None) - (Required for new resource) CIS instance crn + domain_id (True, str, None) + (Required for new resource) Associated CIS domain logdna (True, str, None) @@ -43,18 +43,14 @@ Parameters Logpush Job Name - logpull_options (False, str, None) - Configuration string - - - domain_id (True, str, None) - (Required for new resource) Associated CIS domain - - enabled (False, bool, None) Whether the logpush job enabled or not + logpull_options (False, str, None) + Configuration string + + dataset (True, str, None) (Required for new resource) Dataset to be pulled @@ -63,6 +59,10 @@ Parameters The frequency at which CIS sends batches of logs to your destination + cis_id (True, str, None) + (Required for new resource) CIS instance crn + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_logpush_jobs_info.rst b/docs/ibm_cis_logpush_jobs_info.rst index 77222dc56..fdc0fb78d 100644 --- a/docs/ibm_cis_logpush_jobs_info.rst +++ b/docs/ibm_cis_logpush_jobs_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - domain_id (True, str, None) - Associated CIS domain - - cis_id (True, str, None) CIS instance crn + domain_id (True, str, None) + Associated CIS domain + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cis_mtls.rst b/docs/ibm_cis_mtls.rst index 61407f162..37fcc7ec0 100644 --- a/docs/ibm_cis_mtls.rst +++ b/docs/ibm_cis_mtls.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,10 +35,6 @@ Parameters (Required for new resource) Certificate contents - domain_id (True, str, None) - (Required for new resource) Associated CIS domain - - name (True, str, None) (Required for new resource) Certificate name @@ -51,6 +47,10 @@ Parameters (Required for new resource) CIS instance crn + domain_id (True, str, None) + (Required for new resource) Associated CIS domain + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_mtls_app.rst b/docs/ibm_cis_mtls_app.rst index 1c3cf4961..012627b10 100644 --- a/docs/ibm_cis_mtls_app.rst +++ b/docs/ibm_cis_mtls_app.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,42 +31,42 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - policy_decision (False, str, non_identity) - Policy Action - - cis_id (True, str, None) (Required for new resource) CIS instance crn - policy_name (False, str, mtls-policy) - Policy Name - - - domain (True, str, None) - (Required for new resource) Associated host domain value + name (True, str, None) + (Required for new resource) App Name session_duration (False, str, 24h) Duration for app validatidity - cert_rule_val (False, str, CA root certificate) - Policy certificate rule value - - domain_id (True, str, None) (Required for new resource) Associated CIS domain - name (True, str, None) - (Required for new resource) App Name + policy_name (False, str, mtls-policy) + Policy Name + + + policy_decision (False, str, non_identity) + Policy Action common_rule_val (False, str, None) Policy common rule value + cert_rule_val (False, str, CA root certificate) + Policy certificate rule value + + + domain (True, str, None) + (Required for new resource) Associated host domain value + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_mtls_apps_info.rst b/docs/ibm_cis_mtls_apps_info.rst index fe5602545..60bad73a9 100644 --- a/docs/ibm_cis_mtls_apps_info.rst +++ b/docs/ibm_cis_mtls_apps_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_mtlss_info.rst b/docs/ibm_cis_mtlss_info.rst index 33b4b165e..a03cb6bd6 100644 --- a/docs/ibm_cis_mtlss_info.rst +++ b/docs/ibm_cis_mtlss_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_origin_auth.rst b/docs/ibm_cis_origin_auth.rst index 7d8717461..c0e968f07 100644 --- a/docs/ibm_cis_origin_auth.rst +++ b/docs/ibm_cis_origin_auth.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,22 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cis_id (True, str, None) - (Required for new resource) CIS instance crn + level (True, str, None) + (Required for new resource) Origin auth level zone or hostname hostname (False, str, None) Host name needed for host level authentication - domain_id (True, str, None) - (Required for new resource) Associated CIS domain - - - level (True, str, None) - (Required for new resource) Origin auth level zone or hostname - - enabled (False, bool, True) Enabel-disable origin auth for a zone or host @@ -59,6 +51,14 @@ Parameters (Required for new resource) Private key content which needs to be uploaded + domain_id (True, str, None) + (Required for new resource) Associated CIS domain + + + cis_id (True, str, None) + (Required for new resource) CIS instance crn + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_origin_auths_info.rst b/docs/ibm_cis_origin_auths_info.rst index a0143a937..b7490c860 100644 --- a/docs/ibm_cis_origin_auths_info.rst +++ b/docs/ibm_cis_origin_auths_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + request_type (False, str, zone_level) + Associated CIS Request Type + + cis_id (True, str, None) CIS instance crn @@ -41,10 +45,6 @@ Parameters Associated CIS host name - request_type (False, str, zone_level) - Associated CIS Request Type - - iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_cis_origin_pool.rst b/docs/ibm_cis_origin_pool.rst index 8548bec84..8cc171877 100644 --- a/docs/ibm_cis_origin_pool.rst +++ b/docs/ibm_cis_origin_pool.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,40 +31,40 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - check_regions (True, list, None) - (Required for new resource) List of regions - - - description (False, str, None) - Description of the CIS Origin Pool - - cis_id (True, str, None) (Required for new resource) CIS instance crn + notification_email (False, str, None) + Email address configured to recieve the notifications + + name (True, str, None) (Required for new resource) name - minimum_origins (False, int, 1) - Minimum number of Origins + description (False, str, None) + Description of the CIS Origin Pool - origins (True, list, None) - (Required for new resource) Origins info + monitor (False, str, None) + Monitor value + + + check_regions (True, list, None) + (Required for new resource) List of regions enabled (True, bool, None) (Required for new resource) Boolean value set to true if cis origin pool needs to be enabled - monitor (False, str, None) - Monitor value + minimum_origins (False, int, 1) + Minimum number of Origins - notification_email (False, str, None) - Email address configured to recieve the notifications + origins (True, list, None) + (Required for new resource) Origins info id (False, str, None) diff --git a/docs/ibm_cis_origin_pools_info.rst b/docs/ibm_cis_origin_pools_info.rst index 6f2299ac4..5fddd4546 100644 --- a/docs/ibm_cis_origin_pools_info.rst +++ b/docs/ibm_cis_origin_pools_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_page_rule.rst b/docs/ibm_cis_page_rule.rst index 671a145cd..166091ef8 100644 --- a/docs/ibm_cis_page_rule.rst +++ b/docs/ibm_cis_page_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - domain_id (True, str, None) - (Required for new resource) Associated CIS domain - - priority (False, int, 1) Page rule priority @@ -55,6 +51,10 @@ Parameters (Required for new resource) CIS instance crn + domain_id (True, str, None) + (Required for new resource) Associated CIS domain + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_page_rules_info.rst b/docs/ibm_cis_page_rules_info.rst index 6d79cb9d8..67a222601 100644 --- a/docs/ibm_cis_page_rules_info.rst +++ b/docs/ibm_cis_page_rules_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_range_app.rst b/docs/ibm_cis_range_app.rst index 0104f26bb..d328dd732 100644 --- a/docs/ibm_cis_range_app.rst +++ b/docs/ibm_cis_range_app.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,20 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - edge_ips_connectivity (False, str, all) - Specifies the IP version. + dns_type (True, str, None) + (Required for new resource) Type of the DNS record for this application - traffic_type (False, str, direct) - Configure how traffic is handled at the edge. + proxy_protocol (False, str, None) + Allows for the true client IP to be passed to the service. + + + edge_ips_type (False, str, dynamic) + The type of edge IP configuration. domain_id (True, str, None) (Required for new resource) CIS Domain ID - origin_port (False, int, None) - Port at the origin that listens to traffic + protocol (True, str, None) + (Required for new resource) Defines the protocol and port for this application dns (True, str, None) @@ -55,36 +59,32 @@ Parameters IP address and port of the origin for this Range application. - origin_dns (False, str, None) - DNS record pointing to the origin for this Range application. - - ip_firewall (False, bool, None) Enables the IP Firewall for this application. Only available for TCP applications. - edge_ips_type (False, str, dynamic) - The type of edge IP configuration. + edge_ips_connectivity (False, str, all) + Specifies the IP version. - tls (False, str, False) - Configure if and how TLS connections are terminated at the edge. + traffic_type (False, str, direct) + Configure how traffic is handled at the edge. cis_id (True, str, None) (Required for new resource) CIS Intance CRN - protocol (True, str, None) - (Required for new resource) Defines the protocol and port for this application + tls (False, str, False) + Configure if and how TLS connections are terminated at the edge. - proxy_protocol (False, str, None) - Allows for the true client IP to be passed to the service. + origin_port (False, int, None) + Port at the origin that listens to traffic - dns_type (True, str, None) - (Required for new resource) Type of the DNS record for this application + origin_dns (False, str, None) + DNS record pointing to the origin for this Range application. id (False, str, None) diff --git a/docs/ibm_cis_range_apps_info.rst b/docs/ibm_cis_range_apps_info.rst index d172963db..71df6bcb1 100644 --- a/docs/ibm_cis_range_apps_info.rst +++ b/docs/ibm_cis_range_apps_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_rate_limit.rst b/docs/ibm_cis_rate_limit.rst index 8803ac80a..2ace0ff2d 100644 --- a/docs/ibm_cis_rate_limit.rst +++ b/docs/ibm_cis_rate_limit.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + action (True, list, None) + (Required for new resource) Rate Limiting Action + + + match (False, list, None) + Rate Limiting Match + + cis_id (True, str, None) (Required for new resource) CIS Intance CRN @@ -39,22 +47,14 @@ Parameters (Required for new resource) CIS Domain ID - period (True, int, None) - (Required for new resource) Rate Limiting Period + threshold (True, int, None) + (Required for new resource) Rate Limiting Threshold correlate (False, list, None) Ratelimiting Correlate - action (True, list, None) - (Required for new resource) Rate Limiting Action - - - match (False, list, None) - Rate Limiting Match - - disabled (False, bool, False) Whether this rate limiting rule is currently disabled. @@ -67,8 +67,8 @@ Parameters Bypass URL - threshold (True, int, None) - (Required for new resource) Rate Limiting Threshold + period (True, int, None) + (Required for new resource) Rate Limiting Period id (False, str, None) diff --git a/docs/ibm_cis_rate_limit_info.rst b/docs/ibm_cis_rate_limit_info.rst index 0dc3a9506..2e4133893 100644 --- a/docs/ibm_cis_rate_limit_info.rst +++ b/docs/ibm_cis_rate_limit_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_routing.rst b/docs/ibm_cis_routing.rst index 7f024621d..7b64adb70 100644 --- a/docs/ibm_cis_routing.rst +++ b/docs/ibm_cis_routing.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_tls_settings.rst b/docs/ibm_cis_tls_settings.rst index cd5fb22e3..6b0598d1a 100644 --- a/docs/ibm_cis_tls_settings.rst +++ b/docs/ibm_cis_tls_settings.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - min_tls_version (False, str, 1.1) - Minimum version of TLS required - - cis_id (True, str, None) (Required for new resource) CIS instance crn @@ -51,6 +47,10 @@ Parameters TLS 1.3 setting + min_tls_version (False, str, 1.1) + Minimum version of TLS required + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_waf_group.rst b/docs/ibm_cis_waf_group.rst index be22eeb7d..dae46180a 100644 --- a/docs/ibm_cis_waf_group.rst +++ b/docs/ibm_cis_waf_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,28 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - check_mode (False, bool, False) - Check Mode before making a create/update request + domain_id (True, str, None) + (Required for new resource) CIS Domain ID + + + group_id (True, str, None) + (Required for new resource) WAF Rule group id cis_id (True, str, None) (Required for new resource) CIS Intance CRN - domain_id (True, str, None) - (Required for new resource) CIS Domain ID + package_id (True, str, None) + (Required for new resource) WAF Rule package id mode (True, str, None) (Required for new resource) WAF Rule group mode on/off - package_id (True, str, None) - (Required for new resource) WAF Rule package id - - - group_id (True, str, None) - (Required for new resource) WAF Rule group id + check_mode (False, bool, False) + Check Mode before making a create/update request id (False, str, None) diff --git a/docs/ibm_cis_waf_groups_info.rst b/docs/ibm_cis_waf_groups_info.rst index abffe2202..9b311b723 100644 --- a/docs/ibm_cis_waf_groups_info.rst +++ b/docs/ibm_cis_waf_groups_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_waf_package.rst b/docs/ibm_cis_waf_package.rst index 6733b4b7a..4584d31c3 100644 --- a/docs/ibm_cis_waf_package.rst +++ b/docs/ibm_cis_waf_package.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + sensitivity (True, str, None) + (Required for new resource) WAF pakcage sensitivity + + action_mode (True, str, None) (Required for new resource) WAF pakcage action mode @@ -47,10 +51,6 @@ Parameters (Required for new resource) WAF pakcage ID - sensitivity (True, str, None) - (Required for new resource) WAF pakcage sensitivity - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_waf_packages_info.rst b/docs/ibm_cis_waf_packages_info.rst index e1d11eb02..f74eaf015 100644 --- a/docs/ibm_cis_waf_packages_info.rst +++ b/docs/ibm_cis_waf_packages_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_waf_rule.rst b/docs/ibm_cis_waf_rule.rst index 1a9f3f3a8..ecf7c0b87 100644 --- a/docs/ibm_cis_waf_rule.rst +++ b/docs/ibm_cis_waf_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,26 +31,26 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cis_id (True, str, None) - (Required for new resource) CIS Intance CRN - - - rule_id (True, str, None) - (Required for new resource) CIS WAF Rule id + mode (True, str, None) + (Required for new resource) CIS WAF Rule mode package_id (True, str, None) (Required for new resource) CIS WAF Rule package id - mode (True, str, None) - (Required for new resource) CIS WAF Rule mode + cis_id (True, str, None) + (Required for new resource) CIS Intance CRN domain_id (True, str, None) (Required for new resource) CIS Domain ID + rule_id (True, str, None) + (Required for new resource) CIS WAF Rule id + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_waf_rules_info.rst b/docs/ibm_cis_waf_rules_info.rst index 18517047e..6741ac1cc 100644 --- a/docs/ibm_cis_waf_rules_info.rst +++ b/docs/ibm_cis_waf_rules_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_webhook.rst b/docs/ibm_cis_webhook.rst index b41714f11..b30f41cd9 100644 --- a/docs/ibm_cis_webhook.rst +++ b/docs/ibm_cis_webhook.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cis_webhooks_info.rst b/docs/ibm_cis_webhooks_info.rst index 614abca84..2de37ae3e 100644 --- a/docs/ibm_cis_webhooks_info.rst +++ b/docs/ibm_cis_webhooks_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cloud_shell_account_settings.rst b/docs/ibm_cloud_shell_account_settings.rst index c2eda3a55..d44ff317f 100644 --- a/docs/ibm_cloud_shell_account_settings.rst +++ b/docs/ibm_cloud_shell_account_settings.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + features (False, list, None) + List of Cloud Shell features. + + default_enable_new_regions (False, bool, None) Set whether Cloud Shell is enabled in a specific location for the account. The location determines where user and session data are stored. By default, users are routed to the nearest available location. @@ -39,26 +43,22 @@ Parameters When enabled, Cloud Shell is available to all users in the account. - regions (False, list, None) - List of Cloud Shell region settings. - - default_enable_new_features (False, bool, None) You can choose which Cloud Shell features are available in the account and whether any new features are enabled as they become available. The feature settings apply only to the enabled Cloud Shell locations. - rev (False, str, None) - Unique revision number for the settings object. - - - features (False, list, None) - List of Cloud Shell features. + regions (False, list, None) + List of Cloud Shell region settings. account_id (True, str, None) (Required for new resource) The account ID in which the account settings belong to. + rev (False, str, None) + Unique revision number for the settings object. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cloud_shell_account_settings_info.rst b/docs/ibm_cloud_shell_account_settings_info.rst index 9cda4c32e..6258d790e 100644 --- a/docs/ibm_cloud_shell_account_settings_info.rst +++ b/docs/ibm_cloud_shell_account_settings_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cloudant.rst b/docs/ibm_cloudant.rst index c20d0d8d5..e84c3d8b4 100644 --- a/docs/ibm_cloudant.rst +++ b/docs/ibm_cloudant.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,20 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - parameters_json (False, str, None) - Arbitrary parameters to pass in Json string format - - - cors_config (False, list, None) - Configuration for CORS. + include_data_events (False, bool, False) + Include data event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. By default only emitted events are of "management" type. - plan (True, str, None) - (Required for new resource) The plan type of the service + name (True, str, None) + (Required for new resource) A name for the resource instance - environment_crn (False, str, None) - CRN of the IBM Cloudant Dedicated Hardware plan instance + enable_cors (False, bool, True) + Boolean value to turn CORS on and off. capacity (False, int, 1) @@ -55,38 +51,42 @@ Parameters The resource group id - legacy_credentials (False, bool, False) - Use both legacy credentials and IAM for authentication + tags (False, list, None) + None + + + service_endpoints (False, str, None) + Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + + + plan (True, str, None) + (Required for new resource) The plan type of the service location (True, str, None) (Required for new resource) The location where the instance available - include_data_events (False, bool, False) - Include data event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. By default only emitted events are of "management" type. + legacy_credentials (False, bool, False) + Use both legacy credentials and IAM for authentication - enable_cors (False, bool, True) - Boolean value to turn CORS on and off. + environment_crn (False, str, None) + CRN of the IBM Cloudant Dedicated Hardware plan instance - name (True, str, None) - (Required for new resource) A name for the resource instance + parameters_json (False, str, None) + Arbitrary parameters to pass in Json string format - service_endpoints (False, str, None) - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + cors_config (False, list, None) + Configuration for CORS. parameters (False, dict, None) Arbitrary parameters to pass. Must be a JSON object - tags (False, list, None) - None - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cloudant_database.rst b/docs/ibm_cloudant_database.rst index 6ddfc4462..4ef3b4e74 100644 --- a/docs/ibm_cloudant_database.rst +++ b/docs/ibm_cloudant_database.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - db (True, str, None) - (Required for new resource) Path parameter to specify the database name. - - - partitioned (False, bool, None) - Query parameter to specify whether to enable database partitions when creating a database. - - shards (False, int, None) The number of shards in the database. Each shard is a partition of the hash value range. You are encouraged to talk to support about appropriate values before changing this. @@ -47,6 +39,14 @@ Parameters (Required for new resource) Cloudant Instance CRN. + db (True, str, None) + (Required for new resource) Path parameter to specify the database name. + + + partitioned (False, bool, None) + Query parameter to specify whether to enable database partitions when creating a database. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cloudant_database_info.rst b/docs/ibm_cloudant_database_info.rst index 64db85568..b56ce5cfa 100644 --- a/docs/ibm_cloudant_database_info.rst +++ b/docs/ibm_cloudant_database_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cloudant_info.rst b/docs/ibm_cloudant_info.rst index 4b16145ea..e07f0b055 100644 --- a/docs/ibm_cloudant_info.rst +++ b/docs/ibm_cloudant_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,16 +29,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - location (False, str, None) - The location or the environment in which instance exists + name (True, str, None) + Resource instance name for example, myobjectstorage resource_group_id (False, str, None) The id of the resource group in which the instance is present - name (True, str, None) - Resource instance name for example, myobjectstorage + location (False, str, None) + The location or the environment in which instance exists iaas_classic_username (False, any, None) diff --git a/docs/ibm_cm_catalog.rst b/docs/ibm_cm_catalog.rst index fb940c2bd..e656409fa 100644 --- a/docs/ibm_cm_catalog.rst +++ b/docs/ibm_cm_catalog.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -39,10 +39,6 @@ Parameters List of tags associated with this catalog. - resource_group_id (False, str, None) - Resource Group ID - - kind (False, str, offering) Kind of catalog, offering or vpe. @@ -55,6 +51,10 @@ Parameters URL for an icon associated with this catalog. + resource_group_id (False, str, None) + Resource Group ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cm_catalog_info.rst b/docs/ibm_cm_catalog_info.rst index f6309b653..04a09a2ca 100644 --- a/docs/ibm_cm_catalog_info.rst +++ b/docs/ibm_cm_catalog_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cm_offering.rst b/docs/ibm_cm_offering.rst index d5a7c2dec..d7932963f 100644 --- a/docs/ibm_cm_offering.rst +++ b/docs/ibm_cm_offering.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - label (True, str, None) - (Required for new resource) Display Name in the requested language. - - catalog_id (True, str, None) (Required for new resource) The id of the catalog containing this offering. @@ -43,6 +39,10 @@ Parameters List of tags associated with this catalog. + label (True, str, None) + (Required for new resource) Display Name in the requested language. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cm_offering_info.rst b/docs/ibm_cm_offering_info.rst index 452d42ee8..411a9503d 100644 --- a/docs/ibm_cm_offering_info.rst +++ b/docs/ibm_cm_offering_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cm_offering_instance.rst b/docs/ibm_cm_offering_instance.rst index c7a28bef9..edf78c157 100644 --- a/docs/ibm_cm_offering_instance.rst +++ b/docs/ibm_cm_offering_instance.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,16 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - label (True, str, None) - (Required for new resource) the label for this instance. - - - channel (False, str, None) - channel to target for the operator subscription. Required for operator bundles - - - resource_group_id (False, str, None) - id of the resource group + offering_id (True, str, None) + (Required for new resource) Offering ID this instance was created from. kind_format (True, str, None) @@ -51,36 +43,44 @@ Parameters (Required for new resource) The version this instance was installed from (not version id). - cluster_id (True, str, None) - (Required for new resource) Cluster ID. - - cluster_all_namespaces (True, bool, None) (Required for new resource) designate to install into all namespaces. + label (True, str, None) + (Required for new resource) the label for this instance. + + + cluster_region (True, str, None) + (Required for new resource) Cluster region (e.g., us-south). + + + channel (False, str, None) + channel to target for the operator subscription. Required for operator bundles + + catalog_id (True, str, None) (Required for new resource) Catalog ID this instance was created from. - install_plan (False, str, None) - install plan for the subscription of the operator- can be either automatic or manual. Required for operator bundles + cluster_id (True, str, None) + (Required for new resource) Cluster ID. cluster_namespaces (True, list, None) (Required for new resource) List of target namespaces to install into. - wait_until_successful (False, bool, True) - Whether to wait until the offering instance successfully provisions, or to return when accepted + resource_group_id (False, str, None) + id of the resource group - offering_id (True, str, None) - (Required for new resource) Offering ID this instance was created from. + install_plan (False, str, None) + install plan for the subscription of the operator- can be either automatic or manual. Required for operator bundles - cluster_region (True, str, None) - (Required for new resource) Cluster region (e.g., us-south). + wait_until_successful (False, bool, True) + Whether to wait until the offering instance successfully provisions, or to return when accepted id (False, str, None) diff --git a/docs/ibm_cm_offering_instance_info.rst b/docs/ibm_cm_offering_instance_info.rst index 44c86e5ee..b809041e7 100644 --- a/docs/ibm_cm_offering_instance_info.rst +++ b/docs/ibm_cm_offering_instance_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cm_version.rst b/docs/ibm_cm_version.rst index d9b868760..f45a0a909 100644 --- a/docs/ibm_cm_version.rst +++ b/docs/ibm_cm_version.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,34 +31,34 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - target_kinds (False, list, None) - Target kinds. Current valid values are 'iks', 'roks', 'vcenter', and 'terraform'. - - - catalog_identifier (True, str, None) - (Required for new resource) Catalog identifier. + tags (False, list, None) + Tags array. - target_version (False, str, None) - The semver value for this new version, if not found in the zip url package content. + content (False, str, None) + byte array representing the content to be imported. Only supported for OVA images at this time. offering_id (True, str, None) (Required for new resource) Offering identification. - tags (False, list, None) - Tags array. + target_version (False, str, None) + The semver value for this new version, if not found in the zip url package content. - content (False, str, None) - byte array representing the content to be imported. Only supported for OVA images at this time. + target_kinds (False, list, None) + Target kinds. Current valid values are 'iks', 'roks', 'vcenter', and 'terraform'. zipurl (False, str, None) URL path to zip location. If not specified, must provide content in the body of this call. + catalog_identifier (True, str, None) + (Required for new resource) Catalog identifier. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cm_version_info.rst b/docs/ibm_cm_version_info.rst index ca42102b6..a3d939b8e 100644 --- a/docs/ibm_cm_version_info.rst +++ b/docs/ibm_cm_version_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_compute_autoscale_group.rst b/docs/ibm_compute_autoscale_group.rst index 34955dfb9..54b9a1213 100644 --- a/docs/ibm_compute_autoscale_group.rst +++ b/docs/ibm_compute_autoscale_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,20 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - minimum_member_count (True, int, None) - (Required for new resource) Minimum member count - - - maximum_member_count (True, int, None) - (Required for new resource) Maximum member count - - cooldown (True, int, None) (Required for new resource) Cooldown value - termination_policy (True, str, None) - (Required for new resource) Termination policy + virtual_server_id (False, int, None) + virtual server ID + + + port (False, int, None) + Port number health_check (False, dict, None) @@ -59,10 +55,6 @@ Parameters List of network VLAN ids - tags (False, list, None) - List of tags - - name (True, str, None) (Required for new resource) Name @@ -71,12 +63,20 @@ Parameters (Required for new resource) regional group - virtual_server_id (False, int, None) - virtual server ID + tags (False, list, None) + List of tags - port (False, int, None) - Port number + termination_policy (True, str, None) + (Required for new resource) Termination policy + + + minimum_member_count (True, int, None) + (Required for new resource) Minimum member count + + + maximum_member_count (True, int, None) + (Required for new resource) Maximum member count id (False, str, None) diff --git a/docs/ibm_compute_autoscale_policy.rst b/docs/ibm_compute_autoscale_policy.rst index a135f6c9f..3460d695a 100644 --- a/docs/ibm_compute_autoscale_policy.rst +++ b/docs/ibm_compute_autoscale_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_compute_bare_metal.rst b/docs/ibm_compute_bare_metal.rst index 8b9d153ef..dd0500388 100644 --- a/docs/ibm_compute_bare_metal.rst +++ b/docs/ibm_compute_bare_metal.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,27 +31,19 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - process_key_name (False, str, None) - None - - - gpu_key_name (False, str, None) - None - - - unbonded_network (False, bool, False) - None + hostname (False, str, None) + Host name - private_vlan_id (False, int, None) + public_bandwidth (False, int, None) None - extended_hardware_testing (False, bool, False) + private_subnet (False, str, None) None - file_storage_ids (False, list, None) + storage_groups (False, list, None) None @@ -59,79 +51,79 @@ Parameters None - image_template_id (False, int, None) - OS image template ID + fixed_config_preset (False, str, None) + Fixed config preset value - datacenter (False, str, None) - None + os_reference_code (False, str, None) + OS refernece code value - network_speed (False, int, 100) - Network speed in MBPS + hourly_billing (False, bool, True) + Enables hourly billing - tcp_monitoring (False, bool, False) - TCP monitoring enabled if set as true + private_network_only (False, bool, False) + only private network configured if is true - redundant_network (False, bool, False) + software_guard_extensions (False, bool, False) None - quote_id (False, int, None) - Quote ID for Quote based provisioning + process_key_name (False, str, None) + None - private_subnet (False, str, None) - None + ipv6_enabled (False, bool, False) + Boolean value true if IPV6 ia enabled or false - user_metadata (False, str, None) - User metadata info + domain (True, str, None) + (Required for new resource) Domain name - redundant_power_supply (False, bool, None) - None + network_speed (False, int, 100) + Network speed in MBPS - memory (False, int, None) - None + tcp_monitoring (False, bool, False) + TCP monitoring enabled if set as true - hostname (False, str, None) - Host name + gpu_secondary_key_name (False, str, None) + None ssh_key_ids (False, list, None) SSH KEY IDS list - software_guard_extensions (False, bool, False) + package_key_name (False, str, None) None - package_key_name (False, str, None) + public_subnet (False, str, None) None - ipv6_enabled (False, bool, False) - Boolean value true if IPV6 ia enabled or false + private_vlan_id (False, int, None) + None - hourly_billing (False, bool, True) - Enables hourly billing + datacenter (False, str, None) + None - os_key_name (False, str, None) + disk_key_names (False, list, None) None - gpu_secondary_key_name (False, str, None) + unbonded_network (False, bool, False) None - disk_key_names (False, list, None) + memory (False, int, None) None @@ -139,58 +131,66 @@ Parameters Secondary IP addresses count - fixed_config_preset (False, str, None) - Fixed config preset value + ipv6_static_enabled (False, bool, False) + boolean value true if ipv6 static is enabled else false - public_bandwidth (False, int, None) + user_metadata (False, str, None) + User metadata info + + + redundant_power_supply (False, bool, None) None - public_subnet (False, str, None) + quote_id (False, int, None) + Quote ID for Quote based provisioning + + + public_vlan_id (False, int, None) None - post_install_script_uri (False, str, None) + file_storage_ids (False, list, None) None - private_network_only (False, bool, False) - only private network configured if is true + tags (False, list, None) + None - domain (True, str, None) - (Required for new resource) Domain name + gpu_key_name (False, str, None) + None + + + extended_hardware_testing (False, bool, False) + None notes (False, str, None) Optional notes info - tags (False, list, None) + post_install_script_uri (False, str, None) None - os_reference_code (False, str, None) - OS refernece code value + image_template_id (False, int, None) + OS image template ID - restricted_network (False, bool, False) + os_key_name (False, str, None) None - storage_groups (False, list, None) + redundant_network (False, bool, False) None - public_vlan_id (False, int, None) + restricted_network (False, bool, False) None - ipv6_static_enabled (False, bool, False) - boolean value true if ipv6 static is enabled else false - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_compute_bare_metal_info.rst b/docs/ibm_compute_bare_metal_info.rst index 75103a7f1..50c184f0c 100644 --- a/docs/ibm_compute_bare_metal_info.rst +++ b/docs/ibm_compute_bare_metal_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,22 +29,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - hostname (False, str, None) - The hostname of the bare metal server + most_recent (False, bool, False) + If true and multiple entries are found, the most recently created bare metal is used. If false, an error is returned global_identifier (False, str, None) The unique global identifier of the bare metal server - most_recent (False, bool, False) - If true and multiple entries are found, the most recently created bare metal is used. If false, an error is returned - - domain (False, str, None) The domain of the bare metal server + hostname (False, str, None) + The hostname of the bare metal server + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_compute_dedicated_host.rst b/docs/ibm_compute_dedicated_host.rst index 116f6bc4c..841e9f8fc 100644 --- a/docs/ibm_compute_dedicated_host.rst +++ b/docs/ibm_compute_dedicated_host.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,24 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - None - - - domain (True, str, None) - (Required for new resource) The domain of dedicatated host. - - - router_hostname (True, str, None) - (Required for new resource) The hostname of the primary router that the dedicated host is associated with. - - flavor (False, str, 56_CORES_X_242_RAM_X_1_4_TB) The flavor of the dedicatated host. - hourly_billing (False, bool, True) - The billing type for the dedicatated host. + tags (False, list, None) + None wait_time_minutes (False, int, 90) @@ -59,10 +47,22 @@ Parameters (Required for new resource) The host name of dedicatated host. + domain (True, str, None) + (Required for new resource) The domain of dedicatated host. + + datacenter (True, str, None) (Required for new resource) The data center in which the dedicatated host is to be provisioned. + hourly_billing (False, bool, True) + The billing type for the dedicatated host. + + + router_hostname (True, str, None) + (Required for new resource) The hostname of the primary router that the dedicated host is associated with. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_compute_image_template_info.rst b/docs/ibm_compute_image_template_info.rst index 31cd2a19e..cdb886592 100644 --- a/docs/ibm_compute_image_template_info.rst +++ b/docs/ibm_compute_image_template_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_compute_monitor.rst b/docs/ibm_compute_monitor.rst index a5b51b5c7..911c8586d 100644 --- a/docs/ibm_compute_monitor.rst +++ b/docs/ibm_compute_monitor.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,18 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - response_action_id (True, int, None) - (Required for new resource) Response action ID - - - wait_cycles (False, int, None) - wait cycles count - - - notified_users (False, list, None) - List of users notified - - tags (False, list, None) List of tags @@ -59,6 +47,18 @@ Parameters (Required for new resource) Query Type ID + response_action_id (True, int, None) + (Required for new resource) Response action ID + + + wait_cycles (False, int, None) + wait cycles count + + + notified_users (False, list, None) + List of users notified + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_compute_placement_group.rst b/docs/ibm_compute_placement_group.rst index 144e846f4..e0d4754a3 100644 --- a/docs/ibm_compute_placement_group.rst +++ b/docs/ibm_compute_placement_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + tags (False, list, None) + List of tags + + + datacenter (True, str, None) + (Required for new resource) Dataceneter name + + pod (True, str, None) (Required for new resource) Pod name @@ -43,14 +51,6 @@ Parameters Rule info - tags (False, list, None) - List of tags - - - datacenter (True, str, None) - (Required for new resource) Dataceneter name - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_compute_placement_group_info.rst b/docs/ibm_compute_placement_group_info.rst index 866bed647..6240299f9 100644 --- a/docs/ibm_compute_placement_group_info.rst +++ b/docs/ibm_compute_placement_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_compute_provisioning_hook.rst b/docs/ibm_compute_provisioning_hook.rst index ccb66b823..e9859607b 100644 --- a/docs/ibm_compute_provisioning_hook.rst +++ b/docs/ibm_compute_provisioning_hook.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - Tags associated with resource - - name (True, str, None) (Required for new resource) Provision hook name @@ -43,6 +39,10 @@ Parameters (Required for new resource) URI of the hook + tags (False, list, None) + Tags associated with resource + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_compute_reserved_capacity.rst b/docs/ibm_compute_reserved_capacity.rst index 6aa8ee087..33950e9eb 100644 --- a/docs/ibm_compute_reserved_capacity.rst +++ b/docs/ibm_compute_reserved_capacity.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_compute_reserved_capacity_info.rst b/docs/ibm_compute_reserved_capacity_info.rst index fdca47f5c..cfbd6beb3 100644 --- a/docs/ibm_compute_reserved_capacity_info.rst +++ b/docs/ibm_compute_reserved_capacity_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_compute_ssh_key.rst b/docs/ibm_compute_ssh_key.rst index abe4ed189..ee893f1de 100644 --- a/docs/ibm_compute_ssh_key.rst +++ b/docs/ibm_compute_ssh_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - label (True, str, None) - (Required for new resource) SSH Key label - - public_key (True, str, None) (Required for new resource) Plublic Key info @@ -47,6 +43,10 @@ Parameters List of tags for the resource + label (True, str, None) + (Required for new resource) SSH Key label + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_compute_ssh_key_info.rst b/docs/ibm_compute_ssh_key_info.rst index f7e4875f2..601e56be2 100644 --- a/docs/ibm_compute_ssh_key_info.rst +++ b/docs/ibm_compute_ssh_key_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_compute_ssl_certificate.rst b/docs/ibm_compute_ssl_certificate.rst index c38a20d7c..45b3d2ff0 100644 --- a/docs/ibm_compute_ssl_certificate.rst +++ b/docs/ibm_compute_ssl_certificate.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - intermediate_certificate (False, str, None) - Intermediate certificate value - - private_key (True, str, None) (Required for new resource) SSL Private Key + intermediate_certificate (False, str, None) + Intermediate certificate value + + tags (False, list, None) Tags set for resource diff --git a/docs/ibm_compute_user.rst b/docs/ibm_compute_user.rst index 3337debf5..c629e8b86 100644 --- a/docs/ibm_compute_user.rst +++ b/docs/ibm_compute_user.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,72 +31,72 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - first_name (True, str, None) - (Required for new resource) First name of the user + address1 (True, str, None) + (Required for new resource) Address info of the user state_ (True, str, None) (Required for new resource) Satate name - permissions (False, list, None) - set of persmissions assigned for the user + password (False, str, None) + password for the user - has_api_key (False, bool, False) - API Key info of the user + tags (False, list, None) + Tags set for the resources - last_name (True, str, None) - (Required for new resource) Last name of the user + company_name (True, str, None) + (Required for new resource) comapany name email (True, str, None) (Required for new resource) email address of the user - address1 (True, str, None) - (Required for new resource) Address info of the user + country (True, str, None) + (Required for new resource) Country name - city (True, str, None) - (Required for new resource) City name + timezone (True, str, None) + (Required for new resource) time zone info - user_status (False, str, ACTIVE) - user status info + has_api_key (False, bool, False) + API Key info of the user - username (False, str, None) - user name + last_name (True, str, None) + (Required for new resource) Last name of the user - company_name (True, str, None) - (Required for new resource) comapany name + permissions (False, list, None) + set of persmissions assigned for the user - country (True, str, None) - (Required for new resource) Country name + address2 (False, str, None) + Address info of the user - timezone (True, str, None) - (Required for new resource) time zone info + first_name (True, str, None) + (Required for new resource) First name of the user - api_key (False, str, None) - API key for the user + city (True, str, None) + (Required for new resource) City name - address2 (False, str, None) - Address info of the user + user_status (False, str, ACTIVE) + user status info - password (False, str, None) - password for the user + api_key (False, str, None) + API key for the user - tags (False, list, None) - Tags set for the resources + username (False, str, None) + user name id (False, str, None) diff --git a/docs/ibm_compute_vm_instance.rst b/docs/ibm_compute_vm_instance.rst index 38004f4a7..05f70ff7d 100644 --- a/docs/ibm_compute_vm_instance.rst +++ b/docs/ibm_compute_vm_instance.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,75 +31,71 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - placement_group_id (False, int, None) - The placement group id - - - dedicated_host_id (False, int, None) + dedicated_acct_host_only (False, bool, None) None - ipv6_static_enabled (False, bool, False) + disks (False, list, None) None - secondary_ip_count (False, int, None) + tags (False, list, None) None - ssh_key_ids (False, list, None) + bulk_vms (False, list, None) None - notes (False, str, None) - None + reserved_capacity_name (False, str, None) + The reserved group id - evault (False, int, None) + block_storage_ids (False, list, None) None - file_storage_ids (False, list, None) - None + quote_id (False, int, None) + Quote ID for Quote based provisioning - post_install_script_uri (False, str, None) - None + reserved_instance_primary_disk (False, int, None) + The primary disk of reserved instance - user_metadata (False, str, None) + cores (False, int, None) None - flavor_key_name (False, str, None) - Flavor key name used to provision vm. + private_network_only (False, bool, False) + None - hostname (False, str, None) + dedicated_host_name (False, str, None) None - bulk_vms (False, list, None) + ssh_key_ids (False, list, None) None - public_vlan_id (False, int, None) + public_subnet (False, str, None) None - image_id (False, int, None) + secondary_ip_count (False, int, None) None - domain (False, str, None) + network_speed (False, int, 100) None - hourly_billing (False, bool, True) + user_metadata (False, str, None) None - transient (False, bool, None) + ipv6_enabled (False, bool, False) None @@ -111,99 +107,103 @@ Parameters The reserved group id - dedicated_acct_host_only (False, bool, None) + public_bandwidth_limited (False, int, None) None - public_subnet (False, str, None) + memory (False, int, None) None - public_bandwidth_limited (False, int, None) + ipv6_static_enabled (False, bool, False) None - private_network_only (False, bool, False) + notes (False, str, None) None - datacenter_choice (False, list, None) - The user provided datacenter options + placement_group_name (False, str, None) + The placement group name - private_vlan_id (False, int, None) - None + flavor_key_name (False, str, None) + Flavor key name used to provision vm. - private_subnet (False, str, None) + public_vlan_id (False, int, None) None - placement_group_name (False, str, None) - The placement group name - - - reserved_capacity_name (False, str, None) - The reserved group id + file_storage_ids (False, list, None) + None public_bandwidth_unlimited (False, bool, False) None - network_speed (False, int, 100) + hostname (False, str, None) None - block_storage_ids (False, list, None) + private_subnet (False, str, None) None - tags (False, list, None) + placement_group_id (False, int, None) + The placement group id + + + private_vlan_id (False, int, None) None - datacenter (False, str, None) + os_reference_code (False, str, None) None - reserved_instance_primary_disk (False, int, None) - The primary disk of reserved instance + datacenter_choice (False, list, None) + The user provided datacenter options - memory (False, int, None) + transient (False, bool, None) None - quote_id (False, int, None) - Quote ID for Quote based provisioning + public_security_group_ids (False, list, None) + None - os_reference_code (False, str, None) + local_disk (False, bool, True) None - cores (False, int, None) + hourly_billing (False, bool, True) None - dedicated_host_name (False, str, None) + datacenter (False, str, None) None - disks (False, list, None) + post_install_script_uri (False, str, None) None - ipv6_enabled (False, bool, False) + evault (False, int, None) None - public_security_group_ids (False, list, None) + domain (False, str, None) None - local_disk (False, bool, True) + dedicated_host_id (False, int, None) + None + + + image_id (False, int, None) None diff --git a/docs/ibm_compute_vm_instance_info.rst b/docs/ibm_compute_vm_instance_info.rst index ae37dcce4..09e6565da 100644 --- a/docs/ibm_compute_vm_instance_info.rst +++ b/docs/ibm_compute_vm_instance_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - most_recent (False, bool, False) - If true and multiple entries are found, the most recently created virtual guest is used. If false, an error is returned - - hostname (True, str, None) The hostname of the virtual guest + most_recent (False, bool, False) + If true and multiple entries are found, the most recently created virtual guest is used. If false, an error is returned + + domain (True, str, None) The domain of the virtual guest diff --git a/docs/ibm_container_addons.rst b/docs/ibm_container_addons.rst index 90d794b88..b720ebec2 100644 --- a/docs/ibm_container_addons.rst +++ b/docs/ibm_container_addons.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_container_addons_info.rst b/docs/ibm_container_addons_info.rst index 3e012028e..2f8a78243 100644 --- a/docs/ibm_container_addons_info.rst +++ b/docs/ibm_container_addons_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_container_alb.rst b/docs/ibm_container_alb.rst index 72966b147..4f48191ed 100644 --- a/docs/ibm_container_alb.rst +++ b/docs/ibm_container_alb.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - disable_deployment (False, bool, None) - Set to true if ALB needs to be disabled - - user_ip (False, str, None) IP assigned by the user @@ -43,6 +39,10 @@ Parameters set to true if ALB needs to be enabled + disable_deployment (False, bool, None) + Set to true if ALB needs to be disabled + + alb_id (True, str, None) (Required for new resource) ALB ID diff --git a/docs/ibm_container_alb_cert.rst b/docs/ibm_container_alb_cert.rst index 911ca30c3..fba8243a9 100644 --- a/docs/ibm_container_alb_cert.rst +++ b/docs/ibm_container_alb_cert.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,6 +35,10 @@ Parameters (Required for new resource) Certificate CRN id + secret_name (True, str, None) + (Required for new resource) Secret name + + persistence (False, bool, None) Persistence of secret @@ -43,10 +47,6 @@ Parameters (Required for new resource) Cluster ID - secret_name (True, str, None) - (Required for new resource) Secret name - - namespace (False, str, ibm-cert-store) Namespace of the secret diff --git a/docs/ibm_container_alb_cert_info.rst b/docs/ibm_container_alb_cert_info.rst index ec35b24a1..dd93cdd62 100644 --- a/docs/ibm_container_alb_cert_info.rst +++ b/docs/ibm_container_alb_cert_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters Cluster ID - secret_name (True, str, None) - Secret name - - namespace (False, str, ibm-cert-store) Namespace of the secret + secret_name (True, str, None) + Secret name + + ibmcloud_api_key (True, any, None) The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. diff --git a/docs/ibm_container_alb_create.rst b/docs/ibm_container_alb_create.rst index 720553abf..e85aac323 100644 --- a/docs/ibm_container_alb_create.rst +++ b/docs/ibm_container_alb_create.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,36 +31,36 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - enable (False, bool, True) - If set to true, the ALB is enabled by default. + nlb_version (False, str, None) + The version of the network load balancer that you want to use for the ALB. - ingress_image (False, str, None) - The type of Ingress image that you want to use for your ALB deployment. + alb_type (True, str, None) + (Required for new resource) The type of ALB that you want to create. - vlan_id (True, str, None) - (Required for new resource) The VLAN ID that you want to use for your ALBs. + zone (True, str, None) + (Required for new resource) The zone where you want to deploy the ALB. - ip (False, str, None) - The IP address that you want to assign to the ALB. + enable (False, bool, True) + If set to true, the ALB is enabled by default. - cluster (True, str, None) - (Required for new resource) The ID of the cluster that the ALB belongs to. + ip (False, str, None) + The IP address that you want to assign to the ALB. - zone (True, str, None) - (Required for new resource) The zone where you want to deploy the ALB. + ingress_image (False, str, None) + The type of Ingress image that you want to use for your ALB deployment. - nlb_version (False, str, None) - The version of the network load balancer that you want to use for the ALB. + cluster (True, str, None) + (Required for new resource) The ID of the cluster that the ALB belongs to. - alb_type (True, str, None) - (Required for new resource) The type of ALB that you want to create. + vlan_id (True, str, None) + (Required for new resource) The VLAN ID that you want to use for your ALBs. id (False, str, None) diff --git a/docs/ibm_container_alb_info.rst b/docs/ibm_container_alb_info.rst index 3a3f3b06d..07f8540f6 100644 --- a/docs/ibm_container_alb_info.rst +++ b/docs/ibm_container_alb_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_container_api_key_reset.rst b/docs/ibm_container_api_key_reset.rst index 95928d6d4..deb5c9917 100644 --- a/docs/ibm_container_api_key_reset.rst +++ b/docs/ibm_container_api_key_reset.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + region (True, str, None) + (Required for new resource) Region which api key has to be reset + + resource_group_id (False, str, None) ID of Resource Group @@ -39,10 +43,6 @@ Parameters Determines if apikey has to be reset or not - region (True, str, None) - (Required for new resource) Region which api key has to be reset - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_bind_service.rst b/docs/ibm_container_bind_service.rst index c97a5cb0b..a1e3002f0 100644 --- a/docs/ibm_container_bind_service.rst +++ b/docs/ibm_container_bind_service.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,36 +31,36 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - key (False, str, None) - Key info + service_instance_id (False, str, None) + Service instance ID - resource_group_id (False, str, None) - ID of the resource group. + namespace_id (True, str, None) + (Required for new resource) namespace ID - cluster_name_id (True, str, None) - (Required for new resource) Cluster name or ID + key (False, str, None) + Key info - service_instance_id (False, str, None) - Service instance ID + role (False, str, None) + Role info - tags (False, list, None) - List of tags for the resource + cluster_name_id (True, str, None) + (Required for new resource) Cluster name or ID service_instance_name (False, str, None) serivice instance name - namespace_id (True, str, None) - (Required for new resource) namespace ID + tags (False, list, None) + List of tags for the resource - role (False, str, None) - Role info + resource_group_id (False, str, None) + ID of the resource group. id (False, str, None) diff --git a/docs/ibm_container_bind_service_info.rst b/docs/ibm_container_bind_service_info.rst index 05b307b81..f421c64c9 100644 --- a/docs/ibm_container_bind_service_info.rst +++ b/docs/ibm_container_bind_service_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_container_cluster.rst b/docs/ibm_container_cluster.rst index c60891d4c..2309db0de 100644 --- a/docs/ibm_container_cluster.rst +++ b/docs/ibm_container_cluster.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,128 +31,128 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - labels (False, dict, None) - list of labels to the default worker pool + webhook (False, list, None) + None - entitlement (False, str, None) - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + resource_group_id (False, str, None) + ID of the resource group. - private_service_endpoint (False, bool, None) - None + kms_config (False, list, None) + Enables KMS on a given cluster - datacenter (True, str, None) - (Required for new resource) The datacenter where this cluster will be deployed + workers_info (False, list, None) + The IDs of the worker node + + + wait_for_worker_update (False, bool, True) + Wait for worker node to update during kube version update. taints (False, list, None) WorkerPool Taints - machine_type (False, str, None) - Machine type + kube_version (False, str, None) + Kubernetes version info - public_vlan_id (False, str, None) - Public VLAN ID + update_all_workers (False, bool, False) + Updates all the woker nodes if sets to true - pod_subnet (False, str, None) - Custom subnet CIDR to provide private IP addresses for pods + machine_type (False, str, None) + Machine type - subnet_id (False, list, None) - List of subnet IDs + private_vlan_id (False, str, None) + Private VLAN ID - resource_group_id (False, str, None) - ID of the resource group. + wait_till (False, str, IngressReady) + wait_till can be configured for Master Ready, One worker Ready or Ingress Ready - patch_version (False, str, None) - Kubernetes patch version + service_subnet (False, str, None) + Custom subnet CIDR to provide private IP addresses for services - force_delete_storage (False, bool, False) - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered + gateway_enabled (False, bool, False) + Set true for gateway enabled clusters - public_service_endpoint (False, bool, None) - None + name (True, str, None) + (Required for new resource) The cluster name - kms_config (False, list, None) - Enables KMS on a given cluster + patch_version (False, str, None) + Kubernetes patch version - retry_patch_version (False, int, None) - Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails + image_security_enforcement (False, bool, False) + Set true to enable image security enforcement policies hardware (True, str, None) (Required for new resource) Hardware type - private_vlan_id (False, str, None) - Private VLAN ID - - - wait_for_worker_update (False, bool, True) - Wait for worker node to update during kube version update. + public_service_endpoint (False, bool, None) + None default_pool_size (False, int, 1) The size of the default worker pool - gateway_enabled (False, bool, False) - Set true for gateway enabled clusters + labels (False, dict, None) + list of labels to the default worker pool - name (True, str, None) - (Required for new resource) The cluster name + pod_subnet (False, str, None) + Custom subnet CIDR to provide private IP addresses for pods - workers_info (False, list, None) - The IDs of the worker node + datacenter (True, str, None) + (Required for new resource) The datacenter where this cluster will be deployed - service_subnet (False, str, None) - Custom subnet CIDR to provide private IP addresses for services + disk_encryption (False, bool, True) + disc encryption done, if set to true. - webhook (False, list, None) - None + no_subnet (False, bool, False) + Boolean value set to true when subnet creation is not required. - disk_encryption (False, bool, True) - disc encryption done, if set to true. + tags (False, list, None) + Tags for the resource - kube_version (False, str, None) - Kubernetes version info + private_service_endpoint (False, bool, None) + None - update_all_workers (False, bool, False) - Updates all the woker nodes if sets to true + retry_patch_version (False, int, None) + Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails - wait_till (False, str, IngressReady) - wait_till can be configured for Master Ready, One worker Ready or Ingress Ready + subnet_id (False, list, None) + List of subnet IDs - no_subnet (False, bool, False) - Boolean value set to true when subnet creation is not required. + force_delete_storage (False, bool, False) + Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered - tags (False, list, None) - Tags for the resource + public_vlan_id (False, str, None) + Public VLAN ID - image_security_enforcement (False, bool, False) - Set true to enable image security enforcement policies + entitlement (False, str, None) + Entitlement option reduces additional OCP Licence cost in Openshift Clusters id (False, str, None) diff --git a/docs/ibm_container_cluster_config_info.rst b/docs/ibm_container_cluster_config_info.rst index f73447bf6..bfc731391 100644 --- a/docs/ibm_container_cluster_config_info.rst +++ b/docs/ibm_container_cluster_config_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -33,10 +33,6 @@ Parameters ID of the resource group. - config_dir (False, str, None) - The directory where the cluster config to be downloaded. Default is home directory - - cluster_name_id (True, str, None) The name/id of the cluster @@ -45,6 +41,10 @@ Parameters If set to true will download the Calico network config with the Admin config + config_dir (False, str, None) + The directory where the cluster config to be downloaded. Default is home directory + + download (False, bool, True) If set to false will not download the config, otherwise they are downloaded each time but onto the same path for a given cluster name/id diff --git a/docs/ibm_container_cluster_feature.rst b/docs/ibm_container_cluster_feature.rst index b5bbc6a35..443477783 100644 --- a/docs/ibm_container_cluster_feature.rst +++ b/docs/ibm_container_cluster_feature.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + resource_group_id (False, str, None) + ID of the resource group. + + cluster (True, str, None) (Required for new resource) Cluster name of ID @@ -51,10 +55,6 @@ Parameters Boolean value set true if worker nodes to be reloaded - resource_group_id (False, str, None) - ID of the resource group. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_cluster_info.rst b/docs/ibm_container_cluster_info.rst index a2d698403..6953e0cc0 100644 --- a/docs/ibm_container_cluster_info.rst +++ b/docs/ibm_container_cluster_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,22 +29,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - Name or id of the cluster - - resource_group_id (False, str, None) ID of the resource group. - list_bounded_services (False, bool, True) - If set to false bounded services won't be listed. + name (False, str, None) + Name or id of the cluster alb_type (False, str, all) None + list_bounded_services (False, bool, True) + If set to false bounded services won't be listed. + + ibmcloud_api_key (True, any, None) The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. diff --git a/docs/ibm_container_cluster_versions_info.rst b/docs/ibm_container_cluster_versions_info.rst index 8d14d1c82..ddd5a269f 100644 --- a/docs/ibm_container_cluster_versions_info.rst +++ b/docs/ibm_container_cluster_versions_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_container_cluster_worker_info.rst b/docs/ibm_container_cluster_worker_info.rst index 70fa8d35d..01ce421bf 100644 --- a/docs/ibm_container_cluster_worker_info.rst +++ b/docs/ibm_container_cluster_worker_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group_id (False, str, None) - ID of the resource group. - - worker_id (True, str, None) ID of the worker + resource_group_id (False, str, None) + ID of the resource group. + + ibmcloud_api_key (True, any, None) The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. diff --git a/docs/ibm_container_dedicated_host.rst b/docs/ibm_container_dedicated_host.rst index 40093a061..18588d392 100644 --- a/docs/ibm_container_dedicated_host.rst +++ b/docs/ibm_container_dedicated_host.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_container_dedicated_host_flavor_info.rst b/docs/ibm_container_dedicated_host_flavor_info.rst index 38295f824..34dd47569 100644 --- a/docs/ibm_container_dedicated_host_flavor_info.rst +++ b/docs/ibm_container_dedicated_host_flavor_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_container_dedicated_host_flavors_info.rst b/docs/ibm_container_dedicated_host_flavors_info.rst index 784e4906e..a89e09076 100644 --- a/docs/ibm_container_dedicated_host_flavors_info.rst +++ b/docs/ibm_container_dedicated_host_flavors_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_container_dedicated_host_info.rst b/docs/ibm_container_dedicated_host_info.rst index 64c2b8a18..cfc7858fe 100644 --- a/docs/ibm_container_dedicated_host_info.rst +++ b/docs/ibm_container_dedicated_host_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_container_dedicated_host_pool.rst b/docs/ibm_container_dedicated_host_pool.rst index 8c348c3c3..ed6f24df1 100644 --- a/docs/ibm_container_dedicated_host_pool.rst +++ b/docs/ibm_container_dedicated_host_pool.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + resource_group_id (False, str, None) + ID of the resource group. + + name (True, str, None) (Required for new resource) The name of the dedicated host pool @@ -43,10 +47,6 @@ Parameters (Required for new resource) The flavor class of the dedicated host pool - resource_group_id (False, str, None) - ID of the resource group. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_dedicated_host_pool_info.rst b/docs/ibm_container_dedicated_host_pool_info.rst index 01f31f607..28de5fd2c 100644 --- a/docs/ibm_container_dedicated_host_pool_info.rst +++ b/docs/ibm_container_dedicated_host_pool_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_container_nlb_dns.rst b/docs/ibm_container_nlb_dns.rst index f04696ea8..fd0c49bed 100644 --- a/docs/ibm_container_nlb_dns.rst +++ b/docs/ibm_container_nlb_dns.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_container_nlb_dns_info.rst b/docs/ibm_container_nlb_dns_info.rst index 8ab69661a..be0ee9971 100644 --- a/docs/ibm_container_nlb_dns_info.rst +++ b/docs/ibm_container_nlb_dns_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_container_storage_attachment.rst b/docs/ibm_container_storage_attachment.rst index 6d32361fc..84ca9b536 100644 --- a/docs/ibm_container_storage_attachment.rst +++ b/docs/ibm_container_storage_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + worker (True, str, None) + (Required for new resource) worker node ID + + resource_group_id (False, str, None) ID of the resource group. @@ -43,10 +47,6 @@ Parameters (Required for new resource) Cluster name or ID - worker (True, str, None) - (Required for new resource) worker node ID - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_storage_attachment_info.rst b/docs/ibm_container_storage_attachment_info.rst index e79aa83bf..678e14cd2 100644 --- a/docs/ibm_container_storage_attachment_info.rst +++ b/docs/ibm_container_storage_attachment_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cluster (True, str, None) - Cluster name or ID - - worker (True, str, None) Worker node ID @@ -45,6 +41,10 @@ Parameters The volume attachment ID + cluster (True, str, None) + Cluster name or ID + + ibmcloud_api_key (True, any, None) The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. diff --git a/docs/ibm_container_vpc_alb.rst b/docs/ibm_container_vpc_alb.rst index c5d30e0a7..a68064d9a 100644 --- a/docs/ibm_container_vpc_alb.rst +++ b/docs/ibm_container_vpc_alb.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - enable (False, bool, None) - Enable the ALB instance in the cluster - - - disable_deployment (False, bool, None) - Disable the ALB instance in the cluster - - resource_group_id (False, str, None) ID of the resource group. @@ -47,6 +39,14 @@ Parameters (Required for new resource) ALB ID + enable (False, bool, None) + Enable the ALB instance in the cluster + + + disable_deployment (False, bool, None) + Disable the ALB instance in the cluster + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_vpc_alb_create.rst b/docs/ibm_container_vpc_alb_create.rst index 6cb21e7a5..9e042a467 100644 --- a/docs/ibm_container_vpc_alb_create.rst +++ b/docs/ibm_container_vpc_alb_create.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - type (True, str, None) - (Required for new resource) The type of ALB that you want to create. - - zone (True, str, None) (Required for new resource) The zone where you want to deploy the ALB. @@ -43,14 +39,18 @@ Parameters ID of the resource group. - cluster (True, str, None) - (Required for new resource) The ID of the cluster that the ALB belongs to. - - enable (False, bool, None) Enable the ALB instance in the cluster + type (True, str, None) + (Required for new resource) The type of ALB that you want to create. + + + cluster (True, str, None) + (Required for new resource) The ID of the cluster that the ALB belongs to. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_vpc_alb_info.rst b/docs/ibm_container_vpc_alb_info.rst index 9adcf0b39..5c20241c4 100644 --- a/docs/ibm_container_vpc_alb_info.rst +++ b/docs/ibm_container_vpc_alb_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group_id (False, str, None) - ID of the resource group. - - alb_id (True, str, None) ALB ID + resource_group_id (False, str, None) + ID of the resource group. + + ibmcloud_api_key (True, any, None) The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. diff --git a/docs/ibm_container_vpc_cluster.rst b/docs/ibm_container_vpc_cluster.rst index e9c19c466..e5fe45c37 100644 --- a/docs/ibm_container_vpc_cluster.rst +++ b/docs/ibm_container_vpc_cluster.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,108 +31,108 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - image_security_enforcement (False, bool, False) - Set true to enable image security enforcement policies + entitlement (False, str, None) + Entitlement option reduces additional OCP Licence cost in Openshift Clusters - update_all_workers (False, bool, False) - Updates all the woker nodes if sets to true + force_delete_storage (False, bool, False) + Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered - service_subnet (False, str, None) - Custom subnet CIDR to provide private IP addresses for services + flavor (True, str, None) + (Required for new resource) Cluster nodes flavour - crk (False, str, None) - Root Key ID for boot volume encryption + name (True, str, None) + (Required for new resource) The cluster name - kms_instance_id (False, str, None) - Instance ID for boot volume encryption + wait_for_worker_update (False, bool, True) + Wait for worker node to update during kube version update. - retry_patch_version (False, int, None) - Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails + pod_subnet (False, str, None) + Custom subnet CIDR to provide private IP addresses for pods - worker_count (False, int, 1) - Number of worker nodes in the cluster + worker_labels (False, dict, None) + Labels for default worker pool - taints (False, list, None) - WorkerPool Taints + resource_group_id (False, str, None) + ID of the resource group. - cos_instance_crn (False, str, None) - A standard cloud object storage instance CRN to back up the internal registry in your OpenShift on VPC Gen 2 cluster + crk (False, str, None) + Root Key ID for boot volume encryption - vpc_id (True, str, None) - (Required for new resource) The vpc id where the cluster is + image_security_enforcement (False, bool, False) + Set true to enable image security enforcement policies - wait_till (False, str, IngressReady) - wait_till can be configured for Master Ready, One worker Ready or Ingress Ready + zones (True, list, None) + (Required for new resource) Zone info - entitlement (False, str, None) - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + worker_count (False, int, 1) + Number of worker nodes in the cluster - kms_config (False, list, None) - Enables KMS on a given cluster + taints (False, list, None) + WorkerPool Taints - pod_subnet (False, str, None) - Custom subnet CIDR to provide private IP addresses for pods + kms_instance_id (False, str, None) + Instance ID for boot volume encryption - disable_public_service_endpoint (False, bool, False) - Boolean value true if Public service endpoint to be disabled + patch_version (False, str, None) + Kubernetes patch version - tags (False, list, None) - List of tags for the resources + retry_patch_version (False, int, None) + Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails - resource_group_id (False, str, None) - ID of the resource group. + service_subnet (False, str, None) + Custom subnet CIDR to provide private IP addresses for services - zones (True, list, None) - (Required for new resource) Zone info + tags (False, list, None) + List of tags for the resources - wait_for_worker_update (False, bool, True) - Wait for worker node to update during kube version update. + host_pool_id (False, str, None) + The ID of the cluster's associated host pool - worker_labels (False, dict, None) - Labels for default worker pool + update_all_workers (False, bool, False) + Updates all the woker nodes if sets to true - host_pool_id (False, str, None) - The ID of the cluster's associated host pool + disable_public_service_endpoint (False, bool, False) + Boolean value true if Public service endpoint to be disabled - flavor (True, str, None) - (Required for new resource) Cluster nodes flavour + wait_till (False, str, IngressReady) + wait_till can be configured for Master Ready, One worker Ready or Ingress Ready - name (True, str, None) - (Required for new resource) The cluster name + vpc_id (True, str, None) + (Required for new resource) The vpc id where the cluster is - force_delete_storage (False, bool, False) - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered + kms_config (False, list, None) + Enables KMS on a given cluster kube_version (False, str, None) Kubernetes version - patch_version (False, str, None) - Kubernetes patch version + cos_instance_crn (False, str, None) + A standard cloud object storage instance CRN to back up the internal registry in your OpenShift on VPC Gen 2 cluster id (False, str, None) diff --git a/docs/ibm_container_vpc_cluster_alb_info.rst b/docs/ibm_container_vpc_cluster_alb_info.rst index 47a18c024..020134bca 100644 --- a/docs/ibm_container_vpc_cluster_alb_info.rst +++ b/docs/ibm_container_vpc_cluster_alb_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_container_vpc_cluster_info.rst b/docs/ibm_container_vpc_cluster_info.rst index eb8660417..aafd14849 100644 --- a/docs/ibm_container_vpc_cluster_info.rst +++ b/docs/ibm_container_vpc_cluster_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters ID of the resource group. - alb_type (False, str, all) - None - - name (False, str, None) Name or id of the cluster + alb_type (False, str, all) + None + + ibmcloud_api_key (True, any, None) The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. diff --git a/docs/ibm_container_vpc_cluster_worker_info.rst b/docs/ibm_container_vpc_cluster_worker_info.rst index 582f01be7..79f315068 100644 --- a/docs/ibm_container_vpc_cluster_worker_info.rst +++ b/docs/ibm_container_vpc_cluster_worker_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters ID of the resource group. - cluster_name_id (True, str, None) - Name or ID of the cluster - - worker_id (True, str, None) ID of the worker + cluster_name_id (True, str, None) + Name or ID of the cluster + + ibmcloud_api_key (True, any, None) The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. diff --git a/docs/ibm_container_vpc_cluster_worker_pool_info.rst b/docs/ibm_container_vpc_cluster_worker_pool_info.rst index a6b862c10..5d39e583a 100644 --- a/docs/ibm_container_vpc_cluster_worker_pool_info.rst +++ b/docs/ibm_container_vpc_cluster_worker_pool_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_container_vpc_worker.rst b/docs/ibm_container_vpc_worker.rst new file mode 100644 index 000000000..1807149fa --- /dev/null +++ b/docs/ibm_container_vpc_worker.rst @@ -0,0 +1,85 @@ + +ibm_container_vpc_worker -- Configure IBM Cloud 'ibm_container_vpc_worker' resource +=================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_container_vpc_worker' resource + +This module does not support idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/container_vpc_worker + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.47.1 +- Terraform v0.12.20 + + + +Parameters +---------- + + cluster_name (True, str, None) + (Required for new resource) Cluster name + + + replace_worker (True, str, None) + (Required for new resource) Worker name/id that needs to be replaced + + + resource_group_id (False, str, None) + ID of the resource group. + + + kube_config_path (False, str, None) + Path of downloaded cluster config + + + check_ptx_status (False, bool, False) + Check portworx status after worker replace + + + ptx_timeout (False, str, 15m) + Timeout for checking ptx pods/status + + + id (False, str, None) + (Required when updating or destroying existing resource) IBM Cloud Resource ID. + + + state (False, any, available) + State of resource + + + ibmcloud_api_key (True, any, None) + The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_container_vpc_worker_pool.rst b/docs/ibm_container_vpc_worker_pool.rst index 079f3760e..abe9496d2 100644 --- a/docs/ibm_container_vpc_worker_pool.rst +++ b/docs/ibm_container_vpc_worker_pool.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,26 +31,30 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - labels (False, dict, None) - Labels + cluster (True, str, None) + (Required for new resource) Cluster name - taints (False, list, None) - WorkerPool Taints + resource_group_id (False, str, None) + ID of the resource group. - entitlement (False, str, None) - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + worker_count (True, int, None) + (Required for new resource) The number of workers - cluster (True, str, None) - (Required for new resource) Cluster name + kms_instance_id (False, str, None) + Instance ID for boot volume encryption flavor (True, str, None) (Required for new resource) cluster node falvor + labels (False, dict, None) + Labels + + host_pool_id (False, str, None) The ID of the dedicated host pool associated with the worker pool @@ -71,16 +75,12 @@ Parameters (Required for new resource) The vpc id where the cluster is - worker_count (True, int, None) - (Required for new resource) The number of workers - - - kms_instance_id (False, str, None) - Instance ID for boot volume encryption + entitlement (False, str, None) + Entitlement option reduces additional OCP Licence cost in Openshift Clusters - resource_group_id (False, str, None) - ID of the resource group. + taints (False, list, None) + WorkerPool Taints id (False, str, None) diff --git a/docs/ibm_container_vpc_worker_pool_info.rst b/docs/ibm_container_vpc_worker_pool_info.rst index 7a61c13a8..719c5cf42 100644 --- a/docs/ibm_container_vpc_worker_pool_info.rst +++ b/docs/ibm_container_vpc_worker_pool_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_container_worker_pool.rst b/docs/ibm_container_worker_pool.rst index bf483b8fe..ecb52917f 100644 --- a/docs/ibm_container_worker_pool.rst +++ b/docs/ibm_container_worker_pool.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,42 +31,42 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - size_per_zone (True, int, None) - (Required for new resource) Number of nodes per zone + resource_group_id (False, str, None) + ID of the resource group. - entitlement (False, str, None) - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + cluster (True, str, None) + (Required for new resource) Cluster name - worker_pool_name (True, str, None) - (Required for new resource) worker pool name + machine_type (True, str, None) + (Required for new resource) worker nodes machine type + + + size_per_zone (True, int, None) + (Required for new resource) Number of nodes per zone hardware (False, str, shared) Hardware type - labels (False, dict, None) - list of labels to worker pool + worker_pool_name (True, str, None) + (Required for new resource) worker pool name - resource_group_id (False, str, None) - ID of the resource group. + labels (False, dict, None) + list of labels to worker pool - cluster (True, str, None) - (Required for new resource) Cluster name + entitlement (False, str, None) + Entitlement option reduces additional OCP Licence cost in Openshift Clusters disk_encryption (False, bool, True) worker node disk encrypted if set to true - machine_type (True, str, None) - (Required for new resource) worker nodes machine type - - taints (False, list, None) WorkerPool Taints diff --git a/docs/ibm_container_worker_pool_info.rst b/docs/ibm_container_worker_pool_info.rst index 42a23f973..43227963e 100644 --- a/docs/ibm_container_worker_pool_info.rst +++ b/docs/ibm_container_worker_pool_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - worker_pool_name (True, str, None) - worker pool name - - cluster (True, str, None) Name or ID of the cluster + worker_pool_name (True, str, None) + worker pool name + + ibmcloud_api_key (True, any, None) The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. diff --git a/docs/ibm_container_worker_pool_zone_attachment.rst b/docs/ibm_container_worker_pool_zone_attachment.rst index c6a72c7c5..dd0b2af8e 100644 --- a/docs/ibm_container_worker_pool_zone_attachment.rst +++ b/docs/ibm_container_worker_pool_zone_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,12 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + private_vlan_id (False, str, None) + None + + worker_pool (True, str, None) (Required for new resource) Workerpool name - wait_till_albs (False, bool, True) - wait_till_albs can be configured to wait for albs during the worker pool zone attachment. + cluster (True, str, None) + (Required for new resource) cluster name or ID public_vlan_id (False, str, None) @@ -47,16 +51,12 @@ Parameters ID of the resource group. - zone (True, str, None) - (Required for new resource) Zone name - - - cluster (True, str, None) - (Required for new resource) cluster name or ID + wait_till_albs (False, bool, True) + wait_till_albs can be configured to wait for albs during the worker pool zone attachment. - private_vlan_id (False, str, None) - None + zone (True, str, None) + (Required for new resource) Zone name id (False, str, None) diff --git a/docs/ibm_cos_bucket.rst b/docs/ibm_cos_bucket.rst index 11ef3c185..4e173bdb5 100644 --- a/docs/ibm_cos_bucket.rst +++ b/docs/ibm_cos_bucket.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,80 +35,80 @@ Parameters CRN of the key you want to use data at rest encryption - metrics_monitoring (False, list, None) - Enables sending metrics to IBM Cloud Monitoring. + region_location (False, str, None) + Region Location info. - hard_quota (False, int, None) - sets a maximum amount of storage (in bytes) available for a bucket + retention_rule (False, list, None) + A retention policy is enabled at the IBM Cloud Object Storage bucket level. Minimum, maximum and default retention period are defined by this policy and apply to all objects in the bucket. - force_delete (False, bool, True) - COS buckets need to be empty before they can be deleted. force_delete option empty the bucket and delete it. + hard_quota (False, int, None) + sets a maximum amount of storage (in bytes) available for a bucket bucket_name (True, str, None) (Required for new resource) COS Bucket name - region_location (False, str, None) - Region Location info. + endpoint_type (False, str, public) + public or private - storage_class (False, str, None) - Storage class info + activity_tracking (False, list, None) + Enables sending log data to Activity Tracker and LogDNA to provide visibility into object read and write events - expire_rule (False, list, None) - Enable configuration expire_rule to COS Bucket after a defined period of time + metrics_monitoring (False, list, None) + Enables sending metrics to IBM Cloud Monitoring. - noncurrent_version_expiration (False, list, None) - Enable configuration expire_rule to COS Bucket after a defined period of time + force_delete (False, bool, True) + COS buckets need to be empty before they can be deleted. force_delete option empty the bucket and delete it. - endpoint_type (False, str, public) - public or private + cross_region_location (False, str, None) + Cros region location info - abort_incomplete_multipart_upload_days (False, list, None) - Enable abort incomplete multipart upload to COS Bucket after a defined period of time + storage_class (False, str, None) + Storage class info - archive_rule (False, list, None) - Enable configuration archive_rule (glacier/accelerated) to COS Bucket after a defined period of time + abort_incomplete_multipart_upload_days (False, list, None) + Enable abort incomplete multipart upload to COS Bucket after a defined period of time - retention_rule (False, list, None) - A retention policy is enabled at the IBM Cloud Object Storage bucket level. Minimum, maximum and default retention period are defined by this policy and apply to all objects in the bucket. + satellite_location_id (False, str, None) + Provide satellite location info. - object_versioning (False, list, None) - Protect objects from accidental deletion or overwrites. Versioning allows you to keep multiple versions of an object protecting from unintentional data loss. + single_site_location (False, str, None) + single site location info - activity_tracking (False, list, None) - Enables sending log data to Activity Tracker and LogDNA to provide visibility into object read and write events + allowed_ip (False, list, None) + List of IPv4 or IPv6 addresses - resource_instance_id (True, str, None) - (Required for new resource) resource instance ID + archive_rule (False, list, None) + Enable configuration archive_rule (glacier/accelerated) to COS Bucket after a defined period of time - satellite_location_id (False, str, None) - Provide satellite location info. + expire_rule (False, list, None) + Enable configuration expire_rule to COS Bucket after a defined period of time - single_site_location (False, str, None) - single site location info + object_versioning (False, list, None) + Protect objects from accidental deletion or overwrites. Versioning allows you to keep multiple versions of an object protecting from unintentional data loss. - cross_region_location (False, str, None) - Cros region location info + noncurrent_version_expiration (False, list, None) + Enable configuration expire_rule to COS Bucket after a defined period of time - allowed_ip (False, list, None) - List of IPv4 or IPv6 addresses + resource_instance_id (True, str, None) + (Required for new resource) resource instance ID id (False, str, None) diff --git a/docs/ibm_cos_bucket_info.rst b/docs/ibm_cos_bucket_info.rst index 4bba0a943..0115b268a 100644 --- a/docs/ibm_cos_bucket_info.rst +++ b/docs/ibm_cos_bucket_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,28 +29,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - bucket_region (False, str, None) + resource_instance_id (True, str, None) None - resource_instance_id (True, str, None) + bucket_name (True, str, None) None - satellite_location_id (False, str, None) + bucket_type (False, str, None) None - endpoint_type (False, str, public) - public or private + bucket_region (False, str, None) + None - bucket_name (True, str, None) + satellite_location_id (False, str, None) None - bucket_type (False, str, None) - None + endpoint_type (False, str, public) + public or private iaas_classic_username (False, any, None) diff --git a/docs/ibm_cr_namespace.rst b/docs/ibm_cr_namespace.rst index 13cfa7b2a..edf1cb7de 100644 --- a/docs/ibm_cr_namespace.rst +++ b/docs/ibm_cr_namespace.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + tags (False, list, None) + List of tags + + name (True, str, None) (Required for new resource) The name of the namespace. @@ -39,10 +43,6 @@ Parameters The ID of the resource group that the namespace will be created within. - tags (False, list, None) - List of tags - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cr_namespaces_info.rst b/docs/ibm_cr_namespaces_info.rst index 39079eaa2..0af8087ed 100644 --- a/docs/ibm_cr_namespaces_info.rst +++ b/docs/ibm_cr_namespaces_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_cr_retention_policy.rst b/docs/ibm_cr_retention_policy.rst index 2a0a20918..5b11fbda4 100644 --- a/docs/ibm_cr_retention_policy.rst +++ b/docs/ibm_cr_retention_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_database.rst b/docs/ibm_database.rst index c6a74c3f9..3c8fc0b70 100644 --- a/docs/ibm_database.rst +++ b/docs/ibm_database.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,36 +31,40 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - plan_validation (False, bool, True) - For elasticsearch and postgres perform database parameter validation during the plan phase. Otherwise, database parameter validation happens in apply phase. + tags (False, list, None) + None - service (True, str, None) - (Required for new resource) The name of the Cloud Internet database service + point_in_time_recovery_deployment_id (False, str, None) + The CRN of source instance - users (False, list, None) + whitelist (False, list, None) None - auto_scaling (False, list, None) - ICD Auto Scaling + plan (True, str, None) + (Required for new resource) The plan type of the Database instance - adminpassword (False, str, None) - The admin user password for the instance + plan_validation (False, bool, True) + For elasticsearch and postgres perform database parameter validation during the plan phase. Otherwise, database parameter validation happens in apply phase. - backup_encryption_key_crn (False, str, None) - The Backup Encryption Key CRN + version (False, str, None) + The database version to provision if specified + + + remote_leader_id (False, str, None) + The CRN of leader database point_in_time_recovery_time (False, str, None) The point in time recovery time stamp of the deployed instance - name (True, str, None) - (Required for new resource) Resource instance name for example, my Database instance + auto_scaling (False, list, None) + ICD Auto Scaling resource_group_id (False, str, None) @@ -71,52 +75,48 @@ Parameters Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. - tags (False, list, None) - None + key_protect_instance (False, str, None) + The CRN of Key protect instance - point_in_time_recovery_deployment_id (False, str, None) - The CRN of source instance + users (False, list, None) + None - version (False, str, None) - The database version to provision if specified + group (False, list, None) + None - whitelist (False, list, None) - None + adminpassword (False, str, None) + The admin user password for the instance - group (False, list, None) - None + configuration (False, str, None) + The configuration in JSON format - location (True, str, None) - (Required for new resource) The location or the region in which Database instance exists + backup_id (False, str, None) + The CRN of backup source database - remote_leader_id (False, str, None) - The CRN of leader database + name (True, str, None) + (Required for new resource) Resource instance name for example, my Database instance - key_protect_instance (False, str, None) - The CRN of Key protect instance + backup_encryption_key_crn (False, str, None) + The Backup Encryption Key CRN key_protect_key (False, str, None) The CRN of Key protect key - plan (True, str, None) - (Required for new resource) The plan type of the Database instance - - - configuration (False, str, None) - The configuration in JSON format + location (True, str, None) + (Required for new resource) The location or the region in which Database instance exists - backup_id (False, str, None) - The CRN of backup source database + service (True, str, None) + (Required for new resource) The name of the Cloud Internet database service id (False, str, None) diff --git a/docs/ibm_database_backup_info.rst b/docs/ibm_database_backup_info.rst index 0e26ae1e8..2332380c5 100644 --- a/docs/ibm_database_backup_info.rst +++ b/docs/ibm_database_backup_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_database_backups_info.rst b/docs/ibm_database_backups_info.rst index 0d5abfb59..00baca3dc 100644 --- a/docs/ibm_database_backups_info.rst +++ b/docs/ibm_database_backups_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_database_connection_info.rst b/docs/ibm_database_connection_info.rst index 680249043..da1471a39 100644 --- a/docs/ibm_database_connection_info.rst +++ b/docs/ibm_database_connection_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + user_type (True, str, None) + User type. + + endpoint_type (True, str, None) Endpoint Type. The endpoint must be enabled on the deployment before its connection information can be fetched. @@ -41,10 +45,6 @@ Parameters Deployment ID. - user_type (True, str, None) - User type. - - iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_database_info.rst b/docs/ibm_database_info.rst index d5fa0366f..02d53e643 100644 --- a/docs/ibm_database_info.rst +++ b/docs/ibm_database_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + location (False, str, None) + The location or the region in which the Database instance exists + + service (False, str, None) The name of the Cloud Database service @@ -37,18 +41,14 @@ Parameters Resource instance name for example, my Database instance - location (False, str, None) - The location or the region in which the Database instance exists + resource_group_id (False, str, None) + The id of the resource group in which the Database instance is present tags (False, list, None) None - resource_group_id (False, str, None) - The id of the resource group in which the Database instance is present - - iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_database_point_in_time_recovery_info.rst b/docs/ibm_database_point_in_time_recovery_info.rst index fde53b8ce..d6da24a62 100644 --- a/docs/ibm_database_point_in_time_recovery_info.rst +++ b/docs/ibm_database_point_in_time_recovery_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_database_remotes_info.rst b/docs/ibm_database_remotes_info.rst index 15a5e73ce..759968777 100644 --- a/docs/ibm_database_remotes_info.rst +++ b/docs/ibm_database_remotes_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_database_task_info.rst b/docs/ibm_database_task_info.rst index 3d5267bef..15813500b 100644 --- a/docs/ibm_database_task_info.rst +++ b/docs/ibm_database_task_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_database_tasks_info.rst b/docs/ibm_database_tasks_info.rst index ffc2dd6df..09c994a99 100644 --- a/docs/ibm_database_tasks_info.rst +++ b/docs/ibm_database_tasks_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dl_gateway.rst b/docs/ibm_dl_gateway.rst index 838a7025d..3112fb2c5 100644 --- a/docs/ibm_dl_gateway.rst +++ b/docs/ibm_dl_gateway.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,100 +31,104 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - bfd_multiplier (False, int, None) - BFD Multiplier + bfd_status (False, str, None) + Gateway BFD status - customer_name (False, str, None) - Customer name + loa_reject_reason (False, str, None) + Loa reject reason - cross_connect_router (False, str, None) - Cross connect router + global_ (True, bool, None) + (Required for new resource) Gateways with global routing (true) can connect to networks outside their associated region - bgp_base_cidr (False, str, None) - BGP base CIDR + cross_connect_router (False, str, None) + Cross connect router port (False, str, None) Gateway port - macsec_config (False, list, None) - MACsec configuration information - - - bgp_ibm_cidr (False, str, None) - BGP IBM CIDR - - - resource_group (False, str, None) - Gateway resource group + speed_mbps (True, int, None) + (Required for new resource) Gateway speed in megabits per second authentication_key (False, str, None) BGP MD5 authentication key - bfd_status (False, str, None) - Gateway BFD status - - - speed_mbps (True, int, None) - (Required for new resource) Gateway speed in megabits per second + bfd_interval (False, int, None) + BFD Interval - type (True, str, None) - (Required for new resource) Gateway type + metered (True, bool, None) + (Required for new resource) Metered billing option - bgp_cer_cidr (False, str, None) - BGP customer edge router CIDR + carrier_name (False, str, None) + Carrier name - bfd_interval (False, int, None) - BFD Interval + customer_name (False, str, None) + Customer name - bfd_status_updated_at (False, str, None) - Date and time BFD status was updated + macsec_config (False, list, None) + MACsec configuration information connection_mode (False, str, None) Type of services this Gateway is attached to. Mode transit means this Gateway will be attached to Transit Gateway Service and direct means this Gateway will be attached to vpc or classic connection - metered (True, bool, None) - (Required for new resource) Metered billing option + location_name (False, str, None) + Gateway location - name (True, str, None) - (Required for new resource) The unique user-defined name for this gateway + bgp_ibm_cidr (False, str, None) + BGP IBM CIDR - global_ (True, bool, None) - (Required for new resource) Gateways with global routing (true) can connect to networks outside their associated region + bfd_multiplier (False, int, None) + BFD Multiplier - location_name (False, str, None) - Gateway location + bgp_base_cidr (False, str, None) + BGP base CIDR - carrier_name (False, str, None) - Carrier name + tags (False, list, None) + Tags for the direct link gateway - loa_reject_reason (False, str, None) - Loa reject reason + as_prepends (False, list, None) + List of AS Prepend configuration information + + + bfd_status_updated_at (False, str, None) + Date and time BFD status was updated bgp_asn (True, int, None) (Required for new resource) BGP ASN - tags (False, list, None) - Tags for the direct link gateway + name (True, str, None) + (Required for new resource) The unique user-defined name for this gateway + + + type (True, str, None) + (Required for new resource) Gateway type + + + bgp_cer_cidr (False, str, None) + BGP customer edge router CIDR + + + resource_group (False, str, None) + Gateway resource group id (False, str, None) diff --git a/docs/ibm_dl_gateway_info.rst b/docs/ibm_dl_gateway_info.rst index 467216af8..e9b0e2997 100644 --- a/docs/ibm_dl_gateway_info.rst +++ b/docs/ibm_dl_gateway_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dl_gateways_info.rst b/docs/ibm_dl_gateways_info.rst index 6ac415515..4850a1419 100644 --- a/docs/ibm_dl_gateways_info.rst +++ b/docs/ibm_dl_gateways_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dl_locations_info.rst b/docs/ibm_dl_locations_info.rst index 35c93363b..57d7c1e22 100644 --- a/docs/ibm_dl_locations_info.rst +++ b/docs/ibm_dl_locations_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dl_offering_speeds_info.rst b/docs/ibm_dl_offering_speeds_info.rst index c1461de7d..f850b13de 100644 --- a/docs/ibm_dl_offering_speeds_info.rst +++ b/docs/ibm_dl_offering_speeds_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dl_port_info.rst b/docs/ibm_dl_port_info.rst index 2107f1ae0..7afa38035 100644 --- a/docs/ibm_dl_port_info.rst +++ b/docs/ibm_dl_port_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dl_ports_info.rst b/docs/ibm_dl_ports_info.rst index 8c5d12f49..511bd8e76 100644 --- a/docs/ibm_dl_ports_info.rst +++ b/docs/ibm_dl_ports_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dl_provider_gateway.rst b/docs/ibm_dl_provider_gateway.rst index fac68ba11..4c70f1745 100644 --- a/docs/ibm_dl_provider_gateway.rst +++ b/docs/ibm_dl_provider_gateway.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,8 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) The unique user-defined name for this gateway + customer_account_id (True, str, None) + (Required for new resource) Customer IBM Cloud account ID for the new gateway. A gateway object containing the pending create request will become available in the specified account. + + + vlan (False, int, None) + VLAN allocated for this gateway tags (False, list, None) @@ -51,22 +55,18 @@ Parameters (Required for new resource) Gateway port - speed_mbps (True, int, None) - (Required for new resource) Gateway speed in megabits per second + name (True, str, None) + (Required for new resource) The unique user-defined name for this gateway - vlan (False, int, None) - VLAN allocated for this gateway + speed_mbps (True, int, None) + (Required for new resource) Gateway speed in megabits per second bgp_asn (True, int, None) (Required for new resource) BGP ASN - customer_account_id (True, str, None) - (Required for new resource) Customer IBM Cloud account ID for the new gateway. A gateway object containing the pending create request will become available in the specified account. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dl_provider_gateways_info.rst b/docs/ibm_dl_provider_gateways_info.rst index 401b538c0..96e084bdc 100644 --- a/docs/ibm_dl_provider_gateways_info.rst +++ b/docs/ibm_dl_provider_gateways_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dl_provider_ports_info.rst b/docs/ibm_dl_provider_ports_info.rst index dc983527a..0fe43cab2 100644 --- a/docs/ibm_dl_provider_ports_info.rst +++ b/docs/ibm_dl_provider_ports_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dl_route_report.rst b/docs/ibm_dl_route_report.rst new file mode 100644 index 000000000..c8d9de4f7 --- /dev/null +++ b/docs/ibm_dl_route_report.rst @@ -0,0 +1,77 @@ + +ibm_dl_route_report -- Configure IBM Cloud 'ibm_dl_route_report' resource +========================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_dl_route_report' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/dl_route_report + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.47.1 +- Terraform v0.12.20 + + + +Parameters +---------- + + gateway (True, str, None) + (Required for new resource) The Direct Link gateway identifier + + + id (False, str, None) + (Required when updating or destroying existing resource) IBM Cloud Resource ID. + + + state (False, any, available) + State of resource + + + iaas_classic_username (False, any, None) + (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. + + + iaas_classic_api_key (False, any, None) + (Required when generation = 1) The IBM Cloud Classic Infrastructure API key. This can also be provided via the environment variable 'IAAS_CLASSIC_API_KEY'. + + + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + ibmcloud_api_key (True, any, None) + The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_dl_route_report_info.rst b/docs/ibm_dl_route_report_info.rst new file mode 100644 index 000000000..c541bb7c3 --- /dev/null +++ b/docs/ibm_dl_route_report_info.rst @@ -0,0 +1,71 @@ + +ibm_dl_route_report_info -- Retrieve IBM Cloud 'ibm_dl_route_report' resource +============================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_dl_route_report' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/dl_route_report + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.47.1 +- Terraform v0.12.20 + + + +Parameters +---------- + + gateway (True, str, None) + The Direct Link gateway identifier + + + route_report (True, str, None) + Id of the route report + + + iaas_classic_username (False, any, None) + (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. + + + iaas_classic_api_key (False, any, None) + (Required when generation = 1) The IBM Cloud Classic Infrastructure API key. This can also be provided via the environment variable 'IAAS_CLASSIC_API_KEY'. + + + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + ibmcloud_api_key (True, any, None) + The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_dl_route_reports_info.rst b/docs/ibm_dl_route_reports_info.rst new file mode 100644 index 000000000..1201f0b0c --- /dev/null +++ b/docs/ibm_dl_route_reports_info.rst @@ -0,0 +1,67 @@ + +ibm_dl_route_reports_info -- Retrieve IBM Cloud 'ibm_dl_route_reports' resource +=============================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_dl_route_reports' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/dl_route_reports + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.47.1 +- Terraform v0.12.20 + + + +Parameters +---------- + + gateway (True, str, None) + The Direct Link gateway identifier + + + iaas_classic_username (False, any, None) + (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. + + + iaas_classic_api_key (False, any, None) + (Required when generation = 1) The IBM Cloud Classic Infrastructure API key. This can also be provided via the environment variable 'IAAS_CLASSIC_API_KEY'. + + + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + + ibmcloud_api_key (True, any, None) + The IBM Cloud API key to authenticate with the IBM Cloud platform. This can also be provided via the environment variable 'IC_API_KEY'. + + + + + + + + + + + + + +Authors +~~~~~~~ + +- Jay Carman (@jaywcarman) + diff --git a/docs/ibm_dl_routers_info.rst b/docs/ibm_dl_routers_info.rst index b81037d94..cdae25151 100644 --- a/docs/ibm_dl_routers_info.rst +++ b/docs/ibm_dl_routers_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - offering_type (True, str, None) - The Direct Link offering type - - location_name (True, str, None) The name of the Direct Link location + offering_type (True, str, None) + The Direct Link offering type + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_dl_virtual_connection.rst b/docs/ibm_dl_virtual_connection.rst index 772e787e2..34ad8ec43 100644 --- a/docs/ibm_dl_virtual_connection.rst +++ b/docs/ibm_dl_virtual_connection.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - type (True, str, None) - (Required for new resource) The type of virtual connection.Allowable values (classic,vpc) - - - name (True, str, None) - (Required for new resource) The user-defined name for this virtual connection. Virtualconnection names are unique within a gateway. This is the name of thevirtual connection itself, the network being connected may have its ownname attribute - - network_id (False, str, None) Unique identifier of the target network. For type=vpc virtual connections this is the CRN of the target VPC. This field does not apply to type=classic connections. @@ -47,6 +39,14 @@ Parameters (Required for new resource) The Direct Link gateway identifier + type (True, str, None) + (Required for new resource) The type of virtual connection.Allowable values (classic,vpc) + + + name (True, str, None) + (Required for new resource) The user-defined name for this virtual connection. Virtualconnection names are unique within a gateway. This is the name of thevirtual connection itself, the network being connected may have its ownname attribute + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_custom_resolver.rst b/docs/ibm_dns_custom_resolver.rst index b8c87e562..1706e4691 100644 --- a/docs/ibm_dns_custom_resolver.rst +++ b/docs/ibm_dns_custom_resolver.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - high_availability (False, bool, True) - Whether High Availability is enabled in custom resolver - - name (True, str, None) (Required for new resource) Name of the custom resolver @@ -43,10 +39,6 @@ Parameters Descriptive text of the custom resolver. - enabled (False, bool, True) - Whether the custom resolver is enabled - - locations (False, list, None) Locations on which the custom resolver will be running @@ -55,6 +47,14 @@ Parameters (Required for new resource) Instance ID + enabled (False, bool, True) + Whether the custom resolver is enabled + + + high_availability (False, bool, True) + Whether High Availability is enabled in custom resolver + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_custom_resolver_forwarding_rule.rst b/docs/ibm_dns_custom_resolver_forwarding_rule.rst index bffb671a1..9abd2a113 100644 --- a/docs/ibm_dns_custom_resolver_forwarding_rule.rst +++ b/docs/ibm_dns_custom_resolver_forwarding_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + description (False, str, None) + Descriptive text of the forwarding rule. + + type (False, str, None) Type of the forwarding rule. @@ -51,10 +55,6 @@ Parameters (Required for new resource) The unique identifier of a custom resolver. - description (False, str, None) - Descriptive text of the forwarding rule. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_custom_resolver_forwarding_rules_info.rst b/docs/ibm_dns_custom_resolver_forwarding_rules_info.rst index bee7f6955..2394b1f9e 100644 --- a/docs/ibm_dns_custom_resolver_forwarding_rules_info.rst +++ b/docs/ibm_dns_custom_resolver_forwarding_rules_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resolver_id (True, str, None) - The unique identifier of a custom resolver. - - instance_id (True, str, None) The unique identifier of a service instance. + resolver_id (True, str, None) + The unique identifier of a custom resolver. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_dns_custom_resolver_location.rst b/docs/ibm_dns_custom_resolver_location.rst index 679d9e9cd..a3bf885f9 100644 --- a/docs/ibm_dns_custom_resolver_location.rst +++ b/docs/ibm_dns_custom_resolver_location.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - subnet_crn (True, str, None) - (Required for new resource) CRLocation Subnet CRN - - - enabled (False, bool, False) - CRLocation Enabled - - cr_enabled (False, bool, True) None @@ -51,6 +43,14 @@ Parameters (Required for new resource) Custom Resolver ID + subnet_crn (True, str, None) + (Required for new resource) CRLocation Subnet CRN + + + enabled (False, bool, False) + CRLocation Enabled + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_custom_resolver_secondary_zone.rst b/docs/ibm_dns_custom_resolver_secondary_zone.rst index a9f989f71..fc244913d 100644 --- a/docs/ibm_dns_custom_resolver_secondary_zone.rst +++ b/docs/ibm_dns_custom_resolver_secondary_zone.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resolver_id (True, str, None) - (Required for new resource) The unique identifier of a custom resolver. + instance_id (True, str, None) + (Required for new resource) The unique identifier of a service instance. zone (True, str, None) (Required for new resource) The name of the zone. + resolver_id (True, str, None) + (Required for new resource) The unique identifier of a custom resolver. + + transfer_from (True, list, None) (Required for new resource) The addresses of DNS servers where the secondary zone data should be transferred from @@ -51,10 +55,6 @@ Parameters Descriptive text of the secondary zone - instance_id (True, str, None) - (Required for new resource) The unique identifier of a service instance. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_custom_resolver_secondary_zones_info.rst b/docs/ibm_dns_custom_resolver_secondary_zones_info.rst index 979de1991..ecd2c0b98 100644 --- a/docs/ibm_dns_custom_resolver_secondary_zones_info.rst +++ b/docs/ibm_dns_custom_resolver_secondary_zones_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dns_custom_resolvers_info.rst b/docs/ibm_dns_custom_resolvers_info.rst index 47e3f1ed1..477f15855 100644 --- a/docs/ibm_dns_custom_resolvers_info.rst +++ b/docs/ibm_dns_custom_resolvers_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dns_domain.rst b/docs/ibm_dns_domain.rst index ced6c171b..1391f5f60 100644 --- a/docs/ibm_dns_domain.rst +++ b/docs/ibm_dns_domain.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dns_domain_info.rst b/docs/ibm_dns_domain_info.rst index d7b4bb121..258bc685d 100644 --- a/docs/ibm_dns_domain_info.rst +++ b/docs/ibm_dns_domain_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dns_domain_registration_info.rst b/docs/ibm_dns_domain_registration_info.rst index 6822a6e75..517868463 100644 --- a/docs/ibm_dns_domain_registration_info.rst +++ b/docs/ibm_dns_domain_registration_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dns_domain_registration_nameservers.rst b/docs/ibm_dns_domain_registration_nameservers.rst index 9c71b6acf..7a386ff4b 100644 --- a/docs/ibm_dns_domain_registration_nameservers.rst +++ b/docs/ibm_dns_domain_registration_nameservers.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - dns_registration_id (True, str, None) - (Required for new resource) DNS registration ID - - name_servers (True, list, None) (Required for new resource) Custom name servers for the domain registration + dns_registration_id (True, str, None) + (Required for new resource) DNS registration ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_glb.rst b/docs/ibm_dns_glb.rst index 139a504b2..c9b6dddc7 100644 --- a/docs/ibm_dns_glb.rst +++ b/docs/ibm_dns_glb.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -51,22 +51,22 @@ Parameters Time to live in second - fallback_pool (True, str, None) - (Required for new resource) The pool ID to use when all other pools are detected as unhealthy - - default_pools (True, list, None) (Required for new resource) A list of pool IDs ordered by their failover priority - az_pools (False, list, None) - Map availability zones to pool ID's. - - name (True, str, None) (Required for new resource) Name of the load balancer + fallback_pool (True, str, None) + (Required for new resource) The pool ID to use when all other pools are detected as unhealthy + + + az_pools (False, list, None) + Map availability zones to pool ID's. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_glb_monitor.rst b/docs/ibm_dns_glb_monitor.rst index 5e524b263..b50a6a97c 100644 --- a/docs/ibm_dns_glb_monitor.rst +++ b/docs/ibm_dns_glb_monitor.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,28 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - path (False, str, None) - The endpoint path to health check against - - - expected_body (False, str, None) - A case-insensitive sub-string to look for in the response body - - - instance_id (True, str, None) - (Required for new resource) Instance Id + name (True, str, None) + (Required for new resource) The unique identifier of a service instance. description (False, str, None) Descriptive text of the load balancer monitor - type (False, str, HTTP) - The protocol to use for the health check + expected_codes (False, str, None) + The expected HTTP response code or code range of the health check. This parameter is only valid for HTTP and HTTPS - interval (False, int, 60) - The interval between each health check + instance_id (True, str, None) + (Required for new resource) Instance Id timeout (False, int, 5) @@ -63,28 +55,36 @@ Parameters The HTTP request headers to send in the health check - port (False, int, None) - Port number to connect to for the health check + allow_insecure (False, bool, None) + Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTPS monitors. - retries (False, int, 1) - The number of retries to attempt in case of a timeout before marking the origin as unhealthy + interval (False, int, 60) + The interval between each health check method (False, str, None) The method to use for the health check - allow_insecure (False, bool, None) - Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTPS monitors. + type (False, str, HTTP) + The protocol to use for the health check - expected_codes (False, str, None) - The expected HTTP response code or code range of the health check. This parameter is only valid for HTTP and HTTPS + retries (False, int, 1) + The number of retries to attempt in case of a timeout before marking the origin as unhealthy - name (True, str, None) - (Required for new resource) The unique identifier of a service instance. + path (False, str, None) + The endpoint path to health check against + + + expected_body (False, str, None) + A case-insensitive sub-string to look for in the response body + + + port (False, int, None) + Port number to connect to for the health check id (False, str, None) diff --git a/docs/ibm_dns_glb_monitors_info.rst b/docs/ibm_dns_glb_monitors_info.rst index 1d7ad05ec..3a137fde0 100644 --- a/docs/ibm_dns_glb_monitors_info.rst +++ b/docs/ibm_dns_glb_monitors_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dns_glb_pool.rst b/docs/ibm_dns_glb_pool.rst index 5ded8e437..5e107e5fb 100644 --- a/docs/ibm_dns_glb_pool.rst +++ b/docs/ibm_dns_glb_pool.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,26 +31,30 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + notification_channel (False, str, None) + The notification channel,It is a webhook url + + + healthcheck_region (False, str, None) + Health check region of VSIs + + instance_id (True, str, None) (Required for new resource) Instance Id - description (False, str, None) - Descriptive text of the load balancer pool + healthcheck_subnets (False, list, None) + Health check subnet crn of VSIs - notification_channel (False, str, None) - The notification channel,It is a webhook url + name (True, str, None) + (Required for new resource) The unique identifier of a service instance. enabled (False, bool, None) Whether the load balancer pool is enabled - healthy_origins_threshold (False, int, None) - The minimum number of origins that must be healthy for this pool to serve traffic - - origins (True, list, None) (Required for new resource) Origins info @@ -59,16 +63,12 @@ Parameters The ID of the load balancer monitor to be associated to this pool - healthcheck_subnets (False, list, None) - Health check subnet crn of VSIs - - - name (True, str, None) - (Required for new resource) The unique identifier of a service instance. + healthy_origins_threshold (False, int, None) + The minimum number of origins that must be healthy for this pool to serve traffic - healthcheck_region (False, str, None) - Health check region of VSIs + description (False, str, None) + Descriptive text of the load balancer pool id (False, str, None) diff --git a/docs/ibm_dns_glb_pools_info.rst b/docs/ibm_dns_glb_pools_info.rst index 592829618..a07357f4a 100644 --- a/docs/ibm_dns_glb_pools_info.rst +++ b/docs/ibm_dns_glb_pools_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dns_glbs_info.rst b/docs/ibm_dns_glbs_info.rst index a6703c54c..d14de703e 100644 --- a/docs/ibm_dns_glbs_info.rst +++ b/docs/ibm_dns_glbs_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dns_permitted_network.rst b/docs/ibm_dns_permitted_network.rst index 0eb308ce9..ef4f75a72 100644 --- a/docs/ibm_dns_permitted_network.rst +++ b/docs/ibm_dns_permitted_network.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + zone_id (True, str, None) + (Required for new resource) Zone Id + + type (False, str, vpc) Network Type @@ -43,10 +47,6 @@ Parameters (Required for new resource) Instance Id - zone_id (True, str, None) - (Required for new resource) Zone Id - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_permitted_networks_info.rst b/docs/ibm_dns_permitted_networks_info.rst index 24f661c24..f40773758 100644 --- a/docs/ibm_dns_permitted_networks_info.rst +++ b/docs/ibm_dns_permitted_networks_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dns_record.rst b/docs/ibm_dns_record.rst index ff3fca1a7..aeab6cc6d 100644 --- a/docs/ibm_dns_record.rst +++ b/docs/ibm_dns_record.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,30 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - domain_id (True, int, None) - (Required for new resource) Domain ID of dns record instance - - - responsible_person (False, str, None) - Responsible person for DNS record - - - retry (False, int, None) - Retry count - - - weight (False, int, 0) - weight info - - - data (True, str, None) - (Required for new resource) DNS record data - - - expire (False, int, None) - DNS record expiry info - - type (True, str, None) (Required for new resource) DNS record type @@ -63,12 +39,16 @@ Parameters port number - host (True, str, None) - (Required for new resource) Hostname + tags (False, list, None) + tags set for the resource - refresh (False, int, None) - refresh rate + domain_id (True, int, None) + (Required for new resource) Domain ID of dns record instance + + + retry (False, int, None) + Retry count minimum_ttl (False, int, None) @@ -79,12 +59,16 @@ Parameters (Required for new resource) TTL configuration - priority (False, int, 0) - priority info + weight (False, int, 0) + weight info - tags (False, list, None) - tags set for the resource + expire (False, int, None) + DNS record expiry info + + + refresh (False, int, None) + refresh rate mx_priority (False, int, 0) @@ -95,10 +79,26 @@ Parameters service info + responsible_person (False, str, None) + Responsible person for DNS record + + protocol (False, str, None) protocol info + priority (False, int, 0) + priority info + + + data (True, str, None) + (Required for new resource) DNS record data + + + host (True, str, None) + (Required for new resource) Hostname + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_resource_record.rst b/docs/ibm_dns_resource_record.rst index 0a28e6969..ca3382255 100644 --- a/docs/ibm_dns_resource_record.rst +++ b/docs/ibm_dns_resource_record.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,8 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - zone_id (True, str, None) - (Required for new resource) Zone ID + instance_id (True, str, None) + (Required for new resource) Instance ID type (True, str, None) @@ -43,36 +43,36 @@ Parameters DNS maximum preference - port (False, int, None) - DNS server Port + service (False, str, None) + Service info - priority (False, int, 0) - DNS server Priority + zone_id (True, str, None) + (Required for new resource) Zone ID - weight (False, int, 0) - DNS server weight + name (True, str, None) + (Required for new resource) DNS record name - instance_id (True, str, None) - (Required for new resource) Instance ID + rdata (True, str, None) + (Required for new resource) DNS record Data - ttl (False, int, 900) - DNS record TTL + priority (False, int, 0) + DNS server Priority - service (False, str, None) - Service info + ttl (False, int, 900) + DNS record TTL - name (True, str, None) - (Required for new resource) DNS record name + port (False, int, None) + DNS server Port - rdata (True, str, None) - (Required for new resource) DNS record Data + weight (False, int, 0) + DNS server weight protocol (False, str, None) diff --git a/docs/ibm_dns_resource_records_info.rst b/docs/ibm_dns_resource_records_info.rst index 81945f81f..364e7f340 100644 --- a/docs/ibm_dns_resource_records_info.rst +++ b/docs/ibm_dns_resource_records_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_id (True, str, None) - Instance ID - - zone_id (True, str, None) Zone Id + instance_id (True, str, None) + Instance ID + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_dns_reverse_record.rst b/docs/ibm_dns_reverse_record.rst index 6cf346f95..bc4c9de72 100644 --- a/docs/ibm_dns_reverse_record.rst +++ b/docs/ibm_dns_reverse_record.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dns_secondary.rst b/docs/ibm_dns_secondary.rst index 8f06c549e..0438f84cd 100644 --- a/docs/ibm_dns_secondary.rst +++ b/docs/ibm_dns_secondary.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + tags (False, list, None) + List of tags + + master_ip_address (True, str, None) (Required for new resource) Master IP Address @@ -43,10 +47,6 @@ Parameters (Required for new resource) Zone name - tags (False, list, None) - List of tags - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_secondary_info.rst b/docs/ibm_dns_secondary_info.rst index 4af4128b2..e699aa554 100644 --- a/docs/ibm_dns_secondary_info.rst +++ b/docs/ibm_dns_secondary_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dns_zone.rst b/docs/ibm_dns_zone.rst index 2a1137133..119a8e6ad 100644 --- a/docs/ibm_dns_zone.rst +++ b/docs/ibm_dns_zone.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_dns_zones_info.rst b/docs/ibm_dns_zones_info.rst index 924aa09e7..1ba6571c5 100644 --- a/docs/ibm_dns_zones_info.rst +++ b/docs/ibm_dns_zones_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination.rst b/docs/ibm_en_destination.rst index 84f9305d8..d3ec369a0 100644 --- a/docs/ibm_en_destination.rst +++ b/docs/ibm_en_destination.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,24 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) The Destintion name. + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - config (False, list, None) - Payload describing a destination configuration. + description (False, str, None) + The Destination description. - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + name (True, str, None) + (Required for new resource) The Destintion name. type (True, str, None) (Required for new resource) The type of Destination Webhook. - description (False, str, None) - The Destination description. + config (False, list, None) + Payload describing a destination configuration. id (False, str, None) diff --git a/docs/ibm_en_destination_android.rst b/docs/ibm_en_destination_android.rst index 839b84758..02b318740 100644 --- a/docs/ibm_en_destination_android.rst +++ b/docs/ibm_en_destination_android.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination_android_info.rst b/docs/ibm_en_destination_android_info.rst index 90a925f60..1f1365ee5 100644 --- a/docs/ibm_en_destination_android_info.rst +++ b/docs/ibm_en_destination_android_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination_chrome.rst b/docs/ibm_en_destination_chrome.rst index f7a3e8ccb..3a1378f2e 100644 --- a/docs/ibm_en_destination_chrome.rst +++ b/docs/ibm_en_destination_chrome.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - - name (True, str, None) (Required for new resource) The Destintion name. @@ -43,6 +39,10 @@ Parameters (Required for new resource) The type of Destination type push_chrome. + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + + description (False, str, None) The Destination description. diff --git a/docs/ibm_en_destination_chrome_info.rst b/docs/ibm_en_destination_chrome_info.rst index d1ca2fc92..4cef2f585 100644 --- a/docs/ibm_en_destination_chrome_info.rst +++ b/docs/ibm_en_destination_chrome_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination_firefox.rst b/docs/ibm_en_destination_firefox.rst index f6522ccb3..8a46ec60e 100644 --- a/docs/ibm_en_destination_firefox.rst +++ b/docs/ibm_en_destination_firefox.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,10 +35,6 @@ Parameters (Required for new resource) The type of Destination type push_firefox. - description (False, str, None) - The Destination description. - - config (False, list, None) Payload describing a destination configuration. @@ -51,6 +47,10 @@ Parameters (Required for new resource) The Destintion name. + description (False, str, None) + The Destination description. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_destination_firefox_info.rst b/docs/ibm_en_destination_firefox_info.rst index ae8c1bd89..c9ca4f1a2 100644 --- a/docs/ibm_en_destination_firefox_info.rst +++ b/docs/ibm_en_destination_firefox_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination_info.rst b/docs/ibm_en_destination_info.rst index 73749d49c..11681a1b5 100644 --- a/docs/ibm_en_destination_info.rst +++ b/docs/ibm_en_destination_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination_ios.rst b/docs/ibm_en_destination_ios.rst index 0e01f9a3d..798eb1263 100644 --- a/docs/ibm_en_destination_ios.rst +++ b/docs/ibm_en_destination_ios.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) The Destintion name. - - - type (True, str, None) - (Required for new resource) The type of Destination type push_ios. - - description (False, str, None) The Destination description. @@ -47,16 +39,24 @@ Parameters (Required for new resource) The Certificate Content Type to be set p8/p12. + certificate (True, str, None) + (Required for new resource) The Certificate File. + + config (False, list, None) Payload describing a destination configuration. - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + name (True, str, None) + (Required for new resource) The Destintion name. - certificate (True, str, None) - (Required for new resource) The Certificate File. + type (True, str, None) + (Required for new resource) The type of Destination type push_ios. + + + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. id (False, str, None) diff --git a/docs/ibm_en_destination_ios_info.rst b/docs/ibm_en_destination_ios_info.rst index 741c37fec..68c0689df 100644 --- a/docs/ibm_en_destination_ios_info.rst +++ b/docs/ibm_en_destination_ios_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - destination_id (True, str, None) - Unique identifier for Destination. - - instance_guid (True, str, None) Unique identifier for IBM Cloud Event Notifications instance. + destination_id (True, str, None) + Unique identifier for Destination. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_en_destination_safari.rst b/docs/ibm_en_destination_safari.rst index f3343527c..bdd9b9361 100644 --- a/docs/ibm_en_destination_safari.rst +++ b/docs/ibm_en_destination_safari.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,27 +35,31 @@ Parameters (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - description (False, str, None) - The Destination description. + icon_32x32_2x (False, str, None) + The Certificate File. - icon_16x16 (False, str, None) + icon_128x128 (False, str, None) The Certificate File. - icon_32x32 (False, str, None) + icon_128x128_2x (False, str, None) The Certificate File. - icon_128x128 (False, str, None) + icon_16x16_content_type (False, str, None) The Certificate File. - certificate (True, str, None) - (Required for new resource) The Certificate File. + icon_32x32_content_type (False, str, None) + The Certificate File. - icon_128x128_content_type (False, str, None) + icon_16x16 (False, str, None) + The Certificate File. + + + icon_32x32_2x_content_type (False, str, None) The Certificate File. @@ -67,15 +71,15 @@ Parameters (Required for new resource) The Destintion name. - icon_128x128_2x (False, str, None) - The Certificate File. + certificate (True, str, None) + (Required for new resource) The Certificate File. - icon_32x32_2x_content_type (False, str, None) + icon_16x16_2x (False, str, None) The Certificate File. - icon_128x128_2x_content_type (False, str, None) + icon_128x128_content_type (False, str, None) The Certificate File. @@ -83,15 +87,11 @@ Parameters (Required for new resource) The type of Destination type push_ios. - icon_16x16_2x (False, str, None) - The Certificate File. - - - icon_32x32_2x (False, str, None) - The Certificate File. + description (False, str, None) + The Destination description. - icon_16x16_content_type (False, str, None) + icon_32x32 (False, str, None) The Certificate File. @@ -99,7 +99,7 @@ Parameters The Certificate File. - icon_32x32_content_type (False, str, None) + icon_128x128_2x_content_type (False, str, None) The Certificate File. diff --git a/docs/ibm_en_destination_safari_info.rst b/docs/ibm_en_destination_safari_info.rst index 8dc5c5ece..711786e6d 100644 --- a/docs/ibm_en_destination_safari_info.rst +++ b/docs/ibm_en_destination_safari_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination_slack.rst b/docs/ibm_en_destination_slack.rst index 168e1849d..f57ef32c9 100644 --- a/docs/ibm_en_destination_slack.rst +++ b/docs/ibm_en_destination_slack.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,22 +31,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - - config (False, list, None) Payload describing a destination configuration. - name (True, str, None) - (Required for new resource) The Destintion name. + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. type (True, str, None) (Required for new resource) The type of Destination Webhook. + name (True, str, None) + (Required for new resource) The Destintion name. + + description (False, str, None) The Destination description. diff --git a/docs/ibm_en_destination_slack_info.rst b/docs/ibm_en_destination_slack_info.rst index ab6ef2a16..1468f9590 100644 --- a/docs/ibm_en_destination_slack_info.rst +++ b/docs/ibm_en_destination_slack_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination_webhook.rst b/docs/ibm_en_destination_webhook.rst index aec1a81cf..194e7dc5c 100644 --- a/docs/ibm_en_destination_webhook.rst +++ b/docs/ibm_en_destination_webhook.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - description (False, str, None) - The Destination description. - - - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - - name (True, str, None) (Required for new resource) The Destintion name. @@ -47,6 +39,14 @@ Parameters (Required for new resource) The type of Destination Webhook. + description (False, str, None) + The Destination description. + + + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + + config (False, list, None) Payload describing a destination configuration. diff --git a/docs/ibm_en_destination_webhook_info.rst b/docs/ibm_en_destination_webhook_info.rst index d3d0ed532..aeed013b0 100644 --- a/docs/ibm_en_destination_webhook_info.rst +++ b/docs/ibm_en_destination_webhook_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_guid (True, str, None) - Unique identifier for IBM Cloud Event Notifications instance. - - destination_id (True, str, None) Unique identifier for Destination. + instance_guid (True, str, None) + Unique identifier for IBM Cloud Event Notifications instance. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_en_destinations_info.rst b/docs/ibm_en_destinations_info.rst index 2af1c87c5..3d7b20469 100644 --- a/docs/ibm_en_destinations_info.rst +++ b/docs/ibm_en_destinations_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_en_source.rst b/docs/ibm_en_source.rst index 4dfd37489..b47ce7971 100644 --- a/docs/ibm_en_source.rst +++ b/docs/ibm_en_source.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + + name (True, str, None) (Required for new resource) The Source name. @@ -43,10 +47,6 @@ Parameters (Required for new resource) The enabled flag for source - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_source_info.rst b/docs/ibm_en_source_info.rst index a8ab35764..b1fbd2b81 100644 --- a/docs/ibm_en_source_info.rst +++ b/docs/ibm_en_source_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription.rst b/docs/ibm_en_subscription.rst index b39326f71..fcf90a63d 100644 --- a/docs/ibm_en_subscription.rst +++ b/docs/ibm_en_subscription.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,18 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - description (False, str, None) - Subscription description. - - - name (True, str, None) - (Required for new resource) Subscription name. - - destination_id (True, str, None) (Required for new resource) Destination ID. + description (False, str, None) + Subscription description. + + topic_id (True, str, None) (Required for new resource) Topic ID. @@ -55,6 +51,10 @@ Parameters (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + name (True, str, None) + (Required for new resource) Subscription name. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_subscription_android.rst b/docs/ibm_en_subscription_android.rst index d6830c8f3..478dc7b70 100644 --- a/docs/ibm_en_subscription_android.rst +++ b/docs/ibm_en_subscription_android.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - - - description (False, str, None) - Subscription description. - - name (True, str, None) (Required for new resource) Subscription name. @@ -47,6 +39,14 @@ Parameters (Required for new resource) Destination ID. + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + + + description (False, str, None) + Subscription description. + + topic_id (True, str, None) (Required for new resource) Topic ID. diff --git a/docs/ibm_en_subscription_android_info.rst b/docs/ibm_en_subscription_android_info.rst index f099c4759..de588840d 100644 --- a/docs/ibm_en_subscription_android_info.rst +++ b/docs/ibm_en_subscription_android_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_guid (True, str, None) - Unique identifier for IBM Cloud Event Notifications instance. - - subscription_id (True, str, None) Unique identifier for result. + instance_guid (True, str, None) + Unique identifier for IBM Cloud Event Notifications instance. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_en_subscription_chrome.rst b/docs/ibm_en_subscription_chrome.rst index 82fc37f0c..dca1e6e85 100644 --- a/docs/ibm_en_subscription_chrome.rst +++ b/docs/ibm_en_subscription_chrome.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,24 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Subscription name. + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - destination_id (True, str, None) - (Required for new resource) Destination ID. + description (False, str, None) + Subscription description. - topic_id (True, str, None) - (Required for new resource) Topic ID. + destination_id (True, str, None) + (Required for new resource) Destination ID. - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + name (True, str, None) + (Required for new resource) Subscription name. - description (False, str, None) - Subscription description. + topic_id (True, str, None) + (Required for new resource) Topic ID. id (False, str, None) diff --git a/docs/ibm_en_subscription_chrome_info.rst b/docs/ibm_en_subscription_chrome_info.rst index 2e3c710e1..48dba30aa 100644 --- a/docs/ibm_en_subscription_chrome_info.rst +++ b/docs/ibm_en_subscription_chrome_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_email.rst b/docs/ibm_en_subscription_email.rst index abba3d214..c78998545 100644 --- a/docs/ibm_en_subscription_email.rst +++ b/docs/ibm_en_subscription_email.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -39,10 +39,6 @@ Parameters Subscription description. - destination_id (True, str, None) - (Required for new resource) Destination ID. - - topic_id (True, str, None) (Required for new resource) Topic ID. @@ -55,6 +51,10 @@ Parameters (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + destination_id (True, str, None) + (Required for new resource) Destination ID. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_subscription_email_info.rst b/docs/ibm_en_subscription_email_info.rst index b4b49a766..7b8f7332b 100644 --- a/docs/ibm_en_subscription_email_info.rst +++ b/docs/ibm_en_subscription_email_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - subscription_id (True, str, None) - Unique identifier for result. - - instance_guid (True, str, None) Unique identifier for IBM Cloud Event Notifications instance. + subscription_id (True, str, None) + Unique identifier for result. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_en_subscription_firefox.rst b/docs/ibm_en_subscription_firefox.rst index 5bdc2a91b..fa61fcbdd 100644 --- a/docs/ibm_en_subscription_firefox.rst +++ b/docs/ibm_en_subscription_firefox.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,22 +31,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - destination_id (True, str, None) - (Required for new resource) Destination ID. - - instance_guid (True, str, None) (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - name (True, str, None) - (Required for new resource) Subscription name. - - description (False, str, None) Subscription description. + destination_id (True, str, None) + (Required for new resource) Destination ID. + + + name (True, str, None) + (Required for new resource) Subscription name. + + topic_id (True, str, None) (Required for new resource) Topic ID. diff --git a/docs/ibm_en_subscription_firefox_info.rst b/docs/ibm_en_subscription_firefox_info.rst index 57a616667..acd77a617 100644 --- a/docs/ibm_en_subscription_firefox_info.rst +++ b/docs/ibm_en_subscription_firefox_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - subscription_id (True, str, None) - Unique identifier for result. - - instance_guid (True, str, None) Unique identifier for IBM Cloud Event Notifications instance. + subscription_id (True, str, None) + Unique identifier for result. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_en_subscription_info.rst b/docs/ibm_en_subscription_info.rst index a37f4b3d9..c5f76b942 100644 --- a/docs/ibm_en_subscription_info.rst +++ b/docs/ibm_en_subscription_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_guid (True, str, None) - Unique identifier for IBM Cloud Event Notifications instance. - - subscription_id (True, str, None) Unique identifier for result. + instance_guid (True, str, None) + Unique identifier for IBM Cloud Event Notifications instance. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_en_subscription_ios.rst b/docs/ibm_en_subscription_ios.rst index a9e1f5a89..f7b137208 100644 --- a/docs/ibm_en_subscription_ios.rst +++ b/docs/ibm_en_subscription_ios.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,12 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - destination_id (True, str, None) - (Required for new resource) Destination ID. - - - topic_id (True, str, None) - (Required for new resource) Topic ID. + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. name (True, str, None) @@ -47,8 +43,12 @@ Parameters Subscription description. - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + topic_id (True, str, None) + (Required for new resource) Topic ID. + + + destination_id (True, str, None) + (Required for new resource) Destination ID. id (False, str, None) diff --git a/docs/ibm_en_subscription_ios_info.rst b/docs/ibm_en_subscription_ios_info.rst index e8e3cf20b..8b0237bc6 100644 --- a/docs/ibm_en_subscription_ios_info.rst +++ b/docs/ibm_en_subscription_ios_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_safari.rst b/docs/ibm_en_subscription_safari.rst index cc6b34029..2f3616cda 100644 --- a/docs/ibm_en_subscription_safari.rst +++ b/docs/ibm_en_subscription_safari.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - description (False, str, None) - Subscription description. - - topic_id (True, str, None) (Required for new resource) Topic ID. @@ -47,6 +43,10 @@ Parameters (Required for new resource) Subscription name. + description (False, str, None) + Subscription description. + + destination_id (True, str, None) (Required for new resource) Destination ID. diff --git a/docs/ibm_en_subscription_safari_info.rst b/docs/ibm_en_subscription_safari_info.rst index ce149cb53..777c9d199 100644 --- a/docs/ibm_en_subscription_safari_info.rst +++ b/docs/ibm_en_subscription_safari_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_slack.rst b/docs/ibm_en_subscription_slack.rst index 67a6d72af..0f02119ba 100644 --- a/docs/ibm_en_subscription_slack.rst +++ b/docs/ibm_en_subscription_slack.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,12 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - description (False, str, None) - Subscription description. - - - topic_id (True, str, None) - (Required for new resource) Topic ID. + name (True, str, None) + (Required for new resource) Subscription name. attributes (False, list, None) @@ -47,12 +43,16 @@ Parameters (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + description (False, str, None) + Subscription description. + + destination_id (True, str, None) (Required for new resource) Destination ID. - name (True, str, None) - (Required for new resource) Subscription name. + topic_id (True, str, None) + (Required for new resource) Topic ID. id (False, str, None) diff --git a/docs/ibm_en_subscription_slack_info.rst b/docs/ibm_en_subscription_slack_info.rst index 9284caaba..bb26e772f 100644 --- a/docs/ibm_en_subscription_slack_info.rst +++ b/docs/ibm_en_subscription_slack_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_sms.rst b/docs/ibm_en_subscription_sms.rst index f4aa82db1..fe9d872a2 100644 --- a/docs/ibm_en_subscription_sms.rst +++ b/docs/ibm_en_subscription_sms.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - attributes (False, list, None) - None - - instance_guid (True, str, None) (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. @@ -47,12 +43,16 @@ Parameters (Required for new resource) Destination ID. + topic_id (True, str, None) + (Required for new resource) Topic ID. + + description (False, str, None) Subscription description. - topic_id (True, str, None) - (Required for new resource) Topic ID. + attributes (False, list, None) + None id (False, str, None) diff --git a/docs/ibm_en_subscription_sms_info.rst b/docs/ibm_en_subscription_sms_info.rst index d4fd81a46..8a9a21fda 100644 --- a/docs/ibm_en_subscription_sms_info.rst +++ b/docs/ibm_en_subscription_sms_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - subscription_id (True, str, None) - Unique identifier for result. - - instance_guid (True, str, None) Unique identifier for IBM Cloud Event Notifications instance. + subscription_id (True, str, None) + Unique identifier for result. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_en_subscription_webhook.rst b/docs/ibm_en_subscription_webhook.rst index 6e325c2a6..bd87c44eb 100644 --- a/docs/ibm_en_subscription_webhook.rst +++ b/docs/ibm_en_subscription_webhook.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - attributes (False, list, None) - None - - - name (True, str, None) - (Required for new resource) Subscription name. - - description (False, str, None) Subscription description. @@ -47,14 +39,22 @@ Parameters (Required for new resource) Topic ID. - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + name (True, str, None) + (Required for new resource) Subscription name. destination_id (True, str, None) (Required for new resource) Destination ID. + attributes (False, list, None) + None + + + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_subscription_webhook_info.rst b/docs/ibm_en_subscription_webhook_info.rst index 42ee4728a..6ff5cae03 100644 --- a/docs/ibm_en_subscription_webhook_info.rst +++ b/docs/ibm_en_subscription_webhook_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscriptions_info.rst b/docs/ibm_en_subscriptions_info.rst index bdf0a0735..c78988655 100644 --- a/docs/ibm_en_subscriptions_info.rst +++ b/docs/ibm_en_subscriptions_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_en_topic.rst b/docs/ibm_en_topic.rst index 6f7f659de..baa3e06ad 100644 --- a/docs/ibm_en_topic.rst +++ b/docs/ibm_en_topic.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,22 +31,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - - description (False, str, None) Description of the topic. - name (True, str, None) - (Required for new resource) Name of the topic. - - sources (False, list, None) List of sources. + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + + + name (True, str, None) + (Required for new resource) Name of the topic. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_topic_info.rst b/docs/ibm_en_topic_info.rst index 4d700f6f9..c6ca613f0 100644 --- a/docs/ibm_en_topic_info.rst +++ b/docs/ibm_en_topic_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - topic_id (True, str, None) - Unique identifier for Topic. - - instance_guid (True, str, None) Unique identifier for IBM Cloud Event Notifications instance. + topic_id (True, str, None) + Unique identifier for Topic. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_en_topics_info.rst b/docs/ibm_en_topics_info.rst index d219f89c7..0864b4fc2 100644 --- a/docs/ibm_en_topics_info.rst +++ b/docs/ibm_en_topics_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_guid (True, str, None) - Unique identifier for IBM Cloud Event Notifications instance. - - search_key (False, str, None) Filter the topic by name + instance_guid (True, str, None) + Unique identifier for IBM Cloud Event Notifications instance. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_enterprise.rst b/docs/ibm_enterprise.rst index c61f3e903..32dc5b3d9 100644 --- a/docs/ibm_enterprise.rst +++ b/docs/ibm_enterprise.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - source_account_id (True, str, None) - (Required for new resource) The ID of the account that is used to create the enterprise. - - - domain (False, str, None) - A domain or subdomain for the enterprise, such as `example.com` or `my.example.com`. - - name (True, str, None) (Required for new resource) The name of the enterprise. This field must have 3 - 60 characters. @@ -47,6 +39,14 @@ Parameters (Required for new resource) The IAM ID of the enterprise primary contact, such as `IBMid-0123ABC`. The IAM ID must already exist. + domain (False, str, None) + A domain or subdomain for the enterprise, such as `example.com` or `my.example.com`. + + + source_account_id (True, str, None) + (Required for new resource) The ID of the account that is used to create the enterprise. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_enterprise_account.rst b/docs/ibm_enterprise_account.rst index 14b97af92..9d16adb64 100644 --- a/docs/ibm_enterprise_account.rst +++ b/docs/ibm_enterprise_account.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,24 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - enterprise_id (False, str, None) - The enterprise ID that the account is a part of. + name (False, str, None) + The name of the account. This field must have 3 - 60 characters. parent (True, str, None) (Required for new resource) The CRN of the parent under which the account will be created. The parent can be an existing account group or the enterprise itself. - name (False, str, None) - The name of the account. This field must have 3 - 60 characters. + account_id (False, str, None) + The source account id of account to be imported - owner_iam_id (False, str, None) - The IAM ID of the account owner, such as `IBMid-0123ABC`. The IAM ID must already exist. + enterprise_id (False, str, None) + The enterprise ID that the account is a part of. - account_id (False, str, None) - The source account id of account to be imported + owner_iam_id (False, str, None) + The IAM ID of the account owner, such as `IBMid-0123ABC`. The IAM ID must already exist. enterprise_account_id (False, str, None) diff --git a/docs/ibm_enterprise_account_group.rst b/docs/ibm_enterprise_account_group.rst index ea5130d53..906ccef79 100644 --- a/docs/ibm_enterprise_account_group.rst +++ b/docs/ibm_enterprise_account_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_enterprise_account_groups_info.rst b/docs/ibm_enterprise_account_groups_info.rst index 26c87ef79..e9a37eb48 100644 --- a/docs/ibm_enterprise_account_groups_info.rst +++ b/docs/ibm_enterprise_account_groups_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_enterprise_accounts_info.rst b/docs/ibm_enterprise_accounts_info.rst index 6966de49d..2ceb54a93 100644 --- a/docs/ibm_enterprise_accounts_info.rst +++ b/docs/ibm_enterprise_accounts_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_enterprises_info.rst b/docs/ibm_enterprises_info.rst index 071ab6f62..56084840f 100644 --- a/docs/ibm_enterprises_info.rst +++ b/docs/ibm_enterprises_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_event_streams_schema.rst b/docs/ibm_event_streams_schema.rst index b3ecfa687..6e774d221 100644 --- a/docs/ibm_event_streams_schema.rst +++ b/docs/ibm_event_streams_schema.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - schema_id (False, str, None) - The ID to be assigned to schema, which must be unique. If this value is not specified, a generated UUID is assigned. - - resource_instance_id (True, str, None) (Required for new resource) The ID or the CRN of the Event Streams service instance @@ -43,6 +39,10 @@ Parameters (Required for new resource) The schema in JSON format + schema_id (False, str, None) + The ID to be assigned to schema, which must be unique. If this value is not specified, a generated UUID is assigned. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_event_streams_schema_info.rst b/docs/ibm_event_streams_schema_info.rst index 6098e9f43..a906016e7 100644 --- a/docs/ibm_event_streams_schema_info.rst +++ b/docs/ibm_event_streams_schema_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_instance_id (True, str, None) - The ID or CRN of the Event Streams service instance - - schema_id (True, str, None) The unique ID to be assigned to the schema. + resource_instance_id (True, str, None) + The ID or CRN of the Event Streams service instance + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_event_streams_topic.rst b/docs/ibm_event_streams_topic.rst index ef0630061..846292356 100644 --- a/docs/ibm_event_streams_topic.rst +++ b/docs/ibm_event_streams_topic.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) The name of the topic - - partitions (False, int, 1) The number of partitions @@ -47,6 +43,10 @@ Parameters (Required for new resource) The CRN of the Event Streams instance + name (True, str, None) + (Required for new resource) The name of the topic + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_event_streams_topic_info.rst b/docs/ibm_event_streams_topic_info.rst index 7ab3f2afd..e0db0414a 100644 --- a/docs/ibm_event_streams_topic_info.rst +++ b/docs/ibm_event_streams_topic_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_firewall.rst b/docs/ibm_firewall.rst index 9c701162b..482e444f1 100644 --- a/docs/ibm_firewall.rst +++ b/docs/ibm_firewall.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_firewall_policy.rst b/docs/ibm_firewall_policy.rst index 8279b293d..e8bcd128e 100644 --- a/docs/ibm_firewall_policy.rst +++ b/docs/ibm_firewall_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_function_action.rst b/docs/ibm_function_action.rst index c5074e76b..92e7a4ef9 100644 --- a/docs/ibm_function_action.rst +++ b/docs/ibm_function_action.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,22 +31,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Name of action. - - exec (True, list, None) (Required for new resource) Execution info - user_defined_parameters (False, str, []) - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the action. - - user_defined_annotations (False, str, []) Annotation values in KEY VALUE format. + name (True, str, None) + (Required for new resource) Name of action. + + namespace (True, str, None) (Required for new resource) IBM Cloud function namespace. @@ -59,6 +55,10 @@ Parameters Action visibilty. + user_defined_parameters (False, str, []) + Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the action. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_function_action_info.rst b/docs/ibm_function_action_info.rst index 4ff10c518..6ab4b418d 100644 --- a/docs/ibm_function_action_info.rst +++ b/docs/ibm_function_action_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_function_namespace.rst b/docs/ibm_function_namespace.rst index 8b908555f..444b9fe10 100644 --- a/docs/ibm_function_namespace.rst +++ b/docs/ibm_function_namespace.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Name of namespace. - - description (False, str, None) Namespace Description. @@ -43,6 +39,10 @@ Parameters (Required for new resource) Resource Group ID. + name (True, str, None) + (Required for new resource) Name of namespace. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_function_namespace_info.rst b/docs/ibm_function_namespace_info.rst index ed1b273c8..328e841dd 100644 --- a/docs/ibm_function_namespace_info.rst +++ b/docs/ibm_function_namespace_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_function_package.rst b/docs/ibm_function_package.rst index 3c70a5fd4..779708911 100644 --- a/docs/ibm_function_package.rst +++ b/docs/ibm_function_package.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - user_defined_annotations (False, str, []) - Annotation values in KEY VALUE format. - - - user_defined_parameters (False, str, []) - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the package. - - namespace (True, str, None) (Required for new resource) IBM Cloud function namespace. @@ -51,10 +43,18 @@ Parameters Package visibilty. + user_defined_annotations (False, str, []) + Annotation values in KEY VALUE format. + + bind_package_name (False, str, None) Name of package to be binded. + user_defined_parameters (False, str, []) + Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the package. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_function_package_info.rst b/docs/ibm_function_package_info.rst index 674088b46..a9004fbd7 100644 --- a/docs/ibm_function_package_info.rst +++ b/docs/ibm_function_package_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_function_rule.rst b/docs/ibm_function_rule.rst index f8fefeb65..21fa3bb56 100644 --- a/docs/ibm_function_rule.rst +++ b/docs/ibm_function_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_function_rule_info.rst b/docs/ibm_function_rule_info.rst index 902e7175b..f6edc50c7 100644 --- a/docs/ibm_function_rule_info.rst +++ b/docs/ibm_function_rule_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_function_trigger.rst b/docs/ibm_function_trigger.rst index 6954e13fe..836308869 100644 --- a/docs/ibm_function_trigger.rst +++ b/docs/ibm_function_trigger.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,20 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - feed (False, list, None) - Trigger feed + user_defined_parameters (False, str, []) + Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the trigger. user_defined_annotations (False, str, []) Annotation values in KEY VALUE format. - namespace (True, str, None) - (Required for new resource) IBM Cloud function namespace. + feed (False, list, None) + Trigger feed - user_defined_parameters (False, str, []) - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the trigger. + namespace (True, str, None) + (Required for new resource) IBM Cloud function namespace. name (True, str, None) diff --git a/docs/ibm_function_trigger_info.rst b/docs/ibm_function_trigger_info.rst index 1343ae95c..83382f011 100644 --- a/docs/ibm_function_trigger_info.rst +++ b/docs/ibm_function_trigger_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_hardware_firewall_shared.rst b/docs/ibm_hardware_firewall_shared.rst index 9aac054e3..ea1ed8891 100644 --- a/docs/ibm_hardware_firewall_shared.rst +++ b/docs/ibm_hardware_firewall_shared.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_hpcs.rst b/docs/ibm_hpcs.rst index 180f4d8a0..fe58aaa6e 100644 --- a/docs/ibm_hpcs.rst +++ b/docs/ibm_hpcs.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,28 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - location (True, str, None) - (Required for new resource) The location where the HPCS instance available + service_endpoints (False, str, None) + Types of the service endpoints. Possible values are `public-and-private`, `private-only`. revocation_threshold (True, int, None) (Required for new resource) Revocation Threshold Value - failover_units (False, int, None) - The number of failover crypto units for your service instance - - - service (False, str, hs-crypto) - The name of the service offering `hs-crypto` + admins (True, list, None) + (Required for new resource) Crypto Unit Administrators - signature_threshold (True, int, None) - (Required for new resource) Signature Threshold Value + location (True, str, None) + (Required for new resource) The location where the HPCS instance available - plan (True, str, None) - (Required for new resource) The plan type of the HPCS Instance + units (True, int, None) + (Required for new resource) The number of operational crypto units for your service instance resource_group_id (False, str, None) @@ -67,20 +63,24 @@ Parameters (Required for new resource) A name for the HPCS instance - units (True, int, None) - (Required for new resource) The number of operational crypto units for your service instance + tags (False, list, None) + None - service_endpoints (False, str, None) - Types of the service endpoints. Possible values are `public-and-private`, `private-only`. + plan (True, str, None) + (Required for new resource) The plan type of the HPCS Instance - tags (False, list, None) - None + service (False, str, hs-crypto) + The name of the service offering `hs-crypto` - admins (True, list, None) - (Required for new resource) Crypto Unit Administrators + failover_units (False, int, None) + The number of failover crypto units for your service instance + + + signature_threshold (True, int, None) + (Required for new resource) Signature Threshold Value id (False, str, None) diff --git a/docs/ibm_hpcs_info.rst b/docs/ibm_hpcs_info.rst index 84b18d19d..d4d1d0097 100644 --- a/docs/ibm_hpcs_info.rst +++ b/docs/ibm_hpcs_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -33,10 +33,6 @@ Parameters The id of the resource group in which the instance is present - name (True, str, None) - Resource instance name for example, myobjectstorage - - location (False, str, None) The location or the environment in which instance exists @@ -45,6 +41,10 @@ Parameters The service type of the instance + name (True, str, None) + Resource instance name for example, myobjectstorage + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_hpcs_key_template.rst b/docs/ibm_hpcs_key_template.rst index 79560aa4b..74733eb8c 100644 --- a/docs/ibm_hpcs_key_template.rst +++ b/docs/ibm_hpcs_key_template.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,14 +35,6 @@ Parameters (Required for new resource) The UUID of the Vault in which the update is to take place. - name (True, str, None) - (Required for new resource) Name of the template, it will be referenced when creating managed keys. - - - key (True, list, None) - (Required for new resource) Properties describing the properties of the managed key. - - keystores (True, list, None) (Required for new resource) An array describing the type and group of target keystores the managed key is to be installed in. @@ -51,18 +43,26 @@ Parameters Description of the key template. - instance_id (True, str, None) - (Required for new resource) The ID of the UKO instance this resource exists in. - - region (False, any, us-south) The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + name (True, str, None) + (Required for new resource) Name of the template, it will be referenced when creating managed keys. + + + instance_id (True, str, None) + (Required for new resource) The ID of the UKO instance this resource exists in. + + vault (True, list, None) (Required for new resource) ID of the Vault where the entity is to be created in. + key (True, list, None) + (Required for new resource) Properties describing the properties of the managed key. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_hpcs_key_template_info.rst b/docs/ibm_hpcs_key_template_info.rst index 1e86a03fe..9c17e90e1 100644 --- a/docs/ibm_hpcs_key_template_info.rst +++ b/docs/ibm_hpcs_key_template_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,8 +29,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - region (False, any, us-south) - The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + uko_vault (True, str, None) + The UUID of the Vault in which the update is to take place. instance_id (True, str, None) @@ -41,8 +41,8 @@ Parameters UUID of the template. - uko_vault (True, str, None) - The UUID of the Vault in which the update is to take place. + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. iaas_classic_username (False, any, None) diff --git a/docs/ibm_hpcs_keystore.rst b/docs/ibm_hpcs_keystore.rst index c08648de1..29cc326d6 100644 --- a/docs/ibm_hpcs_keystore.rst +++ b/docs/ibm_hpcs_keystore.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,104 +31,104 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - aws_access_key_id (False, str, None) - The access key id used for connecting to this instance of AWS KMS. + ibm_key_ring (False, str, None) + The key ring of an IBM Cloud KMS Keystore. - azure_service_name (False, str, None) - Service name of the key vault instance from the Azure portal. + description (False, str, None) + Description of the keystore. - azure_resource_group (False, str, None) - Resource group in Azure. + groups (False, list, None) + List of groups that this keystore belongs to. - ibm_api_endpoint (False, str, None) - API endpoint of the IBM Cloud keystore. + aws_secret_access_key (False, str, None) + The secret access key used for connecting to this instance of AWS KMS. - ibm_key_ring (False, str, None) - The key ring of an IBM Cloud KMS Keystore. + azure_tenant (False, str, None) + Azure tenant that the Key Vault is associated with,. - vault (True, list, None) - (Required for new resource) Reference to a vault. + ibm_variant (False, str, None) + Possible IBM Cloud KMS variants. aws_region (False, str, None) AWS Region. - ibm_api_key (False, str, None) - The IBM Cloud API key to be used for connecting to this IBM Cloud keystore. - - - groups (False, list, None) - List of groups that this keystore belongs to. + vault (True, list, None) + (Required for new resource) Reference to a vault. - azure_service_principal_password (False, str, None) - Azure service principal password. + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. - azure_environment (False, str, None) - Azure environment, usually 'Azure'. + uko_vault (True, str, None) + (Required for new resource) The UUID of the Vault in which the update is to take place. - instance_id (True, str, None) - (Required for new resource) The ID of the UKO instance this resource exists in. + azure_resource_group (False, str, None) + Resource group in Azure. - region (False, any, us-south) - The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + ibm_api_endpoint (False, str, None) + API endpoint of the IBM Cloud keystore. - ibm_iam_endpoint (False, str, None) - Endpoint of the IAM service for this IBM Cloud keystore. + type (True, str, None) + (Required for new resource) Type of keystore. - description (False, str, None) - Description of the keystore. + instance_id (True, str, None) + (Required for new resource) The ID of the UKO instance this resource exists in. - azure_service_principal_client_id (False, str, None) - Azure service principal client ID. + azure_location (False, str, None) + Location of the Azure Key Vault. azure_subscription_id (False, str, None) Subscription ID in Azure. - name (False, str, None) - Name of the target keystore. It can be changed in the future. - - - type (True, str, None) - (Required for new resource) Type of keystore. + azure_environment (False, str, None) + Azure environment, usually 'Azure'. - uko_vault (True, str, None) - (Required for new resource) The UUID of the Vault in which the update is to take place. + ibm_iam_endpoint (False, str, None) + Endpoint of the IAM service for this IBM Cloud keystore. - aws_secret_access_key (False, str, None) - The secret access key used for connecting to this instance of AWS KMS. + ibm_api_key (False, str, None) + The IBM Cloud API key to be used for connecting to this IBM Cloud keystore. - azure_location (False, str, None) - Location of the Azure Key Vault. + name (False, str, None) + Name of the target keystore. It can be changed in the future. - ibm_variant (False, str, None) - Possible IBM Cloud KMS variants. + azure_service_name (False, str, None) + Service name of the key vault instance from the Azure portal. ibm_instance_id (False, str, None) The instance ID of the IBM Cloud keystore. - azure_tenant (False, str, None) - Azure tenant that the Key Vault is associated with,. + azure_service_principal_client_id (False, str, None) + Azure service principal client ID. + + + aws_access_key_id (False, str, None) + The access key id used for connecting to this instance of AWS KMS. + + + azure_service_principal_password (False, str, None) + Azure service principal password. id (False, str, None) diff --git a/docs/ibm_hpcs_keystore_info.rst b/docs/ibm_hpcs_keystore_info.rst index 6c55e2587..b730176bc 100644 --- a/docs/ibm_hpcs_keystore_info.rst +++ b/docs/ibm_hpcs_keystore_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_hpcs_managed_key.rst b/docs/ibm_hpcs_managed_key.rst index ba505452e..4638ee08e 100644 --- a/docs/ibm_hpcs_managed_key.rst +++ b/docs/ibm_hpcs_managed_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,26 +31,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - region (False, any, us-south) - The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. - - - tags (False, list, None) - Key-value pairs associated with the key. + state_ (False, str, None) + The state of the key. - description (False, str, None) - Description of the managed key. + uko_vault (True, str, None) + (Required for new resource) The UUID of the Vault in which the update is to take place. instance_id (True, str, None) (Required for new resource) The ID of the UKO instance this resource exists in. - uko_vault (True, str, None) - (Required for new resource) The UUID of the Vault in which the update is to take place. - - template_name (False, str, None) Name of the key template to use when creating a key. @@ -59,12 +51,20 @@ Parameters (Required for new resource) ID of the Vault where the entity is to be created in. + tags (False, list, None) + Key-value pairs associated with the key. + + + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + + label (True, str, None) (Required for new resource) The label of the key. - state_ (False, str, None) - The state of the key. + description (False, str, None) + Description of the managed key. id (False, str, None) diff --git a/docs/ibm_hpcs_managed_key_info.rst b/docs/ibm_hpcs_managed_key_info.rst index c6872cf6d..f80dc01c9 100644 --- a/docs/ibm_hpcs_managed_key_info.rst +++ b/docs/ibm_hpcs_managed_key_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,20 +29,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - region (False, any, us-south) - The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + instance_id (True, str, None) + The ID of the UKO instance this resource exists in. uko_vault (True, str, None) The UUID of the Vault in which the update is to take place. - key_id (True, str, None) - UUID of the key. + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. - instance_id (True, str, None) - The ID of the UKO instance this resource exists in. + key_id (True, str, None) + UUID of the key. iaas_classic_username (False, any, None) diff --git a/docs/ibm_hpcs_vault.rst b/docs/ibm_hpcs_vault.rst index d309f8d7d..f9a44a381 100644 --- a/docs/ibm_hpcs_vault.rst +++ b/docs/ibm_hpcs_vault.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,20 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_id (True, str, None) - (Required for new resource) The ID of the UKO instance this resource exists in. - - - name (True, str, None) - (Required for new resource) A human-readable name to assign to your vault. To protect your privacy, do not use personal data, such as your name or location. + region (False, any, us-south) + The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. description (False, str, None) Description of the vault. - region (False, any, us-south) - The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + instance_id (True, str, None) + (Required for new resource) The ID of the UKO instance this resource exists in. + + + name (True, str, None) + (Required for new resource) A human-readable name to assign to your vault. To protect your privacy, do not use personal data, such as your name or location. id (False, str, None) diff --git a/docs/ibm_hpcs_vault_info.rst b/docs/ibm_hpcs_vault_info.rst index 176000a9b..547b4b963 100644 --- a/docs/ibm_hpcs_vault_info.rst +++ b/docs/ibm_hpcs_vault_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - vault_id (True, str, None) - UUID of the vault. - - instance_id (True, str, None) The ID of the UKO instance this resource exists in. @@ -41,6 +37,10 @@ Parameters The IBM Cloud region where you want to create your resources. If this value is not specified, us-south is used by default. This can also be provided via the environment variable 'IC_REGION'. + vault_id (True, str, None) + UUID of the vault. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_iam_access_group.rst b/docs/ibm_iam_access_group.rst index aab6a72d8..68f5a1b32 100644 --- a/docs/ibm_iam_access_group.rst +++ b/docs/ibm_iam_access_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_access_group_account_settings.rst b/docs/ibm_iam_access_group_account_settings.rst index 5e907a50c..270851cac 100644 --- a/docs/ibm_iam_access_group_account_settings.rst +++ b/docs/ibm_iam_access_group_account_settings.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_access_group_dynamic_rule.rst b/docs/ibm_iam_access_group_dynamic_rule.rst index ffe7fe6e2..aefeac2c4 100644 --- a/docs/ibm_iam_access_group_dynamic_rule.rst +++ b/docs/ibm_iam_access_group_dynamic_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_access_group_info.rst b/docs/ibm_iam_access_group_info.rst index 068d6b4e6..ceb2a5ef3 100644 --- a/docs/ibm_iam_access_group_info.rst +++ b/docs/ibm_iam_access_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_access_group_members.rst b/docs/ibm_iam_access_group_members.rst index 575c42d16..5d23945fc 100644 --- a/docs/ibm_iam_access_group_members.rst +++ b/docs/ibm_iam_access_group_members.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_access_group_policy.rst b/docs/ibm_iam_access_group_policy.rst index eb43b639e..bafcf997a 100644 --- a/docs/ibm_iam_access_group_policy.rst +++ b/docs/ibm_iam_access_group_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,10 +35,6 @@ Parameters (Required for new resource) ID of access group - roles (True, list, None) - (Required for new resource) Role names of the policy definition - - resources (False, list, None) None @@ -47,8 +43,12 @@ Parameters None - description (False, str, None) - Description of the Policy + resource_tags (False, list, None) + Set access management tags. + + + roles (True, list, None) + (Required for new resource) Role names of the policy definition resource_attributes (False, list, None) @@ -59,8 +59,8 @@ Parameters Give access to all account management services - resource_tags (False, list, None) - Set access management tags. + description (False, str, None) + Description of the Policy transaction_id (False, str, None) diff --git a/docs/ibm_iam_access_group_policy_info.rst b/docs/ibm_iam_access_group_policy_info.rst index add7b21ab..2c90d150c 100644 --- a/docs/ibm_iam_access_group_policy_info.rst +++ b/docs/ibm_iam_access_group_policy_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_account_settings_info.rst b/docs/ibm_iam_account_settings_info.rst index aea381adc..abbdd2211 100644 --- a/docs/ibm_iam_account_settings_info.rst +++ b/docs/ibm_iam_account_settings_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_api_key.rst b/docs/ibm_iam_api_key.rst index 4a5007580..e5e2292d6 100644 --- a/docs/ibm_iam_api_key.rst +++ b/docs/ibm_iam_api_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,30 +31,30 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - description (False, str, None) - The optional description of the API key. The 'description' property is only available if a description was provided during a create of an API key. - - store_value (False, bool, None) Send true or false to set whether the API key value is retrievable in the future by using the Get details of an API key request. If you create an API key for a user, you must specify `false` or omit the value. We don't allow storing of API keys for users. - file (False, str, None) - File where api key is to be stored + description (False, str, None) + The optional description of the API key. The 'description' property is only available if a description was provided during a create of an API key. name (True, str, None) (Required for new resource) Name of the API key. The name is not checked for uniqueness. Therefore multiple names with the same value can exist. Access is done via the UUID of the API key. - entity_lock (False, str, False) - Indicates if the API key is locked for further write operations. False by default. - - apikey (False, str, None) You can optionally passthrough the API key value for this API key. If passed, NO validation of that apiKey value is done, i.e. the value can be non-URL safe. If omitted, the API key management will create an URL safe opaque API key value. The value of the API key is checked for uniqueness. Please ensure enough variations when passing in this value. + file (False, str, None) + File where api key is to be stored + + + entity_lock (False, str, False) + Indicates if the API key is locked for further write operations. False by default. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_api_key_info.rst b/docs/ibm_iam_api_key_info.rst index 51d8bdaf8..eb47e0813 100644 --- a/docs/ibm_iam_api_key_info.rst +++ b/docs/ibm_iam_api_key_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_auth_token_info.rst b/docs/ibm_iam_auth_token_info.rst index 92d4a93d6..0484b8bec 100644 --- a/docs/ibm_iam_auth_token_info.rst +++ b/docs/ibm_iam_auth_token_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_authorization_policies_info.rst b/docs/ibm_iam_authorization_policies_info.rst index 4d74947bf..ccf52e51d 100644 --- a/docs/ibm_iam_authorization_policies_info.rst +++ b/docs/ibm_iam_authorization_policies_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_authorization_policy.rst b/docs/ibm_iam_authorization_policy.rst index 784d3b978..89e8f9d48 100644 --- a/docs/ibm_iam_authorization_policy.rst +++ b/docs/ibm_iam_authorization_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,60 +31,60 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - target_service_name (False, str, None) - The target service name + source_resource_group_id (False, str, None) + The source resource group Id - target_resource_instance_id (False, str, None) - The target resource instance Id + target_resource_group_id (False, str, None) + The target resource group Id - source_resource_type (False, str, None) - Resource type of source service + source_service_account (False, str, None) + Account GUID of source service - target_resource_type (False, str, None) - Resource type of target service + description (False, str, None) + Description of the Policy - subject_attributes (False, list, None) - Set subject attributes. + roles (True, list, None) + (Required for new resource) Role names of the policy definition - description (False, str, None) - Description of the Policy + source_resource_type (False, str, None) + Resource type of source service - transaction_id (False, str, None) - Set transactionID for debug + resource_attributes (False, list, None) + Set resource attributes. - source_service_name (False, str, None) - The source service name + target_service_name (False, str, None) + The target service name - roles (True, list, None) - (Required for new resource) Role names of the policy definition + source_resource_instance_id (False, str, None) + The source resource instance Id - source_resource_group_id (False, str, None) - The source resource group Id + target_resource_type (False, str, None) + Resource type of target service - source_service_account (False, str, None) - Account GUID of source service + subject_attributes (False, list, None) + Set subject attributes. - resource_attributes (False, list, None) - Set resource attributes. + source_service_name (False, str, None) + The source service name - source_resource_instance_id (False, str, None) - The source resource instance Id + target_resource_instance_id (False, str, None) + The target resource instance Id - target_resource_group_id (False, str, None) - The target resource group Id + transaction_id (False, str, None) + Set transactionID for debug id (False, str, None) diff --git a/docs/ibm_iam_authorization_policy_detach.rst b/docs/ibm_iam_authorization_policy_detach.rst index 38878ea6f..3fac8d72b 100644 --- a/docs/ibm_iam_authorization_policy_detach.rst +++ b/docs/ibm_iam_authorization_policy_detach.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_custom_role.rst b/docs/ibm_iam_custom_role.rst index 83043cce3..7aa3ab51c 100644 --- a/docs/ibm_iam_custom_role.rst +++ b/docs/ibm_iam_custom_role.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - service (True, str, None) - (Required for new resource) The Service Name - - name (True, str, None) (Required for new resource) The name of the custom Role @@ -43,14 +39,18 @@ Parameters The description of the role - actions (True, list, None) - (Required for new resource) The actions of the role + service (True, str, None) + (Required for new resource) The Service Name display_name (True, str, None) (Required for new resource) Display Name of the Custom Role + actions (True, list, None) + (Required for new resource) The actions of the role + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_role_actions_info.rst b/docs/ibm_iam_role_actions_info.rst index 88b075587..5fc5b5008 100644 --- a/docs/ibm_iam_role_actions_info.rst +++ b/docs/ibm_iam_role_actions_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_roles_info.rst b/docs/ibm_iam_roles_info.rst index b2a1af82e..cd8194387 100644 --- a/docs/ibm_iam_roles_info.rst +++ b/docs/ibm_iam_roles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_service_api_key.rst b/docs/ibm_iam_service_api_key.rst index a7a5cdb7e..0005fbb5f 100644 --- a/docs/ibm_iam_service_api_key.rst +++ b/docs/ibm_iam_service_api_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + name (True, str, None) + (Required for new resource) Name of the Service API key + + locked (False, bool, None) The API key cannot be changed if set to true @@ -39,8 +43,8 @@ Parameters Boolean value deciding whether API key value is retrievable in the future - name (True, str, None) - (Required for new resource) Name of the Service API key + file (False, str, None) + File where api key is to be stored description (False, str, None) @@ -55,10 +59,6 @@ Parameters API key value for this API key - file (False, str, None) - File where api key is to be stored - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_service_id.rst b/docs/ibm_iam_service_id.rst index fdd491c62..cb8167815 100644 --- a/docs/ibm_iam_service_id.rst +++ b/docs/ibm_iam_service_id.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - description (False, str, None) - Description of the serviceID - - tags (False, list, None) None @@ -43,6 +39,10 @@ Parameters (Required for new resource) Name of the serviceID + description (False, str, None) + Description of the serviceID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_service_id_info.rst b/docs/ibm_iam_service_id_info.rst index 9aced3420..774b629fb 100644 --- a/docs/ibm_iam_service_id_info.rst +++ b/docs/ibm_iam_service_id_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_service_policy.rst b/docs/ibm_iam_service_policy.rst index d815c671a..f4b31c596 100644 --- a/docs/ibm_iam_service_policy.rst +++ b/docs/ibm_iam_service_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,12 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - iam_id (False, str, None) - IAM ID of ServiceID + resource_tags (False, list, None) + Set access management tags. - roles (True, list, None) - (Required for new resource) Role names of the policy definition + transaction_id (False, str, None) + Set transactionID for debug + + + iam_service_id (False, str, None) + UUID of ServiceID resources (False, list, None) @@ -51,24 +55,20 @@ Parameters Give access to all account management services - description (False, str, None) - Description of the Policy - - - transaction_id (False, str, None) - Set transactionID for debug + tags (False, list, None) + None - iam_service_id (False, str, None) - UUID of ServiceID + description (False, str, None) + Description of the Policy - resource_tags (False, list, None) - Set access management tags. + iam_id (False, str, None) + IAM ID of ServiceID - tags (False, list, None) - None + roles (True, list, None) + (Required for new resource) Role names of the policy definition id (False, str, None) diff --git a/docs/ibm_iam_service_policy_info.rst b/docs/ibm_iam_service_policy_info.rst index fdd5ce7e1..fd026af71 100644 --- a/docs/ibm_iam_service_policy_info.rst +++ b/docs/ibm_iam_service_policy_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - transaction_id (False, str, None) - Set transactionID for debug - - iam_service_id (False, str, None) UUID of ServiceID @@ -45,6 +41,10 @@ Parameters Sort query for policies + transaction_id (False, str, None) + Set transactionID for debug + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_iam_trusted_profile.rst b/docs/ibm_iam_trusted_profile.rst index abe0cf799..bed3eb9d6 100644 --- a/docs/ibm_iam_trusted_profile.rst +++ b/docs/ibm_iam_trusted_profile.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profile_claim_rule.rst b/docs/ibm_iam_trusted_profile_claim_rule.rst index 7cbb2e95a..25e25be31 100644 --- a/docs/ibm_iam_trusted_profile_claim_rule.rst +++ b/docs/ibm_iam_trusted_profile_claim_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,34 +31,34 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - profile_id (True, str, None) - (Required for new resource) ID of the trusted profile to create a claim rule. + conditions (True, list, None) + (Required for new resource) Conditions of this claim rule. + + + name (False, str, None) + Name of the claim rule to be created or updated. realm_name (False, str, None) The realm name of the Idp this claim rule applies to. This field is required only if the type is specified as 'Profile-SAML'. - expiration (False, int, None) - Session expiration in seconds, only required if type is 'Profile-SAML'. + profile_id (True, str, None) + (Required for new resource) ID of the trusted profile to create a claim rule. type (True, str, None) (Required for new resource) Type of the calim rule, either 'Profile-SAML' or 'Profile-CR'. - conditions (True, list, None) - (Required for new resource) Conditions of this claim rule. - - - name (False, str, None) - Name of the claim rule to be created or updated. - - cr_type (False, str, None) The compute resource type the rule applies to, required only if type is specified as 'Profile-CR'. Valid values are VSI, IKS_SA, ROKS_SA. + expiration (False, int, None) + Session expiration in seconds, only required if type is 'Profile-SAML'. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_trusted_profile_claim_rule_info.rst b/docs/ibm_iam_trusted_profile_claim_rule_info.rst index 535b9eb5f..2561f12f3 100644 --- a/docs/ibm_iam_trusted_profile_claim_rule_info.rst +++ b/docs/ibm_iam_trusted_profile_claim_rule_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - rule_id (True, str, None) - ID of the claim rule to get. - - profile_id (True, str, None) ID of the trusted profile. + rule_id (True, str, None) + ID of the claim rule to get. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_iam_trusted_profile_claim_rules_info.rst b/docs/ibm_iam_trusted_profile_claim_rules_info.rst index 96299003a..22d2e12f7 100644 --- a/docs/ibm_iam_trusted_profile_claim_rules_info.rst +++ b/docs/ibm_iam_trusted_profile_claim_rules_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profile_info.rst b/docs/ibm_iam_trusted_profile_info.rst index b95280774..a0fa29382 100644 --- a/docs/ibm_iam_trusted_profile_info.rst +++ b/docs/ibm_iam_trusted_profile_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profile_link.rst b/docs/ibm_iam_trusted_profile_link.rst index d74e269b9..6c335ba17 100644 --- a/docs/ibm_iam_trusted_profile_link.rst +++ b/docs/ibm_iam_trusted_profile_link.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profile_link_info.rst b/docs/ibm_iam_trusted_profile_link_info.rst index 74fff77c8..51dff9d59 100644 --- a/docs/ibm_iam_trusted_profile_link_info.rst +++ b/docs/ibm_iam_trusted_profile_link_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profile_links_info.rst b/docs/ibm_iam_trusted_profile_links_info.rst index f4b9bb914..37ce7af01 100644 --- a/docs/ibm_iam_trusted_profile_links_info.rst +++ b/docs/ibm_iam_trusted_profile_links_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profile_policy.rst b/docs/ibm_iam_trusted_profile_policy.rst index 4ef61dfaf..e481c355e 100644 --- a/docs/ibm_iam_trusted_profile_policy.rst +++ b/docs/ibm_iam_trusted_profile_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,44 +31,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - iam_id (False, str, None) - IAM ID of Trusted Profile + tags (False, list, None) + None - roles (True, list, None) - (Required for new resource) Role names of the policy definition + resource_tags (False, list, None) + Set access management tags. - resources (False, list, None) - None + description (False, str, None) + Description of the Policy - resource_attributes (False, list, None) - Set resource attributes. + profile_id (False, str, None) + UUID of Trusted Profile - tags (False, list, None) - None + roles (True, list, None) + (Required for new resource) Role names of the policy definition - description (False, str, None) - Description of the Policy + resource_attributes (False, list, None) + Set resource attributes. transaction_id (False, str, None) Set transactionID for debug - profile_id (False, str, None) - UUID of Trusted Profile + iam_id (False, str, None) + IAM ID of Trusted Profile - account_management (False, bool, False) - Give access to all account management services + resources (False, list, None) + None - resource_tags (False, list, None) - Set access management tags. + account_management (False, bool, False) + Give access to all account management services id (False, str, None) diff --git a/docs/ibm_iam_trusted_profile_policy_info.rst b/docs/ibm_iam_trusted_profile_policy_info.rst index ff03d087f..1430e3361 100644 --- a/docs/ibm_iam_trusted_profile_policy_info.rst +++ b/docs/ibm_iam_trusted_profile_policy_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profiles_info.rst b/docs/ibm_iam_trusted_profiles_info.rst index 04b689650..dc5813799 100644 --- a/docs/ibm_iam_trusted_profiles_info.rst +++ b/docs/ibm_iam_trusted_profiles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - include_history (False, bool, None) - Defines if the entity history is included in the response. Default is false - - account_id (False, str, None) Account ID to query for trusted profiles. @@ -41,6 +37,10 @@ Parameters Name of the profile + include_history (False, bool, None) + Defines if the entity history is included in the response. Default is false + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_iam_user_invite.rst b/docs/ibm_iam_user_invite.rst index d3538d646..2879a5dd8 100644 --- a/docs/ibm_iam_user_invite.rst +++ b/docs/ibm_iam_user_invite.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - classic_infra_roles (False, list, None) - None - - - cloud_foundry_roles (False, list, None) - None - - users (True, list, None) (Required for new resource) List of ibm id or email of user @@ -51,6 +43,14 @@ Parameters None + classic_infra_roles (False, list, None) + None + + + cloud_foundry_roles (False, list, None) + None + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_user_policy.rst b/docs/ibm_iam_user_policy.rst index 889966f27..10aaaaa8c 100644 --- a/docs/ibm_iam_user_policy.rst +++ b/docs/ibm_iam_user_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_attributes (False, list, None) - Set resource attributes. - - tags (False, list, None) None + description (False, str, None) + Description of the Policy + + transaction_id (False, str, None) Set transactionID for debug @@ -47,10 +47,18 @@ Parameters (Required for new resource) The ibm id or email of user + roles (True, list, None) + (Required for new resource) Role names of the policy definition + + resources (False, list, None) None + resource_attributes (False, list, None) + Set resource attributes. + + account_management (False, bool, False) Give access to all account management services @@ -59,14 +67,6 @@ Parameters Set access management tags. - description (False, str, None) - Description of the Policy - - - roles (True, list, None) - (Required for new resource) Role names of the policy definition - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_user_policy_info.rst b/docs/ibm_iam_user_policy_info.rst index 939322a37..1e9cb13fc 100644 --- a/docs/ibm_iam_user_policy_info.rst +++ b/docs/ibm_iam_user_policy_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_user_profile_info.rst b/docs/ibm_iam_user_profile_info.rst index a6f5ab9b0..4d9ae712c 100644 --- a/docs/ibm_iam_user_profile_info.rst +++ b/docs/ibm_iam_user_profile_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_user_settings.rst b/docs/ibm_iam_user_settings.rst index 6e6975986..bdf1cb548 100644 --- a/docs/ibm_iam_user_settings.rst +++ b/docs/ibm_iam_user_settings.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_iam_users_info.rst b/docs/ibm_iam_users_info.rst index a23db43a2..225520c48 100644 --- a/docs/ibm_iam_users_info.rst +++ b/docs/ibm_iam_users_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_ipsec_vpn.rst b/docs/ibm_ipsec_vpn.rst index db55037f9..e59482eee 100644 --- a/docs/ibm_ipsec_vpn.rst +++ b/docs/ibm_ipsec_vpn.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - datacenter (True, str, None) - (Required for new resource) Datacenter name - - - phase_two (False, list, None) - None - - address_translation (False, list, None) None @@ -47,18 +39,30 @@ Parameters Preshared Key data - customer_peer_ip (False, str, None) - Customer Peer IP Address - - service_subnet_id (False, int, None) Service subnet ID value + datacenter (True, str, None) + (Required for new resource) Datacenter name + + phase_one (False, list, None) None + phase_two (False, list, None) + None + + + remote_subnet (False, list, None) + None + + + customer_peer_ip (False, str, None) + Customer Peer IP Address + + internal_subnet_id (False, int, None) Internal subnet ID value @@ -67,10 +71,6 @@ Parameters Remote subnet ID value - remote_subnet (False, list, None) - None - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_backup_policies_info.rst b/docs/ibm_is_backup_policies_info.rst index 1d4852af1..842bef99f 100644 --- a/docs/ibm_is_backup_policies_info.rst +++ b/docs/ibm_is_backup_policies_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group (False, str, None) - Filters the collection to resources in the resource group with the specified identifier - - name (False, str, None) Filters the collection to resources with the exact specified name @@ -41,6 +37,10 @@ Parameters Filters the collection to resources with the exact tag value + resource_group (False, str, None) + Filters the collection to resources in the resource group with the specified identifier + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_backup_policy.rst b/docs/ibm_is_backup_policy.rst index afb623863..212c40ae6 100644 --- a/docs/ibm_is_backup_policy.rst +++ b/docs/ibm_is_backup_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,22 +31,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - match_user_tags (True, list, None) - (Required for new resource) The user tags this backup policy applies to. Resources that have both a matching user tag and a matching type will be subject to the backup policy. - - - resource_group (False, str, None) - The unique identifier of the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. - - match_resource_types (False, list, None) A resource type this backup policy applies to. Resources that have both a matching type and a matching user tag will be subject to the backup policy. + match_user_tags (True, list, None) + (Required for new resource) The user tags this backup policy applies to. Resources that have both a matching user tag and a matching type will be subject to the backup policy. + + name (True, str, None) (Required for new resource) The user-defined name for this backup policy. Names must be unique within the region this backup policy resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. + resource_group (False, str, None) + The unique identifier of the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_backup_policy_info.rst b/docs/ibm_is_backup_policy_info.rst index 9085e739c..966ce479c 100644 --- a/docs/ibm_is_backup_policy_info.rst +++ b/docs/ibm_is_backup_policy_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_backup_policy_plan.rst b/docs/ibm_is_backup_policy_plan.rst index 5e2137f1f..a5cb0ca25 100644 --- a/docs/ibm_is_backup_policy_plan.rst +++ b/docs/ibm_is_backup_policy_plan.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,16 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + backup_policy_id (True, str, None) + (Required for new resource) The backup policy identifier. + + attach_user_tags (False, list, None) User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached. - deletion_trigger (False, list, None) - None + copy_user_tags (False, bool, True) + Indicates whether to copy the source's user tags to the created backups (snapshots). - backup_policy_id (True, str, None) - (Required for new resource) The backup policy identifier. + name (False, str, None) + The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. cron_spec (True, str, None) @@ -51,12 +55,8 @@ Parameters Indicates whether the plan is active. - copy_user_tags (False, bool, True) - Indicates whether to copy the source's user tags to the created backups (snapshots). - - - name (False, str, None) - The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. + deletion_trigger (False, list, None) + None id (False, str, None) diff --git a/docs/ibm_is_backup_policy_plan_info.rst b/docs/ibm_is_backup_policy_plan_info.rst index 2384acd20..25c70d223 100644 --- a/docs/ibm_is_backup_policy_plan_info.rst +++ b/docs/ibm_is_backup_policy_plan_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_backup_policy_plans_info.rst b/docs/ibm_is_backup_policy_plans_info.rst index e256f9c14..f11d53365 100644 --- a/docs/ibm_is_backup_policy_plans_info.rst +++ b/docs/ibm_is_backup_policy_plans_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server.rst b/docs/ibm_is_bare_metal_server.rst index b8fde4426..9e29dd012 100644 --- a/docs/ibm_is_bare_metal_server.rst +++ b/docs/ibm_is_bare_metal_server.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,52 +35,52 @@ Parameters (Required for new resource) SSH key Ids for the bare metal server - profile (True, str, None) - (Required for new resource) profile name - - - zone (True, str, None) - (Required for new resource) Zone name - - name (False, str, None) Bare metal server name - action (False, str, None) - This restart/start/stops a bare metal server. - - primary_network_interface (True, list, None) (Required for new resource) Primary Network interface info - tags (False, list, None) - Tags for the Bare metal server + profile (True, str, None) + (Required for new resource) profile name + + + vpc (False, str, None) + The VPC the bare metal server is to be a part of + + + delete_type (False, str, hard) + Enables stopping type of the bare metal server before deleting network_interfaces (False, list, None) None - image (True, str, None) - (Required for new resource) image id + tags (False, list, None) + Tags for the Bare metal server - resource_group (False, str, None) - Resource group name + image (True, str, None) + (Required for new resource) image id user_data (False, str, None) User data given for the bare metal server - vpc (False, str, None) - The VPC the bare metal server is to be a part of + zone (True, str, None) + (Required for new resource) Zone name - delete_type (False, str, hard) - Enables stopping type of the bare metal server before deleting + resource_group (False, str, None) + Resource group name + + + action (False, str, None) + This restart/start/stops a bare metal server. id (False, str, None) diff --git a/docs/ibm_is_bare_metal_server_action.rst b/docs/ibm_is_bare_metal_server_action.rst index 2b662983a..0aea0df3f 100644 --- a/docs/ibm_is_bare_metal_server_action.rst +++ b/docs/ibm_is_bare_metal_server_action.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_disk.rst b/docs/ibm_is_bare_metal_server_disk.rst index 013c89665..d9ff0e191 100644 --- a/docs/ibm_is_bare_metal_server_disk.rst +++ b/docs/ibm_is_bare_metal_server_disk.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_disk_info.rst b/docs/ibm_is_bare_metal_server_disk_info.rst index e0fe5f985..69055ba1d 100644 --- a/docs/ibm_is_bare_metal_server_disk_info.rst +++ b/docs/ibm_is_bare_metal_server_disk_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_disks_info.rst b/docs/ibm_is_bare_metal_server_disks_info.rst index 10013f3ec..15d9d85f8 100644 --- a/docs/ibm_is_bare_metal_server_disks_info.rst +++ b/docs/ibm_is_bare_metal_server_disks_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_info.rst b/docs/ibm_is_bare_metal_server_info.rst index c06fd79e7..a2ed076a6 100644 --- a/docs/ibm_is_bare_metal_server_info.rst +++ b/docs/ibm_is_bare_metal_server_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_initialization_info.rst b/docs/ibm_is_bare_metal_server_initialization_info.rst index e529de2a2..e785f34ab 100644 --- a/docs/ibm_is_bare_metal_server_initialization_info.rst +++ b/docs/ibm_is_bare_metal_server_initialization_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_network_interface_floating_ip.rst b/docs/ibm_is_bare_metal_server_network_interface_floating_ip.rst index 5ca7c26da..a0f9986e9 100644 --- a/docs/ibm_is_bare_metal_server_network_interface_floating_ip.rst +++ b/docs/ibm_is_bare_metal_server_network_interface_floating_ip.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + floating_ip (True, str, None) + (Required for new resource) The floating ip identifier of the network interface associated with the bare metal server + + bare_metal_server (True, str, None) (Required for new resource) Bare metal server identifier @@ -39,10 +43,6 @@ Parameters (Required for new resource) Bare metal server network interface identifier - floating_ip (True, str, None) - (Required for new resource) The floating ip identifier of the network interface associated with the bare metal server - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_bare_metal_server_network_interface_floating_ip_info.rst b/docs/ibm_is_bare_metal_server_network_interface_floating_ip_info.rst index fa70a14db..99577b6b8 100644 --- a/docs/ibm_is_bare_metal_server_network_interface_floating_ip_info.rst +++ b/docs/ibm_is_bare_metal_server_network_interface_floating_ip_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_network_interface_floating_ips_info.rst b/docs/ibm_is_bare_metal_server_network_interface_floating_ips_info.rst index 67fdeccd7..e1edc3d1e 100644 --- a/docs/ibm_is_bare_metal_server_network_interface_floating_ips_info.rst +++ b/docs/ibm_is_bare_metal_server_network_interface_floating_ips_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_network_interface_info.rst b/docs/ibm_is_bare_metal_server_network_interface_info.rst index 291a4034b..92ec63314 100644 --- a/docs/ibm_is_bare_metal_server_network_interface_info.rst +++ b/docs/ibm_is_bare_metal_server_network_interface_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - bare_metal_server (True, str, None) - The bare metal server identifier - - network_interface (True, str, None) The bare metal server network interface identifier + bare_metal_server (True, str, None) + The bare metal server identifier + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_bare_metal_server_network_interface_reserved_ip_info.rst b/docs/ibm_is_bare_metal_server_network_interface_reserved_ip_info.rst index c62fcdba1..e58fc5cfd 100644 --- a/docs/ibm_is_bare_metal_server_network_interface_reserved_ip_info.rst +++ b/docs/ibm_is_bare_metal_server_network_interface_reserved_ip_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_network_interface_reserved_ips_info.rst b/docs/ibm_is_bare_metal_server_network_interface_reserved_ips_info.rst index a705edcb3..4db26bb15 100644 --- a/docs/ibm_is_bare_metal_server_network_interface_reserved_ips_info.rst +++ b/docs/ibm_is_bare_metal_server_network_interface_reserved_ips_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_network_interfaces_info.rst b/docs/ibm_is_bare_metal_server_network_interfaces_info.rst index cee9c7e17..522577557 100644 --- a/docs/ibm_is_bare_metal_server_network_interfaces_info.rst +++ b/docs/ibm_is_bare_metal_server_network_interfaces_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_profile_info.rst b/docs/ibm_is_bare_metal_server_profile_info.rst index ea5d0ae17..6f4d65cdb 100644 --- a/docs/ibm_is_bare_metal_server_profile_info.rst +++ b/docs/ibm_is_bare_metal_server_profile_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server_profiles_info.rst b/docs/ibm_is_bare_metal_server_profiles_info.rst index cd306bc20..19b136240 100644 --- a/docs/ibm_is_bare_metal_server_profiles_info.rst +++ b/docs/ibm_is_bare_metal_server_profiles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_servers_info.rst b/docs/ibm_is_bare_metal_servers_info.rst index e2612fe33..8717734fb 100644 --- a/docs/ibm_is_bare_metal_servers_info.rst +++ b/docs/ibm_is_bare_metal_servers_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_host.rst b/docs/ibm_is_dedicated_host.rst index c49e48820..6328e1117 100644 --- a/docs/ibm_is_dedicated_host.rst +++ b/docs/ibm_is_dedicated_host.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,18 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group (False, str, None) - The unique identifier for the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. - - - instance_placement_enabled (False, bool, True) - If set to true, instances can be placed on this dedicated host. - - name (False, str, None) The unique user-defined name for this dedicated host. If unspecified, the name will be a hyphenated list of randomly-selected words. + resource_group (False, str, None) + The unique identifier for the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. + + profile (True, str, None) (Required for new resource) The Globally unique name of the dedicated host profile to use for this dedicated host. @@ -51,6 +47,10 @@ Parameters (Required for new resource) The unique identifier of the dedicated host group for this dedicated host. + instance_placement_enabled (False, bool, True) + If set to true, instances can be placed on this dedicated host. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_dedicated_host_disk_info.rst b/docs/ibm_is_dedicated_host_disk_info.rst index 68d3f97f7..1fc18c9ae 100644 --- a/docs/ibm_is_dedicated_host_disk_info.rst +++ b/docs/ibm_is_dedicated_host_disk_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_host_disk_management.rst b/docs/ibm_is_dedicated_host_disk_management.rst index 4b9e3f4d3..ab8541176 100644 --- a/docs/ibm_is_dedicated_host_disk_management.rst +++ b/docs/ibm_is_dedicated_host_disk_management.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_host_disks_info.rst b/docs/ibm_is_dedicated_host_disks_info.rst index 7928f6977..0dfba26b3 100644 --- a/docs/ibm_is_dedicated_host_disks_info.rst +++ b/docs/ibm_is_dedicated_host_disks_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_host_group.rst b/docs/ibm_is_dedicated_host_group.rst index c8e8efa29..db7eabb3e 100644 --- a/docs/ibm_is_dedicated_host_group.rst +++ b/docs/ibm_is_dedicated_host_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,24 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - family (True, str, None) - (Required for new resource) The dedicated host profile family for hosts in this group. + zone (True, str, None) + (Required for new resource) The globally unique name of the zone this dedicated host group will reside in. - class_ (True, str, None) - (Required for new resource) The dedicated host profile class for hosts in this group. + name (False, str, None) + The unique user-defined name for this dedicated host group. If unspecified, the name will be a hyphenated list of randomly-selected words. resource_group (False, str, None) The unique identifier of the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. - zone (True, str, None) - (Required for new resource) The globally unique name of the zone this dedicated host group will reside in. + class_ (True, str, None) + (Required for new resource) The dedicated host profile class for hosts in this group. - name (False, str, None) - The unique user-defined name for this dedicated host group. If unspecified, the name will be a hyphenated list of randomly-selected words. + family (True, str, None) + (Required for new resource) The dedicated host profile family for hosts in this group. id (False, str, None) diff --git a/docs/ibm_is_dedicated_host_group_info.rst b/docs/ibm_is_dedicated_host_group_info.rst index 388a29db7..742d04016 100644 --- a/docs/ibm_is_dedicated_host_group_info.rst +++ b/docs/ibm_is_dedicated_host_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_host_groups_info.rst b/docs/ibm_is_dedicated_host_groups_info.rst index 32184682c..185328ca9 100644 --- a/docs/ibm_is_dedicated_host_groups_info.rst +++ b/docs/ibm_is_dedicated_host_groups_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_host_info.rst b/docs/ibm_is_dedicated_host_info.rst index 6c89927ef..6bd5cc072 100644 --- a/docs/ibm_is_dedicated_host_info.rst +++ b/docs/ibm_is_dedicated_host_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters The unique name of this dedicated host - host_group (True, str, None) - The unique identifier of the dedicated host group this dedicated host belongs to - - resource_group (False, str, None) The unique identifier of the resource group this dedicated host belongs to + host_group (True, str, None) + The unique identifier of the dedicated host group this dedicated host belongs to + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_dedicated_host_profile_info.rst b/docs/ibm_is_dedicated_host_profile_info.rst index d278fad80..1653a1b6f 100644 --- a/docs/ibm_is_dedicated_host_profile_info.rst +++ b/docs/ibm_is_dedicated_host_profile_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_host_profiles_info.rst b/docs/ibm_is_dedicated_host_profiles_info.rst index 617cdc21f..25ea8ea4f 100644 --- a/docs/ibm_is_dedicated_host_profiles_info.rst +++ b/docs/ibm_is_dedicated_host_profiles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_hosts_info.rst b/docs/ibm_is_dedicated_hosts_info.rst index feda09084..6ebbc912c 100644 --- a/docs/ibm_is_dedicated_hosts_info.rst +++ b/docs/ibm_is_dedicated_hosts_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_endpoint_gateway_targets_info.rst b/docs/ibm_is_endpoint_gateway_targets_info.rst index 6c4acf72d..6724bdcdd 100644 --- a/docs/ibm_is_endpoint_gateway_targets_info.rst +++ b/docs/ibm_is_endpoint_gateway_targets_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_floating_ip.rst b/docs/ibm_is_floating_ip.rst index 9be0f069c..44b66f98f 100644 --- a/docs/ibm_is_floating_ip.rst +++ b/docs/ibm_is_floating_ip.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,20 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group (False, str, None) - Resource group info - - - zone (False, str, None) - Zone name + name (True, str, None) + (Required for new resource) Name of the floating IP target (False, str, None) Target info - name (True, str, None) - (Required for new resource) Name of the floating IP + resource_group (False, str, None) + Resource group info + + + zone (False, str, None) + Zone name tags (False, list, None) diff --git a/docs/ibm_is_floating_ip_info.rst b/docs/ibm_is_floating_ip_info.rst index c42b21063..ed2b8f667 100644 --- a/docs/ibm_is_floating_ip_info.rst +++ b/docs/ibm_is_floating_ip_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_floating_ips_info.rst b/docs/ibm_is_floating_ips_info.rst index b275eb91f..1c8c4b629 100644 --- a/docs/ibm_is_floating_ips_info.rst +++ b/docs/ibm_is_floating_ips_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_flow_log.rst b/docs/ibm_is_flow_log.rst index cf73fb2e3..3331c50e0 100644 --- a/docs/ibm_is_flow_log.rst +++ b/docs/ibm_is_flow_log.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_flow_log_info.rst b/docs/ibm_is_flow_log_info.rst index fade1e86d..ab06a1c34 100644 --- a/docs/ibm_is_flow_log_info.rst +++ b/docs/ibm_is_flow_log_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - The unique user-defined name for this flow log collector. - - identifier (False, str, None) The flow log collector identifier. + name (False, str, None) + The unique user-defined name for this flow log collector. + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_flow_logs_info.rst b/docs/ibm_is_flow_logs_info.rst index 493a6d7c1..159fcdfd1 100644 --- a/docs/ibm_is_flow_logs_info.rst +++ b/docs/ibm_is_flow_logs_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_ike_policies_info.rst b/docs/ibm_is_ike_policies_info.rst index a0b60ac92..3a92de598 100644 --- a/docs/ibm_is_ike_policies_info.rst +++ b/docs/ibm_is_ike_policies_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_ike_policy.rst b/docs/ibm_is_ike_policy.rst index a653f5731..d33b61c8e 100644 --- a/docs/ibm_is_ike_policy.rst +++ b/docs/ibm_is_ike_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,32 +31,32 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - key_lifetime (False, int, 28800) - IKE Key lifetime - - - name (True, str, None) - (Required for new resource) IKE name - - - dh_group (True, int, None) - (Required for new resource) IKE DH group + encryption_algorithm (True, str, None) + (Required for new resource) Encryption alogorithm type resource_group (False, str, None) IKE resource group ID + key_lifetime (False, int, 28800) + IKE Key lifetime + + ike_version (False, int, None) IKE version + name (True, str, None) + (Required for new resource) IKE name + + authentication_algorithm (True, str, None) (Required for new resource) Authentication algorithm type - encryption_algorithm (True, str, None) - (Required for new resource) Encryption alogorithm type + dh_group (True, int, None) + (Required for new resource) IKE DH group id (False, str, None) diff --git a/docs/ibm_is_ike_policy_info.rst b/docs/ibm_is_ike_policy_info.rst index 3b7e6282d..5c16fc05c 100644 --- a/docs/ibm_is_ike_policy_info.rst +++ b/docs/ibm_is_ike_policy_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - ike_policy (False, str, None) - The IKE policy identifier. - - name (False, str, None) The IKE policy name. + ike_policy (False, str, None) + The IKE policy identifier. + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_image.rst b/docs/ibm_is_image.rst index 9c1e25da8..3d217821b 100644 --- a/docs/ibm_is_image.rst +++ b/docs/ibm_is_image.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,38 +31,38 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - operating_system (False, str, None) - Image Operating system - - - tags (False, list, None) - Tags for the image + encrypted_data_key (False, str, None) + A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image source_volume (False, str, None) Image volume id - encrypted_data_key (False, str, None) - A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image + resource_group (False, str, None) + The resource group for this image - encryption_key (False, str, None) - The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource + operating_system (False, str, None) + Image Operating system - resource_group (False, str, None) - The resource group for this image + tags (False, list, None) + Tags for the image - href (False, str, None) - Image Href value + encryption_key (False, str, None) + The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource name (True, str, None) (Required for new resource) Image name + href (False, str, None) + Image Href value + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_image_info.rst b/docs/ibm_is_image_info.rst index 663ecbfa1..3c1290b6d 100644 --- a/docs/ibm_is_image_info.rst +++ b/docs/ibm_is_image_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_images_info.rst b/docs/ibm_is_images_info.rst index 6216fa63b..3cdfa4555 100644 --- a/docs/ibm_is_images_info.rst +++ b/docs/ibm_is_images_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -33,6 +33,10 @@ Parameters The id of the resource group + catalog_managed (False, bool, None) + Lists images managed as part of a catalog offering. If an image is managed, accounts in the same enterprise with access to that catalog can specify the image's catalog offering version CRN to provision virtual server instances using the image + + name (False, str, None) The name of the image diff --git a/docs/ibm_is_instance.rst b/docs/ibm_is_instance.rst index 09c74b0a5..298cc5db6 100644 --- a/docs/ibm_is_instance.rst +++ b/docs/ibm_is_instance.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,112 +31,116 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_template (False, str, None) - Id of the instance template + vpc (False, str, None) + VPC id - placement_group (False, str, None) - Unique Identifier of the Placement Group for restricting the placement of the instance + profile (False, str, None) + Profile info - force_action (False, bool, False) - If set to true, the action will be forced immediately, and all queued actions deleted. Ignored for the start action. + wait_before_delete (False, bool, True) + Enables stopping of instance before deleting and waits till deletion is complete boot_volume (False, list, None) None - name (True, str, None) - (Required for new resource) Instance name + metadata_service_enabled (False, bool, None) + Indicates whether the metadata service endpoint is available to the virtual server instance - total_volume_bandwidth (False, int, None) - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes + default_trusted_profile_target (False, str, None) + The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance. - keys (False, list, None) - SSH key Ids for the instance + dedicated_host_group (False, str, None) + Unique Identifier of the Dedicated Host Group where the instance will be placed - primary_network_interface (False, list, None) - Primary Network interface info + keys (False, list, None) + SSH key Ids for the instance - volumes (False, list, None) - List of volumes + network_interfaces (False, list, None) + None - dedicated_host (False, str, None) - Unique Identifier of the Dedicated Host where the instance will be placed + tags (False, list, None) + list of tags for the instance - auto_delete_volume (False, bool, None) - Auto delete volume along with instance + force_action (False, bool, False) + If set to true, the action will be forced immediately, and all queued actions deleted. Ignored for the start action. - metadata_service_enabled (False, bool, None) - Indicates whether the metadata service endpoint is available to the virtual server instance + image (False, str, None) + image id - vpc (False, str, None) - VPC id + instance_template (False, str, None) + Id of the instance template zone (False, str, None) Zone name - image (False, str, None) - image id + total_volume_bandwidth (False, int, None) + The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes - resource_group (False, str, None) - Instance resource group + force_recovery_time (False, int, None) + Define timeout to force the instances to start/stop in minutes. - default_trusted_profile_target (False, str, None) - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance. + auto_delete_volume (False, bool, None) + Auto delete volume along with instance - wait_before_delete (False, bool, True) - Enables stopping of instance before deleting and waits till deletion is complete + resource_group (False, str, None) + Instance resource group - action (False, str, None) - Enables stopping of instance before deleting and waits till deletion is complete + placement_group (False, str, None) + Unique Identifier of the Placement Group for restricting the placement of the instance + + + catalog_offering (False, list, None) + The catalog offering or offering version to use when provisioning this virtual server instance. If an offering is specified, the latest version of that offering will be used. The specified offering or offering version may be in a different account in the same enterprise, subject to IAM policies. user_data (False, str, None) User data given for the instance - force_recovery_time (False, int, None) - Define timeout to force the instances to start/stop in minutes. + volumes (False, list, None) + List of volumes - availability_policy_host_failure (False, str, None) - The availability policy to use for this virtual server instance + default_trusted_profile_auto_link (False, bool, None) + If set to `true`, the system will create a link to the specified `target` trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. - profile (False, str, None) - Profile info + action (False, str, None) + Enables stopping of instance before deleting and waits till deletion is complete - default_trusted_profile_auto_link (False, bool, None) - If set to `true`, the system will create a link to the specified `target` trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. + primary_network_interface (False, list, None) + Primary Network interface info - dedicated_host_group (False, str, None) - Unique Identifier of the Dedicated Host Group where the instance will be placed + availability_policy_host_failure (False, str, None) + The availability policy to use for this virtual server instance - tags (False, list, None) - list of tags for the instance + name (True, str, None) + (Required for new resource) Instance name - network_interfaces (False, list, None) - None + dedicated_host (False, str, None) + Unique Identifier of the Dedicated Host where the instance will be placed id (False, str, None) diff --git a/docs/ibm_is_instance_action.rst b/docs/ibm_is_instance_action.rst index 7e635005c..86df7baed 100644 --- a/docs/ibm_is_instance_action.rst +++ b/docs/ibm_is_instance_action.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + instance (True, str, None) + (Required for new resource) Instance identifier + + action (True, str, None) (Required for new resource) This restart/start/stops an instance. @@ -39,10 +43,6 @@ Parameters If set to true, the action will be forced immediately, and all queued actions deleted. Ignored for the start action. - instance (True, str, None) - (Required for new resource) Instance identifier - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_instance_disk_info.rst b/docs/ibm_is_instance_disk_info.rst index 58df91129..2ab69463d 100644 --- a/docs/ibm_is_instance_disk_info.rst +++ b/docs/ibm_is_instance_disk_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_disk_management.rst b/docs/ibm_is_instance_disk_management.rst index 22a522b2b..b6aa36c36 100644 --- a/docs/ibm_is_instance_disk_management.rst +++ b/docs/ibm_is_instance_disk_management.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_disks_info.rst b/docs/ibm_is_instance_disks_info.rst index 61eeda695..2246a3174 100644 --- a/docs/ibm_is_instance_disks_info.rst +++ b/docs/ibm_is_instance_disks_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group.rst b/docs/ibm_is_instance_group.rst index a121077ac..b9a6c73dc 100644 --- a/docs/ibm_is_instance_group.rst +++ b/docs/ibm_is_instance_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - subnets (True, list, None) - (Required for new resource) list of subnet IDs - - load_balancer (False, str, None) load balancer ID @@ -43,8 +39,8 @@ Parameters load balancer pool ID - resource_group (False, str, None) - Resource group ID + tags (False, list, None) + List of tags for instance group instance_template (True, str, None) @@ -55,18 +51,22 @@ Parameters The number of instances in the instance group - application_port (False, int, None) - Used by the instance group when scaling up instances to supply the port for the load balancer pool member. - - - tags (False, list, None) - List of tags for instance group + subnets (True, list, None) + (Required for new resource) list of subnet IDs name (True, str, None) (Required for new resource) The user-defined name for this instance group + resource_group (False, str, None) + Resource group ID + + + application_port (False, int, None) + Used by the instance group when scaling up instances to supply the port for the load balancer pool member. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_instance_group_info.rst b/docs/ibm_is_instance_group_info.rst index 694ce964b..9cacf2025 100644 --- a/docs/ibm_is_instance_group_info.rst +++ b/docs/ibm_is_instance_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group_manager.rst b/docs/ibm_is_instance_group_manager.rst index 470a9318e..d9eab0885 100644 --- a/docs/ibm_is_instance_group_manager.rst +++ b/docs/ibm_is_instance_group_manager.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,22 +31,26 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cooldown (False, int, 300) - The duration of time in seconds to pause further scale actions after scaling has taken place + name (False, str, None) + instance group manager name max_membership_count (False, int, None) The maximum number of members in a managed instance group - instance_group (True, str, None) - (Required for new resource) instance group ID + min_membership_count (False, int, 1) + The minimum number of members in a managed instance group enable_manager (False, bool, True) enable instance group manager + instance_group (True, str, None) + (Required for new resource) instance group ID + + manager_type (False, str, autoscale) The type of instance group manager. @@ -55,12 +59,8 @@ Parameters The time window in seconds to aggregate metrics prior to evaluation - min_membership_count (False, int, 1) - The minimum number of members in a managed instance group - - - name (False, str, None) - instance group manager name + cooldown (False, int, 300) + The duration of time in seconds to pause further scale actions after scaling has taken place id (False, str, None) diff --git a/docs/ibm_is_instance_group_manager_action.rst b/docs/ibm_is_instance_group_manager_action.rst index 9c382609f..90ea1923e 100644 --- a/docs/ibm_is_instance_group_manager_action.rst +++ b/docs/ibm_is_instance_group_manager_action.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,40 +31,40 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cron_spec (False, str, None) - The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min period. + instance_group (True, str, None) + (Required for new resource) instance group ID - instance_group_manager (True, str, None) - (Required for new resource) Instance group manager ID of type scheduled + name (False, str, None) + instance group manager action name run_at (False, str, None) The date and time the scheduled action will run. - min_membership_count (False, int, 1) - The minimum number of members in a managed instance group + instance_group_manager (True, str, None) + (Required for new resource) Instance group manager ID of type scheduled - target_manager (False, str, None) - The unique identifier for this instance group manager of type autoscale. + cron_spec (False, str, None) + The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min period. - name (False, str, None) - instance group manager action name + max_membership_count (False, int, None) + The maximum number of members in a managed instance group - membership_count (False, int, None) - The number of members the instance group should have at the scheduled time. + min_membership_count (False, int, 1) + The minimum number of members in a managed instance group - instance_group (True, str, None) - (Required for new resource) instance group ID + target_manager (False, str, None) + The unique identifier for this instance group manager of type autoscale. - max_membership_count (False, int, None) - The maximum number of members in a managed instance group + membership_count (False, int, None) + The number of members the instance group should have at the scheduled time. id (False, str, None) diff --git a/docs/ibm_is_instance_group_manager_action_info.rst b/docs/ibm_is_instance_group_manager_action_info.rst index bfacd49f8..b89b8ed82 100644 --- a/docs/ibm_is_instance_group_manager_action_info.rst +++ b/docs/ibm_is_instance_group_manager_action_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters instance group manager action name - instance_group_manager (True, str, None) - Instance group manager ID of type scheduled - - instance_group (True, str, None) instance group ID + instance_group_manager (True, str, None) + Instance group manager ID of type scheduled + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_instance_group_manager_actions_info.rst b/docs/ibm_is_instance_group_manager_actions_info.rst index da48a38d6..e1cbac387 100644 --- a/docs/ibm_is_instance_group_manager_actions_info.rst +++ b/docs/ibm_is_instance_group_manager_actions_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group_manager_info.rst b/docs/ibm_is_instance_group_manager_info.rst index 595aaaac1..5840a8223 100644 --- a/docs/ibm_is_instance_group_manager_info.rst +++ b/docs/ibm_is_instance_group_manager_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group_manager_policies_info.rst b/docs/ibm_is_instance_group_manager_policies_info.rst index 80f097826..ee3c8ca4a 100644 --- a/docs/ibm_is_instance_group_manager_policies_info.rst +++ b/docs/ibm_is_instance_group_manager_policies_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group_manager_policy.rst b/docs/ibm_is_instance_group_manager_policy.rst index cd18b3cb9..84ad6b61a 100644 --- a/docs/ibm_is_instance_group_manager_policy.rst +++ b/docs/ibm_is_instance_group_manager_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - instance group manager policy name - - instance_group (True, str, None) (Required for new resource) instance group ID @@ -55,6 +51,10 @@ Parameters (Required for new resource) The type of Policy for the Instance Group + name (False, str, None) + instance group manager policy name + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_instance_group_manager_policy_info.rst b/docs/ibm_is_instance_group_manager_policy_info.rst index 37e44aec3..9de4d621b 100644 --- a/docs/ibm_is_instance_group_manager_policy_info.rst +++ b/docs/ibm_is_instance_group_manager_policy_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + instance_group_manager (True, str, None) + Instance group manager ID + + name (True, str, None) The name of the instance group manager policy @@ -37,10 +41,6 @@ Parameters instance group ID - instance_group_manager (True, str, None) - Instance group manager ID - - generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_instance_group_managers_info.rst b/docs/ibm_is_instance_group_managers_info.rst index df942a728..0c34c0db9 100644 --- a/docs/ibm_is_instance_group_managers_info.rst +++ b/docs/ibm_is_instance_group_managers_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group_membership.rst b/docs/ibm_is_instance_group_membership.rst index 512a02297..cb2e43368 100644 --- a/docs/ibm_is_instance_group_membership.rst +++ b/docs/ibm_is_instance_group_membership.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,6 +35,10 @@ Parameters The user-defined name for this instance group membership. Names must be unique within the instance group. + instance_group_membership (True, str, None) + (Required for new resource) The unique identifier for this instance group membership. + + action_delete (False, bool, False) The delete flag for this instance group membership. Must be set to true to delete instance group membership. @@ -43,10 +47,6 @@ Parameters (Required for new resource) The instance group identifier. - instance_group_membership (True, str, None) - (Required for new resource) The unique identifier for this instance group membership. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_instance_group_membership_info.rst b/docs/ibm_is_instance_group_membership_info.rst index b9bc6129d..07faaf651 100644 --- a/docs/ibm_is_instance_group_membership_info.rst +++ b/docs/ibm_is_instance_group_membership_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group_memberships_info.rst b/docs/ibm_is_instance_group_memberships_info.rst index 2a0d52bb5..3b90b1022 100644 --- a/docs/ibm_is_instance_group_memberships_info.rst +++ b/docs/ibm_is_instance_group_memberships_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_groups_info.rst b/docs/ibm_is_instance_groups_info.rst index 3649644f9..7df728637 100644 --- a/docs/ibm_is_instance_groups_info.rst +++ b/docs/ibm_is_instance_groups_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_info.rst b/docs/ibm_is_instance_info.rst index 44324a6a7..b46b28e60 100644 --- a/docs/ibm_is_instance_info.rst +++ b/docs/ibm_is_instance_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_network_interface.rst b/docs/ibm_is_instance_network_interface.rst index ba0818419..a15c6d735 100644 --- a/docs/ibm_is_instance_network_interface.rst +++ b/docs/ibm_is_instance_network_interface.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,30 +31,30 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance (True, str, None) - (Required for new resource) The unique identifier of the instance. - - - name (True, str, None) - (Required for new resource) The user-defined name for this network interface. If unspecified, the name will be a hyphenated list of randomly-selected words. + subnet (True, str, None) + (Required for new resource) The unique identifier of the subnet. allow_ip_spoofing (False, bool, False) Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface. - security_groups (False, list, None) - None + name (True, str, None) + (Required for new resource) The user-defined name for this network interface. If unspecified, the name will be a hyphenated list of randomly-selected words. - subnet (True, str, None) - (Required for new resource) The unique identifier of the subnet. + instance (True, str, None) + (Required for new resource) The unique identifier of the instance. primary_ip (False, list, None) The primary IP address to bind to the network interface. This can be specified using an existing reserved IP, or a prototype object for a new reserved IP. + security_groups (False, list, None) + None + + floating_ip (False, str, None) The ID of the floating IP to attach to this network interface diff --git a/docs/ibm_is_instance_network_interface_info.rst b/docs/ibm_is_instance_network_interface_info.rst index 563036b5e..a3098f637 100644 --- a/docs/ibm_is_instance_network_interface_info.rst +++ b/docs/ibm_is_instance_network_interface_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_name (True, str, None) - The instance name. - - network_interface_name (True, str, None) The network interface name. + instance_name (True, str, None) + The instance name. + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_instance_network_interface_reserved_ip_info.rst b/docs/ibm_is_instance_network_interface_reserved_ip_info.rst index 7d9120c7f..b3ed2f7b8 100644 --- a/docs/ibm_is_instance_network_interface_reserved_ip_info.rst +++ b/docs/ibm_is_instance_network_interface_reserved_ip_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_network_interface_reserved_ips_info.rst b/docs/ibm_is_instance_network_interface_reserved_ips_info.rst index 68a17ef66..0db8eeb25 100644 --- a/docs/ibm_is_instance_network_interface_reserved_ips_info.rst +++ b/docs/ibm_is_instance_network_interface_reserved_ips_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance (True, str, None) - The instance identifier. - - network_interface (True, str, None) The instance network interface identifier. + instance (True, str, None) + The instance identifier. + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_instance_network_interfaces_info.rst b/docs/ibm_is_instance_network_interfaces_info.rst index 6a81161cd..12d907c31 100644 --- a/docs/ibm_is_instance_network_interfaces_info.rst +++ b/docs/ibm_is_instance_network_interfaces_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_profile_info.rst b/docs/ibm_is_instance_profile_info.rst index d94ca7114..951419a35 100644 --- a/docs/ibm_is_instance_profile_info.rst +++ b/docs/ibm_is_instance_profile_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_profiles_info.rst b/docs/ibm_is_instance_profiles_info.rst index 20a280b8c..d295f6e9c 100644 --- a/docs/ibm_is_instance_profiles_info.rst +++ b/docs/ibm_is_instance_profiles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_template.rst b/docs/ibm_is_instance_template.rst index 6978da6e4..08b45d873 100644 --- a/docs/ibm_is_instance_template.rst +++ b/docs/ibm_is_instance_template.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,32 +31,40 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + dedicated_host_group (False, str, None) + Unique Identifier of the Dedicated Host Group where the instance will be placed + + + boot_volume (False, list, None) + None + + + default_trusted_profile_auto_link (False, bool, None) + If set to `true`, the system will create a link to the specified `target` trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. + + total_volume_bandwidth (False, int, None) The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes - volume_attachments (False, list, None) - None + dedicated_host (False, str, None) + Unique Identifier of the Dedicated Host where the instance will be placed - boot_volume (False, list, None) - None + resource_group (False, str, None) + Instance template resource group name (False, str, None) Instance Template name - metadata_service_enabled (False, bool, False) - Indicates whether the metadata service endpoint is available to the virtual server instance - - - dedicated_host_group (False, str, None) - Unique Identifier of the Dedicated Host Group where the instance will be placed + zone (True, str, None) + (Required for new resource) Zone name - placement_group (False, str, None) - Unique Identifier of the Placement Group for restricting the placement of the instance + keys (True, list, None) + (Required for new resource) SSH key Ids for the instance template primary_network_interface (True, list, None) @@ -67,20 +75,20 @@ Parameters (Required for new resource) image name - resource_group (False, str, None) - Instance template resource group + vpc (True, str, None) + (Required for new resource) VPC id - availability_policy_host_failure (False, str, None) - The availability policy to use for this virtual server instance + default_trusted_profile_target (False, str, None) + The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance. - keys (True, list, None) - (Required for new resource) SSH key Ids for the instance template + volume_attachments (False, list, None) + None - dedicated_host (False, str, None) - Unique Identifier of the Dedicated Host where the instance will be placed + placement_group (False, str, None) + Unique Identifier of the Placement Group for restricting the placement of the instance network_interfaces (False, list, None) @@ -91,24 +99,16 @@ Parameters User data given for the instance - profile (True, str, None) - (Required for new resource) Profile info - - - default_trusted_profile_target (False, str, None) - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance. - - - default_trusted_profile_auto_link (False, bool, None) - If set to `true`, the system will create a link to the specified `target` trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. + availability_policy_host_failure (False, str, None) + The availability policy to use for this virtual server instance - vpc (True, str, None) - (Required for new resource) VPC id + metadata_service_enabled (False, bool, False) + Indicates whether the metadata service endpoint is available to the virtual server instance - zone (True, str, None) - (Required for new resource) Zone name + profile (True, str, None) + (Required for new resource) Profile info id (False, str, None) diff --git a/docs/ibm_is_instance_template_info.rst b/docs/ibm_is_instance_template_info.rst index 44ad12951..b3509b02b 100644 --- a/docs/ibm_is_instance_template_info.rst +++ b/docs/ibm_is_instance_template_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,11 +29,11 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - identifier (False, str, None) + name (False, str, None) None - name (False, str, None) + identifier (False, str, None) None diff --git a/docs/ibm_is_instance_templates_info.rst b/docs/ibm_is_instance_templates_info.rst index 765ab01cf..d0b5749e7 100644 --- a/docs/ibm_is_instance_templates_info.rst +++ b/docs/ibm_is_instance_templates_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_volume_attachment.rst b/docs/ibm_is_instance_volume_attachment.rst index b05924d64..d51c20ad8 100644 --- a/docs/ibm_is_instance_volume_attachment.rst +++ b/docs/ibm_is_instance_volume_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,26 +31,26 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - The user-defined name for this volume attachment. - - - volume (False, str, None) - Instance id + encryption_key (False, str, None) + The CRN of the [Key Protect Root Key](https://cloud.ibm.com/docs/key-protect?topic=key-protect-getting-started-tutorial) or [Hyper Protect Crypto Service Root Key](https://cloud.ibm.com/docs/hs-crypto?topic=hs-crypto-get-started) for this resource. - iops (False, int, None) - The maximum I/O operations per second (IOPS) for the volume. + name (False, str, None) + The user-defined name for this volume attachment. - capacity (False, int, None) - The capacity of the volume in gigabytes. The specified minimum and maximum capacity values for creating or updating volumes may expand in the future. + tags (False, list, None) + UserTags for the volume instance profile (False, str, None) The globally unique name for the volume profile to use for this volume. + instance (True, str, None) + (Required for new resource) Instance id + + delete_volume_on_instance_delete (False, bool, None) If set to true, when deleting the instance the volume will also be deleted. @@ -59,26 +59,26 @@ Parameters The unique user-defined name for this volume - tags (False, list, None) - UserTags for the volume instance - - - instance (True, str, None) - (Required for new resource) Instance id + capacity (False, int, None) + The capacity of the volume in gigabytes. The specified minimum and maximum capacity values for creating or updating volumes may expand in the future. delete_volume_on_attachment_delete (False, bool, True) If set to true, when deleting the attachment, the volume will also be deleted. Default value for this true. - encryption_key (False, str, None) - The CRN of the [Key Protect Root Key](https://cloud.ibm.com/docs/key-protect?topic=key-protect-getting-started-tutorial) or [Hyper Protect Crypto Service Root Key](https://cloud.ibm.com/docs/hs-crypto?topic=hs-crypto-get-started) for this resource. + iops (False, int, None) + The maximum I/O operations per second (IOPS) for the volume. snapshot (False, str, None) The snapshot of the volume to be attached + volume (False, str, None) + Instance id + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_instance_volume_attachment_info.rst b/docs/ibm_is_instance_volume_attachment_info.rst index 42544809d..96e268a4a 100644 --- a/docs/ibm_is_instance_volume_attachment_info.rst +++ b/docs/ibm_is_instance_volume_attachment_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - The user-defined name for this volume attachment. - - instance (True, str, None) Instance id + name (True, str, None) + The user-defined name for this volume attachment. + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_instance_volume_attachments_info.rst b/docs/ibm_is_instance_volume_attachments_info.rst index b8aedef06..3534d3bee 100644 --- a/docs/ibm_is_instance_volume_attachments_info.rst +++ b/docs/ibm_is_instance_volume_attachments_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_instances_info.rst b/docs/ibm_is_instances_info.rst index b8d002315..1d0c5a6bf 100644 --- a/docs/ibm_is_instances_info.rst +++ b/docs/ibm_is_instances_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,6 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + instance_group_name (False, str, None) + Instance group name to filter the instances attached to it + + + vpc_name (False, str, None) + Name of the vpc to filter the instances attached to it + + vpc (False, str, None) VPC ID to filter the instances attached to it @@ -37,6 +45,14 @@ Parameters VPC CRN to filter the instances attached to it + placement_group_name (False, str, None) + Name of the placement group to filter the instances attached to it + + + instance_group (False, str, None) + Instance group ID to filter the instances attached to it + + resource_group (False, str, None) Instance resource group @@ -53,22 +69,6 @@ Parameters ID of the placement group to filter the instances attached to it - instance_group (False, str, None) - Instance group ID to filter the instances attached to it - - - vpc_name (False, str, None) - Name of the vpc to filter the instances attached to it - - - instance_group_name (False, str, None) - Instance group name to filter the instances attached to it - - - placement_group_name (False, str, None) - Name of the placement group to filter the instances attached to it - - generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_ipsec_policies_info.rst b/docs/ibm_is_ipsec_policies_info.rst index 3e6db1105..e1ae973be 100644 --- a/docs/ibm_is_ipsec_policies_info.rst +++ b/docs/ibm_is_ipsec_policies_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_ipsec_policy.rst b/docs/ibm_is_ipsec_policy.rst index b1b334d53..1a0b675cd 100644 --- a/docs/ibm_is_ipsec_policy.rst +++ b/docs/ibm_is_ipsec_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,8 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - authentication_algorithm (True, str, None) - (Required for new resource) Authentication alorothm + encryption_algorithm (True, str, None) + (Required for new resource) Encryption algorithm + + + pfs (True, str, None) + (Required for new resource) PFS info resource_group (False, str, None) @@ -43,12 +47,8 @@ Parameters (Required for new resource) IPSEC name - encryption_algorithm (True, str, None) - (Required for new resource) Encryption algorithm - - - pfs (True, str, None) - (Required for new resource) PFS info + authentication_algorithm (True, str, None) + (Required for new resource) Authentication alorothm key_lifetime (False, int, 3600) diff --git a/docs/ibm_is_ipsec_policy_info.rst b/docs/ibm_is_ipsec_policy_info.rst index 68ce795d6..327d0c12c 100644 --- a/docs/ibm_is_ipsec_policy_info.rst +++ b/docs/ibm_is_ipsec_policy_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - ipsec_policy (False, str, None) - The IPsec policy identifier. - - name (False, str, None) The IPsec policy name. + ipsec_policy (False, str, None) + The IPsec policy identifier. + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_lb.rst b/docs/ibm_is_lb.rst index 7fa5aa391..979566733 100644 --- a/docs/ibm_is_lb.rst +++ b/docs/ibm_is_lb.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,40 +31,40 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - logging (False, bool, False) - Logging of Load Balancer + name (True, str, None) + (Required for new resource) Load Balancer name - type (False, str, public) - Load Balancer type + security_groups (False, list, None) + Load Balancer securitygroups list - profile (False, str, None) - The profile to use for this load balancer. + logging (False, bool, False) + Logging of Load Balancer - route_mode (False, bool, False) - Indicates whether route mode is enabled for this load balancer + subnets (True, list, None) + (Required for new resource) Load Balancer subnets list - name (True, str, None) - (Required for new resource) Load Balancer name + tags (False, list, None) + None - subnets (True, list, None) - (Required for new resource) Load Balancer subnets list + type (False, str, public) + Load Balancer type - security_groups (False, list, None) - Load Balancer securitygroups list + profile (False, str, None) + The profile to use for this load balancer. - tags (False, list, None) + resource_group (False, str, None) None - resource_group (False, str, None) - None + route_mode (False, bool, False) + Indicates whether route mode is enabled for this load balancer id (False, str, None) diff --git a/docs/ibm_is_lb_info.rst b/docs/ibm_is_lb_info.rst index 702ad3267..2d4a34600 100644 --- a/docs/ibm_is_lb_info.rst +++ b/docs/ibm_is_lb_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_listener.rst b/docs/ibm_is_lb_listener.rst index 3b1a726c4..7d42c3a82 100644 --- a/docs/ibm_is_lb_listener.rst +++ b/docs/ibm_is_lb_listener.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,48 +31,48 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - port_min (False, int, None) - The inclusive lower bound of the range of ports used by this listener. Only load balancers in the `network` family support more than one port per listener. + protocol (True, str, None) + (Required for new resource) Loadbalancer protocol - certificate_instance (False, str, None) - certificate instance for the Loadbalancer + accept_proxy_protocol (False, bool, None) + Listener will forward proxy protocol https_redirect_status_code (False, int, None) The HTTP status code to be returned in the redirect response - connection_limit (False, int, None) - Connection limit for Loadbalancer - - - lb (True, str, None) - (Required for new resource) Loadbalancer listener ID + https_redirect_uri (False, str, None) + Target URI where traffic will be redirected port (False, int, None) Loadbalancer listener port - accept_proxy_protocol (False, bool, None) - Listener will forward proxy protocol + default_pool (False, str, None) + Loadbalancer default pool info + + + lb (True, str, None) + (Required for new resource) Loadbalancer listener ID port_max (False, int, None) The inclusive upper bound of the range of ports used by this listener. Only load balancers in the `network` family support more than one port per listener - protocol (True, str, None) - (Required for new resource) Loadbalancer protocol + connection_limit (False, int, None) + Connection limit for Loadbalancer - default_pool (False, str, None) - Loadbalancer default pool info + port_min (False, int, None) + The inclusive lower bound of the range of ports used by this listener. Only load balancers in the `network` family support more than one port per listener. - https_redirect_uri (False, str, None) - Target URI where traffic will be redirected + certificate_instance (False, str, None) + certificate instance for the Loadbalancer https_redirect_listener (False, str, None) diff --git a/docs/ibm_is_lb_listener_info.rst b/docs/ibm_is_lb_listener_info.rst index 9089daa4d..7e66ba622 100644 --- a/docs/ibm_is_lb_listener_info.rst +++ b/docs/ibm_is_lb_listener_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_listener_policies_info.rst b/docs/ibm_is_lb_listener_policies_info.rst index e18abd3c7..0bb0a104f 100644 --- a/docs/ibm_is_lb_listener_policies_info.rst +++ b/docs/ibm_is_lb_listener_policies_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_listener_policy.rst b/docs/ibm_is_lb_listener_policy.rst index 17254bde7..5abf04ea6 100644 --- a/docs/ibm_is_lb_listener_policy.rst +++ b/docs/ibm_is_lb_listener_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,32 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - Policy name - - - lb (True, str, None) - (Required for new resource) Load Balancer Listener Policy + target_id (False, str, None) + Listener Policy Target ID listener (True, str, None) (Required for new resource) Listener ID - target_https_redirect_uri (False, str, None) - Target URI where traffic will be redirected - - - target_https_redirect_listener (False, str, None) - ID of the listener that will be set as http redirect target - - - action (True, str, None) - (Required for new resource) Policy Action - - - rules (False, list, None) - Policy Rules + name (False, str, None) + Policy name target_http_status_code (False, int, None) @@ -67,16 +51,32 @@ Parameters Policy Target URL + lb (True, str, None) + (Required for new resource) Load Balancer Listener Policy + + target_https_redirect_status_code (False, int, None) The HTTP status code to be returned in the redirect response + target_https_redirect_listener (False, str, None) + ID of the listener that will be set as http redirect target + + priority (True, int, None) (Required for new resource) Listener Policy Priority - target_id (False, str, None) - Listener Policy Target ID + rules (False, list, None) + Policy Rules + + + target_https_redirect_uri (False, str, None) + Target URI where traffic will be redirected + + + action (True, str, None) + (Required for new resource) Policy Action id (False, str, None) diff --git a/docs/ibm_is_lb_listener_policy_info.rst b/docs/ibm_is_lb_listener_policy_info.rst index b55dc6061..831cd585e 100644 --- a/docs/ibm_is_lb_listener_policy_info.rst +++ b/docs/ibm_is_lb_listener_policy_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters The listener identifier. - lb (True, str, None) - The load balancer identifier. - - policy_id (True, str, None) The policy identifier. + lb (True, str, None) + The load balancer identifier. + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_lb_listener_policy_rule.rst b/docs/ibm_is_lb_listener_policy_rule.rst index 8b719a22a..2837e920b 100644 --- a/docs/ibm_is_lb_listener_policy_rule.rst +++ b/docs/ibm_is_lb_listener_policy_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,28 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - type (True, str, None) - (Required for new resource) Policy rule type. - - value (True, str, None) (Required for new resource) policy rule value info - field (False, str, None) - None + policy (True, str, None) + (Required for new resource) Listener Policy ID + + + listener (True, str, None) + (Required for new resource) Listener ID. condition (True, str, None) (Required for new resource) Condition info of the rule. - listener (True, str, None) - (Required for new resource) Listener ID. + type (True, str, None) + (Required for new resource) Policy rule type. - policy (True, str, None) - (Required for new resource) Listener Policy ID + field (False, str, None) + None lb (True, str, None) diff --git a/docs/ibm_is_lb_listener_policy_rule_info.rst b/docs/ibm_is_lb_listener_policy_rule_info.rst index fbfbcdc33..2b5ca5c00 100644 --- a/docs/ibm_is_lb_listener_policy_rule_info.rst +++ b/docs/ibm_is_lb_listener_policy_rule_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_listener_policy_rules_info.rst b/docs/ibm_is_lb_listener_policy_rules_info.rst index ca14dcef6..81b8bee23 100644 --- a/docs/ibm_is_lb_listener_policy_rules_info.rst +++ b/docs/ibm_is_lb_listener_policy_rules_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_listeners_info.rst b/docs/ibm_is_lb_listeners_info.rst index 64f829662..067bc4756 100644 --- a/docs/ibm_is_lb_listeners_info.rst +++ b/docs/ibm_is_lb_listeners_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_pool.rst b/docs/ibm_is_lb_pool.rst index 9b9503074..aa6504fd9 100644 --- a/docs/ibm_is_lb_pool.rst +++ b/docs/ibm_is_lb_pool.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,24 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - health_timeout (True, int, None) - (Required for new resource) Load Balancer health timeout interval - - - health_monitor_port (False, int, None) - Health monitor Port the LB Pool - - - session_persistence_app_cookie_name (False, str, None) - Load Balancer Pool session persisence app cookie name. + proxy_protocol (False, str, None) + PROXY protocol setting for this pool - protocol (True, str, None) - (Required for new resource) Load Balancer Protocol + lb (True, str, None) + (Required for new resource) Load Balancer ID - health_retries (True, int, None) - (Required for new resource) Load Balancer health retry count + health_timeout (True, int, None) + (Required for new resource) Load Balancer health timeout interval health_monitor_url (False, str, None) @@ -59,28 +51,36 @@ Parameters Load Balancer Pool session persisence type. + health_type (True, str, None) + (Required for new resource) Load Balancer health type + + name (True, str, None) (Required for new resource) Load Balancer Pool name - algorithm (True, str, None) - (Required for new resource) Load Balancer Pool algorithm + health_delay (True, int, None) + (Required for new resource) Load Blancer health delay time period - health_type (True, str, None) - (Required for new resource) Load Balancer health type + health_retries (True, int, None) + (Required for new resource) Load Balancer health retry count - proxy_protocol (False, str, None) - PROXY protocol setting for this pool + session_persistence_app_cookie_name (False, str, None) + Load Balancer Pool session persisence app cookie name. - lb (True, str, None) - (Required for new resource) Load Balancer ID + algorithm (True, str, None) + (Required for new resource) Load Balancer Pool algorithm - health_delay (True, int, None) - (Required for new resource) Load Blancer health delay time period + protocol (True, str, None) + (Required for new resource) Load Balancer Protocol + + + health_monitor_port (False, int, None) + Health monitor Port the LB Pool id (False, str, None) diff --git a/docs/ibm_is_lb_pool_info.rst b/docs/ibm_is_lb_pool_info.rst index 0bb7c9ea0..dc35317b3 100644 --- a/docs/ibm_is_lb_pool_info.rst +++ b/docs/ibm_is_lb_pool_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,16 +29,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - The user-defined name for this load balancer pool. + identifier (False, str, None) + The pool identifier. lb (True, str, None) The load balancer identifier. - identifier (False, str, None) - The pool identifier. + name (False, str, None) + The user-defined name for this load balancer pool. generation (False, int, 2) diff --git a/docs/ibm_is_lb_pool_member.rst b/docs/ibm_is_lb_pool_member.rst index a721eb2be..0369c1650 100644 --- a/docs/ibm_is_lb_pool_member.rst +++ b/docs/ibm_is_lb_pool_member.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,28 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - lb (True, str, None) - (Required for new resource) Load balancer ID + target_address (False, str, None) + Load balancer pool member target address - port (True, int, None) - (Required for new resource) Load Balancer Pool port + pool (True, str, None) + (Required for new resource) Loadblancer Poold ID - target_id (False, str, None) - Load balancer pool member target id + lb (True, str, None) + (Required for new resource) Load balancer ID weight (False, int, None) Load balcner pool member weight - pool (True, str, None) - (Required for new resource) Loadblancer Poold ID + port (True, int, None) + (Required for new resource) Load Balancer Pool port - target_address (False, str, None) - Load balancer pool member target address + target_id (False, str, None) + Load balancer pool member target id id (False, str, None) diff --git a/docs/ibm_is_lb_pool_member_info.rst b/docs/ibm_is_lb_pool_member_info.rst index 73e09378e..89837b483 100644 --- a/docs/ibm_is_lb_pool_member_info.rst +++ b/docs/ibm_is_lb_pool_member_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - lb (True, str, None) - The load balancer identifier. - - member (True, str, None) The member identifier. + lb (True, str, None) + The load balancer identifier. + + pool (True, str, None) The pool identifier. diff --git a/docs/ibm_is_lb_pool_members_info.rst b/docs/ibm_is_lb_pool_members_info.rst index 4bca89794..4de56d083 100644 --- a/docs/ibm_is_lb_pool_members_info.rst +++ b/docs/ibm_is_lb_pool_members_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_pools_info.rst b/docs/ibm_is_lb_pools_info.rst index 738eb3066..acc9d01a6 100644 --- a/docs/ibm_is_lb_pools_info.rst +++ b/docs/ibm_is_lb_pools_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_profiles_info.rst b/docs/ibm_is_lb_profiles_info.rst index d11e4eef6..a7ef7d8b8 100644 --- a/docs/ibm_is_lb_profiles_info.rst +++ b/docs/ibm_is_lb_profiles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_lbs_info.rst b/docs/ibm_is_lbs_info.rst index 873d53c52..c6f12e335 100644 --- a/docs/ibm_is_lbs_info.rst +++ b/docs/ibm_is_lbs_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_network_acl.rst b/docs/ibm_is_network_acl.rst index 47517fbd4..4a3577823 100644 --- a/docs/ibm_is_network_acl.rst +++ b/docs/ibm_is_network_acl.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,24 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Network ACL name + tags (False, list, None) + List of tags - vpc (False, str, None) - Network ACL VPC name + rules (False, list, None) + None - resource_group (False, str, None) - Resource group ID for the network ACL + name (True, str, None) + (Required for new resource) Network ACL name - tags (False, list, None) - List of tags + resource_group (False, str, None) + Resource group ID for the network ACL - rules (False, list, None) - None + vpc (False, str, None) + Network ACL VPC name id (False, str, None) diff --git a/docs/ibm_is_network_acl_info.rst b/docs/ibm_is_network_acl_info.rst index 67ee31c99..5d26c8d36 100644 --- a/docs/ibm_is_network_acl_info.rst +++ b/docs/ibm_is_network_acl_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + vpc_name (False, str, None) + The name of the vpc the network acl resides in. + + network_acl (False, str, None) The network acl id. @@ -37,10 +41,6 @@ Parameters The network acl name. - vpc_name (False, str, None) - The name of the vpc the network acl resides in. - - generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_network_acl_rule.rst b/docs/ibm_is_network_acl_rule.rst index 950f23b30..bf2422744 100644 --- a/docs/ibm_is_network_acl_rule.rst +++ b/docs/ibm_is_network_acl_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,44 +31,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - action (True, str, None) - (Required for new resource) Whether to allow or deny matching traffic - - - source (True, str, None) - (Required for new resource) The source CIDR block. The CIDR block 0.0.0.0/0 applies to all addresses. + network_acl (True, str, None) + (Required for new resource) Network ACL id direction (True, str, None) (Required for new resource) Direction of traffic to enforce, either inbound or outbound + tcp (False, list, None) + None + + udp (False, list, None) None - before (False, str, None) - The rule that this rule is immediately before. If absent, this is the last rule. + action (True, str, None) + (Required for new resource) Whether to allow or deny matching traffic - destination (True, str, None) - (Required for new resource) The destination CIDR block. The CIDR block 0.0.0.0/0 applies to all addresses. + source (True, str, None) + (Required for new resource) The source CIDR block. The CIDR block 0.0.0.0/0 applies to all addresses. icmp (False, list, None) None - name (False, str, None) - The user-defined name for this rule. Names must be unique within the network ACL the rule resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. + destination (True, str, None) + (Required for new resource) The destination CIDR block. The CIDR block 0.0.0.0/0 applies to all addresses. - network_acl (True, str, None) - (Required for new resource) Network ACL id + before (False, str, None) + The rule that this rule is immediately before. If absent, this is the last rule. - tcp (False, list, None) - None + name (False, str, None) + The user-defined name for this rule. Names must be unique within the network ACL the rule resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. id (False, str, None) diff --git a/docs/ibm_is_network_acl_rule_info.rst b/docs/ibm_is_network_acl_rule_info.rst index 1642767a3..15c96c36b 100644 --- a/docs/ibm_is_network_acl_rule_info.rst +++ b/docs/ibm_is_network_acl_rule_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_network_acl_rules_info.rst b/docs/ibm_is_network_acl_rules_info.rst index 90f59b35e..6301d4c94 100644 --- a/docs/ibm_is_network_acl_rules_info.rst +++ b/docs/ibm_is_network_acl_rules_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_network_acls_info.rst b/docs/ibm_is_network_acls_info.rst index 3975f30c9..267eb7a4e 100644 --- a/docs/ibm_is_network_acls_info.rst +++ b/docs/ibm_is_network_acls_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_operating_system_info.rst b/docs/ibm_is_operating_system_info.rst index 939d74669..ab55de65f 100644 --- a/docs/ibm_is_operating_system_info.rst +++ b/docs/ibm_is_operating_system_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_operating_systems_info.rst b/docs/ibm_is_operating_systems_info.rst index 007d95257..793559a17 100644 --- a/docs/ibm_is_operating_systems_info.rst +++ b/docs/ibm_is_operating_systems_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_placement_group_info.rst b/docs/ibm_is_placement_group_info.rst index 6643dde44..0c8e55b62 100644 --- a/docs/ibm_is_placement_group_info.rst +++ b/docs/ibm_is_placement_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_placement_groups_info.rst b/docs/ibm_is_placement_groups_info.rst index 2fe5a16f4..f670fbe71 100644 --- a/docs/ibm_is_placement_groups_info.rst +++ b/docs/ibm_is_placement_groups_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_public_gateway.rst b/docs/ibm_is_public_gateway.rst index 86ff9aa83..1d3dd7b5e 100644 --- a/docs/ibm_is_public_gateway.rst +++ b/docs/ibm_is_public_gateway.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - zone (True, str, None) - (Required for new resource) Public gateway zone info + resource_group (False, str, None) + Public gateway resource group info tags (False, list, None) Service tags for the public gateway instance + name (True, str, None) + (Required for new resource) Name of the Public gateway instance + + floating_ip (False, dict, None) None @@ -47,12 +51,8 @@ Parameters (Required for new resource) Public gateway VPC info - name (True, str, None) - (Required for new resource) Name of the Public gateway instance - - - resource_group (False, str, None) - Public gateway resource group info + zone (True, str, None) + (Required for new resource) Public gateway zone info id (False, str, None) diff --git a/docs/ibm_is_public_gateway_info.rst b/docs/ibm_is_public_gateway_info.rst index 7dec25143..8b462b940 100644 --- a/docs/ibm_is_public_gateway_info.rst +++ b/docs/ibm_is_public_gateway_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - Public gateway Name - - resource_group (False, str, None) Public gateway resource group info + name (True, str, None) + Public gateway Name + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_public_gateways_info.rst b/docs/ibm_is_public_gateways_info.rst index 77753f27b..ba1874485 100644 --- a/docs/ibm_is_public_gateways_info.rst +++ b/docs/ibm_is_public_gateways_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_region_info.rst b/docs/ibm_is_region_info.rst index 2959f1b7a..5c7a42d38 100644 --- a/docs/ibm_is_region_info.rst +++ b/docs/ibm_is_region_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_regions_info.rst b/docs/ibm_is_regions_info.rst index 513517931..47edf020e 100644 --- a/docs/ibm_is_regions_info.rst +++ b/docs/ibm_is_regions_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_security_group.rst b/docs/ibm_is_security_group.rst index 4adb62659..9a2e02610 100644 --- a/docs/ibm_is_security_group.rst +++ b/docs/ibm_is_security_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group (False, str, None) - Resource Group ID - - name (False, str, None) Security group name @@ -43,6 +39,10 @@ Parameters (Required for new resource) Security group's resource group id + resource_group (False, str, None) + Resource Group ID + + tags (False, list, None) List of tags diff --git a/docs/ibm_is_security_group_info.rst b/docs/ibm_is_security_group_info.rst index bae7b9eca..3f9c5f468 100644 --- a/docs/ibm_is_security_group_info.rst +++ b/docs/ibm_is_security_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_security_group_network_interface_attachment.rst b/docs/ibm_is_security_group_network_interface_attachment.rst index 3b59404bf..21f0b37a9 100644 --- a/docs/ibm_is_security_group_network_interface_attachment.rst +++ b/docs/ibm_is_security_group_network_interface_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - security_group (True, str, None) - (Required for new resource) security group network interface attachment group ID - - network_interface (True, str, None) (Required for new resource) security group network interface attachment NIC ID + security_group (True, str, None) + (Required for new resource) security group network interface attachment group ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_security_group_rule_info.rst b/docs/ibm_is_security_group_rule_info.rst index 52f78210e..c0bf41f5c 100644 --- a/docs/ibm_is_security_group_rule_info.rst +++ b/docs/ibm_is_security_group_rule_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_security_group_rules_info.rst b/docs/ibm_is_security_group_rules_info.rst index 52dbd8f0d..13332812b 100644 --- a/docs/ibm_is_security_group_rules_info.rst +++ b/docs/ibm_is_security_group_rules_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_security_group_target.rst b/docs/ibm_is_security_group_target.rst index 7070f2dbe..3f7ff776d 100644 --- a/docs/ibm_is_security_group_target.rst +++ b/docs/ibm_is_security_group_target.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - security_group (True, str, None) - (Required for new resource) Security group id - - target (True, str, None) (Required for new resource) security group target identifier + security_group (True, str, None) + (Required for new resource) Security group id + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_security_group_target_info.rst b/docs/ibm_is_security_group_target_info.rst index 13c06c0fd..fe0e431f0 100644 --- a/docs/ibm_is_security_group_target_info.rst +++ b/docs/ibm_is_security_group_target_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_security_group_targets_info.rst b/docs/ibm_is_security_group_targets_info.rst index 87204996d..b8304da1a 100644 --- a/docs/ibm_is_security_group_targets_info.rst +++ b/docs/ibm_is_security_group_targets_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_security_groups_info.rst b/docs/ibm_is_security_groups_info.rst index b2a94d641..a40713b14 100644 --- a/docs/ibm_is_security_groups_info.rst +++ b/docs/ibm_is_security_groups_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_snapshot.rst b/docs/ibm_is_snapshot.rst index 43a6422ef..17b04c555 100644 --- a/docs/ibm_is_snapshot.rst +++ b/docs/ibm_is_snapshot.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,16 +35,16 @@ Parameters Resource group info - source_volume (True, str, None) - (Required for new resource) Snapshot source volume + tags (False, list, None) + User Tags for the snapshot name (False, str, None) Snapshot name - tags (False, list, None) - User Tags for the snapshot + source_volume (True, str, None) + (Required for new resource) Snapshot source volume id (False, str, None) diff --git a/docs/ibm_is_snapshot_info.rst b/docs/ibm_is_snapshot_info.rst index 228d90695..0271c196b 100644 --- a/docs/ibm_is_snapshot_info.rst +++ b/docs/ibm_is_snapshot_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - Snapshot name - - identifier (False, str, None) Snapshot identifier + name (False, str, None) + Snapshot name + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_snapshots_info.rst b/docs/ibm_is_snapshots_info.rst index 7331c2b51..fe6e0d0c0 100644 --- a/docs/ibm_is_snapshots_info.rst +++ b/docs/ibm_is_snapshots_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,6 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + backup_policy_plan_id (False, str, None) + Filters the collection to backup policy jobs with the backup plan with the specified identifier + + + tag (False, str, None) + Filters the collection to resources with the exact tag value + + resource_group (False, str, None) Filters the snapshot collection by resources group id @@ -45,14 +53,6 @@ Parameters Filters the snapshot collection by source volume id - backup_policy_plan_id (False, str, None) - Filters the collection to backup policy jobs with the backup plan with the specified identifier - - - tag (False, str, None) - Filters the collection to resources with the exact tag value - - generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_ssh_key.rst b/docs/ibm_is_ssh_key.rst index f235df040..cdba4aa70 100644 --- a/docs/ibm_is_ssh_key.rst +++ b/docs/ibm_is_ssh_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,16 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - List of tags for SSH key + public_key (True, str, None) + (Required for new resource) SSH Public key data name (True, str, None) (Required for new resource) SSH Key name - public_key (True, str, None) - (Required for new resource) SSH Public key data + tags (False, list, None) + List of tags for SSH key resource_group (False, str, None) diff --git a/docs/ibm_is_ssh_key_info.rst b/docs/ibm_is_ssh_key_info.rst index 00dcc5d28..72e108769 100644 --- a/docs/ibm_is_ssh_key_info.rst +++ b/docs/ibm_is_ssh_key_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - The name of the ssh key - - resource_group (False, str, None) Resource group ID + name (True, str, None) + The name of the ssh key + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_ssh_keys_info.rst b/docs/ibm_is_ssh_keys_info.rst index ee86a2add..4724e381d 100644 --- a/docs/ibm_is_ssh_keys_info.rst +++ b/docs/ibm_is_ssh_keys_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_subnet.rst b/docs/ibm_is_subnet.rst index 74f5250bf..3d490d0cc 100644 --- a/docs/ibm_is_subnet.rst +++ b/docs/ibm_is_subnet.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,26 +31,26 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Subnet name - - vpc (True, str, None) (Required for new resource) VPC instance ID - total_ipv4_address_count (False, int, None) - The total number of IPv4 addresses in this subnet. - - - ip_version (False, str, ipv4) - The IP version(s) to support for this subnet. + zone (True, str, None) + (Required for new resource) Subnet zone info network_acl (False, str, None) The network ACL for this subnet + name (True, str, None) + (Required for new resource) Subnet name + + + access_tags (False, list, None) + List of access management tags + + routing_table (False, str, None) routing table id that is associated with the subnet @@ -59,18 +59,14 @@ Parameters IPV4 subnet - CIDR block - zone (True, str, None) - (Required for new resource) Subnet zone info + total_ipv4_address_count (False, int, None) + The total number of IPv4 addresses in this subnet. tags (False, list, None) List of tags - access_tags (False, list, None) - List of access management tags - - public_gateway (False, str, None) Public Gateway of the subnet @@ -79,6 +75,10 @@ Parameters The resource group for this subnet + ip_version (False, str, ipv4) + The IP version(s) to support for this subnet. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_subnet_info.rst b/docs/ibm_is_subnet_info.rst index 4684c12e4..5bb976370 100644 --- a/docs/ibm_is_subnet_info.rst +++ b/docs/ibm_is_subnet_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_subnet_network_acl_attachment.rst b/docs/ibm_is_subnet_network_acl_attachment.rst index 0923fadff..6fe8dc07f 100644 --- a/docs/ibm_is_subnet_network_acl_attachment.rst +++ b/docs/ibm_is_subnet_network_acl_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_subnet_public_gateway_attachment.rst b/docs/ibm_is_subnet_public_gateway_attachment.rst index 2a9a8ecab..e796985d7 100644 --- a/docs/ibm_is_subnet_public_gateway_attachment.rst +++ b/docs/ibm_is_subnet_public_gateway_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_subnet_reserved_ip.rst b/docs/ibm_is_subnet_reserved_ip.rst index ece906912..32de7e893 100644 --- a/docs/ibm_is_subnet_reserved_ip.rst +++ b/docs/ibm_is_subnet_reserved_ip.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,24 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - address (False, str, None) - The address for this reserved IP. + subnet (True, str, None) + (Required for new resource) The subnet identifier. auto_delete (False, bool, None) If set to true, this reserved IP will be automatically deleted - name (False, str, None) - The user-defined or system-provided name for this reserved IP. - - target (False, str, None) The unique identifier for target. - subnet (True, str, None) - (Required for new resource) The subnet identifier. + address (False, str, None) + The address for this reserved IP. + + + name (False, str, None) + The user-defined or system-provided name for this reserved IP. id (False, str, None) diff --git a/docs/ibm_is_subnet_reserved_ip_info.rst b/docs/ibm_is_subnet_reserved_ip_info.rst index 4d3017465..8e7dce45a 100644 --- a/docs/ibm_is_subnet_reserved_ip_info.rst +++ b/docs/ibm_is_subnet_reserved_ip_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - subnet (True, str, None) - The subnet identifier. - - reserved_ip (True, str, None) The reserved IP identifier. + subnet (True, str, None) + The subnet identifier. + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_subnet_reserved_ips_info.rst b/docs/ibm_is_subnet_reserved_ips_info.rst index 30166648e..248b989fd 100644 --- a/docs/ibm_is_subnet_reserved_ips_info.rst +++ b/docs/ibm_is_subnet_reserved_ips_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_subnet_routing_table_attachment.rst b/docs/ibm_is_subnet_routing_table_attachment.rst index 0dc3a1c71..a4a9f661f 100644 --- a/docs/ibm_is_subnet_routing_table_attachment.rst +++ b/docs/ibm_is_subnet_routing_table_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_subnets_info.rst b/docs/ibm_is_subnets_info.rst index 5760c76e5..1bc0d7001 100644 --- a/docs/ibm_is_subnets_info.rst +++ b/docs/ibm_is_subnets_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group (False, str, None) - Resource Group ID - - routing_table_name (False, str, None) Name of the routing table @@ -41,6 +37,10 @@ Parameters ID of the routing table + resource_group (False, str, None) + Resource Group ID + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_virtual_endpoint_gateway.rst b/docs/ibm_is_virtual_endpoint_gateway.rst index 66dedde44..d94f81cba 100644 --- a/docs/ibm_is_virtual_endpoint_gateway.rst +++ b/docs/ibm_is_virtual_endpoint_gateway.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,18 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group (False, str, None) - The resource group id - - - ips (False, list, None) - Endpoint gateway IPs - - - target (True, list, None) - (Required for new resource) Endpoint gateway target - - vpc (True, str, None) (Required for new resource) The VPC id @@ -51,12 +39,24 @@ Parameters List of tags for VPE + name (True, str, None) + (Required for new resource) Endpoint gateway name + + + resource_group (False, str, None) + The resource group id + + security_groups (False, list, None) Endpoint gateway securitygroups list - name (True, str, None) - (Required for new resource) Endpoint gateway name + ips (False, list, None) + Endpoint gateway IPs + + + target (True, list, None) + (Required for new resource) Endpoint gateway target id (False, str, None) diff --git a/docs/ibm_is_virtual_endpoint_gateway_info.rst b/docs/ibm_is_virtual_endpoint_gateway_info.rst index f1f1bcb01..92b08ba05 100644 --- a/docs/ibm_is_virtual_endpoint_gateway_info.rst +++ b/docs/ibm_is_virtual_endpoint_gateway_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_virtual_endpoint_gateway_ip.rst b/docs/ibm_is_virtual_endpoint_gateway_ip.rst index 45810cbe0..4617f5f57 100644 --- a/docs/ibm_is_virtual_endpoint_gateway_ip.rst +++ b/docs/ibm_is_virtual_endpoint_gateway_ip.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - gateway (True, str, None) - (Required for new resource) Endpoint gateway ID - - reserved_ip (True, str, None) (Required for new resource) Endpoint gateway IP id + gateway (True, str, None) + (Required for new resource) Endpoint gateway ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_virtual_endpoint_gateway_ips_info.rst b/docs/ibm_is_virtual_endpoint_gateway_ips_info.rst index 681e167cb..343738478 100644 --- a/docs/ibm_is_virtual_endpoint_gateway_ips_info.rst +++ b/docs/ibm_is_virtual_endpoint_gateway_ips_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_virtual_endpoint_gateways_info.rst b/docs/ibm_is_virtual_endpoint_gateways_info.rst index 5ad227d7d..c9f5bd7c1 100644 --- a/docs/ibm_is_virtual_endpoint_gateways_info.rst +++ b/docs/ibm_is_virtual_endpoint_gateways_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_volume.rst b/docs/ibm_is_volume.rst index f263921ae..00d776bea 100644 --- a/docs/ibm_is_volume.rst +++ b/docs/ibm_is_volume.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,20 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - profile (True, str, None) - (Required for new resource) Volume profile name - - - iops (False, int, None) - IOPS value for the Volume - - - name (True, str, None) - (Required for new resource) Volume name + zone (True, str, None) + (Required for new resource) Zone name - encryption_key (False, str, None) - Volume encryption key info + resource_group (False, str, None) + Resource group name delete_all_snapshots (False, bool, None) @@ -55,16 +47,24 @@ Parameters UserTags for the volume instance - zone (True, str, None) - (Required for new resource) Zone name + name (True, str, None) + (Required for new resource) Volume name capacity (False, int, 100) Volume capacity value - resource_group (False, str, None) - Resource group name + encryption_key (False, str, None) + Volume encryption key info + + + iops (False, int, None) + IOPS value for the Volume + + + profile (True, str, None) + (Required for new resource) Volume profile name id (False, str, None) diff --git a/docs/ibm_is_volume_info.rst b/docs/ibm_is_volume_info.rst index 6124e5423..dddcaa058 100644 --- a/docs/ibm_is_volume_info.rst +++ b/docs/ibm_is_volume_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - zone (False, str, None) - Zone name - - name (True, str, None) Volume name + zone (False, str, None) + Zone name + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_volume_profile_info.rst b/docs/ibm_is_volume_profile_info.rst index 41d067dc3..b1c78eb48 100644 --- a/docs/ibm_is_volume_profile_info.rst +++ b/docs/ibm_is_volume_profile_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_volume_profiles_info.rst b/docs/ibm_is_volume_profiles_info.rst index 7fddf3aae..568cdfa77 100644 --- a/docs/ibm_is_volume_profiles_info.rst +++ b/docs/ibm_is_volume_profiles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_volumes_info.rst b/docs/ibm_is_volumes_info.rst index 666b4ac3e..89c7fb3bc 100644 --- a/docs/ibm_is_volumes_info.rst +++ b/docs/ibm_is_volumes_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpc.rst b/docs/ibm_is_vpc.rst index a147351a6..689f40eca 100644 --- a/docs/ibm_is_vpc.rst +++ b/docs/ibm_is_vpc.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,16 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - List of tags - - - default_security_group_name (False, str, None) - Default security group name - - - address_prefix_management (False, str, auto) - Address Prefix management value + classic_access (False, bool, False) + Set to true if classic access needs to enabled to VPC name (True, str, None) @@ -51,8 +43,12 @@ Parameters Default Network ACL name - classic_access (False, bool, False) - Set to true if classic access needs to enabled to VPC + default_security_group_name (False, str, None) + Default security group name + + + address_prefix_management (False, str, auto) + Address Prefix management value default_routing_table_name (False, str, None) @@ -63,6 +59,10 @@ Parameters Resource group info + tags (False, list, None) + List of tags + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_vpc_address_prefix.rst b/docs/ibm_is_vpc_address_prefix.rst index b6def6c4b..a416f7d60 100644 --- a/docs/ibm_is_vpc_address_prefix.rst +++ b/docs/ibm_is_vpc_address_prefix.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpc_address_prefix_info.rst b/docs/ibm_is_vpc_address_prefix_info.rst index 0ae915f00..ad3599aec 100644 --- a/docs/ibm_is_vpc_address_prefix_info.rst +++ b/docs/ibm_is_vpc_address_prefix_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - vpc (False, str, None) - The VPC identifier. - - - address_prefix_name (False, str, None) - The address prefix name. - - vpc_name (False, str, None) The VPC name. @@ -45,6 +37,14 @@ Parameters The address prefix identifier. + vpc (False, str, None) + The VPC identifier. + + + address_prefix_name (False, str, None) + The address prefix name. + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_vpc_address_prefixes_info.rst b/docs/ibm_is_vpc_address_prefixes_info.rst index 9487332d6..5ec11a716 100644 --- a/docs/ibm_is_vpc_address_prefixes_info.rst +++ b/docs/ibm_is_vpc_address_prefixes_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpc_default_routing_table_info.rst b/docs/ibm_is_vpc_default_routing_table_info.rst index 0f9a7f3ab..5a419f2d6 100644 --- a/docs/ibm_is_vpc_default_routing_table_info.rst +++ b/docs/ibm_is_vpc_default_routing_table_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpc_info.rst b/docs/ibm_is_vpc_info.rst index 8e64bb556..c8ad30460 100644 --- a/docs/ibm_is_vpc_info.rst +++ b/docs/ibm_is_vpc_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,11 +29,11 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) + identifier (False, str, None) None - identifier (False, str, None) + name (False, str, None) None diff --git a/docs/ibm_is_vpc_route.rst b/docs/ibm_is_vpc_route.rst index 360fe2b73..774a36903 100644 --- a/docs/ibm_is_vpc_route.rst +++ b/docs/ibm_is_vpc_route.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + name (True, str, None) + (Required for new resource) VPC route name + + + zone (True, str, None) + (Required for new resource) VPC route location + + destination (True, str, None) (Required for new resource) VPC route destination CIDR value @@ -43,14 +51,6 @@ Parameters (Required for new resource) VPC route next hop value - name (True, str, None) - (Required for new resource) VPC route name - - - zone (True, str, None) - (Required for new resource) VPC route location - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_vpc_routing_table_info.rst b/docs/ibm_is_vpc_routing_table_info.rst index 51f0e3194..f5baa16a1 100644 --- a/docs/ibm_is_vpc_routing_table_info.rst +++ b/docs/ibm_is_vpc_routing_table_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters The user-defined name for this routing table. - vpc (True, str, None) - The VPC identifier. - - routing_table (False, str, None) The routing table identifier. + vpc (True, str, None) + The VPC identifier. + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_vpc_routing_table_route.rst b/docs/ibm_is_vpc_routing_table_route.rst index 36f6337d4..7edfec577 100644 --- a/docs/ibm_is_vpc_routing_table_route.rst +++ b/docs/ibm_is_vpc_routing_table_route.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,20 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - routing_table (True, str, None) - (Required for new resource) The routing table identifier. + vpc (True, str, None) + (Required for new resource) The VPC identifier. + + + action (False, str, deliver) + The action to perform with a packet matching the route. next_hop (True, str, None) (Required for new resource) If action is deliver, the next hop that packets will be delivered to. For other action values, its address will be 0.0.0.0. - action (False, str, deliver) - The action to perform with a packet matching the route. + name (False, str, None) + The user-defined name for this route. - vpc (True, str, None) - (Required for new resource) The VPC identifier. + routing_table (True, str, None) + (Required for new resource) The routing table identifier. destination (True, str, None) @@ -55,10 +59,6 @@ Parameters (Required for new resource) The zone to apply the route to. Traffic from subnets in this zone will be subject to this route. - name (False, str, None) - The user-defined name for this route. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_vpc_routing_table_route_info.rst b/docs/ibm_is_vpc_routing_table_route_info.rst index 0fc34e251..437c36d91 100644 --- a/docs/ibm_is_vpc_routing_table_route_info.rst +++ b/docs/ibm_is_vpc_routing_table_route_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,8 +29,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - The user-defined name for this route. + routing_table (True, str, None) + The routing table identifier. route_id (False, str, None) @@ -41,8 +41,8 @@ Parameters The VPC identifier. - routing_table (True, str, None) - The routing table identifier. + name (False, str, None) + The user-defined name for this route. generation (False, int, 2) diff --git a/docs/ibm_is_vpc_routing_table_routes_info.rst b/docs/ibm_is_vpc_routing_table_routes_info.rst index 84286ef74..2a4d30c9f 100644 --- a/docs/ibm_is_vpc_routing_table_routes_info.rst +++ b/docs/ibm_is_vpc_routing_table_routes_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpc_routing_tables_info.rst b/docs/ibm_is_vpc_routing_tables_info.rst index 7409aaf52..d6eca60db 100644 --- a/docs/ibm_is_vpc_routing_tables_info.rst +++ b/docs/ibm_is_vpc_routing_tables_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpcs_info.rst b/docs/ibm_is_vpcs_info.rst index 672cf804c..3d20b0d42 100644 --- a/docs/ibm_is_vpcs_info.rst +++ b/docs/ibm_is_vpcs_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_gateway.rst b/docs/ibm_is_vpn_gateway.rst index d257afab3..ecf1ae25a 100644 --- a/docs/ibm_is_vpn_gateway.rst +++ b/docs/ibm_is_vpn_gateway.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,24 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - mode (False, str, route) - mode in VPN gateway(route/policy) + subnet (True, str, None) + (Required for new resource) VPNGateway subnet info - name (True, str, None) - (Required for new resource) VPN Gateway instance name + resource_group (False, str, None) + The resource group for this VPN gateway - subnet (True, str, None) - (Required for new resource) VPNGateway subnet info + mode (False, str, route) + mode in VPN gateway(route/policy) tags (False, list, None) VPN Gateway tags list - resource_group (False, str, None) - The resource group for this VPN gateway + name (True, str, None) + (Required for new resource) VPN Gateway instance name id (False, str, None) diff --git a/docs/ibm_is_vpn_gateway_connection.rst b/docs/ibm_is_vpn_gateway_connection.rst index dd4bcd51a..d70633bb9 100644 --- a/docs/ibm_is_vpn_gateway_connection.rst +++ b/docs/ibm_is_vpn_gateway_connection.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,24 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - peer_address (True, str, None) - (Required for new resource) VPN gateway connection peer address - - - peer_cidrs (False, list, None) - VPN gateway connection peer CIDRs - - - ike_policy (False, str, None) - VPN gateway connection IKE Policy - - - preshared_key (True, str, None) - (Required for new resource) vpn gateway + name (True, str, None) + (Required for new resource) VPN Gateway connection name - admin_state_up (False, bool, False) - VPN gateway connection admin state + vpn_gateway (True, str, None) + (Required for new resource) VPN Gateway info action (False, str, restart) @@ -59,6 +47,14 @@ Parameters Interval for dead peer detection interval + preshared_key (True, str, None) + (Required for new resource) vpn gateway + + + local_cidrs (False, list, None) + VPN gateway connection local CIDRs + + timeout (False, int, 10) Timeout for dead peer detection @@ -67,16 +63,20 @@ Parameters IP security policy for vpn gateway connection - name (True, str, None) - (Required for new resource) VPN Gateway connection name + ike_policy (False, str, None) + VPN gateway connection IKE Policy - vpn_gateway (True, str, None) - (Required for new resource) VPN Gateway info + admin_state_up (False, bool, False) + VPN gateway connection admin state - local_cidrs (False, list, None) - VPN gateway connection local CIDRs + peer_address (True, str, None) + (Required for new resource) VPN gateway connection peer address + + + peer_cidrs (False, list, None) + VPN gateway connection peer CIDRs id (False, str, None) diff --git a/docs/ibm_is_vpn_gateway_connection_info.rst b/docs/ibm_is_vpn_gateway_connection_info.rst index 2f3c395b3..727c330a2 100644 --- a/docs/ibm_is_vpn_gateway_connection_info.rst +++ b/docs/ibm_is_vpn_gateway_connection_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - vpn_gateway_name (False, str, None) - The VPN gateway name. - - - vpn_gateway_connection (False, str, None) - The VPN gateway connection identifier. - - vpn_gateway (False, str, None) The VPN gateway identifier. @@ -45,6 +37,14 @@ Parameters The VPN gateway connection name. + vpn_gateway_connection (False, str, None) + The VPN gateway connection identifier. + + + vpn_gateway_name (False, str, None) + The VPN gateway name. + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_vpn_gateway_connections_info.rst b/docs/ibm_is_vpn_gateway_connections_info.rst index d81d98b26..94267a98d 100644 --- a/docs/ibm_is_vpn_gateway_connections_info.rst +++ b/docs/ibm_is_vpn_gateway_connections_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_gateway_info.rst b/docs/ibm_is_vpn_gateway_info.rst index bb616d1d8..fb8eccd0e 100644 --- a/docs/ibm_is_vpn_gateway_info.rst +++ b/docs/ibm_is_vpn_gateway_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_gateways_info.rst b/docs/ibm_is_vpn_gateways_info.rst index 4f3544c79..ba2024a25 100644 --- a/docs/ibm_is_vpn_gateways_info.rst +++ b/docs/ibm_is_vpn_gateways_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_server_client.rst b/docs/ibm_is_vpn_server_client.rst index d106c8d3a..d997c5941 100644 --- a/docs/ibm_is_vpn_server_client.rst +++ b/docs/ibm_is_vpn_server_client.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_server_client_configuration_info.rst b/docs/ibm_is_vpn_server_client_configuration_info.rst index 2d8255171..e986d2b85 100644 --- a/docs/ibm_is_vpn_server_client_configuration_info.rst +++ b/docs/ibm_is_vpn_server_client_configuration_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_server_client_info.rst b/docs/ibm_is_vpn_server_client_info.rst index 8889a7d0e..4afd73bee 100644 --- a/docs/ibm_is_vpn_server_client_info.rst +++ b/docs/ibm_is_vpn_server_client_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_server_clients_info.rst b/docs/ibm_is_vpn_server_clients_info.rst index a7bb3d069..0d04d61cb 100644 --- a/docs/ibm_is_vpn_server_clients_info.rst +++ b/docs/ibm_is_vpn_server_clients_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_server_info.rst b/docs/ibm_is_vpn_server_info.rst index 1a0e4b248..6dd142895 100644 --- a/docs/ibm_is_vpn_server_info.rst +++ b/docs/ibm_is_vpn_server_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - identifier (False, str, None) - The unique identifier for this VPN server - - name (False, str, None) The unique user-defined name for this VPN server + identifier (False, str, None) + The unique identifier for this VPN server + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_vpn_server_route_info.rst b/docs/ibm_is_vpn_server_route_info.rst index 890814789..11a5231e1 100644 --- a/docs/ibm_is_vpn_server_route_info.rst +++ b/docs/ibm_is_vpn_server_route_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - The unique user-defined name for this VPN server route - - vpn_server (True, str, None) The VPN server identifier. @@ -41,6 +37,10 @@ Parameters The unique identifier for this VPN server route + name (False, str, None) + The unique user-defined name for this VPN server route + + generation (False, int, 2) The generation of Virtual Private Cloud infrastructure that you want to use. Supported values are 1 for VPC generation 1, and 2 for VPC generation 2 infrastructure. If this value is not specified, 2 is used by default. This can also be provided via the environment variable 'IC_GENERATION'. diff --git a/docs/ibm_is_vpn_server_routes_info.rst b/docs/ibm_is_vpn_server_routes_info.rst index 2383fd188..5a2afb681 100644 --- a/docs/ibm_is_vpn_server_routes_info.rst +++ b/docs/ibm_is_vpn_server_routes_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_servers_info.rst b/docs/ibm_is_vpn_servers_info.rst index a42b71c3b..473976ed5 100644 --- a/docs/ibm_is_vpn_servers_info.rst +++ b/docs/ibm_is_vpn_servers_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_zone_info.rst b/docs/ibm_is_zone_info.rst index 92e26d5e7..4a7e8cbbc 100644 --- a/docs/ibm_is_zone_info.rst +++ b/docs/ibm_is_zone_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_is_zones_info.rst b/docs/ibm_is_zones_info.rst index 6da6df12e..e44bb6b00 100644 --- a/docs/ibm_is_zones_info.rst +++ b/docs/ibm_is_zones_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_kms_key.rst b/docs/ibm_kms_key.rst index 057df460f..cf13095cd 100644 --- a/docs/ibm_kms_key.rst +++ b/docs/ibm_kms_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,12 +35,12 @@ Parameters set to true to force delete the key - instance_id (True, str, None) - (Required for new resource) Key protect or hpcs instance GUID or CRN + expiration_date (False, str, None) + The date the key material expires. The date format follows RFC 3339. You can set an expiration date on any key on its creation. A key moves into the Deactivated state within one hour past its expiration date, if one is assigned. If you create a key without specifying an expiration date, the key does not expire - key_ring_id (False, str, default) - Key Ring for the Key + instance_id (True, str, None) + (Required for new resource) Key protect or hpcs instance GUID or CRN key_name (True, str, None) @@ -51,12 +51,16 @@ Parameters public or private + standard_key (False, bool, False) + Standard key type + + payload (False, str, None) None - standard_key (False, bool, False) - Standard key type + key_ring_id (False, str, default) + Key Ring for the Key encrypted_nonce (False, str, None) @@ -67,10 +71,6 @@ Parameters Only for imported root key - expiration_date (False, str, None) - The date the key material expires. The date format follows RFC 3339. You can set an expiration date on any key on its creation. A key moves into the Deactivated state within one hour past its expiration date, if one is assigned. If you create a key without specifying an expiration date, the key does not expire - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_kms_key_alias.rst b/docs/ibm_kms_key_alias.rst index ce5f4a256..2eb0b3059 100644 --- a/docs/ibm_kms_key_alias.rst +++ b/docs/ibm_kms_key_alias.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + instance_id (True, str, None) + (Required for new resource) Key ID + + alias (True, str, None) (Required for new resource) Key protect or hpcs key alias name @@ -47,10 +51,6 @@ Parameters public or private - instance_id (True, str, None) - (Required for new resource) Key ID - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_kms_key_info.rst b/docs/ibm_kms_key_info.rst index fdf17f2ca..f78c15065 100644 --- a/docs/ibm_kms_key_info.rst +++ b/docs/ibm_kms_key_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,18 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_id (True, str, None) - Key protect or hpcs instance GUID - - - limit (False, int, None) - Limit till the keys to be fetched - - - key_id (False, str, None) - None - - key_name (False, str, None) The name of the key to be fetched @@ -53,6 +41,18 @@ Parameters public or private + instance_id (True, str, None) + Key protect or hpcs instance GUID + + + limit (False, int, None) + Limit till the keys to be fetched + + + key_id (False, str, None) + None + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_kms_key_policies.rst b/docs/ibm_kms_key_policies.rst index 49eb62dba..94c20d8d9 100644 --- a/docs/ibm_kms_key_policies.rst +++ b/docs/ibm_kms_key_policies.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,18 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_id (True, str, None) - (Required for new resource) Key protect or hpcs instance GUID - - - key_id (False, str, None) - Key ID - - - dual_auth_delete (False, list, None) - Data associated with the dual authorization delete policy. - - alias (False, str, None) None @@ -51,10 +39,22 @@ Parameters public or private + instance_id (True, str, None) + (Required for new resource) Key protect or hpcs instance GUID + + + key_id (False, str, None) + Key ID + + rotation (False, list, None) Specifies the key rotation time interval in months, with a minimum of 1, and a maximum of 12 + dual_auth_delete (False, list, None) + Data associated with the dual authorization delete policy. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_kms_key_policies_info.rst b/docs/ibm_kms_key_policies_info.rst index 01c06978c..e02c52c2b 100644 --- a/docs/ibm_kms_key_policies_info.rst +++ b/docs/ibm_kms_key_policies_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,6 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + alias (False, str, None) + Alias of the Key + + + policies (False, list, None) + Creates or updates one or more policies for the specified key + + instance_id (True, str, None) Key protect or hpcs instance GUID @@ -41,14 +49,6 @@ Parameters Key ID of the Key - alias (False, str, None) - Alias of the Key - - - policies (False, list, None) - Creates or updates one or more policies for the specified key - - iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_kms_key_rings.rst b/docs/ibm_kms_key_rings.rst index a0e498ce7..2b35328a1 100644 --- a/docs/ibm_kms_key_rings.rst +++ b/docs/ibm_kms_key_rings.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_kms_key_rings_info.rst b/docs/ibm_kms_key_rings_info.rst index b30140647..63287017c 100644 --- a/docs/ibm_kms_key_rings_info.rst +++ b/docs/ibm_kms_key_rings_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_id (True, str, None) - Key protect or hpcs instance GUID - - endpoint_type (False, str, public) public or private + instance_id (True, str, None) + Key protect or hpcs instance GUID + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_kms_keys_info.rst b/docs/ibm_kms_keys_info.rst index 037715201..59c1c121c 100644 --- a/docs/ibm_kms_keys_info.rst +++ b/docs/ibm_kms_keys_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,6 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + endpoint_type (False, str, public) + public or private + + + instance_id (True, str, None) + Key protect or hpcs instance GUID + + key_name (False, str, None) The name of the key to be fetched @@ -45,14 +53,6 @@ Parameters None - endpoint_type (False, str, public) - public or private - - - instance_id (True, str, None) - Key protect or hpcs instance GUID - - iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_kp_key.rst b/docs/ibm_kp_key.rst index d4f1496ce..cd44736a7 100644 --- a/docs/ibm_kp_key.rst +++ b/docs/ibm_kp_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,34 +31,34 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - standard_key (False, bool, False) - Standard key type + payload (False, str, None) + None + + + encrypted_nonce (False, str, None) + Only for imported root key iv_value (False, str, None) Only for imported root key - payload (False, str, None) - None + key_protect_id (True, str, None) + (Required for new resource) Key protect instance ID key_name (True, str, None) (Required for new resource) Key name - key_protect_id (True, str, None) - (Required for new resource) Key protect instance ID + standard_key (False, bool, False) + Standard key type force_delete (False, bool, False) set to true to force delete the key - encrypted_nonce (False, str, None) - Only for imported root key - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_kp_key_info.rst b/docs/ibm_kp_key_info.rst index cc429fce7..44f408304 100644 --- a/docs/ibm_kp_key_info.rst +++ b/docs/ibm_kp_key_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_lb.rst b/docs/ibm_lb.rst index 98868d5ae..26b576bbf 100644 --- a/docs/ibm_lb.rst +++ b/docs/ibm_lb.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - connections (True, int, None) - (Required for new resource) Connections value - - datacenter (True, str, None) (Required for new resource) Datacenter name info @@ -43,14 +39,6 @@ Parameters Security certificate ID - tags (False, list, None) - Tags associated with resource - - - ha_enabled (False, bool, False) - true if High availability is enabled - - dedicated (False, bool, False) Boolena value true if Load balncer is dedicated type @@ -59,6 +47,18 @@ Parameters boolean value true if SSL offload is enabled + connections (True, int, None) + (Required for new resource) Connections value + + + ha_enabled (False, bool, False) + true if High availability is enabled + + + tags (False, list, None) + Tags associated with resource + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_lb_service.rst b/docs/ibm_lb_service.rst index cc4df9c0a..cac5be420 100644 --- a/docs/ibm_lb_service.rst +++ b/docs/ibm_lb_service.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,18 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - enabled (True, bool, None) - (Required for new resource) Boolean value true, if enabled else false - - - health_check_type (True, str, None) - (Required for new resource) health check type - - - weight (True, int, None) - (Required for new resource) Weight value - - tags (False, list, None) Tags for the resource @@ -59,6 +47,18 @@ Parameters (Required for new resource) Port number + enabled (True, bool, None) + (Required for new resource) Boolean value true, if enabled else false + + + health_check_type (True, str, None) + (Required for new resource) health check type + + + weight (True, int, None) + (Required for new resource) Weight value + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_lb_service_group.rst b/docs/ibm_lb_service_group.rst index 0fdfdab8a..2d3dffa5c 100644 --- a/docs/ibm_lb_service_group.rst +++ b/docs/ibm_lb_service_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - load_balancer_id (True, int, None) - (Required for new resource) Loadbalancer ID - - - allocation (True, int, None) - (Required for new resource) Allocation type - - routing_type (True, str, None) (Required for new resource) Routing type @@ -47,6 +39,10 @@ Parameters List of tags + allocation (True, int, None) + (Required for new resource) Allocation type + + port (True, int, None) (Required for new resource) Port number @@ -59,6 +55,10 @@ Parameters Timeout value + load_balancer_id (True, int, None) + (Required for new resource) Loadbalancer ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_lb_vpx.rst b/docs/ibm_lb_vpx.rst index 03cc37a0b..96f3b7a71 100644 --- a/docs/ibm_lb_vpx.rst +++ b/docs/ibm_lb_vpx.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,40 +35,40 @@ Parameters (Required for new resource) version info - ip_count (True, int, None) - (Required for new resource) IP address count + public_vlan_id (False, int, None) + Piblic VLAN id - datacenter (True, str, None) - (Required for new resource) Datacenter name + private_subnet (False, str, None) + Private subnet - speed (True, int, None) - (Required for new resource) Speed value + tags (False, list, None) + List of the tags - public_vlan_id (False, int, None) - Piblic VLAN id + speed (True, int, None) + (Required for new resource) Speed value public_subnet (False, str, None) Public subnet - plan (True, str, None) - (Required for new resource) Plan info - - private_vlan_id (False, int, None) Private VLAN id - private_subnet (False, str, None) - Private subnet + plan (True, str, None) + (Required for new resource) Plan info - tags (False, list, None) - List of the tags + datacenter (True, str, None) + (Required for new resource) Datacenter name + + + ip_count (True, int, None) + (Required for new resource) IP address count id (False, str, None) diff --git a/docs/ibm_lb_vpx_ha.rst b/docs/ibm_lb_vpx_ha.rst index 71db63430..09ce8fedc 100644 --- a/docs/ibm_lb_vpx_ha.rst +++ b/docs/ibm_lb_vpx_ha.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - primary_id (True, int, None) - (Required for new resource) primary ID - - - secondary_id (True, int, None) - (Required for new resource) Secondary ID - - stay_secondary (False, bool, None) Boolean value for stay secondary @@ -47,6 +39,14 @@ Parameters Tags set for the resource + primary_id (True, int, None) + (Required for new resource) primary ID + + + secondary_id (True, int, None) + (Required for new resource) Secondary ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_lb_vpx_service.rst b/docs/ibm_lb_vpx_service.rst index a69a34c6c..2fccba488 100644 --- a/docs/ibm_lb_vpx_service.rst +++ b/docs/ibm_lb_vpx_service.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,40 +31,40 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - vip_id (True, str, None) - (Required for new resource) VIP id - - - weight (True, int, None) - (Required for new resource) Weight value + destination_port (True, int, None) + (Required for new resource) Destination Port number connection_limit (True, int, None) (Required for new resource) Number of connections limit + health_check (True, str, None) + (Required for new resource) Health check info + + usip (False, str, False) usip info - tags (False, list, None) - list of tags associated with the resource + destination_ip_address (True, str, None) + (Required for new resource) Destination IP Address name (True, str, None) (Required for new resource) name - destination_ip_address (True, str, None) - (Required for new resource) Destination IP Address + weight (True, int, None) + (Required for new resource) Weight value - destination_port (True, int, None) - (Required for new resource) Destination Port number + tags (False, list, None) + list of tags associated with the resource - health_check (True, str, None) - (Required for new resource) Health check info + vip_id (True, str, None) + (Required for new resource) VIP id id (False, str, None) diff --git a/docs/ibm_lb_vpx_vip.rst b/docs/ibm_lb_vpx_vip.rst index 3fd4339aa..479797d6c 100644 --- a/docs/ibm_lb_vpx_vip.rst +++ b/docs/ibm_lb_vpx_vip.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,16 +35,8 @@ Parameters (Required for new resource) Load balancing method - name (True, str, None) - (Required for new resource) Name - - - source_port (True, int, None) - (Required for new resource) Source Port number - - - security_certificate_id (False, int, None) - security certificate ID + persistence (False, str, None) + Persistance value virtual_ip_address (True, str, None) @@ -59,14 +51,22 @@ Parameters (Required for new resource) NAD controller ID - persistence (False, str, None) - Persistance value + name (True, str, None) + (Required for new resource) Name + + + source_port (True, int, None) + (Required for new resource) Source Port number type (True, str, None) (Required for new resource) Type + security_certificate_id (False, int, None) + security certificate ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_lbaas.rst b/docs/ibm_lbaas.rst index 3307c7059..4b3344940 100644 --- a/docs/ibm_lbaas.rst +++ b/docs/ibm_lbaas.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -39,10 +39,18 @@ Parameters in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet. + protocols (False, list, None) + Protocols to be assigned to this load balancer. + + type (False, str, PUBLIC) Specifies if a load balancer is public or private + description (False, str, None) + Description of a load balancer. + + ssl_ciphers (False, list, None) None @@ -51,14 +59,6 @@ Parameters (Required for new resource) The load balancer's name. - description (False, str, None) - Description of a load balancer. - - - protocols (False, list, None) - Protocols to be assigned to this load balancer. - - wait_time_minutes (False, int, 90) None diff --git a/docs/ibm_lbaas_health_monitor.rst b/docs/ibm_lbaas_health_monitor.rst index 4d0ebafc1..5ba78a743 100644 --- a/docs/ibm_lbaas_health_monitor.rst +++ b/docs/ibm_lbaas_health_monitor.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + max_retries (False, int, 2) + Maximum retry counts + + timeout (False, int, 2) Timeout in seconds @@ -59,10 +63,6 @@ Parameters Interval value - max_retries (False, int, 2) - Maximum retry counts - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_lbaas_info.rst b/docs/ibm_lbaas_info.rst index 3839ef707..550f69c46 100644 --- a/docs/ibm_lbaas_info.rst +++ b/docs/ibm_lbaas_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_lbaas_server_instance_attachment.rst b/docs/ibm_lbaas_server_instance_attachment.rst index a7f4b397b..2f4167127 100644 --- a/docs/ibm_lbaas_server_instance_attachment.rst +++ b/docs/ibm_lbaas_server_instance_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_multi_vlan_firewall.rst b/docs/ibm_multi_vlan_firewall.rst index eb33e0020..7153e4b43 100644 --- a/docs/ibm_multi_vlan_firewall.rst +++ b/docs/ibm_multi_vlan_firewall.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,26 +31,26 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - datacenter (True, str, None) - (Required for new resource) Datacenter name + pod (True, str, None) + (Required for new resource) POD name addon_configuration (False, list, None) High Availability - [Web Filtering Add-on, NGFW Add-on, AV Add-on] or [Web Filtering Add-on, NGFW Add-on, AV Add-on] - firewall_type (True, str, None) - (Required for new resource) Firewall type - - - pod (True, str, None) - (Required for new resource) POD name + datacenter (True, str, None) + (Required for new resource) Datacenter name name (True, str, None) (Required for new resource) name + firewall_type (True, str, None) + (Required for new resource) Firewall type + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_network_gateway.rst b/docs/ibm_network_gateway.rst index bbcae9a87..58629018a 100644 --- a/docs/ibm_network_gateway.rst +++ b/docs/ibm_network_gateway.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,22 +31,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - members (True, list, None) - (Required for new resource) The hardware members of this network Gateway - - ssh_key_ids (False, list, None) None - post_install_script_uri (False, str, None) - None - - name (True, str, None) (Required for new resource) The name of the gateway + members (True, list, None) + (Required for new resource) The hardware members of this network Gateway + + + post_install_script_uri (False, str, None) + None + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_network_gateway_vlan_association.rst b/docs/ibm_network_gateway_vlan_association.rst index 5646f2c93..9eeb11207 100644 --- a/docs/ibm_network_gateway_vlan_association.rst +++ b/docs/ibm_network_gateway_vlan_association.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + gateway_id (True, int, None) + (Required for new resource) Gateway instance ID + + network_vlan_id (True, int, None) (Required for new resource) The Identifier of the VLAN to be associated @@ -39,10 +43,6 @@ Parameters Indicates if the VLAN should be in bypass or routed modes - gateway_id (True, int, None) - (Required for new resource) Gateway instance ID - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_network_interface_sg_attachment.rst b/docs/ibm_network_interface_sg_attachment.rst index d894cd166..61c68650a 100644 --- a/docs/ibm_network_interface_sg_attachment.rst +++ b/docs/ibm_network_interface_sg_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - security_group_id (True, int, None) - (Required for new resource) Security group ID - - network_interface_id (True, int, None) (Required for new resource) Network interface ID @@ -43,6 +39,10 @@ Parameters Boolean value set to true, if soft reboot needs to be done. + security_group_id (True, int, None) + (Required for new resource) Security group ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_network_public_ip.rst b/docs/ibm_network_public_ip.rst index ccf7c5184..060591d50 100644 --- a/docs/ibm_network_public_ip.rst +++ b/docs/ibm_network_public_ip.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - routes_to (True, str, None) - (Required for new resource) Route info - - tags (False, list, None) List of tags @@ -43,6 +39,10 @@ Parameters Additional notes + routes_to (True, str, None) + (Required for new resource) Route info + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_network_vlan.rst b/docs/ibm_network_vlan.rst index ad12f5526..7e332b198 100644 --- a/docs/ibm_network_vlan.rst +++ b/docs/ibm_network_vlan.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_network_vlan_info.rst b/docs/ibm_network_vlan_info.rst index 4b9a02d37..b44e1d37a 100644 --- a/docs/ibm_network_vlan_info.rst +++ b/docs/ibm_network_vlan_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,15 +29,15 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) + number (False, int, None) None - number (False, int, None) + router_hostname (False, str, None) None - router_hostname (False, str, None) + name (False, str, None) None diff --git a/docs/ibm_network_vlan_spanning.rst b/docs/ibm_network_vlan_spanning.rst index 21ee60545..d0db16a2f 100644 --- a/docs/ibm_network_vlan_spanning.rst +++ b/docs/ibm_network_vlan_spanning.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_ob_logging.rst b/docs/ibm_ob_logging.rst index 88ca45301..6ae6fcc40 100644 --- a/docs/ibm_ob_logging.rst +++ b/docs/ibm_ob_logging.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_ob_monitoring.rst b/docs/ibm_ob_monitoring.rst index 91e37d36e..be4d9b8a5 100644 --- a/docs/ibm_ob_monitoring.rst +++ b/docs/ibm_ob_monitoring.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_object_storage_account.rst b/docs/ibm_object_storage_account.rst index b5ac6c078..9fa51ddf8 100644 --- a/docs/ibm_object_storage_account.rst +++ b/docs/ibm_object_storage_account.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_org.rst b/docs/ibm_org.rst index f8af5ca71..a7939985e 100644 --- a/docs/ibm_org.rst +++ b/docs/ibm_org.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + managers (False, list, None) + The IBMID of the users who will have manager role in this org, ex - user@example.com + + + auditors (False, list, None) + The IBMID of the users who will have auditor role in this org, ex - user@example.com + + users (False, list, None) The IBMID of the users who will have user role in this org, ex - user@example.com @@ -51,14 +59,6 @@ Parameters The IBMID of the users who will have billing manager role in this org, ex - user@example.com - managers (False, list, None) - The IBMID of the users who will have manager role in this org, ex - user@example.com - - - auditors (False, list, None) - The IBMID of the users who will have auditor role in this org, ex - user@example.com - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_org_info.rst b/docs/ibm_org_info.rst index 0db6c1f82..34062d571 100644 --- a/docs/ibm_org_info.rst +++ b/docs/ibm_org_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_org_quota_info.rst b/docs/ibm_org_quota_info.rst index 083309a93..de2db1fb6 100644 --- a/docs/ibm_org_quota_info.rst +++ b/docs/ibm_org_quota_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_catalog_images_info.rst b/docs/ibm_pi_catalog_images_info.rst index b83a2433a..1995f7307 100644 --- a/docs/ibm_pi_catalog_images_info.rst +++ b/docs/ibm_pi_catalog_images_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_cloud_connection.rst b/docs/ibm_pi_cloud_connection.rst index 093b949f2..0a7311d70 100644 --- a/docs/ibm_pi_cloud_connection.rst +++ b/docs/ibm_pi_cloud_connection.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,52 +31,52 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_cloud_connection_global_routing (False, bool, False) - Enable global routing for this cloud connection + pi_cloud_connection_speed (True, int, None) + (Required for new resource) Speed of the cloud connection (speed in megabits per second) - pi_cloud_connection_gre_cidr (False, str, None) - GRE network in CIDR notation + pi_cloud_connection_networks (False, list, None) + Set of Networks to attach to this cloud connection - pi_cloud_connection_classic_enabled (False, bool, False) - Enable classic endpoint destination + pi_cloud_connection_gre_destination_address (False, str, None) + GRE destination IP address - pi_cloud_connection_transit_enabled (False, bool, False) - Enable transit gateway for this cloud connection + pi_cloud_instance_id (True, str, None) + (Required for new resource) PI cloud instance ID - pi_cloud_connection_networks (False, list, None) - Set of Networks to attach to this cloud connection + pi_cloud_connection_name (True, str, None) + (Required for new resource) Name of the cloud connection - pi_cloud_connection_gre_destination_address (False, str, None) - GRE destination IP address + pi_cloud_connection_vpc_enabled (False, bool, False) + Enable VPC for this cloud connection pi_cloud_connection_vpc_crns (False, list, None) Set of VPCs to attach to this cloud connection - pi_cloud_instance_id (True, str, None) - (Required for new resource) PI cloud instance ID + pi_cloud_connection_metered (False, bool, False) + Enable metered for this cloud connection - pi_cloud_connection_speed (True, int, None) - (Required for new resource) Speed of the cloud connection (speed in megabits per second) + pi_cloud_connection_gre_cidr (False, str, None) + GRE network in CIDR notation - pi_cloud_connection_metered (False, bool, False) - Enable metered for this cloud connection + pi_cloud_connection_global_routing (False, bool, False) + Enable global routing for this cloud connection - pi_cloud_connection_name (True, str, None) - (Required for new resource) Name of the cloud connection + pi_cloud_connection_classic_enabled (False, bool, False) + Enable classic endpoint destination - pi_cloud_connection_vpc_enabled (False, bool, False) - Enable VPC for this cloud connection + pi_cloud_connection_transit_enabled (False, bool, False) + Enable transit gateway for this cloud connection id (False, str, None) diff --git a/docs/ibm_pi_cloud_connection_info.rst b/docs/ibm_pi_cloud_connection_info.rst index aa85b8fe0..2b2eead08 100644 --- a/docs/ibm_pi_cloud_connection_info.rst +++ b/docs/ibm_pi_cloud_connection_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_cloud_connection_name (True, str, None) - Cloud Connection Name to be used - - pi_cloud_instance_id (True, str, None) None + pi_cloud_connection_name (True, str, None) + Cloud Connection Name to be used + + zone (False, str, None) Denotes which IBM Cloud zone to connect to in multizone environment. This can also be provided via the environment variable 'IC_ZONE'. diff --git a/docs/ibm_pi_cloud_connection_network_attach.rst b/docs/ibm_pi_cloud_connection_network_attach.rst index 5ff1d1745..6ee251121 100644 --- a/docs/ibm_pi_cloud_connection_network_attach.rst +++ b/docs/ibm_pi_cloud_connection_network_attach.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_cloud_connections_info.rst b/docs/ibm_pi_cloud_connections_info.rst index 29848412c..dc311a5c3 100644 --- a/docs/ibm_pi_cloud_connections_info.rst +++ b/docs/ibm_pi_cloud_connections_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_cloud_instance_info.rst b/docs/ibm_pi_cloud_instance_info.rst index de88d421e..50b04d11a 100644 --- a/docs/ibm_pi_cloud_instance_info.rst +++ b/docs/ibm_pi_cloud_instance_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_console_language.rst b/docs/ibm_pi_console_language.rst index a7f809894..7eef58241 100644 --- a/docs/ibm_pi_console_language.rst +++ b/docs/ibm_pi_console_language.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_cloud_instance_id (True, str, None) - (Required for new resource) PI cloud instance ID - - pi_instance_name (True, str, None) (Required for new resource) The unique identifier or name of the instance @@ -43,6 +39,10 @@ Parameters (Required for new resource) Language code + pi_cloud_instance_id (True, str, None) + (Required for new resource) PI cloud instance ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_console_languages_info.rst b/docs/ibm_pi_console_languages_info.rst index ea1fee1ba..b2a294862 100644 --- a/docs/ibm_pi_console_languages_info.rst +++ b/docs/ibm_pi_console_languages_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_dhcp.rst b/docs/ibm_pi_dhcp.rst index 5120d312f..d23f924ed 100644 --- a/docs/ibm_pi_dhcp.rst +++ b/docs/ibm_pi_dhcp.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_cloud_connection_id (False, str, None) - Optional cloud connection uuid to connect with DHCP private network - - - pi_dns_server (False, str, None) - Optional DNS Server for DHCP service - - pi_dhcp_name (False, str, None) Optional name of DHCP Service (will be prefixed by DHCP identifier) @@ -47,14 +39,22 @@ Parameters Indicates if SNAT will be enabled for the DHCP service - pi_cloud_instance_id (True, str, None) - (Required for new resource) PI cloud instance ID + pi_dns_server (False, str, None) + Optional DNS Server for DHCP service pi_cidr (False, str, None) Optional cidr for DHCP private network + pi_cloud_connection_id (False, str, None) + Optional cloud connection uuid to connect with DHCP private network + + + pi_cloud_instance_id (True, str, None) + (Required for new resource) PI cloud instance ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_dhcp_info.rst b/docs/ibm_pi_dhcp_info.rst index 0b1ae87b5..aa184fa4b 100644 --- a/docs/ibm_pi_dhcp_info.rst +++ b/docs/ibm_pi_dhcp_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_dhcps_info.rst b/docs/ibm_pi_dhcps_info.rst index 1a4bb01eb..9c87913e1 100644 --- a/docs/ibm_pi_dhcps_info.rst +++ b/docs/ibm_pi_dhcps_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_ike_policy.rst b/docs/ibm_pi_ike_policy.rst index a4eda698d..c08a749d2 100644 --- a/docs/ibm_pi_ike_policy.rst +++ b/docs/ibm_pi_ike_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_cloud_instance_id (True, str, None) - (Required for new resource) PI cloud instance ID - - pi_policy_key_lifetime (True, int, None) (Required for new resource) Policy key lifetime + pi_policy_preshared_key (True, str, None) + (Required for new resource) Preshared key used in this IKE Policy (length of preshared key must be even) + + + pi_policy_authentication (False, str, none) + Authentication for the IKE Policy + + + pi_cloud_instance_id (True, str, None) + (Required for new resource) PI cloud instance ID + + pi_policy_name (True, str, None) (Required for new resource) Name of the IKE Policy @@ -55,14 +63,6 @@ Parameters (Required for new resource) Version of the IKE Policy - pi_policy_preshared_key (True, str, None) - (Required for new resource) Preshared key used in this IKE Policy (length of preshared key must be even) - - - pi_policy_authentication (False, str, none) - Authentication for the IKE Policy - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_image.rst b/docs/ibm_pi_image.rst index 1340b1ae8..5934c51fe 100644 --- a/docs/ibm_pi_image.rst +++ b/docs/ibm_pi_image.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,56 +31,36 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_affinity_volume (False, str, None) - Volume (ID or Name) to base storage affinity policy against; required if requesting affinity and pi_affinity_instance is not provided - - pi_affinity_instance (False, str, None) PVM Instance (ID or Name) to base storage affinity policy against; required if requesting storage affinity and pi_affinity_volume is not provided - pi_image_id (False, str, None) - Instance image id - - - pi_image_bucket_name (False, str, None) - Cloud Object Storage bucket name; bucket-name[/optional/folder] - - pi_image_bucket_region (False, str, None) Cloud Object Storage region - pi_image_access_key (False, str, None) - Cloud Object Storage access key; required for buckets with private access + pi_image_bucket_file_name (False, str, None) + Cloud Object Storage image filename pi_image_storage_type (False, str, None) Type of storage - pi_image_storage_pool (False, str, None) - Storage pool where the image will be loaded, if provided then pi_image_storage_type and pi_affinity_policy will be ignored - - - pi_image_secret_key (False, str, None) - Cloud Object Storage secret key; required for buckets with private access - - - pi_image_bucket_file_name (False, str, None) - Cloud Object Storage image filename - - pi_affinity_policy (False, str, None) Affinity policy for image; ignored if pi_image_storage_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified - pi_anti_affinity_volumes (False, list, None) - List of volumes to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided + pi_image_bucket_name (False, str, None) + Cloud Object Storage bucket name; bucket-name[/optional/folder] - pi_anti_affinity_instances (False, list, None) - List of pvmInstances to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided + pi_image_storage_pool (False, str, None) + Storage pool where the image will be loaded, if provided then pi_image_storage_type and pi_affinity_policy will be ignored + + + pi_affinity_volume (False, str, None) + Volume (ID or Name) to base storage affinity policy against; required if requesting affinity and pi_affinity_instance is not provided pi_cloud_instance_id (True, str, None) @@ -91,10 +71,30 @@ Parameters (Required for new resource) Image name + pi_image_id (False, str, None) + Instance image id + + + pi_image_secret_key (False, str, None) + Cloud Object Storage secret key; required for buckets with private access + + pi_image_bucket_access (False, str, public) Indicates if the bucket has public or private access + pi_image_access_key (False, str, None) + Cloud Object Storage access key; required for buckets with private access + + + pi_anti_affinity_volumes (False, list, None) + List of volumes to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided + + + pi_anti_affinity_instances (False, list, None) + List of pvmInstances to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_image_export.rst b/docs/ibm_pi_image_export.rst index 88167e54d..f44d30914 100644 --- a/docs/ibm_pi_image_export.rst +++ b/docs/ibm_pi_image_export.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + pi_cloud_instance_id (True, str, None) + (Required for new resource) PI cloud instance ID + + pi_image_id (True, str, None) (Required for new resource) Instance image id @@ -51,10 +55,6 @@ Parameters (Required for new resource) Cloud Object Storage region - pi_cloud_instance_id (True, str, None) - (Required for new resource) PI cloud instance ID - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_image_info.rst b/docs/ibm_pi_image_info.rst index bc4db0382..42b5f16a9 100644 --- a/docs/ibm_pi_image_info.rst +++ b/docs/ibm_pi_image_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_images_info.rst b/docs/ibm_pi_images_info.rst index f372195e5..cd3b39151 100644 --- a/docs/ibm_pi_images_info.rst +++ b/docs/ibm_pi_images_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_instance.rst b/docs/ibm_pi_instance.rst index 0a33160da..1746f550a 100644 --- a/docs/ibm_pi_instance.rst +++ b/docs/ibm_pi_instance.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,136 +31,136 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_processors (False, float, None) - Processors count - - - pi_proc_type (False, str, None) - Instance processor type + pi_image_id (True, str, None) + (Required for new resource) PI instance image id - pi_replicants (False, int, 1) - PI Instance replicas count + pi_pin_policy (False, str, none) + Pin Policy of the instance - pi_cloud_instance_id (True, str, None) - (Required for new resource) This is the Power Instance id that is assigned to the account + pi_deployment_type (False, str, None) + Custom Deployment Type Information - pi_storage_pool (False, str, None) - Storage Pool for server deployment; if provided then pi_affinity_policy and pi_storage_type will be ignored + pi_migratable (False, bool, None) + set to true to enable migration of the PI instance - pi_placement_group_id (False, str, None) - Placement group ID + pi_user_data (False, str, None) + Base64 encoded data to be passed in for invoking a cloud init script - pi_sys_type (False, str, None) - PI Instance system type + pi_key_pair_name (False, str, None) + SSH key name - pi_replication_policy (False, str, none) - Replication policy for the PI Instance + pi_memory (False, float, None) + Memory size - pi_pin_policy (False, str, none) - Pin Policy of the instance + pi_proc_type (False, str, None) + Instance processor type - pi_image_id (True, str, None) - (Required for new resource) PI instance image id + pi_volume_ids (False, list, None) + List of PI volumes - pi_memory (False, float, None) - Memory size + pi_anti_affinity_volumes (False, list, None) + List of volumes to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided - pi_sap_profile_id (False, str, None) - SAP Profile ID for the amount of cores and memory + pi_anti_affinity_instances (False, list, None) + List of pvmInstances to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided - pi_storage_type (False, str, None) - Storage type for server deployment + pi_storage_pool_affinity (False, bool, True) + Indicates if all volumes attached to the server must reside in the same storage pool - pi_affinity_volume (False, str, None) - Volume (ID or Name) to base storage affinity policy against; required if requesting affinity and pi_affinity_instance is not provided + pi_license_repository_capacity (False, int, None) + The VTL license repository capacity TB value - pi_deployment_type (False, str, None) - Custom Deployment Type Information + pi_placement_group_id (False, str, None) + Placement group ID - pi_replication_scheme (False, str, suffix) - Replication scheme + pi_replicants (False, int, 1) + PI Instance replicas count pi_virtual_cores_assigned (False, int, None) Virtual Cores Assigned to the PVMInstance - pi_affinity_policy (False, str, None) - Affinity policy for pvm instance being created; ignored if pi_storage_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified + pi_cloud_instance_id (True, str, None) + (Required for new resource) This is the Power Instance id that is assigned to the account - pi_affinity_instance (False, str, None) - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting storage affinity and pi_affinity_volume is not provided + pi_sap_profile_id (False, str, None) + SAP Profile ID for the amount of cores and memory - pi_network (True, list, None) - (Required for new resource) List of one or more networks to attach to the instance + pi_sap_deployment_type (False, str, None) + Custom SAP Deployment Type Information - pi_storage_connection (False, str, None) - Storage Connectivity Group for server deployment + pi_health_status (False, str, OK) + Allow the user to set the status of the lpar so that they can connect to it faster + + + pi_processors (False, float, None) + Processors count pi_instance_name (True, str, None) (Required for new resource) PI Instance name - pi_health_status (False, str, OK) - Allow the user to set the status of the lpar so that they can connect to it faster + pi_storage_type (False, str, None) + Storage type for server deployment - pi_license_repository_capacity (False, int, None) - The VTL license repository capacity TB value + pi_affinity_volume (False, str, None) + Volume (ID or Name) to base storage affinity policy against; required if requesting affinity and pi_affinity_instance is not provided - pi_anti_affinity_instances (False, list, None) - List of pvmInstances to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided + pi_network (True, list, None) + (Required for new resource) List of one or more networks to attach to the instance - pi_key_pair_name (False, str, None) - SSH key name + pi_shared_processor_pool (False, str, None) + Shared Processor Pool the instance is deployed on - pi_migratable (False, bool, None) - set to true to enable migration of the PI instance + pi_replication_scheme (False, str, suffix) + Replication scheme - pi_volume_ids (False, list, None) - List of PI volumes + pi_storage_pool (False, str, None) + Storage Pool for server deployment; if provided then pi_affinity_policy and pi_storage_type will be ignored - pi_anti_affinity_volumes (False, list, None) - List of volumes to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided + pi_affinity_instance (False, str, None) + PVM Instance (ID or Name) to base storage affinity policy against; required if requesting storage affinity and pi_affinity_volume is not provided - pi_storage_pool_affinity (False, bool, True) - Indicates if all volumes attached to the server must reside in the same storage pool + pi_storage_connection (False, str, None) + Storage Connectivity Group for server deployment - pi_sap_deployment_type (False, str, None) - Custom SAP Deployment Type Information + pi_replication_policy (False, str, none) + Replication policy for the PI Instance - pi_user_data (False, str, None) - Base64 encoded data to be passed in for invoking a cloud init script + pi_affinity_policy (False, str, None) + Affinity policy for pvm instance being created; ignored if pi_storage_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified - pi_shared_processor_pool (False, str, None) - Shared Processor Pool the instance is deployed on + pi_sys_type (False, str, None) + PI Instance system type id (False, str, None) diff --git a/docs/ibm_pi_instance_action.rst b/docs/ibm_pi_instance_action.rst index f9e31e92f..e1e5de4b5 100644 --- a/docs/ibm_pi_instance_action.rst +++ b/docs/ibm_pi_instance_action.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_instance_info.rst b/docs/ibm_pi_instance_info.rst index 700c2ec23..5490adc2c 100644 --- a/docs/ibm_pi_instance_info.rst +++ b/docs/ibm_pi_instance_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_cloud_instance_id (True, str, None) - None - - pi_instance_name (True, str, None) Server Name to be used for pvminstances + pi_cloud_instance_id (True, str, None) + None + + zone (False, str, None) Denotes which IBM Cloud zone to connect to in multizone environment. This can also be provided via the environment variable 'IC_ZONE'. diff --git a/docs/ibm_pi_instance_ip_info.rst b/docs/ibm_pi_instance_ip_info.rst index 51c3940ea..f6f72a584 100644 --- a/docs/ibm_pi_instance_ip_info.rst +++ b/docs/ibm_pi_instance_ip_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,7 +29,7 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_network_name (True, str, None) + pi_cloud_instance_id (True, str, None) None @@ -37,7 +37,7 @@ Parameters Server Name to be used for pvminstances - pi_cloud_instance_id (True, str, None) + pi_network_name (True, str, None) None diff --git a/docs/ibm_pi_instance_snapshots_info.rst b/docs/ibm_pi_instance_snapshots_info.rst index 7b0aacc7c..a038596ce 100644 --- a/docs/ibm_pi_instance_snapshots_info.rst +++ b/docs/ibm_pi_instance_snapshots_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_instance_volumes_info.rst b/docs/ibm_pi_instance_volumes_info.rst index 9f57c3caa..3581ff4d7 100644 --- a/docs/ibm_pi_instance_volumes_info.rst +++ b/docs/ibm_pi_instance_volumes_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_instances_info.rst b/docs/ibm_pi_instances_info.rst index 4814615a1..bd9a82557 100644 --- a/docs/ibm_pi_instances_info.rst +++ b/docs/ibm_pi_instances_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_ipsec_policy.rst b/docs/ibm_pi_ipsec_policy.rst index 11b9addee..d349d0b04 100644 --- a/docs/ibm_pi_ipsec_policy.rst +++ b/docs/ibm_pi_ipsec_policy.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_policy_pfs (True, bool, None) - (Required for new resource) Perfect Forward Secrecy - - pi_policy_authentication (False, str, none) Authentication for the IPSec Policy @@ -59,6 +55,10 @@ Parameters (Required for new resource) Policy key lifetime + pi_policy_pfs (True, bool, None) + (Required for new resource) Perfect Forward Secrecy + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_key.rst b/docs/ibm_pi_key.rst index 318b2f9a0..0107a72a8 100644 --- a/docs/ibm_pi_key.rst +++ b/docs/ibm_pi_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + pi_ssh_key (True, str, None) + (Required for new resource) SSH RSA key + + pi_cloud_instance_id (True, str, None) (Required for new resource) PI cloud instance ID @@ -39,10 +43,6 @@ Parameters (Required for new resource) User defined name for the SSH key - pi_ssh_key (True, str, None) - (Required for new resource) SSH RSA key - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_key_info.rst b/docs/ibm_pi_key_info.rst index c791781a2..22a765ab7 100644 --- a/docs/ibm_pi_key_info.rst +++ b/docs/ibm_pi_key_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_keys_info.rst b/docs/ibm_pi_keys_info.rst index 9a7d76189..7f3f15a63 100644 --- a/docs/ibm_pi_keys_info.rst +++ b/docs/ibm_pi_keys_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_network.rst b/docs/ibm_pi_network.rst index 9e9c381e0..729793aa2 100644 --- a/docs/ibm_pi_network.rst +++ b/docs/ibm_pi_network.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,12 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_dns (False, list, None) - List of PI network DNS name + pi_network_type (True, str, None) + (Required for new resource) PI network type - pi_cloud_instance_id (True, str, None) - (Required for new resource) PI cloud instance ID + pi_cidr (False, str, None) + PI network CIDR pi_gateway (False, str, None) @@ -47,20 +47,20 @@ Parameters PI network enable MTU Jumbo option - pi_ipaddress_range (False, list, None) - List of one or more ip address range(s) + pi_cloud_instance_id (True, str, None) + (Required for new resource) PI cloud instance ID - pi_network_type (True, str, None) - (Required for new resource) PI network type + pi_ipaddress_range (False, list, None) + List of one or more ip address range(s) pi_network_name (True, str, None) (Required for new resource) PI network name - pi_cidr (False, str, None) - PI network CIDR + pi_dns (False, list, None) + List of PI network DNS name id (False, str, None) diff --git a/docs/ibm_pi_network_info.rst b/docs/ibm_pi_network_info.rst index 59d4b0eed..575a174a7 100644 --- a/docs/ibm_pi_network_info.rst +++ b/docs/ibm_pi_network_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_network_port.rst b/docs/ibm_pi_network_port.rst index 6fac811de..4da74c336 100644 --- a/docs/ibm_pi_network_port.rst +++ b/docs/ibm_pi_network_port.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + pi_network_name (True, str, None) + (Required for new resource) + + pi_cloud_instance_id (True, str, None) (Required for new resource) @@ -43,10 +47,6 @@ Parameters None - pi_network_name (True, str, None) - (Required for new resource) - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_network_port_attach.rst b/docs/ibm_pi_network_port_attach.rst index 7ab1e9b6b..a88dc9a16 100644 --- a/docs/ibm_pi_network_port_attach.rst +++ b/docs/ibm_pi_network_port_attach.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_network_port_description (False, str, Port Created via Terraform) - A human readable description for this network Port - - pi_cloud_instance_id (True, str, None) (Required for new resource) @@ -51,6 +47,10 @@ Parameters None + pi_network_port_description (False, str, Port Created via Terraform) + A human readable description for this network Port + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_network_port_info.rst b/docs/ibm_pi_network_port_info.rst index 006abe471..50388b791 100644 --- a/docs/ibm_pi_network_port_info.rst +++ b/docs/ibm_pi_network_port_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_placement_group.rst b/docs/ibm_pi_placement_group.rst index 58ba1026e..fb4df2826 100644 --- a/docs/ibm_pi_placement_group.rst +++ b/docs/ibm_pi_placement_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_placement_group_info.rst b/docs/ibm_pi_placement_group_info.rst index 97221b472..1172056dc 100644 --- a/docs/ibm_pi_placement_group_info.rst +++ b/docs/ibm_pi_placement_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_placement_groups_info.rst b/docs/ibm_pi_placement_groups_info.rst index 845550c40..f96c56712 100644 --- a/docs/ibm_pi_placement_groups_info.rst +++ b/docs/ibm_pi_placement_groups_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_public_network_info.rst b/docs/ibm_pi_public_network_info.rst index ecfd955d0..936fa4c81 100644 --- a/docs/ibm_pi_public_network_info.rst +++ b/docs/ibm_pi_public_network_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_pvm_snapshots_info.rst b/docs/ibm_pi_pvm_snapshots_info.rst index e55aae40a..45a249724 100644 --- a/docs/ibm_pi_pvm_snapshots_info.rst +++ b/docs/ibm_pi_pvm_snapshots_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_sap_profile_info.rst b/docs/ibm_pi_sap_profile_info.rst index 96f33a7ff..f80b69fb6 100644 --- a/docs/ibm_pi_sap_profile_info.rst +++ b/docs/ibm_pi_sap_profile_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_sap_profiles_info.rst b/docs/ibm_pi_sap_profiles_info.rst index 0d1185a05..fed14ac1c 100644 --- a/docs/ibm_pi_sap_profiles_info.rst +++ b/docs/ibm_pi_sap_profiles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_shared_processor_pool.rst b/docs/ibm_pi_shared_processor_pool.rst index 4c4404846..6248a10fe 100644 --- a/docs/ibm_pi_shared_processor_pool.rst +++ b/docs/ibm_pi_shared_processor_pool.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,10 +35,18 @@ Parameters (Required for new resource) Name of the shared processor pool + pi_shared_processor_pool_reserved_cores (True, int, None) + (Required for new resource) The amount of reserved cores for the shared processor pool + + pi_shared_processor_pool_host_group (True, str, None) (Required for new resource) Host group of the shared processor pool + pi_cloud_instance_id (True, str, None) + (Required for new resource) PI cloud instance ID + + pi_shared_processor_pool_placement_group_id (False, str, None) Placement group the shared processor pool is created in @@ -47,14 +55,6 @@ Parameters SPP placement groups the shared processor pool are in - pi_shared_processor_pool_reserved_cores (True, int, None) - (Required for new resource) The amount of reserved cores for the shared processor pool - - - pi_cloud_instance_id (True, str, None) - (Required for new resource) PI cloud instance ID - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_shared_processor_pool_info.rst b/docs/ibm_pi_shared_processor_pool_info.rst index 1379c7650..25ce95c17 100644 --- a/docs/ibm_pi_shared_processor_pool_info.rst +++ b/docs/ibm_pi_shared_processor_pool_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_shared_processor_pools_info.rst b/docs/ibm_pi_shared_processor_pools_info.rst index bd86b1fb2..f8ba485ec 100644 --- a/docs/ibm_pi_shared_processor_pools_info.rst +++ b/docs/ibm_pi_shared_processor_pools_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_snapshot.rst b/docs/ibm_pi_snapshot.rst index f5d9eb9f1..152a5061b 100644 --- a/docs/ibm_pi_snapshot.rst +++ b/docs/ibm_pi_snapshot.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,20 +35,20 @@ Parameters (Required for new resource) Instance name / id of the pvm - pi_volume_ids (False, list, None) - List of PI volumes - - pi_cloud_instance_id (True, str, None) (Required for new resource) Cloud Instance ID - This is the service_instance_id. + pi_description (False, str, None) + Description of the PVM instance snapshot + + pi_snap_shot_name (True, str, None) (Required for new resource) Unique name of the snapshot - pi_description (False, str, None) - Description of the PVM instance snapshot + pi_volume_ids (False, list, None) + List of PI volumes id (False, str, None) diff --git a/docs/ibm_pi_spp_placement_group.rst b/docs/ibm_pi_spp_placement_group.rst index 73ff8c45c..f6ffd4aad 100644 --- a/docs/ibm_pi_spp_placement_group.rst +++ b/docs/ibm_pi_spp_placement_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_spp_placement_group_info.rst b/docs/ibm_pi_spp_placement_group_info.rst index 70750eeee..deea99290 100644 --- a/docs/ibm_pi_spp_placement_group_info.rst +++ b/docs/ibm_pi_spp_placement_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_spp_placement_groups_info.rst b/docs/ibm_pi_spp_placement_groups_info.rst index 0a27781bf..171d3b254 100644 --- a/docs/ibm_pi_spp_placement_groups_info.rst +++ b/docs/ibm_pi_spp_placement_groups_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_storage_pool_capacity_info.rst b/docs/ibm_pi_storage_pool_capacity_info.rst index c08eba451..f644730a4 100644 --- a/docs/ibm_pi_storage_pool_capacity_info.rst +++ b/docs/ibm_pi_storage_pool_capacity_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_storage_pools_capacity_info.rst b/docs/ibm_pi_storage_pools_capacity_info.rst index 7ef9cb5c1..e739483f4 100644 --- a/docs/ibm_pi_storage_pools_capacity_info.rst +++ b/docs/ibm_pi_storage_pools_capacity_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_storage_type_capacity_info.rst b/docs/ibm_pi_storage_type_capacity_info.rst index 039985797..d26a8b64c 100644 --- a/docs/ibm_pi_storage_type_capacity_info.rst +++ b/docs/ibm_pi_storage_type_capacity_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_storage_types_capacity_info.rst b/docs/ibm_pi_storage_types_capacity_info.rst index d20adf735..85da8bda7 100644 --- a/docs/ibm_pi_storage_types_capacity_info.rst +++ b/docs/ibm_pi_storage_types_capacity_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_system_pools_info.rst b/docs/ibm_pi_system_pools_info.rst index a6a6550fa..122b6dd60 100644 --- a/docs/ibm_pi_system_pools_info.rst +++ b/docs/ibm_pi_system_pools_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_tenant_info.rst b/docs/ibm_pi_tenant_info.rst index 4518b8acb..81280a82d 100644 --- a/docs/ibm_pi_tenant_info.rst +++ b/docs/ibm_pi_tenant_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_volume.rst b/docs/ibm_pi_volume.rst index f65c5c08b..d72ea877b 100644 --- a/docs/ibm_pi_volume.rst +++ b/docs/ibm_pi_volume.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_volume_name (True, str, None) - (Required for new resource) Volume Name to create - - - pi_volume_size (True, float, None) - (Required for new resource) Size of the volume in GB - - pi_volume_pool (False, str, None) Volume pool where the volume will be created; if provided then pi_volume_type and pi_affinity_policy values will be ignored @@ -55,24 +47,32 @@ Parameters Volume (ID or Name) to base volume affinity policy against; required if requesting affinity and pi_affinity_instance is not provided - pi_affinity_instance (False, str, None) - PVM Instance (ID or Name) to base volume affinity policy against; required if requesting affinity and pi_affinity_volume is not provided - - - pi_anti_affinity_volumes (False, list, None) - List of volumes to base volume anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided + pi_anti_affinity_instances (False, list, None) + List of pvmInstances to base volume anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided pi_cloud_instance_id (True, str, None) (Required for new resource) Cloud Instance ID - This is the service_instance_id. + pi_volume_name (True, str, None) + (Required for new resource) Volume Name to create + + + pi_volume_size (True, float, None) + (Required for new resource) Size of the volume in GB + + pi_volume_type (False, str, None) Type of Disk, required if pi_affinity_policy and pi_volume_pool not provided, otherwise ignored - pi_anti_affinity_instances (False, list, None) - List of pvmInstances to base volume anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided + pi_affinity_instance (False, str, None) + PVM Instance (ID or Name) to base volume affinity policy against; required if requesting affinity and pi_affinity_volume is not provided + + + pi_anti_affinity_volumes (False, list, None) + List of volumes to base volume anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided id (False, str, None) diff --git a/docs/ibm_pi_volume_attach.rst b/docs/ibm_pi_volume_attach.rst index 2566b4fbf..c9dd7e3b9 100644 --- a/docs/ibm_pi_volume_attach.rst +++ b/docs/ibm_pi_volume_attach.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + pi_instance_id (True, str, None) + (Required for new resource) PI Instance Id + + pi_cloud_instance_id (True, str, None) (Required for new resource) Cloud Instance ID - This is the service_instance_id. @@ -39,10 +43,6 @@ Parameters (Required for new resource) Id of the volume to attach. Note these volumes should have been created - pi_instance_id (True, str, None) - (Required for new resource) PI Instance Id - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_volume_info.rst b/docs/ibm_pi_volume_info.rst index fa5b567d9..c3ae8adad 100644 --- a/docs/ibm_pi_volume_info.rst +++ b/docs/ibm_pi_volume_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pi_vpn_connection.rst b/docs/ibm_pi_vpn_connection.rst index 2714c5e38..9c09bcd0e 100644 --- a/docs/ibm_pi_vpn_connection.rst +++ b/docs/ibm_pi_vpn_connection.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_vpn_connection_mode (True, str, None) - (Required for new resource) Mode used by this VPN Connection, either 'policy' or 'route' + pi_ike_policy_id (True, str, None) + (Required for new resource) Unique identifier of IKE Policy selected for this VPN Connection pi_networks (True, list, None) (Required for new resource) Set of network IDs to attach to this VPN connection + pi_ipsec_policy_id (True, str, None) + (Required for new resource) Unique identifier of IPSec Policy selected for this VPN Connection + + + pi_vpn_connection_mode (True, str, None) + (Required for new resource) Mode used by this VPN Connection, either 'policy' or 'route' + + pi_peer_gateway_address (True, str, None) (Required for new resource) Peer Gateway address @@ -55,14 +63,6 @@ Parameters (Required for new resource) Name of the VPN Connection - pi_ike_policy_id (True, str, None) - (Required for new resource) Unique identifier of IKE Policy selected for this VPN Connection - - - pi_ipsec_policy_id (True, str, None) - (Required for new resource) Unique identifier of IPSec Policy selected for this VPN Connection - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pn_application_chrome.rst b/docs/ibm_pn_application_chrome.rst index 997aa49b3..f54263c89 100644 --- a/docs/ibm_pn_application_chrome.rst +++ b/docs/ibm_pn_application_chrome.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_pn_application_chrome_info.rst b/docs/ibm_pn_application_chrome_info.rst index 1e1527453..3fcd6d7b9 100644 --- a/docs/ibm_pn_application_chrome_info.rst +++ b/docs/ibm_pn_application_chrome_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_resource_group.rst b/docs/ibm_resource_group.rst index e79121649..9472360a5 100644 --- a/docs/ibm_resource_group.rst +++ b/docs/ibm_resource_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_resource_group_info.rst b/docs/ibm_resource_group_info.rst index d94b267d6..1fa2865fb 100644 --- a/docs/ibm_resource_group_info.rst +++ b/docs/ibm_resource_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_resource_instance.rst b/docs/ibm_resource_instance.rst index 8ff112138..e9a8b25f1 100644 --- a/docs/ibm_resource_instance.rst +++ b/docs/ibm_resource_instance.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,16 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - plan (True, str, None) - (Required for new resource) The plan type of the service + tags (False, list, None) + None - service_endpoints (False, str, None) - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + location (True, str, None) + (Required for new resource) The location where the instance available - resource_group_id (False, str, None) - The resource group id + service (True, str, None) + (Required for new resource) The name of the service offering like cloud-object-storage, kms etc + + + name (True, str, None) + (Required for new resource) A name for the resource instance parameters (False, dict, None) @@ -51,20 +55,16 @@ Parameters Arbitrary parameters to pass in Json string format - tags (False, list, None) - None - - - location (True, str, None) - (Required for new resource) The location where the instance available + plan (True, str, None) + (Required for new resource) The plan type of the service - service (True, str, None) - (Required for new resource) The name of the service offering like cloud-object-storage, kms etc + resource_group_id (False, str, None) + The resource group id - name (True, str, None) - (Required for new resource) A name for the resource instance + service_endpoints (False, str, None) + Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. id (False, str, None) diff --git a/docs/ibm_resource_instance_info.rst b/docs/ibm_resource_instance_info.rst index 3a97296d6..528342227 100644 --- a/docs/ibm_resource_instance_info.rst +++ b/docs/ibm_resource_instance_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,22 +29,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - service (False, str, None) - The service type of the instance - - resource_group_id (False, str, None) The id of the resource group in which the instance is present - name (True, str, None) - Resource instance name for example, myobjectstorage + service (False, str, None) + The service type of the instance location (False, str, None) The location or the environment in which instance exists + name (True, str, None) + Resource instance name for example, myobjectstorage + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_resource_key.rst b/docs/ibm_resource_key.rst index 434e17c37..00e6be963 100644 --- a/docs/ibm_resource_key.rst +++ b/docs/ibm_resource_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,28 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - role (False, str, None) - Name of the user role.Valid roles are Writer, Reader, Manager, Administrator, Operator, Viewer, Editor and Custom Roles. + tags (False, list, None) + None resource_instance_id (False, str, None) The id of the resource instance for which to create resource key - parameters (False, dict, None) - Arbitrary parameters to pass. Must be a JSON object + name (True, str, None) + (Required for new resource) The name of the resource key - resource_alias_id (False, str, None) - The id of the resource alias for which to create resource key + role (False, str, None) + Name of the user role.Valid roles are Writer, Reader, Manager, Administrator, Operator, Viewer, Editor and Custom Roles. - tags (False, list, None) - None + resource_alias_id (False, str, None) + The id of the resource alias for which to create resource key - name (True, str, None) - (Required for new resource) The name of the resource key + parameters (False, dict, None) + Arbitrary parameters to pass. Must be a JSON object id (False, str, None) diff --git a/docs/ibm_resource_key_info.rst b/docs/ibm_resource_key_info.rst index 807ca3f7f..041cc0f46 100644 --- a/docs/ibm_resource_key_info.rst +++ b/docs/ibm_resource_key_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - most_recent (False, bool, False) - If true and multiple entries are found, the most recently created resource key is used. If false, an error is returned - - - name (True, str, None) - The name of the resource key - - resource_instance_id (False, str, None) The id of the resource instance @@ -45,6 +37,14 @@ Parameters The id of the resource alias + most_recent (False, bool, False) + If true and multiple entries are found, the most recently created resource key is used. If false, an error is returned + + + name (True, str, None) + The name of the resource key + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_resource_quota_info.rst b/docs/ibm_resource_quota_info.rst index c7e5e9835..98ec7115a 100644 --- a/docs/ibm_resource_quota_info.rst +++ b/docs/ibm_resource_quota_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_resource_tag_info.rst b/docs/ibm_resource_tag_info.rst index ff1198bd2..124f9aaf6 100644 --- a/docs/ibm_resource_tag_info.rst +++ b/docs/ibm_resource_tag_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + resource_id (False, str, None) + CRN of the resource on which the tags should be attached + + resource_type (False, str, None) Resource type on which the tags should be fetched @@ -37,10 +41,6 @@ Parameters Tag type on which the tags should be fetched - resource_id (False, str, None) - CRN of the resource on which the tags should be attached - - iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_satellite_attach_host_script_info.rst b/docs/ibm_satellite_attach_host_script_info.rst index 84ed7c13d..378329cc5 100644 --- a/docs/ibm_satellite_attach_host_script_info.rst +++ b/docs/ibm_satellite_attach_host_script_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,8 +29,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - location (True, str, None) - A unique name for the new Satellite location + labels (False, list, None) + List of labels for the attach host host_provider (False, str, None) @@ -41,16 +41,16 @@ Parameters The directory where the satellite attach host script to be downloaded. Default is home directory - custom_script (False, str, None) - The custom script that has to be appended to generated host script file - - coreos_host (False, bool, None) If true, returns a CoreOS ignition file for the host. Otherwise, returns a RHEL attach script - labels (False, list, None) - List of labels for the attach host + location (True, str, None) + A unique name for the new Satellite location + + + custom_script (False, str, None) + The custom script that has to be appended to generated host script file iaas_classic_username (False, any, None) diff --git a/docs/ibm_satellite_cluster_info.rst b/docs/ibm_satellite_cluster_info.rst index 54af19313..0422fa618 100644 --- a/docs/ibm_satellite_cluster_info.rst +++ b/docs/ibm_satellite_cluster_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_satellite_cluster_worker_pool.rst b/docs/ibm_satellite_cluster_worker_pool.rst index ac2ab597e..4403bfe7f 100644 --- a/docs/ibm_satellite_cluster_worker_pool.rst +++ b/docs/ibm_satellite_cluster_worker_pool.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,12 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - host_labels (False, list, None) - Labels that describe a Satellite host + cluster (True, str, None) + (Required for new resource) The unique name for the new IBM Cloud Satellite cluster - resource_group_id (False, str, None) - ID of the resource group. + flavor (False, str, None) + The flavor defines the amount of virtual CPU, memory, and disk space that is set up in each worker node + + + isolation (False, str, None) + None + + + operating_system (False, str, None) + Operating system of the worker pool. Options are REDHAT_7_64, REDHAT_8_64, or RHCOS. + + + worker_count (False, int, None) + Specify the desired number of workers per zone in this worker pool + + + zones (False, list, None) + Zone info for worker pool name (True, str, None) @@ -51,28 +67,16 @@ Parameters None - worker_count (False, int, None) - Specify the desired number of workers per zone in this worker pool - - worker_pool_labels (False, dict, None) Labels on all the workers in the worker pool - cluster (True, str, None) - (Required for new resource) The unique name for the new IBM Cloud Satellite cluster - - - flavor (False, str, None) - The flavor defines the amount of virtual CPU, memory, and disk space that is set up in each worker node - - - isolation (False, str, None) - None + host_labels (False, list, None) + Labels that describe a Satellite host - zones (False, list, None) - Zone info for worker pool + resource_group_id (False, str, None) + ID of the resource group. id (False, str, None) diff --git a/docs/ibm_satellite_cluster_worker_pool_info.rst b/docs/ibm_satellite_cluster_worker_pool_info.rst index 1530791f8..a15744ea8 100644 --- a/docs/ibm_satellite_cluster_worker_pool_info.rst +++ b/docs/ibm_satellite_cluster_worker_pool_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cluster (True, str, None) - Cluster name - - resource_group_id (False, str, None) ID of the resource group @@ -45,6 +41,10 @@ Parameters worker pool name + cluster (True, str, None) + Cluster name + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_satellite_cluster_worker_pool_zone_attachment.rst b/docs/ibm_satellite_cluster_worker_pool_zone_attachment.rst index f821e7b3a..f7c1ff576 100644 --- a/docs/ibm_satellite_cluster_worker_pool_zone_attachment.rst +++ b/docs/ibm_satellite_cluster_worker_pool_zone_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + cluster (True, str, None) + (Required for new resource) + + worker_pool (True, str, None) (Required for new resource) @@ -43,10 +47,6 @@ Parameters The ID of the resource group that the Satellite location is in. To list the resource group ID of the location, use the `GET /v2/satellite/getController` API method. - cluster (True, str, None) - (Required for new resource) - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_satellite_cluster_worker_pool_zone_attachment_info.rst b/docs/ibm_satellite_cluster_worker_pool_zone_attachment_info.rst index 3f8db5ad7..e50f8349d 100644 --- a/docs/ibm_satellite_cluster_worker_pool_zone_attachment_info.rst +++ b/docs/ibm_satellite_cluster_worker_pool_zone_attachment_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group_id (False, str, None) - The ID of the resource group that the Satellite location is in. To list the resource group ID of the location, use the `GET /v2/satellite/getController` API method. - - cluster (True, str, None) Name or id of the cluster @@ -45,6 +41,10 @@ Parameters worker pool zone name + resource_group_id (False, str, None) + The ID of the resource group that the Satellite location is in. To list the resource group ID of the location, use the `GET /v2/satellite/getController` API method. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_satellite_endpoint.rst b/docs/ibm_satellite_endpoint.rst index 4ac92fc27..d49618da3 100644 --- a/docs/ibm_satellite_endpoint.rst +++ b/docs/ibm_satellite_endpoint.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,20 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - location (True, str, None) - (Required for new resource) The Location ID. - - - display_name (True, str, None) - (Required for new resource) The display name of the endpoint. Endpoint names must start with a letter and end with an alphanumeric character, can contain letters, numbers, and hyphen (-), and must be 63 characters or fewer. - - - server_port (True, int, None) - (Required for new resource) The port number of the server endpoint. For 'http-tunnel' protocol, server_port can be 0, which means any port. Such as 0 is good for 80 (http) and 443 (https). + sni (False, str, None) + The server name indicator (SNI) which used to connect to the server endpoint. Only useful if server side requires SNI. - client_protocol (True, str, None) - (Required for new resource) The protocol in the client application side. + client_mutual_auth (False, bool, False) + Whether enable mutual auth in the client application side, when client_protocol is 'tls' or 'https', this field is required. server_protocol (False, str, None) @@ -55,36 +47,44 @@ Parameters The inactivity timeout in the Endpoint side. - reject_unauth (False, bool, False) - Whether reject any connection to the server application which is not authorized with the list of supplied CAs in the fields certs.server_cert. - - created_by (False, str, None) The service or person who created the endpoint. Must be 1000 characters or fewer. + location (True, str, None) + (Required for new resource) The Location ID. + + + server_port (True, int, None) + (Required for new resource) The port number of the server endpoint. For 'http-tunnel' protocol, server_port can be 0, which means any port. Such as 0 is good for 80 (http) and 443 (https). + + certs (False, list, None) The certs. - client_mutual_auth (False, bool, False) - Whether enable mutual auth in the client application side, when client_protocol is 'tls' or 'https', this field is required. + client_protocol (True, str, None) + (Required for new resource) The protocol in the client application side. server_mutual_auth (False, bool, False) Whether enable mutual auth in the server application side, when client_protocol is 'tls', this field is required. - connection_type (True, str, None) - (Required for new resource) The type of the endpoint. + reject_unauth (False, bool, False) + Whether reject any connection to the server application which is not authorized with the list of supplied CAs in the fields certs.server_cert. + + + display_name (True, str, None) + (Required for new resource) The display name of the endpoint. Endpoint names must start with a letter and end with an alphanumeric character, can contain letters, numbers, and hyphen (-), and must be 63 characters or fewer. server_host (True, str, None) (Required for new resource) The host name or IP address of the server endpoint. For 'http-tunnel' protocol, server_host can start with '*.' , which means a wildcard to it's sub domains. Such as '*.example.com' can accept request to 'api.example.com' and 'www.example.com'. - sni (False, str, None) - The server name indicator (SNI) which used to connect to the server endpoint. Only useful if server side requires SNI. + connection_type (True, str, None) + (Required for new resource) The type of the endpoint. id (False, str, None) diff --git a/docs/ibm_satellite_endpoint_info.rst b/docs/ibm_satellite_endpoint_info.rst index f5bdbd299..427a9d72f 100644 --- a/docs/ibm_satellite_endpoint_info.rst +++ b/docs/ibm_satellite_endpoint_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - endpoint_id (True, str, None) - The Endpoint ID. - - location (True, str, None) The Location ID. + endpoint_id (True, str, None) + The Endpoint ID. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_satellite_host.rst b/docs/ibm_satellite_host.rst index 0bd73a1de..0ec15487e 100644 --- a/docs/ibm_satellite_host.rst +++ b/docs/ibm_satellite_host.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,12 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + zone (False, str, None) + The zone within the cluster to assign the host to + + host_provider (False, str, None) Host Provider - location (True, str, None) - (Required for new resource) The name or ID of the Satellite location + wait_till (False, str, None) + Wait until location is normal cluster (False, str, None) @@ -55,12 +59,8 @@ Parameters The name or ID of the worker pool within the cluster to assign the host to - zone (False, str, None) - The zone within the cluster to assign the host to - - - wait_till (False, str, None) - Wait until location is normal + location (True, str, None) + (Required for new resource) The name or ID of the Satellite location id (False, str, None) diff --git a/docs/ibm_satellite_link.rst b/docs/ibm_satellite_link.rst index 56dcf1b21..f8a4efaac 100644 --- a/docs/ibm_satellite_link.rst +++ b/docs/ibm_satellite_link.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_satellite_link_info.rst b/docs/ibm_satellite_link_info.rst index 3304cfc6e..b1a80e200 100644 --- a/docs/ibm_satellite_link_info.rst +++ b/docs/ibm_satellite_link_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_satellite_location.rst b/docs/ibm_satellite_location.rst index db2559392..a4c0b8da8 100644 --- a/docs/ibm_satellite_location.rst +++ b/docs/ibm_satellite_location.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,44 +31,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - location (True, str, None) - (Required for new resource) A unique name for the new Satellite location - - - logging_account_id (False, str, None) - The account ID for IBM Log Analysis with LogDNA log forwarding + managed_from (True, str, None) + (Required for new resource) The IBM Cloud metro from which the Satellite location is managed - description (False, str, None) - A description of the new Satellite location + cos_config (False, list, None) + COSBucket - IBM Cloud Object Storage bucket configuration details - coreos_enabled (False, bool, None) - Enable Red Hat CoreOS features within the Satellite location + resource_group_id (False, str, None) + ID of the resource group. - zones (False, list, None) - The names of at least three high availability zones to use for the location + tags (False, list, None) + List of tags associated with resource instance - cos_config (False, list, None) - COSBucket - IBM Cloud Object Storage bucket configuration details + location (True, str, None) + (Required for new resource) A unique name for the new Satellite location cos_credentials (False, list, None) COSAuthorization - IBM Cloud Object Storage authorization keys - tags (False, list, None) - List of tags associated with resource instance + zones (False, list, None) + The names of at least three high availability zones to use for the location - managed_from (True, str, None) - (Required for new resource) The IBM Cloud metro from which the Satellite location is managed + coreos_enabled (False, bool, None) + Enable Red Hat CoreOS features within the Satellite location - resource_group_id (False, str, None) - ID of the resource group. + logging_account_id (False, str, None) + The account ID for IBM Log Analysis with LogDNA log forwarding + + + description (False, str, None) + A description of the new Satellite location id (False, str, None) diff --git a/docs/ibm_satellite_location_info.rst b/docs/ibm_satellite_location_info.rst index 4573d8c3d..403ad47d1 100644 --- a/docs/ibm_satellite_location_info.rst +++ b/docs/ibm_satellite_location_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_satellite_location_nlb_dns.rst b/docs/ibm_satellite_location_nlb_dns.rst index 68f74e6e8..68a5309c4 100644 --- a/docs/ibm_satellite_location_nlb_dns.rst +++ b/docs/ibm_satellite_location_nlb_dns.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_satellite_location_nlb_dns_info.rst b/docs/ibm_satellite_location_nlb_dns_info.rst index e50fc4018..d8b5c8452 100644 --- a/docs/ibm_satellite_location_nlb_dns_info.rst +++ b/docs/ibm_satellite_location_nlb_dns_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_account_location_info.rst b/docs/ibm_scc_account_location_info.rst index 4eedd6a48..09814a252 100644 --- a/docs/ibm_scc_account_location_info.rst +++ b/docs/ibm_scc_account_location_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_account_location_settings_info.rst b/docs/ibm_scc_account_location_settings_info.rst index 9b2a75b49..c30d82f76 100644 --- a/docs/ibm_scc_account_location_settings_info.rst +++ b/docs/ibm_scc_account_location_settings_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_account_locations_info.rst b/docs/ibm_scc_account_locations_info.rst index 83611fc7c..7d28a708e 100644 --- a/docs/ibm_scc_account_locations_info.rst +++ b/docs/ibm_scc_account_locations_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_account_notification_settings_info.rst b/docs/ibm_scc_account_notification_settings_info.rst index 61df231ff..1cb715669 100644 --- a/docs/ibm_scc_account_notification_settings_info.rst +++ b/docs/ibm_scc_account_notification_settings_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_account_settings.rst b/docs/ibm_scc_account_settings.rst index 490481b23..2d0f10ae7 100644 --- a/docs/ibm_scc_account_settings.rst +++ b/docs/ibm_scc_account_settings.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_collector.rst b/docs/ibm_scc_posture_collector.rst index fb25c1256..ad701e46d 100644 --- a/docs/ibm_scc_posture_collector.rst +++ b/docs/ibm_scc_posture_collector.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + name (True, str, None) + (Required for new resource) A unique name for your collector. + + is_public (True, bool, None) (Required for new resource) Determines whether the collector endpoint is accessible on a public network. If set to `true`, the collector connects to resources in your account over a public network. If set to `false`, the collector connects to resources by using a private IP that is accessible only through the IBM Cloud private network. @@ -51,10 +55,6 @@ Parameters Determines whether the collector has a Ubi image. - name (True, str, None) - (Required for new resource) A unique name for your collector. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_scc_posture_collector_info.rst b/docs/ibm_scc_posture_collector_info.rst index 99bab91f2..397dc14e9 100644 --- a/docs/ibm_scc_posture_collector_info.rst +++ b/docs/ibm_scc_posture_collector_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_collectors_info.rst b/docs/ibm_scc_posture_collectors_info.rst index bff843197..88c43bdb0 100644 --- a/docs/ibm_scc_posture_collectors_info.rst +++ b/docs/ibm_scc_posture_collectors_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_credential.rst b/docs/ibm_scc_posture_credential.rst index 5de2aa6f3..244864ac8 100644 --- a/docs/ibm_scc_posture_credential.rst +++ b/docs/ibm_scc_posture_credential.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + name (True, str, None) + (Required for new resource) Credentials name. + + description (True, str, None) (Required for new resource) Credentials description. @@ -55,10 +59,6 @@ Parameters (Required for new resource) Credentials type. - name (True, str, None) - (Required for new resource) Credentials name. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_scc_posture_credential_info.rst b/docs/ibm_scc_posture_credential_info.rst index 9bc46a04e..91a8d86f7 100644 --- a/docs/ibm_scc_posture_credential_info.rst +++ b/docs/ibm_scc_posture_credential_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_credentials_info.rst b/docs/ibm_scc_posture_credentials_info.rst index 7049b6468..494655170 100644 --- a/docs/ibm_scc_posture_credentials_info.rst +++ b/docs/ibm_scc_posture_credentials_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_group_profile_info.rst b/docs/ibm_scc_posture_group_profile_info.rst index 37c5bd48f..fda2666c3 100644 --- a/docs/ibm_scc_posture_group_profile_info.rst +++ b/docs/ibm_scc_posture_group_profile_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_latest_scans_info.rst b/docs/ibm_scc_posture_latest_scans_info.rst index 1460cb453..be94638df 100644 --- a/docs/ibm_scc_posture_latest_scans_info.rst +++ b/docs/ibm_scc_posture_latest_scans_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_profile_import.rst b/docs/ibm_scc_posture_profile_import.rst index 8cc76f871..463f83127 100644 --- a/docs/ibm_scc_posture_profile_import.rst +++ b/docs/ibm_scc_posture_profile_import.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - file (True, str, None) - (Required for new resource) File to import - - name (False, str, None) The name of the profile. + file (True, str, None) + (Required for new resource) File to import + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_scc_posture_profile_info.rst b/docs/ibm_scc_posture_profile_info.rst index 0c1315e89..56078f4f7 100644 --- a/docs/ibm_scc_posture_profile_info.rst +++ b/docs/ibm_scc_posture_profile_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_profiles_info.rst b/docs/ibm_scc_posture_profiles_info.rst index 9552f982f..3a0f0f8a6 100644 --- a/docs/ibm_scc_posture_profiles_info.rst +++ b/docs/ibm_scc_posture_profiles_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_scan_initiate_validation.rst b/docs/ibm_scc_posture_scan_initiate_validation.rst index bafeb0055..345e4bea6 100644 --- a/docs/ibm_scc_posture_scan_initiate_validation.rst +++ b/docs/ibm_scc_posture_scan_initiate_validation.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,22 +31,26 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - The name of a scheduled scan. - - - description (False, str, None) - The description of a scheduled scan. - - scope_id (True, str, None) (Required for new resource) The unique ID of the scope. + profile_id (True, str, None) + (Required for new resource) The unique ID of the profile. + + group_profile_id (False, str, None) The ID of the profile group. + name (False, str, None) + The name of a scheduled scan. + + + description (False, str, None) + The description of a scheduled scan. + + frequency (False, int, None) The frequency at which a scan is run specified in milliseconds. @@ -59,10 +63,6 @@ Parameters The date on which a scan should stop running specified in UTC. - profile_id (True, str, None) - (Required for new resource) The unique ID of the profile. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_scc_posture_scan_summaries_info.rst b/docs/ibm_scc_posture_scan_summaries_info.rst index b1b9de59f..c2ec2c33a 100644 --- a/docs/ibm_scc_posture_scan_summaries_info.rst +++ b/docs/ibm_scc_posture_scan_summaries_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_scan_summary_info.rst b/docs/ibm_scc_posture_scan_summary_info.rst index a90fbef56..3255fa2d4 100644 --- a/docs/ibm_scc_posture_scan_summary_info.rst +++ b/docs/ibm_scc_posture_scan_summary_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_scope.rst b/docs/ibm_scc_posture_scope.rst index d5145182a..07e35c8fc 100644 --- a/docs/ibm_scc_posture_scope.rst +++ b/docs/ibm_scc_posture_scope.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + credential_id (True, str, None) + (Required for new resource) The unique identifier of the credential. + + + credential_type (True, str, None) + (Required for new resource) The environment that the scope is targeted to. + + name (True, str, None) (Required for new resource) A unique name for your scope. @@ -43,14 +51,6 @@ Parameters (Required for new resource) The unique IDs of the collectors that are attached to the scope. - credential_id (True, str, None) - (Required for new resource) The unique identifier of the credential. - - - credential_type (True, str, None) - (Required for new resource) The environment that the scope is targeted to. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_scc_posture_scope_correlation_info.rst b/docs/ibm_scc_posture_scope_correlation_info.rst index 8caf086de..e2c1a0fdb 100644 --- a/docs/ibm_scc_posture_scope_correlation_info.rst +++ b/docs/ibm_scc_posture_scope_correlation_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_scope_info.rst b/docs/ibm_scc_posture_scope_info.rst index 5b90a7a55..e17fc8d70 100644 --- a/docs/ibm_scc_posture_scope_info.rst +++ b/docs/ibm_scc_posture_scope_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_scopes_info.rst b/docs/ibm_scc_posture_scopes_info.rst index f84759828..a73e86736 100644 --- a/docs/ibm_scc_posture_scopes_info.rst +++ b/docs/ibm_scc_posture_scopes_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_scc_rule.rst b/docs/ibm_scc_rule.rst index 6a7bc7e90..409bd8133 100644 --- a/docs/ibm_scc_rule.rst +++ b/docs/ibm_scc_rule.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + labels (False, list, None) + Labels that you can use to group and search for similar rules, such as those that help you to meet a specific organization guideline. + + + target (True, list, None) + (Required for new resource) The properties that describe the resource that you want to targetwith the rule or template. + + account_id (True, str, None) (Required for new resource) Your IBM Cloud account ID. @@ -43,22 +51,14 @@ Parameters (Required for new resource) An extended description of your rule. - required_config (True, list, None) - (Required for new resource) The requirements that must be met to determine the resource's level of compliance in accordance with the rule. Use logical operators (and/or) to define multiple property checks and conditions. To define requirements for a rule, list one or more property check objects in the and array. To add conditions to a property check, use or. - - - target (True, list, None) - (Required for new resource) The properties that describe the resource that you want to targetwith the rule or template. - - - labels (False, list, None) - Labels that you can use to group and search for similar rules, such as those that help you to meet a specific organization guideline. - - enforcement_actions (False, list, None) The actions that the service must run on your behalf when a request to create or modify the target resource does not comply with your conditions. + required_config (True, list, None) + (Required for new resource) The requirements that must be met to determine the resource's level of compliance in accordance with the rule. Use logical operators (and/or) to define multiple property checks and conditions. To define requirements for a rule, list one or more property check objects in the and array. To add conditions to a property check, use or. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_scc_rule_attachment.rst b/docs/ibm_scc_rule_attachment.rst index 45290f5d4..1d473f806 100644 --- a/docs/ibm_scc_rule_attachment.rst +++ b/docs/ibm_scc_rule_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + rule_id (True, str, None) + (Required for new resource) The UUID that uniquely identifies the rule. + + account_id (True, str, None) (Required for new resource) Your IBM Cloud account ID. @@ -43,10 +47,6 @@ Parameters The extent at which the rule can be excluded from the included scope. - rule_id (True, str, None) - (Required for new resource) The UUID that uniquely identifies the rule. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_scc_template.rst b/docs/ibm_scc_template.rst index 6b6e60bf0..65351e036 100644 --- a/docs/ibm_scc_template.rst +++ b/docs/ibm_scc_template.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + account_id (True, str, None) + (Required for new resource) Your IBM Cloud account ID. + + name (True, str, None) (Required for new resource) A human-readablse alias to assign to your template. @@ -47,10 +51,6 @@ Parameters (Required for new resource) A list of default property values to apply to your template. - account_id (True, str, None) - (Required for new resource) Your IBM Cloud account ID. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_scc_template_attachment.rst b/docs/ibm_scc_template_attachment.rst index 0358c6d96..49da14c6e 100644 --- a/docs/ibm_scc_template_attachment.rst +++ b/docs/ibm_scc_template_attachment.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + template_id (True, str, None) + (Required for new resource) The UUID that uniquely identifies the template. + + account_id (True, str, None) (Required for new resource) Your IBM Cloud account ID. @@ -43,10 +47,6 @@ Parameters None - template_id (True, str, None) - (Required for new resource) The UUID that uniquely identifies the template. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_schematics_action_info.rst b/docs/ibm_schematics_action_info.rst index 456172bd6..c108ca337 100644 --- a/docs/ibm_schematics_action_info.rst +++ b/docs/ibm_schematics_action_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - location (False, str, None) - List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. - - action_id (True, str, None) Action Id. Use GET /actions API to look up the Action Ids in your IBM Cloud account. + location (False, str, None) + List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_schematics_inventory.rst b/docs/ibm_schematics_inventory.rst index a4f129ec9..c4012ccda 100644 --- a/docs/ibm_schematics_inventory.rst +++ b/docs/ibm_schematics_inventory.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -35,14 +35,6 @@ Parameters The unique name of your Inventory definition. The name can be up to 128 characters long and can include alphanumeric characters, spaces, dashes, and underscores. - resource_group (False, str, None) - Resource-group name for the Inventory definition. By default, Inventory definition will be created in Default Resource Group. - - - resource_queries (False, list, None) - Input resource query definitions that is used to dynamically generate the inventory of host and host group for the playbook. - - description (False, str, None) The description of your Inventory definition. The description can be up to 2048 characters long in size. @@ -51,10 +43,18 @@ Parameters List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. + resource_group (False, str, None) + Resource-group name for the Inventory definition. By default, Inventory definition will be created in Default Resource Group. + + inventories_ini (False, str, None) Input inventory of host and host group for the playbook, in the `.ini` file format. + resource_queries (False, list, None) + Input resource query definitions that is used to dynamically generate the inventory of host and host group for the playbook. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_schematics_inventory_info.rst b/docs/ibm_schematics_inventory_info.rst index 72b7ab46c..b60981d26 100644 --- a/docs/ibm_schematics_inventory_info.rst +++ b/docs/ibm_schematics_inventory_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_job.rst b/docs/ibm_schematics_job.rst index bc8aa8bc3..045ba1531 100644 --- a/docs/ibm_schematics_job.rst +++ b/docs/ibm_schematics_job.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,8 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - User defined tags, while running the job. + job_inputs (False, list, None) + Job inputs used by Action or Workspace. + + + job_env_settings (False, list, None) + Environment variables used by the Job while performing Action or Workspace. + + + location (False, str, None) + List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. bastion (False, list, None) @@ -43,42 +51,34 @@ Parameters (Required for new resource) Job command object id (workspace-id, action-id). - job_inputs (False, list, None) - Job inputs used by Action or Workspace. + command_parameter (False, str, None) + Schematics job command parameter (playbook-name). command_options (False, list, None) Command line options for the command. - location (False, str, None) - List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. + data (False, list, None) + Job data. log_summary (False, list, None) Job log summary record. - command_object (True, str, None) - (Required for new resource) Name of the Schematics automation resource. - - - command_parameter (False, str, None) - Schematics job command parameter (playbook-name). + tags (False, list, None) + User defined tags, while running the job. - data (False, list, None) - Job data. + command_object (True, str, None) + (Required for new resource) Name of the Schematics automation resource. command_name (True, str, None) (Required for new resource) Schematics job command name. - job_env_settings (False, list, None) - Environment variables used by the Job while performing Action or Workspace. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_schematics_job_info.rst b/docs/ibm_schematics_job_info.rst index 9c35dad1f..de7eacd4f 100644 --- a/docs/ibm_schematics_job_info.rst +++ b/docs/ibm_schematics_job_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - location (False, str, None) - List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. - - job_id (True, str, None) Job Id. Use `GET /v2/jobs` API to look up the Job Ids in your IBM Cloud account. + location (False, str, None) + List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_schematics_output_info.rst b/docs/ibm_schematics_output_info.rst index 856bd29f5..ec6f51ea6 100644 --- a/docs/ibm_schematics_output_info.rst +++ b/docs/ibm_schematics_output_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_resource_query.rst b/docs/ibm_schematics_resource_query.rst index 450fcbee8..1a0486026 100644 --- a/docs/ibm_schematics_resource_query.rst +++ b/docs/ibm_schematics_resource_query.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_resource_query_info.rst b/docs/ibm_schematics_resource_query_info.rst index 931c70123..465960e5e 100644 --- a/docs/ibm_schematics_resource_query_info.rst +++ b/docs/ibm_schematics_resource_query_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_state_info.rst b/docs/ibm_schematics_state_info.rst index b2d283dd0..7757ce69f 100644 --- a/docs/ibm_schematics_state_info.rst +++ b/docs/ibm_schematics_state_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_workspace_info.rst b/docs/ibm_schematics_workspace_info.rst index f2f6419d2..7c50624d4 100644 --- a/docs/ibm_schematics_workspace_info.rst +++ b/docs/ibm_schematics_workspace_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,22 +29,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - template_git_has_uploadedgitrepotar (False, bool, None) - Has uploaded Git repository tar. - - - location (False, str, None) - The IBM Cloud location where your workspace was provisioned. - - template_values_metadata (False, list, None) A list of input variables that are associated with the workspace. + template_git_has_uploadedgitrepotar (False, bool, None) + Has uploaded Git repository tar. + + workspace_id (True, str, None) The ID of the workspace. To find the workspace ID, use the `GET /v1/workspaces` API. + location (False, str, None) + The IBM Cloud location where your workspace was provisioned. + + iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_security_group.rst b/docs/ibm_security_group.rst index 266862a14..588f55e5a 100644 --- a/docs/ibm_security_group.rst +++ b/docs/ibm_security_group.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_security_group_info.rst b/docs/ibm_security_group_info.rst index 94810cb0d..9af2137de 100644 --- a/docs/ibm_security_group_info.rst +++ b/docs/ibm_security_group_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + most_recent (False, bool, False) + If true and multiple entries are found, the most recently created group is used. If false, an error is returned + + name (True, str, None) The name of the security group @@ -37,10 +41,6 @@ Parameters The description of the security group - most_recent (False, bool, False) - If true and multiple entries are found, the most recently created group is used. If false, an error is returned - - iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_service_instance.rst b/docs/ibm_service_instance.rst index 1c933a522..ccbfa4b22 100644 --- a/docs/ibm_service_instance.rst +++ b/docs/ibm_service_instance.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + tags (False, list, None) + None + + name (True, str, None) (Required for new resource) A name for the service instance @@ -39,6 +43,10 @@ Parameters (Required for new resource) The guid of the space in which the instance will be created + service (True, str, None) + (Required for new resource) The name of the service offering like speech_to_text, text_to_speech etc + + parameters (False, dict, None) Arbitrary parameters to pass along to the service broker. Must be a JSON object @@ -47,14 +55,6 @@ Parameters (Required for new resource) The plan type of the service - service (True, str, None) - (Required for new resource) The name of the service offering like speech_to_text, text_to_speech etc - - - tags (False, list, None) - None - - wait_time_minutes (False, int, 10) Define timeout to wait for the service instances to succeeded/deleted etc. diff --git a/docs/ibm_service_instance_info.rst b/docs/ibm_service_instance_info.rst index 4144f92f5..499da2f05 100644 --- a/docs/ibm_service_instance_info.rst +++ b/docs/ibm_service_instance_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_service_key.rst b/docs/ibm_service_key.rst index d5c0cda81..047832a4f 100644 --- a/docs/ibm_service_key.rst +++ b/docs/ibm_service_key.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + name (True, str, None) + (Required for new resource) The name of the service key + + service_instance_guid (True, str, None) (Required for new resource) The guid of the service instance for which to create service key @@ -43,10 +47,6 @@ Parameters None - name (True, str, None) - (Required for new resource) The name of the service key - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_service_key_info.rst b/docs/ibm_service_key_info.rst index eaa1dbe42..38be16232 100644 --- a/docs/ibm_service_key_info.rst +++ b/docs/ibm_service_key_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_service_plan_info.rst b/docs/ibm_service_plan_info.rst index 78959935d..ea200a58a 100644 --- a/docs/ibm_service_plan_info.rst +++ b/docs/ibm_service_plan_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_space.rst b/docs/ibm_space.rst index 82982db87..7eae3ac0f 100644 --- a/docs/ibm_space.rst +++ b/docs/ibm_space.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_space_info.rst b/docs/ibm_space_info.rst index 778f1db0e..6ee2c2852 100644 --- a/docs/ibm_space_info.rst +++ b/docs/ibm_space_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_ssl_certificate.rst b/docs/ibm_ssl_certificate.rst index 2d653259b..c7c4c3cf4 100644 --- a/docs/ibm_ssl_certificate.rst +++ b/docs/ibm_ssl_certificate.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,68 +31,68 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - server_count (True, int, None) - (Required for new resource) Server count - - - renewal_flag (False, bool, True) - Renewal flag + administrative_address_same_as_organization_flag (False, bool, False) + administrative address same as organization flag - billing_contact_same_as_technical_flag (False, bool, False) - billing contact + organization_information (True, list, None) + (Required for new resource) Organization information - administrative_contact_same_as_technical_flag (False, bool, False) - Administrative contact same as technical flag + billing_contact (False, list, None) + None - technical_contact (True, list, None) - (Required for new resource) Technical contact info + server_count (True, int, None) + (Required for new resource) Server count - server_type (True, str, None) - (Required for new resource) server type + order_approver_email_address (True, str, None) + (Required for new resource) Email address of the approver - certificate_signing_request (True, str, None) - (Required for new resource) certificate signing request info + technical_contact (True, list, None) + (Required for new resource) Technical contact info - technical_contact_same_as_org_address_flag (False, bool, False) - Technical contact same as org address flag + administrative_contact_same_as_technical_flag (False, bool, False) + Administrative contact same as technical flag administrative_contact (False, list, None) None + server_type (True, str, None) + (Required for new resource) server type + + ssl_type (True, str, None) (Required for new resource) ssl type - administrative_address_same_as_organization_flag (False, bool, False) - administrative address same as organization flag + certificate_signing_request (True, str, None) + (Required for new resource) certificate signing request info - billing_address_same_as_organization_flag (False, bool, False) - billing address same as organization flag + billing_contact_same_as_technical_flag (False, bool, False) + billing contact - billing_contact (False, list, None) - None + billing_address_same_as_organization_flag (False, bool, False) + billing address same as organization flag validity_months (True, int, None) (Required for new resource) vslidity of the ssl certificate in month - order_approver_email_address (True, str, None) - (Required for new resource) Email address of the approver + renewal_flag (False, bool, True) + Renewal flag - organization_information (True, list, None) - (Required for new resource) Organization information + technical_contact_same_as_org_address_flag (False, bool, False) + Technical contact same as org address flag id (False, str, None) diff --git a/docs/ibm_storage_block.rst b/docs/ibm_storage_block.rst index 4b0ddac28..a67effbac 100644 --- a/docs/ibm_storage_block.rst +++ b/docs/ibm_storage_block.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,20 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - os_format_type (True, str, None) - (Required for new resource) OS formatr type + type (True, str, None) + (Required for new resource) Storage block type + + + snapshot_capacity (False, int, None) + Snapshot capacity in GB allowed_hardware_ids (False, list, None) List of allowe hardware IDs - iops (True, float, None) - (Required for new resource) IOPS value required + hourly_billing (False, bool, False) + Billing done hourly, if set to true - tags (False, list, None) - List of tags associated with the resource + allowed_virtual_guest_ids (False, list, None) + List of allowed virtual guest IDs + + + notes (False, str, None) + Additional note info datacenter (True, str, None) @@ -55,28 +63,20 @@ Parameters (Required for new resource) Storage block size - snapshot_capacity (False, int, None) - Snapshot capacity in GB - - - allowed_virtual_guest_ids (False, list, None) - List of allowed virtual guest IDs + os_format_type (True, str, None) + (Required for new resource) OS formatr type allowed_ip_addresses (False, list, None) Allowed IP addresses - type (True, str, None) - (Required for new resource) Storage block type - - - notes (False, str, None) - Additional note info + tags (False, list, None) + List of tags associated with the resource - hourly_billing (False, bool, False) - Billing done hourly, if set to true + iops (True, float, None) + (Required for new resource) IOPS value required id (False, str, None) diff --git a/docs/ibm_storage_evault.rst b/docs/ibm_storage_evault.rst index d42515164..c4dfe90c6 100644 --- a/docs/ibm_storage_evault.rst +++ b/docs/ibm_storage_evault.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_storage_file.rst b/docs/ibm_storage_file.rst index d548612be..6aff5b41a 100644 --- a/docs/ibm_storage_file.rst +++ b/docs/ibm_storage_file.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - allowed_subnets (False, list, None) - Allowed network subnets - - - tags (False, list, None) - Tags set for the storage volume - - type (True, str, None) (Required for new resource) Storage type @@ -47,38 +39,46 @@ Parameters (Required for new resource) Datacenter name - capacity (True, int, None) - (Required for new resource) Storage capacity - - - iops (True, float, None) - (Required for new resource) iops rate - - allowed_virtual_guest_ids (False, list, None) Virtual guest ID - snapshot_schedule (False, list, None) - None + hourly_billing (False, bool, False) + Hourly based billing type + + + capacity (True, int, None) + (Required for new resource) Storage capacity snapshot_capacity (False, int, None) Snapshot capacity - allowed_ip_addresses (False, list, None) - Allowed range of IP addresses + snapshot_schedule (False, list, None) + None - hourly_billing (False, bool, False) - Hourly based billing type + tags (False, list, None) + Tags set for the storage volume + + + iops (True, float, None) + (Required for new resource) iops rate allowed_hardware_ids (False, list, None) Hardaware ID + allowed_subnets (False, list, None) + Allowed network subnets + + + allowed_ip_addresses (False, list, None) + Allowed range of IP addresses + + notes (False, str, None) Notes diff --git a/docs/ibm_subnet.rst b/docs/ibm_subnet.rst index 6883fa5be..45e477948 100644 --- a/docs/ibm_subnet.rst +++ b/docs/ibm_subnet.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,34 +31,34 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - private (False, bool, False) - private subnet - - - type (True, str, None) - (Required for new resource) subnet type + ip_version (False, int, 4) + ip version capacity (True, int, None) (Required for new resource) number of ip addresses in the subnet - notes (False, str, None) - Notes + vlan_id (False, int, None) + VLAN ID for the subnet - ip_version (False, int, 4) - ip version + private (False, bool, False) + private subnet - vlan_id (False, int, None) - VLAN ID for the subnet + type (True, str, None) + (Required for new resource) subnet type endpoint_ip (False, str, None) endpoint IP + notes (False, str, None) + Notes + + tags (False, list, None) tags set for the resource diff --git a/docs/ibm_tg_connection.rst b/docs/ibm_tg_connection.rst index ab9e4274c..d04a2b486 100644 --- a/docs/ibm_tg_connection.rst +++ b/docs/ibm_tg_connection.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - The user-defined name for this transit gateway. If unspecified, the name will be the network name (the name of the VPC in the case of network type 'vpc', and the word Classic, in the case of network type 'classic'). - - network_id (False, str, None) The ID of the network being connected via this connection. This field is required for some types, such as 'vpc' or 'directlink'. The value of this is the CRN of the VPC or direct link gateway to be connected. This field is required to be unspecified for network type 'classic'. @@ -43,40 +39,44 @@ Parameters The ID of a network_type 'classic' connection a tunnel is configured over. This field only applies to network type 'gre_tunnel' connections. - local_tunnel_ip (False, str, None) - The local tunnel IP address. This field only applies to network type 'gre_tunnel' connections. - - - gateway (True, str, None) - (Required for new resource) The Transit Gateway identifier + local_gateway_ip (False, str, None) + The local gateway IP address. This field only applies to network type 'gre_tunnel' connections. - remote_bgp_asn (False, int, None) - The remote network BGP ASN. This field only applies to network type 'gre_tunnel' connections. + remote_gateway_ip (False, str, None) + The remote gateway IP address. This field only applies to network type 'gre_tunnel' connections. remote_tunnel_ip (False, str, None) The remote tunnel IP address. This field only applies to network type 'gre_tunnel' connections. - network_type (True, str, None) - (Required for new resource) Defines what type of network is connected via this connection. Allowable values (classic,directlink,vpc,gre_tunnel) + zone (False, str, None) + Location of GRE tunnel. This field only applies to network type 'gre_tunnel' connections. + + + name (False, str, None) + The user-defined name for this transit gateway. If unspecified, the name will be the network name (the name of the VPC in the case of network type 'vpc', and the word Classic, in the case of network type 'classic'). network_account_id (False, str, None) The ID of the account which owns the network that is being connected. Generally only used if the network is in a different account than the gateway. - remote_gateway_ip (False, str, None) - The remote gateway IP address. This field only applies to network type 'gre_tunnel' connections. + local_tunnel_ip (False, str, None) + The local tunnel IP address. This field only applies to network type 'gre_tunnel' connections. - local_gateway_ip (False, str, None) - The local gateway IP address. This field only applies to network type 'gre_tunnel' connections. + remote_bgp_asn (False, int, None) + The remote network BGP ASN. This field only applies to network type 'gre_tunnel' connections. - zone (False, str, None) - Location of GRE tunnel. This field only applies to network type 'gre_tunnel' connections. + gateway (True, str, None) + (Required for new resource) The Transit Gateway identifier + + + network_type (True, str, None) + (Required for new resource) Defines what type of network is connected via this connection. Allowable values (classic,directlink,vpc,gre_tunnel) id (False, str, None) diff --git a/docs/ibm_tg_connection_prefix_filter.rst b/docs/ibm_tg_connection_prefix_filter.rst index 05eb07be1..f3b8bd1d5 100644 --- a/docs/ibm_tg_connection_prefix_filter.rst +++ b/docs/ibm_tg_connection_prefix_filter.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + before (False, str, None) + Identifier of prefix filter that handles ordering + + + le (False, int, None) + IP Prefix LE + + gateway (True, str, None) (Required for new resource) The Transit Gateway identifier @@ -43,18 +51,10 @@ Parameters (Required for new resource) Whether to permit or deny the prefix filter - before (False, str, None) - Identifier of prefix filter that handles ordering - - ge (False, int, None) IP Prefix GE - le (False, int, None) - IP Prefix LE - - prefix (True, str, None) (Required for new resource) IP Prefix diff --git a/docs/ibm_tg_connection_prefix_filter_info.rst b/docs/ibm_tg_connection_prefix_filter_info.rst index 8d143ed6a..a43ded110 100644 --- a/docs/ibm_tg_connection_prefix_filter_info.rst +++ b/docs/ibm_tg_connection_prefix_filter_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + connection_id (True, str, None) + The Transit Gateway Connection identifier + + filter_id (True, str, None) The Transit Gateway Connection Prefix Filter identifier @@ -37,10 +41,6 @@ Parameters The Transit Gateway identifier - connection_id (True, str, None) - The Transit Gateway Connection identifier - - iaas_classic_username (False, any, None) (Required when generation = 1) The IBM Cloud Classic Infrastructure (SoftLayer) user name. This can also be provided via the environment variable 'IAAS_CLASSIC_USERNAME'. diff --git a/docs/ibm_tg_connection_prefix_filters_info.rst b/docs/ibm_tg_connection_prefix_filters_info.rst index 75e383ca9..c623e74f9 100644 --- a/docs/ibm_tg_connection_prefix_filters_info.rst +++ b/docs/ibm_tg_connection_prefix_filters_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_tg_gateway.rst b/docs/ibm_tg_gateway.rst index 05c47f37d..6daba3f72 100644 --- a/docs/ibm_tg_gateway.rst +++ b/docs/ibm_tg_gateway.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 @@ -31,26 +31,26 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Name Transit Gateway Services - - location (True, str, None) (Required for new resource) Location of Transit Gateway Services - global_ (False, bool, False) - Allow global routing for a Transit Gateway. If unspecified, the default value is false + name (True, str, None) + (Required for new resource) Name Transit Gateway Services - tags (False, list, None) - Tags for the transit gateway instance + global_ (False, bool, False) + Allow global routing for a Transit Gateway. If unspecified, the default value is false resource_group (False, str, None) None + tags (False, list, None) + Tags for the transit gateway instance + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_tg_gateway_info.rst b/docs/ibm_tg_gateway_info.rst index de5866ef2..6edcd8fa8 100644 --- a/docs/ibm_tg_gateway_info.rst +++ b/docs/ibm_tg_gateway_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_tg_gateways_info.rst b/docs/ibm_tg_gateways_info.rst index 8031b1c7c..51839ceeb 100644 --- a/docs/ibm_tg_gateways_info.rst +++ b/docs/ibm_tg_gateways_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_tg_location_info.rst b/docs/ibm_tg_location_info.rst index 0a3ae97d6..0cb435603 100644 --- a/docs/ibm_tg_location_info.rst +++ b/docs/ibm_tg_location_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_tg_locations_info.rst b/docs/ibm_tg_locations_info.rst index ef0533d3e..1576b5997 100644 --- a/docs/ibm_tg_locations_info.rst +++ b/docs/ibm_tg_locations_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_tg_route_report.rst b/docs/ibm_tg_route_report.rst index b0c5aaeb5..74acfa9d5 100644 --- a/docs/ibm_tg_route_report.rst +++ b/docs/ibm_tg_route_report.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_tg_route_report_info.rst b/docs/ibm_tg_route_report_info.rst index 1be7efe18..a17435ddf 100644 --- a/docs/ibm_tg_route_report_info.rst +++ b/docs/ibm_tg_route_report_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/docs/ibm_tg_route_reports_info.rst b/docs/ibm_tg_route_reports_info.rst index 6b583aa22..7c85ba547 100644 --- a/docs/ibm_tg_route_reports_info.rst +++ b/docs/ibm_tg_route_reports_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.46.0 +- IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 diff --git a/plugins/modules/ibm_account_info.py b/plugins/modules/ibm_account_info.py index 624022e45..6b167c20f 100644 --- a/plugins/modules/ibm_account_info.py +++ b/plugins/modules/ibm_account_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_account' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_account', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_api_gateway_endpoint.py b/plugins/modules/ibm_api_gateway_endpoint.py index d4b85cd11..e346ae0e2 100644 --- a/plugins/modules/ibm_api_gateway_endpoint.py +++ b/plugins/modules/ibm_api_gateway_endpoint.py @@ -18,18 +18,19 @@ - Create, update or destroy an IBM Cloud 'ibm_api_gateway_endpoint' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - service_instance_crn: + type: description: - - (Required for new resource) Api Gateway Service Instance Crn - required: True + - Action type of Endpoint ALoowable values are share, unshare, manage, unmanage + required: False type: str - open_api_doc_name: + default: unshare + name: description: - - (Required for new resource) Json File path + - (Required for new resource) Endpoint name required: True type: str routes: @@ -44,9 +45,14 @@ required: False type: str default: user-defined - name: + service_instance_crn: description: - - (Required for new resource) Endpoint name + - (Required for new resource) Api Gateway Service Instance Crn + required: True + type: str + open_api_doc_name: + description: + - (Required for new resource) Json File path required: True type: str managed: @@ -55,12 +61,6 @@ required: False type: bool default: False - type: - description: - - Action type of Endpoint ALoowable values are share, unshare, manage, unmanage - required: False - type: str - default: unshare id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -107,20 +107,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('name', 'str'), ('service_instance_crn', 'str'), ('open_api_doc_name', 'str'), - ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'service_instance_crn', - 'open_api_doc_name', + 'type', + 'name', 'routes', 'provider_id', - 'name', + 'service_instance_crn', + 'open_api_doc_name', 'managed', - 'type', ] # Params for Data source @@ -137,10 +137,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - service_instance_crn=dict( + type=dict( required=False, type='str'), - open_api_doc_name=dict( + name=dict( required=False, type='str'), routes=dict( @@ -150,15 +150,15 @@ provider_id=dict( required=False, type='str'), - name=dict( + service_instance_crn=dict( + required=False, + type='str'), + open_api_doc_name=dict( required=False, type='str'), managed=dict( required=False, type='bool'), - type=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -224,7 +224,7 @@ def run_module(): resource_type='ibm_api_gateway_endpoint', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_api_gateway_endpoint_subscription.py b/plugins/modules/ibm_api_gateway_endpoint_subscription.py index 91aa20392..0a6e14ae2 100644 --- a/plugins/modules/ibm_api_gateway_endpoint_subscription.py +++ b/plugins/modules/ibm_api_gateway_endpoint_subscription.py @@ -18,25 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_api_gateway_endpoint_subscription' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - type: - description: - - (Required for new resource) Subscription type. Allowable values are external, internal - required: True - type: str - client_secret: - description: - - Client Sercret of a Subscription - required: False - type: str - generate_secret: - description: - - Indicates if Client Sercret has to be autogenerated - required: False - type: bool artifact_id: description: - (Required for new resource) Endpoint ID @@ -52,6 +37,21 @@ - (Required for new resource) Subscription name required: True type: str + type: + description: + - (Required for new resource) Subscription type. Allowable values are external, internal + required: True + type: str + client_secret: + description: + - Client Sercret of a Subscription + required: False + type: str + generate_secret: + description: + - Indicates if Client Sercret has to be autogenerated + required: False + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -98,19 +98,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('type', 'str'), ('artifact_id', 'str'), ('name', 'str'), + ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'type', - 'client_secret', - 'generate_secret', 'artifact_id', 'client_id', 'name', + 'type', + 'client_secret', + 'generate_secret', ] # Params for Data source @@ -129,24 +129,24 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - type=dict( + artifact_id=dict( required=False, type='str'), - client_secret=dict( + client_id=dict( required=False, type='str'), - generate_secret=dict( - required=False, - type='bool'), - artifact_id=dict( + name=dict( required=False, type='str'), - client_id=dict( + type=dict( required=False, type='str'), - name=dict( + client_secret=dict( required=False, type='str'), + generate_secret=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -212,7 +212,7 @@ def run_module(): resource_type='ibm_api_gateway_endpoint_subscription', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_api_gateway_info.py b/plugins/modules/ibm_api_gateway_info.py index a32422b47..6cfef2851 100644 --- a/plugins/modules/ibm_api_gateway_info.py +++ b/plugins/modules/ibm_api_gateway_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_api_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_api_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app.py b/plugins/modules/ibm_app.py index 485a90ebd..c1357ae12 100644 --- a/plugins/modules/ibm_app.py +++ b/plugins/modules/ibm_app.py @@ -18,15 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_app' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - buildpack: + memory: description: - - Buildpack to build the app. 3 options: a) Blank means autodetection; b) A Git Url pointing to a buildpack; c) Name of an installed buildpack. + - The amount of memory each instance should have. In megabytes. required: False - type: str + type: int environment_json: description: - Key/value pairs of all the environment variables to run in your app. Does not include any system or service variables. @@ -37,39 +37,27 @@ - Version of the application required: False type: str - tags: - description: - - None - required: False - type: list - elements: str - memory: + health_check_timeout: description: - - The amount of memory each instance should have. In megabytes. + - Timeout in seconds for health checking of an staged app when starting up. required: False type: int - service_instance_guid: + buildpack: description: - - Define the service instance guids that should be bound to this application. + - Buildpack to build the app. 3 options: a) Blank means autodetection; b) A Git Url pointing to a buildpack; c) Name of an installed buildpack. required: False - type: list - elements: str - app_path: - description: - - (Required for new resource) Define the path of the zip file of the application. - required: True type: str - health_check_type: + wait_time_minutes: description: - - Type of health check to perform. + - Define timeout to wait for the app instances to start/update/restage etc. required: False - type: str - default: port - health_check_timeout: + type: int + default: 20 + health_check_http_endpoint: description: - - Timeout in seconds for health checking of an staged app when starting up. + - Endpoint called to determine if the app is healthy. required: False - type: int + type: str name: description: - (Required for new resource) The name for the app @@ -81,38 +69,50 @@ required: False type: int default: 1 + disk_quota: + description: + - The maximum amount of disk available to an instance of an app. In megabytes. + required: False + type: int route_guid: description: - Define the route guids which should be bound to the application. required: False type: list elements: str - disk_quota: + command: description: - - The maximum amount of disk available to an instance of an app. In megabytes. + - The initial command for the app required: False - type: int + type: str + tags: + description: + - None + required: False + type: list + elements: str space_guid: description: - (Required for new resource) Define space guid to which app belongs required: True type: str - command: + service_instance_guid: description: - - The initial command for the app + - Define the service instance guids that should be bound to this application. required: False - type: str - wait_time_minutes: + type: list + elements: str + app_path: description: - - Define timeout to wait for the app instances to start/update/restage etc. - required: False - type: int - default: 20 - health_check_http_endpoint: + - (Required for new resource) Define the path of the zip file of the application. + required: True + type: str + health_check_type: description: - - Endpoint called to determine if the app is healthy. + - Type of health check to perform. required: False type: str + default: port id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -159,30 +159,30 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('app_path', 'str'), ('name', 'str'), ('space_guid', 'str'), + ('app_path', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'buildpack', + 'memory', 'environment_json', 'app_version', - 'tags', - 'memory', - 'service_instance_guid', - 'app_path', - 'health_check_type', 'health_check_timeout', + 'buildpack', + 'wait_time_minutes', + 'health_check_http_endpoint', 'name', 'instances', - 'route_guid', 'disk_quota', - 'space_guid', + 'route_guid', 'command', - 'wait_time_minutes', - 'health_check_http_endpoint', + 'tags', + 'space_guid', + 'service_instance_guid', + 'app_path', + 'health_check_type', ] # Params for Data source @@ -203,58 +203,58 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - buildpack=dict( + memory=dict( required=False, - type='str'), + type='int'), environment_json=dict( required=False, type='dict'), app_version=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), - memory=dict( + health_check_timeout=dict( required=False, type='int'), - service_instance_guid=dict( - required=False, - elements='', - type='list'), - app_path=dict( - required=False, - type='str'), - health_check_type=dict( + buildpack=dict( required=False, type='str'), - health_check_timeout=dict( + wait_time_minutes=dict( required=False, type='int'), + health_check_http_endpoint=dict( + required=False, + type='str'), name=dict( required=False, type='str'), instances=dict( required=False, type='int'), + disk_quota=dict( + required=False, + type='int'), route_guid=dict( required=False, elements='', type='list'), - disk_quota=dict( + command=dict( required=False, - type='int'), + type='str'), + tags=dict( + required=False, + elements='', + type='list'), space_guid=dict( required=False, type='str'), - command=dict( + service_instance_guid=dict( required=False, - type='str'), - wait_time_minutes=dict( + elements='', + type='list'), + app_path=dict( required=False, - type='int'), - health_check_http_endpoint=dict( + type='str'), + health_check_type=dict( required=False, type='str'), id=dict( @@ -322,7 +322,7 @@ def run_module(): resource_type='ibm_app', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -331,7 +331,7 @@ def run_module(): resource_type='ibm_app', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_config_collection.py b/plugins/modules/ibm_app_config_collection.py index 09347ee30..5a552d7dd 100644 --- a/plugins/modules/ibm_app_config_collection.py +++ b/plugins/modules/ibm_app_config_collection.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_app_config_collection' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,6 +27,11 @@ - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. required: True type: str + tags: + description: + - Tags associated with the collection + required: False + type: str name: description: - (Required for new resource) Collection name. @@ -42,11 +47,6 @@ - Collection description required: False type: str - tags: - description: - - Tags associated with the collection - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -101,10 +101,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'guid', + 'tags', 'name', 'collection_id', 'description', - 'tags', ] # Params for Data source @@ -116,8 +116,8 @@ TL_ALL_PARAMETERS_DS = [ 'guid', 'collection_id', - 'include', 'expand', + 'include', ] TL_CONFLICTS_MAP = { @@ -130,6 +130,9 @@ guid=dict( required=False, type='str'), + tags=dict( + required=False, + type='str'), name=dict( required=False, type='str'), @@ -139,9 +142,6 @@ description=dict( required=False, type='str'), - tags=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_app_config_collection', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_app_config_collection', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_config_collection_info.py b/plugins/modules/ibm_app_config_collection_info.py index fcbb21415..336d7416b 100644 --- a/plugins/modules/ibm_app_config_collection_info.py +++ b/plugins/modules/ibm_app_config_collection_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_collection' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -31,17 +31,17 @@ - Collection Id of the collection. required: True type: str + expand: + description: + - If set to true, returns expanded view of the resource details. + required: False + type: bool include: description: - Include feature, property details in the response. required: False type: list elements: str - expand: - description: - - If set to true, returns expanded view of the resource details. - required: False - type: bool iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -83,8 +83,8 @@ TL_ALL_PARAMETERS = [ 'guid', 'collection_id', - 'include', 'expand', + 'include', ] @@ -101,13 +101,13 @@ collection_id=dict( required=True, type='str'), + expand=dict( + required=False, + type='bool'), include=dict( required=False, elements='', type='list'), - expand=dict( - required=False, - type='bool'), iaas_classic_username=dict( type='str', no_log=True, @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_app_config_collection', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_collections_info.py b/plugins/modules/ibm_app_config_collections_info.py index 9981609bb..56b9c75aa 100644 --- a/plugins/modules/ibm_app_config_collections_info.py +++ b/plugins/modules/ibm_app_config_collections_info.py @@ -17,21 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_collections' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - offset: - description: - - Skipped number of records. - required: False - type: int - include: - description: - - Include feature, property details in the response. - required: False - type: list - elements: str expand: description: - If set to true, returns expanded view of the resource details. @@ -47,6 +36,17 @@ - The number of records to retrieve. required: False type: int + offset: + description: + - Skipped number of records. + required: False + type: int + include: + description: + - Include feature, property details in the response. + required: False + type: list + elements: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -85,11 +85,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'offset', - 'include', 'expand', 'guid', 'limit', + 'offset', + 'include', ] @@ -100,13 +100,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - offset=dict( - required=False, - type='int'), - include=dict( - required=False, - elements='', - type='list'), expand=dict( required=False, type='bool'), @@ -116,6 +109,13 @@ limit=dict( required=False, type='int'), + offset=dict( + required=False, + type='int'), + include=dict( + required=False, + elements='', + type='list'), iaas_classic_username=dict( type='str', no_log=True, @@ -150,7 +150,7 @@ def run_module(): resource_type='ibm_app_config_collections', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_environment.py b/plugins/modules/ibm_app_config_environment.py index 743a6a0fc..0e2db6e76 100644 --- a/plugins/modules/ibm_app_config_environment.py +++ b/plugins/modules/ibm_app_config_environment.py @@ -18,10 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_app_config_environment' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + color_code: + description: + - Color code to distinguish the environment. + required: False + type: str + tags: + description: + - Tags associated with the environment + required: False + type: str guid: description: - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. @@ -37,21 +47,11 @@ - (Required for new resource) Environment Id. required: True type: str - tags: - description: - - Tags associated with the environment - required: False - type: str description: description: - Environment description required: False type: str - color_code: - description: - - Color code to distinguish the environment. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -105,12 +105,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'color_code', + 'tags', 'guid', 'name', 'environment_id', - 'tags', 'description', - 'color_code', ] # Params for Data source @@ -132,22 +132,22 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - guid=dict( + color_code=dict( required=False, type='str'), - name=dict( + tags=dict( required=False, type='str'), - environment_id=dict( + guid=dict( required=False, type='str'), - tags=dict( + name=dict( required=False, type='str'), - description=dict( + environment_id=dict( required=False, type='str'), - color_code=dict( + description=dict( required=False, type='str'), id=dict( @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_app_config_environment', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -224,7 +224,7 @@ def run_module(): resource_type='ibm_app_config_environment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_config_environment_info.py b/plugins/modules/ibm_app_config_environment_info.py index b7b00b275..4b293755c 100644 --- a/plugins/modules/ibm_app_config_environment_info.py +++ b/plugins/modules/ibm_app_config_environment_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_environment' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -131,7 +131,7 @@ def run_module(): resource_type='ibm_app_config_environment', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_environments_info.py b/plugins/modules/ibm_app_config_environments_info.py index 721232cf6..e714abdbd 100644 --- a/plugins/modules/ibm_app_config_environments_info.py +++ b/plugins/modules/ibm_app_config_environments_info.py @@ -17,30 +17,30 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_environments' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - offset: + guid: description: - - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. - required: False - type: int + - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + required: True + type: str tags: description: - filter the resources to be returned based on the associated tags. Returns resources associated with any of the specified tags. required: False type: str + offset: + description: + - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. + required: False + type: int expand: description: - If set to `true`, returns expanded view of the resource details. required: False type: bool - guid: - description: - - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - required: True - type: str limit: description: - The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. @@ -84,10 +84,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'offset', + 'guid', 'tags', + 'offset', 'expand', - 'guid', 'limit', ] @@ -99,18 +99,18 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - offset=dict( - required=False, - type='int'), + guid=dict( + required=True, + type='str'), tags=dict( required=False, type='str'), + offset=dict( + required=False, + type='int'), expand=dict( required=False, type='bool'), - guid=dict( - required=True, - type='str'), limit=dict( required=False, type='int'), @@ -148,7 +148,7 @@ def run_module(): resource_type='ibm_app_config_environments', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_feature.py b/plugins/modules/ibm_app_config_feature.py index c88dac5b1..8715b091e 100644 --- a/plugins/modules/ibm_app_config_feature.py +++ b/plugins/modules/ibm_app_config_feature.py @@ -18,39 +18,28 @@ - Create, update or destroy an IBM Cloud 'ibm_app_config_feature' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - environment_id: - description: - - (Required for new resource) Environment Id. - required: True - type: str - feature_id: + name: description: - - (Required for new resource) Feature id. + - (Required for new resource) Feature name. required: True type: str - tags: + description: description: - - Tags associated with the feature. + - Feature description. required: False type: str - collections: - description: - - List of collection id representing the collections that are associated with the specified feature flag. - required: False - type: list - elements: dict - name: + guid: description: - - (Required for new resource) Feature name. + - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. required: True type: str - disabled_value: + feature_id: description: - - (Required for new resource) Value of the feature when it is disabled. The value can be BOOLEAN, STRING or a NUMERIC value as per the `type` attribute. + - (Required for new resource) Feature id. required: True type: str enabled_value: @@ -58,9 +47,9 @@ - (Required for new resource) Value of the feature when it is enabled. The value can be BOOLEAN, STRING or a NUMERIC value as per the `type` attribute. required: True type: str - description: + tags: description: - - Feature description. + - Tags associated with the feature. required: False type: str rollout_percentage: @@ -68,9 +57,9 @@ - Rollout percentage of the feature. required: False type: int - guid: + environment_id: description: - - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + - (Required for new resource) Environment Id. required: True type: str type: @@ -78,12 +67,23 @@ - (Required for new resource) Type of the feature (BOOLEAN, STRING, NUMERIC). required: True type: str + disabled_value: + description: + - (Required for new resource) Value of the feature when it is disabled. The value can be BOOLEAN, STRING or a NUMERIC value as per the `type` attribute. + required: True + type: str segment_rules: description: - Specify the targeting rules that is used to set different feature flag values for different segments. required: False type: list elements: dict + collections: + description: + - List of collection id representing the collections that are associated with the specified feature flag. + required: False + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -130,43 +130,43 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('environment_id', 'str'), - ('feature_id', 'str'), ('name', 'str'), - ('disabled_value', 'str'), - ('enabled_value', 'str'), ('guid', 'str'), + ('feature_id', 'str'), + ('enabled_value', 'str'), + ('environment_id', 'str'), ('type', 'str'), + ('disabled_value', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'environment_id', - 'feature_id', - 'tags', - 'collections', 'name', - 'disabled_value', - 'enabled_value', 'description', - 'rollout_percentage', 'guid', + 'feature_id', + 'enabled_value', + 'tags', + 'rollout_percentage', + 'environment_id', 'type', + 'disabled_value', 'segment_rules', + 'collections', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ + ('guid', 'str'), ('environment_id', 'str'), ('feature_id', 'str'), - ('guid', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'environment_id', - 'feature_id', 'guid', + 'environment_id', 'includes', + 'feature_id', ] TL_CONFLICTS_MAP = { @@ -176,44 +176,44 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - environment_id=dict( - required=False, - type='str'), - feature_id=dict( + name=dict( required=False, type='str'), - tags=dict( + description=dict( required=False, type='str'), - collections=dict( - required=False, - elements='', - type='list'), - name=dict( + guid=dict( required=False, type='str'), - disabled_value=dict( + feature_id=dict( required=False, type='str'), enabled_value=dict( required=False, type='str'), - description=dict( + tags=dict( required=False, type='str'), rollout_percentage=dict( required=False, type='int'), - guid=dict( + environment_id=dict( required=False, type='str'), type=dict( required=False, type='str'), + disabled_value=dict( + required=False, + type='str'), segment_rules=dict( required=False, elements='', type='list'), + collections=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -279,7 +279,7 @@ def run_module(): resource_type='ibm_app_config_feature', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -288,7 +288,7 @@ def run_module(): resource_type='ibm_app_config_feature', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_config_feature_info.py b/plugins/modules/ibm_app_config_feature_info.py index 468a00eba..8645e5b40 100644 --- a/plugins/modules/ibm_app_config_feature_info.py +++ b/plugins/modules/ibm_app_config_feature_info.py @@ -17,23 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_feature' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - environment_id: - description: - - Environment Id. - required: True - type: str - feature_id: + guid: description: - - Feature Id. + - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. required: True type: str - guid: + environment_id: description: - - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + - Environment Id. required: True type: str includes: @@ -41,6 +36,11 @@ - Include the associated collections in the response. required: False type: str + feature_id: + description: + - Feature Id. + required: True + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -74,17 +74,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('guid', 'str'), ('environment_id', 'str'), ('feature_id', 'str'), - ('guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'environment_id', - 'feature_id', 'guid', + 'environment_id', 'includes', + 'feature_id', ] @@ -95,18 +95,18 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - environment_id=dict( - required=True, - type='str'), - feature_id=dict( + guid=dict( required=True, type='str'), - guid=dict( + environment_id=dict( required=True, type='str'), includes=dict( required=False, type='str'), + feature_id=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_app_config_feature', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_features_info.py b/plugins/modules/ibm_app_config_features_info.py index 79375f687..e7cdcc384 100644 --- a/plugins/modules/ibm_app_config_features_info.py +++ b/plugins/modules/ibm_app_config_features_info.py @@ -17,63 +17,63 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_features' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - tags: + guid: description: - - Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated tags. Returns resources associated with any of the specified tags. - required: False + - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + required: True type: str - offset: - description: - - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. - required: False - type: int limit: description: - The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. required: False type: int - guid: + environment_id: description: - - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + - Environment Id. required: True type: str - collections: + expand: description: - - Filter features by a list of comma separated collections. + - If set to `true`, returns expanded view of the resource details. required: False - type: list - elements: str + type: bool includes: description: - Include the associated collections or targeting rules details in the response. required: False type: list elements: str - segments: + collections: description: - - Filter features by a list of comma separated segments. + - Filter features by a list of comma separated collections. required: False type: list elements: str - environment_id: + offset: description: - - Environment Id. - required: True - type: str + - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. + required: False + type: int sort: description: - Sort the feature details based on the specified attribute. required: False type: str - expand: + tags: description: - - If set to `true`, returns expanded view of the resource details. + - Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated tags. Returns resources associated with any of the specified tags. required: False - type: bool + type: str + segments: + description: + - Filter features by a list of comma separated segments. + required: False + type: list + elements: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -113,16 +113,16 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', - 'offset', - 'limit', 'guid', - 'collections', - 'includes', - 'segments', + 'limit', 'environment_id', - 'sort', 'expand', + 'includes', + 'collections', + 'offset', + 'sort', + 'tags', + 'segments', ] @@ -133,39 +133,39 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tags=dict( - required=False, + guid=dict( + required=True, type='str'), - offset=dict( - required=False, - type='int'), limit=dict( required=False, type='int'), - guid=dict( + environment_id=dict( required=True, type='str'), - collections=dict( + expand=dict( required=False, - elements='', - type='list'), + type='bool'), includes=dict( required=False, elements='', type='list'), - segments=dict( + collections=dict( required=False, elements='', type='list'), - environment_id=dict( - required=True, - type='str'), + offset=dict( + required=False, + type='int'), sort=dict( required=False, type='str'), - expand=dict( + tags=dict( required=False, - type='bool'), + type='str'), + segments=dict( + required=False, + elements='', + type='list'), iaas_classic_username=dict( type='str', no_log=True, @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_app_config_features', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_properties_info.py b/plugins/modules/ibm_app_config_properties_info.py index 62b74b994..6c9650e9e 100644 --- a/plugins/modules/ibm_app_config_properties_info.py +++ b/plugins/modules/ibm_app_config_properties_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_properties' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + guid: + description: + - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + required: True + type: str environment_id: description: - Environment Id. @@ -31,28 +36,12 @@ - Sort the feature details based on the specified attribute. required: False type: str - collections: - description: - - Filter features by a list of comma separated collections. - required: False - type: list - elements: str segments: description: - Filter features by a list of comma separated segments. required: False type: list elements: str - guid: - description: - - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - required: True - type: str - tags: - description: - - Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated tags. Returns resources associated with any of the specified tags. - required: False - type: str expand: description: - If set to `true`, returns expanded view of the resource details. @@ -64,14 +53,25 @@ required: False type: list elements: str - limit: + offset: description: - - The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. + - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. required: False type: int - offset: + tags: description: - - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. + - Filter the resources to be returned based on the associated tags. Specify the parameter as a list of comma separated tags. Returns resources associated with any of the specified tags. + required: False + type: str + collections: + description: + - Filter features by a list of comma separated collections. + required: False + type: list + elements: str + limit: + description: + - The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. required: False type: int iaas_classic_username: @@ -107,22 +107,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('environment_id', 'str'), ('guid', 'str'), + ('environment_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'guid', 'environment_id', 'sort', - 'collections', 'segments', - 'guid', - 'tags', 'expand', 'include', - 'limit', 'offset', + 'tags', + 'collections', + 'limit', ] @@ -133,26 +133,19 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + guid=dict( + required=True, + type='str'), environment_id=dict( required=True, type='str'), sort=dict( required=False, type='str'), - collections=dict( - required=False, - elements='', - type='list'), segments=dict( required=False, elements='', type='list'), - guid=dict( - required=True, - type='str'), - tags=dict( - required=False, - type='str'), expand=dict( required=False, type='bool'), @@ -160,10 +153,17 @@ required=False, elements='', type='list'), - limit=dict( + offset=dict( required=False, type='int'), - offset=dict( + tags=dict( + required=False, + type='str'), + collections=dict( + required=False, + elements='', + type='list'), + limit=dict( required=False, type='int'), iaas_classic_username=dict( @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_app_config_properties', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_property.py b/plugins/modules/ibm_app_config_property.py index f318cf1b2..e59482cd2 100644 --- a/plugins/modules/ibm_app_config_property.py +++ b/plugins/modules/ibm_app_config_property.py @@ -18,34 +18,38 @@ - Create, update or destroy an IBM Cloud 'ibm_app_config_property' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - property_id: + description: description: - - (Required for new resource) Property id. - required: True + - Property description. + required: False type: str - value: + format: description: - - (Required for new resource) Value of the Property. The value can be Boolean, String or a Numeric value as per the `type` attribute. + - Format of the feature (TEXT, JSON, YAML). + required: False + type: str + name: + description: + - (Required for new resource) Property name. required: True type: str - collections: + property_id: description: - - List of collection id representing the collections that are associated with the specified property. - required: False - type: list - elements: dict - environment_id: + - (Required for new resource) Property id. + required: True + type: str + guid: description: - - (Required for new resource) Environment Id. + - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. required: True type: str - description: + tags: description: - - Property description. + - Tags associated with the property. required: False type: str segment_rules: @@ -54,29 +58,25 @@ required: False type: list elements: dict - name: - description: - - (Required for new resource) Property name. - required: True - type: str - tags: + collections: description: - - Tags associated with the property. + - List of collection id representing the collections that are associated with the specified property. required: False - type: str - guid: + type: list + elements: dict + type: description: - - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + - (Required for new resource) Type of the Property (BOOLEAN, STRING, NUMERIC). required: True type: str - format: + value: description: - - Format of the feature (TEXT, JSON, YAML). - required: False + - (Required for new resource) Value of the Property. The value can be Boolean, String or a Numeric value as per the `type` attribute. + required: True type: str - type: + environment_id: description: - - (Required for new resource) Type of the Property (BOOLEAN, STRING, NUMERIC). + - (Required for new resource) Environment Id. required: True type: str id: @@ -125,27 +125,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('property_id', 'str'), - ('value', 'str'), - ('environment_id', 'str'), ('name', 'str'), + ('property_id', 'str'), ('guid', 'str'), ('type', 'str'), + ('value', 'str'), + ('environment_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'property_id', - 'value', - 'collections', - 'environment_id', 'description', - 'segment_rules', + 'format', 'name', - 'tags', + 'property_id', 'guid', - 'format', + 'tags', + 'segment_rules', + 'collections', 'type', + 'value', + 'environment_id', ] # Params for Data source @@ -158,8 +158,8 @@ TL_ALL_PARAMETERS_DS = [ 'guid', 'environment_id', - 'include', 'property_id', + 'include', ] TL_CONFLICTS_MAP = { @@ -169,39 +169,39 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - property_id=dict( + description=dict( required=False, type='str'), - value=dict( + format=dict( required=False, type='str'), - collections=dict( + name=dict( required=False, - elements='', - type='list'), - environment_id=dict( + type='str'), + property_id=dict( required=False, type='str'), - description=dict( + guid=dict( + required=False, + type='str'), + tags=dict( required=False, type='str'), segment_rules=dict( required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), - tags=dict( + collections=dict( required=False, - type='str'), - guid=dict( + elements='', + type='list'), + type=dict( required=False, type='str'), - format=dict( + value=dict( required=False, type='str'), - type=dict( + environment_id=dict( required=False, type='str'), id=dict( @@ -269,7 +269,7 @@ def run_module(): resource_type='ibm_app_config_property', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -278,7 +278,7 @@ def run_module(): resource_type='ibm_app_config_property', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_config_property_info.py b/plugins/modules/ibm_app_config_property_info.py index e1dae83fc..262ecbea5 100644 --- a/plugins/modules/ibm_app_config_property_info.py +++ b/plugins/modules/ibm_app_config_property_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_property' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -31,16 +31,16 @@ - Environment Id. required: True type: str - include: - description: - - Include the associated collections in the response. - required: False - type: str property_id: description: - Property Id. required: True type: str + include: + description: + - Include the associated collections in the response. + required: False + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -83,8 +83,8 @@ TL_ALL_PARAMETERS = [ 'guid', 'environment_id', - 'include', 'property_id', + 'include', ] @@ -101,12 +101,12 @@ environment_id=dict( required=True, type='str'), - include=dict( - required=False, - type='str'), property_id=dict( required=True, type='str'), + include=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_app_config_property', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_segment.py b/plugins/modules/ibm_app_config_segment.py index cda46f185..eaf193a1b 100644 --- a/plugins/modules/ibm_app_config_segment.py +++ b/plugins/modules/ibm_app_config_segment.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_app_config_segment' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,32 +27,32 @@ - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. required: True type: str - name: - description: - - (Required for new resource) Segment name. - required: True - type: str description: description: - Segment description. required: False type: str - tags: + rules: description: - - Tags associated with the segments. - required: False + - (Required for new resource) List of rules that determine if the entity belongs to the segment during feature / property evaluation. An entity is identified by an unique identifier and the attributes that it defines. + required: True + type: list + elements: dict + name: + description: + - (Required for new resource) Segment name. + required: True type: str segment_id: description: - (Required for new resource) Segment id. required: True type: str - rules: + tags: description: - - (Required for new resource) List of rules that determine if the entity belongs to the segment during feature / property evaluation. An entity is identified by an unique identifier and the attributes that it defines. - required: True - type: list - elements: dict + - Tags associated with the segments. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -100,19 +100,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('guid', 'str'), + ('rules', 'list'), ('name', 'str'), ('segment_id', 'str'), - ('rules', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'guid', - 'name', 'description', - 'tags', - 'segment_id', 'rules', + 'name', + 'segment_id', + 'tags', ] # Params for Data source @@ -137,22 +137,22 @@ guid=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), description=dict( required=False, type='str'), - tags=dict( + rules=dict( + required=False, + elements='', + type='list'), + name=dict( required=False, type='str'), segment_id=dict( required=False, type='str'), - rules=dict( + tags=dict( required=False, - elements='', - type='list'), + type='str'), id=dict( required=False, type='str'), @@ -218,7 +218,7 @@ def run_module(): resource_type='ibm_app_config_segment', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_app_config_segment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_config_segment_info.py b/plugins/modules/ibm_app_config_segment_info.py index a7daaf168..1c4640912 100644 --- a/plugins/modules/ibm_app_config_segment_info.py +++ b/plugins/modules/ibm_app_config_segment_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_segment' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_app_config_segment', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_segments_info.py b/plugins/modules/ibm_app_config_segments_info.py index e9718e67c..13384c1d3 100644 --- a/plugins/modules/ibm_app_config_segments_info.py +++ b/plugins/modules/ibm_app_config_segments_info.py @@ -17,38 +17,33 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_segments' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - tags: + guid: description: - - Filter the resources to be returned based on the associated tags. - required: False + - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + required: True type: str sort: description: - Sort the segment details based on the specified attribute. required: False type: str - total_count: + include: description: - - Total number of records. + - Segment details to include the associated rules in the response required: False - type: int - offset: + type: str + limit: description: - - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. + - The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. required: False type: int - guid: - description: - - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - required: True - type: str - include: + tags: description: - - Segment details to include the associated rules in the response + - Filter the resources to be returned based on the associated tags. required: False type: str expand: @@ -56,9 +51,14 @@ - If set to `true`, returns expanded view of the resource details. required: False type: bool - limit: + total_count: description: - - The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. + - Total number of records. + required: False + type: int + offset: + description: + - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. required: False type: int iaas_classic_username: @@ -99,14 +99,14 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', - 'sort', - 'total_count', - 'offset', 'guid', + 'sort', 'include', - 'expand', 'limit', + 'tags', + 'expand', + 'total_count', + 'offset', ] @@ -117,28 +117,28 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tags=dict( - required=False, + guid=dict( + required=True, type='str'), sort=dict( required=False, type='str'), - total_count=dict( + include=dict( required=False, - type='int'), - offset=dict( + type='str'), + limit=dict( required=False, type='int'), - guid=dict( - required=True, - type='str'), - include=dict( + tags=dict( required=False, type='str'), expand=dict( required=False, type='bool'), - limit=dict( + total_count=dict( + required=False, + type='int'), + offset=dict( required=False, type='int'), iaas_classic_username=dict( @@ -175,7 +175,7 @@ def run_module(): resource_type='ibm_app_config_segments', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_snapshot.py b/plugins/modules/ibm_app_config_snapshot.py new file mode 100644 index 000000000..955860bb2 --- /dev/null +++ b/plugins/modules/ibm_app_config_snapshot.py @@ -0,0 +1,285 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_app_config_snapshot +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/app_config_snapshot + +short_description: Configure IBM Cloud 'ibm_app_config_snapshot' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_app_config_snapshot' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.47.1 + - Terraform v0.12.20 + +options: + action: + description: + - action promote + required: False + type: str + guid: + description: + - (Required for new resource) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + required: True + type: str + git_config_id: + description: + - (Required for new resource) Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only + required: True + type: str + git_url: + description: + - (Required for new resource) Git url which will be used to connect to the github account. + required: True + type: str + collection_id: + description: + - (Required for new resource) Collection id. + required: True + type: str + git_config_name: + description: + - (Required for new resource) Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only + required: True + type: str + git_file_path: + description: + - (Required for new resource) Git file path, this is a path where your configuration file will be written. + required: True + type: str + git_token: + description: + - (Required for new resource) Git token, this needs to be provided with enough permission to write and update the file. + required: True + type: str + git_branch: + description: + - (Required for new resource) Branch name to which you need to write or update the configuration. + required: True + type: str + environment_id: + description: + - (Required for new resource) Environment id. + required: True + type: str + id: + description: + - (Required when updating or destroying existing resource) IBM Cloud Resource ID. + required: False + type: str + state: + description: + - State of resource + choices: + - available + - absent + default: available + required: False + iaas_classic_username: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure (SoftLayer) user name. This can also be provided + via the environment variable 'IAAS_CLASSIC_USERNAME'. + required: False + iaas_classic_api_key: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure API key. This can also be provided via the + environment variable 'IAAS_CLASSIC_API_KEY'. + required: False + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('guid', 'str'), + ('git_config_id', 'str'), + ('git_url', 'str'), + ('collection_id', 'str'), + ('git_config_name', 'str'), + ('git_file_path', 'str'), + ('git_token', 'str'), + ('git_branch', 'str'), + ('environment_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'action', + 'guid', + 'git_config_id', + 'git_url', + 'collection_id', + 'git_config_name', + 'git_file_path', + 'git_token', + 'git_branch', + 'environment_id', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('guid', 'str'), + ('git_config_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'guid', + 'git_config_id', +] + +TL_CONFLICTS_MAP = { +} + +# define available arguments/parameters a user can pass to the module +from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform +from ansible.module_utils.basic import env_fallback +module_args = dict( + action=dict( + required=False, + type='str'), + guid=dict( + required=False, + type='str'), + git_config_id=dict( + required=False, + type='str'), + git_url=dict( + required=False, + type='str'), + collection_id=dict( + required=False, + type='str'), + git_config_name=dict( + required=False, + type='str'), + git_file_path=dict( + required=False, + type='str'), + git_token=dict( + required=False, + type='str'), + git_branch=dict( + required=False, + type='str'), + environment_id=dict( + required=False, + type='str'), + id=dict( + required=False, + type='str'), + state=dict( + type='str', + required=False, + default='available', + choices=(['available', 'absent'])), + iaas_classic_username=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_USERNAME']), + required=False), + iaas_classic_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_API_KEY']), + required=False), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + # New resource required arguments checks + missing_args = [] + if module.params['id'] is None: + for arg, _ in TL_REQUIRED_PARAMETERS: + if module.params[arg] is None: + missing_args.append(arg) + if missing_args: + module.fail_json(msg=( + "missing required arguments: " + ", ".join(missing_args))) + + conflicts = {} + if len(TL_CONFLICTS_MAP) != 0: + for arg in TL_CONFLICTS_MAP: + if module.params[arg]: + for conflict in TL_CONFLICTS_MAP[arg]: + try: + if module.params[conflict]: + conflicts[arg] = conflict + except KeyError: + pass + if len(conflicts): + module.fail_json(msg=("conflicts exist: {}".format(conflicts))) + + result_ds = ibmcloud_terraform( + resource_type='ibm_app_config_snapshot', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.47.1', + tl_required_params=TL_REQUIRED_PARAMETERS_DS, + tl_all_params=TL_ALL_PARAMETERS_DS) + + if result_ds['rc'] != 0 or (result_ds['rc'] == 0 and (module.params['id'] is not None or module.params['state'] == 'absent')): + result = ibmcloud_terraform( + resource_type='ibm_app_config_snapshot', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.47.1', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + else: + module.exit_json(**result_ds) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_app_config_snapshot_info.py b/plugins/modules/ibm_app_config_snapshot_info.py new file mode 100644 index 000000000..b014a6758 --- /dev/null +++ b/plugins/modules/ibm_app_config_snapshot_info.py @@ -0,0 +1,141 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_app_config_snapshot_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/app_config_snapshot + +short_description: Retrieve IBM Cloud 'ibm_app_config_snapshot' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_app_config_snapshot' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.47.1 + - Terraform v0.12.20 + +options: + guid: + description: + - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + required: True + type: str + git_config_id: + description: + - Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only + required: True + type: str + iaas_classic_username: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure (SoftLayer) user name. This can also be provided + via the environment variable 'IAAS_CLASSIC_USERNAME'. + required: False + iaas_classic_api_key: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure API key. This can also be provided via the + environment variable 'IAAS_CLASSIC_API_KEY'. + required: False + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('guid', 'str'), + ('git_config_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'guid', + 'git_config_id', +] + + +TL_CONFLICTS_MAP = { +} + +# define available arguments/parameters a user can pass to the module +from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform +from ansible.module_utils.basic import env_fallback +module_args = dict( + guid=dict( + required=True, + type='str'), + git_config_id=dict( + required=True, + type='str'), + iaas_classic_username=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_USERNAME']), + required=False), + iaas_classic_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_API_KEY']), + required=False), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + result = ibmcloud_terraform( + resource_type='ibm_app_config_snapshot', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.47.1', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_app_config_snapshots_info.py b/plugins/modules/ibm_app_config_snapshots_info.py new file mode 100644 index 000000000..7c38691e8 --- /dev/null +++ b/plugins/modules/ibm_app_config_snapshots_info.py @@ -0,0 +1,167 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_app_config_snapshots_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/app_config_snapshots + +short_description: Retrieve IBM Cloud 'ibm_app_config_snapshots' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_app_config_snapshots' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.47.1 + - Terraform v0.12.20 + +options: + guid: + description: + - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + required: True + type: str + collection_id: + description: + - Filters the response based on the specified collection_id. + required: False + type: str + environment_id: + description: + - Filters the response based on the specified environment_id. + required: False + type: str + limit: + description: + - The number of records to retrieve. By default, the list operation return the first 10 records. To retrieve different set of records, use `limit` with `offset` to page through the available records. + required: False + type: int + offset: + description: + - The number of records to skip. By specifying `offset`, you retrieve a subset of items that starts with the `offset` value. Use `offset` with `limit` to page through the available records. + required: False + type: int + iaas_classic_username: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure (SoftLayer) user name. This can also be provided + via the environment variable 'IAAS_CLASSIC_USERNAME'. + required: False + iaas_classic_api_key: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure API key. This can also be provided via the + environment variable 'IAAS_CLASSIC_API_KEY'. + required: False + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('guid', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'guid', + 'collection_id', + 'environment_id', + 'limit', + 'offset', +] + + +TL_CONFLICTS_MAP = { +} + +# define available arguments/parameters a user can pass to the module +from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform +from ansible.module_utils.basic import env_fallback +module_args = dict( + guid=dict( + required=True, + type='str'), + collection_id=dict( + required=False, + type='str'), + environment_id=dict( + required=False, + type='str'), + limit=dict( + required=False, + type='int'), + offset=dict( + required=False, + type='int'), + iaas_classic_username=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_USERNAME']), + required=False), + iaas_classic_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_API_KEY']), + required=False), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + result = ibmcloud_terraform( + resource_type='ibm_app_config_snapshots', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.47.1', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_app_domain_private.py b/plugins/modules/ibm_app_domain_private.py index e2adeb53a..6d745dd0d 100644 --- a/plugins/modules/ibm_app_domain_private.py +++ b/plugins/modules/ibm_app_domain_private.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_app_domain_private' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) The name of the domain - required: True - type: str org_guid: description: - (Required for new resource) The organization that owns the domain. @@ -38,6 +33,11 @@ required: False type: list elements: str + name: + description: + - (Required for new resource) The name of the domain + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,15 +84,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('org_guid', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'org_guid', 'tags', + 'name', ] # Params for Data source @@ -111,9 +111,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), org_guid=dict( required=False, type='str'), @@ -121,6 +118,9 @@ required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_app_domain_private', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_app_domain_private', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_domain_private_info.py b/plugins/modules/ibm_app_domain_private_info.py index 2830fe2e0..a13d3d5ec 100644 --- a/plugins/modules/ibm_app_domain_private_info.py +++ b/plugins/modules/ibm_app_domain_private_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_app_domain_private' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_app_domain_private', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_domain_shared.py b/plugins/modules/ibm_app_domain_shared.py index c2783d55c..e22259e20 100644 --- a/plugins/modules/ibm_app_domain_shared.py +++ b/plugins/modules/ibm_app_domain_shared.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_app_domain_shared' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_app_domain_shared', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -194,7 +194,7 @@ def run_module(): resource_type='ibm_app_domain_shared', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_domain_shared_info.py b/plugins/modules/ibm_app_domain_shared_info.py index e6a6cbf4a..14d8bbbdf 100644 --- a/plugins/modules/ibm_app_domain_shared_info.py +++ b/plugins/modules/ibm_app_domain_shared_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_app_domain_shared' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_app_domain_shared', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_info.py b/plugins/modules/ibm_app_info.py index a733e4f67..6f2fb2698 100644 --- a/plugins/modules/ibm_app_info.py +++ b/plugins/modules/ibm_app_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_app' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_app', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_route.py b/plugins/modules/ibm_app_route.py index 197de4d96..f682cdd04 100644 --- a/plugins/modules/ibm_app_route.py +++ b/plugins/modules/ibm_app_route.py @@ -18,16 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_app_route' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - tags: - description: - - None - required: False - type: list - elements: str host: description: - The host portion of the route. Required for shared-domains. @@ -53,6 +47,12 @@ - The path for a route as raw text.Paths must be between 2 and 128 characters.Paths must start with a forward slash '/'.Paths must not contain a '?' required: False type: str + tags: + description: + - None + required: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -105,12 +105,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', 'host', 'space_guid', 'domain_guid', 'port', 'path', + 'tags', ] # Params for Data source @@ -134,10 +134,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tags=dict( - required=False, - elements='', - type='list'), host=dict( required=False, type='str'), @@ -153,6 +149,10 @@ path=dict( required=False, type='str'), + tags=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -218,7 +218,7 @@ def run_module(): resource_type='ibm_app_route', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_app_route', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_route_info.py b/plugins/modules/ibm_app_route_info.py index 962fcb1ce..5ca8fd100 100644 --- a/plugins/modules/ibm_app_route_info.py +++ b/plugins/modules/ibm_app_route_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_app_route' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -149,7 +149,7 @@ def run_module(): resource_type='ibm_app_route', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_action_url.py b/plugins/modules/ibm_appid_action_url.py index 526967adf..5bf80d25e 100644 --- a/plugins/modules/ibm_appid_action_url.py +++ b/plugins/modules/ibm_appid_action_url.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_action_url' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + tenant_id: + description: + - (Required for new resource) The AppID instance GUID + required: True + type: str action: description: - (Required for new resource) The type of the action: `on_user_verified` - the URL of your custom user verified page, `on_reset_password` - the URL of your custom reset password page @@ -32,11 +37,6 @@ - (Required for new resource) The action URL required: True type: str - tenant_id: - description: - - (Required for new resource) The AppID instance GUID - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -83,16 +83,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('tenant_id', 'str'), ('action', 'str'), ('url', 'str'), - ('tenant_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'tenant_id', 'action', 'url', - 'tenant_id', ] # Params for Data source @@ -113,13 +113,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - action=dict( + tenant_id=dict( required=False, type='str'), - url=dict( + action=dict( required=False, type='str'), - tenant_id=dict( + url=dict( required=False, type='str'), id=dict( @@ -187,7 +187,7 @@ def run_module(): resource_type='ibm_appid_action_url', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_appid_action_url', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_action_url_info.py b/plugins/modules/ibm_appid_action_url_info.py index bc1d6a006..b1824e520 100644 --- a/plugins/modules/ibm_appid_action_url_info.py +++ b/plugins/modules/ibm_appid_action_url_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_action_url' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_appid_action_url', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_apm.py b/plugins/modules/ibm_appid_apm.py index 34bd04bfa..1265e3ec1 100644 --- a/plugins/modules/ibm_appid_apm.py +++ b/plugins/modules/ibm_appid_apm.py @@ -18,10 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_apm' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + password_expiration: + description: + - (Required for new resource) + required: True + type: list + elements: dict lockout_policy: description: - (Required for new resource) @@ -56,12 +62,6 @@ required: True type: list elements: dict - password_expiration: - description: - - (Required for new resource) - required: True - type: list - elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -108,23 +108,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('password_expiration', 'list'), ('lockout_policy', 'list'), ('min_password_change_interval', 'list'), ('tenant_id', 'str'), ('enabled', 'bool'), ('password_reuse', 'list'), - ('password_expiration', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'password_expiration', 'lockout_policy', 'min_password_change_interval', 'tenant_id', 'enabled', 'prevent_password_with_username', 'password_reuse', - 'password_expiration', ] # Params for Data source @@ -143,6 +143,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + password_expiration=dict( + required=False, + elements='', + type='list'), lockout_policy=dict( required=False, elements='', @@ -164,10 +168,6 @@ required=False, elements='', type='list'), - password_expiration=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -233,7 +233,7 @@ def run_module(): resource_type='ibm_appid_apm', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -242,7 +242,7 @@ def run_module(): resource_type='ibm_appid_apm', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_apm_info.py b/plugins/modules/ibm_appid_apm_info.py index 9adcbcce1..6ed58fcd2 100644 --- a/plugins/modules/ibm_appid_apm_info.py +++ b/plugins/modules/ibm_appid_apm_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_apm' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_apm', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_application.py b/plugins/modules/ibm_appid_application.py index ee5c58638..250fc9dd1 100644 --- a/plugins/modules/ibm_appid_application.py +++ b/plugins/modules/ibm_appid_application.py @@ -18,10 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_application' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + type: + description: + - The type of application to be registered. Allowed types are `regularwebapp` and `singlepageapp`, default is `regularwebapp`. + required: False + type: str + default: regularwebapp tenant_id: description: - (Required for new resource) The service `tenantId` @@ -32,12 +38,6 @@ - (Required for new resource) The application name to be registered. Application name cannot exceed 50 characters. required: True type: str - type: - description: - - The type of application to be registered. Allowed types are `regularwebapp` and `singlepageapp`, default is `regularwebapp`. - required: False - type: str - default: regularwebapp id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,9 +90,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'type', 'tenant_id', 'name', - 'type', ] # Params for Data source @@ -113,13 +113,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tenant_id=dict( + type=dict( required=False, type='str'), - name=dict( + tenant_id=dict( required=False, type='str'), - type=dict( + name=dict( required=False, type='str'), id=dict( @@ -187,7 +187,7 @@ def run_module(): resource_type='ibm_appid_application', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_appid_application', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_application_info.py b/plugins/modules/ibm_appid_application_info.py index 09d3eeec5..b5324d2e1 100644 --- a/plugins/modules/ibm_appid_application_info.py +++ b/plugins/modules/ibm_appid_application_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_application' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_appid_application', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_application_roles.py b/plugins/modules/ibm_appid_application_roles.py index e5a930bd9..39bdc7ef6 100644 --- a/plugins/modules/ibm_appid_application_roles.py +++ b/plugins/modules/ibm_appid_application_roles.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_application_roles' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -189,7 +189,7 @@ def run_module(): resource_type='ibm_appid_application_roles', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -198,7 +198,7 @@ def run_module(): resource_type='ibm_appid_application_roles', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_application_roles_info.py b/plugins/modules/ibm_appid_application_roles_info.py index 13e2f0170..bbaf3825f 100644 --- a/plugins/modules/ibm_appid_application_roles_info.py +++ b/plugins/modules/ibm_appid_application_roles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_application_roles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_appid_application_roles', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_application_scopes.py b/plugins/modules/ibm_appid_application_scopes.py index b302ab2e1..8646169d7 100644 --- a/plugins/modules/ibm_appid_application_scopes.py +++ b/plugins/modules/ibm_appid_application_scopes.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_application_scopes' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -98,13 +98,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('client_id', 'str'), ('tenant_id', 'str'), + ('client_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'client_id', 'tenant_id', + 'client_id', ] TL_CONFLICTS_MAP = { @@ -189,7 +189,7 @@ def run_module(): resource_type='ibm_appid_application_scopes', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -198,7 +198,7 @@ def run_module(): resource_type='ibm_appid_application_scopes', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_application_scopes_info.py b/plugins/modules/ibm_appid_application_scopes_info.py index 6c8c33f7f..abb01b8fb 100644 --- a/plugins/modules/ibm_appid_application_scopes_info.py +++ b/plugins/modules/ibm_appid_application_scopes_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_appid_application_scopes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - client_id: + tenant_id: description: - - The `client_id` is a public identifier for applications + - The service `tenantId` required: True type: str - tenant_id: + client_id: description: - - The service `tenantId` + - The `client_id` is a public identifier for applications required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('client_id', 'str'), ('tenant_id', 'str'), + ('client_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'client_id', 'tenant_id', + 'client_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - client_id=dict( + tenant_id=dict( required=True, type='str'), - tenant_id=dict( + client_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_appid_application_scopes', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_applications_info.py b/plugins/modules/ibm_appid_applications_info.py index 04b7891d8..d6c0efdc3 100644 --- a/plugins/modules/ibm_appid_applications_info.py +++ b/plugins/modules/ibm_appid_applications_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_applications' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_applications', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_audit_status.py b/plugins/modules/ibm_appid_audit_status.py index 9f950f8d9..e4eab8e1f 100644 --- a/plugins/modules/ibm_appid_audit_status.py +++ b/plugins/modules/ibm_appid_audit_status.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_audit_status' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -175,7 +175,7 @@ def run_module(): resource_type='ibm_appid_audit_status', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_appid_audit_status', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_audit_status_info.py b/plugins/modules/ibm_appid_audit_status_info.py index dce7ee21a..3330f0bd1 100644 --- a/plugins/modules/ibm_appid_audit_status_info.py +++ b/plugins/modules/ibm_appid_audit_status_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_audit_status' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_audit_status', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_cloud_directory_template.py b/plugins/modules/ibm_appid_cloud_directory_template.py index 3ad90b060..5b9295c31 100644 --- a/plugins/modules/ibm_appid_cloud_directory_template.py +++ b/plugins/modules/ibm_appid_cloud_directory_template.py @@ -18,16 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_cloud_directory_template' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - language: - description: - - Preferred language for resource. Format as described at RFC5646. According to the configured languages codes returned from the `GET /management/v4/{tenantId}/config/ui/languages API`. - required: False - type: str - default: en subject: description: - (Required for new resource) The subject of the email @@ -53,6 +47,12 @@ - (Required for new resource) The type of email template. This can be `USER_VERIFICATION`, `WELCOME`, `PASSWORD_CHANGED`, `RESET_PASSWORD` or `MFA_VERIFICATION` required: True type: str + language: + description: + - Preferred language for resource. Format as described at RFC5646. According to the configured languages codes returned from the `GET /management/v4/{tenantId}/config/ui/languages API`. + required: False + type: str + default: en id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -106,12 +106,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'language', 'subject', 'html_body', 'plain_text_body', 'tenant_id', 'template_name', + 'language', ] # Params for Data source @@ -133,9 +133,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - language=dict( - required=False, - type='str'), subject=dict( required=False, type='str'), @@ -151,6 +148,9 @@ template_name=dict( required=False, type='str'), + language=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_appid_cloud_directory_template', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -225,7 +225,7 @@ def run_module(): resource_type='ibm_appid_cloud_directory_template', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_cloud_directory_template_info.py b/plugins/modules/ibm_appid_cloud_directory_template_info.py index 79ab6c64e..eab34a89e 100644 --- a/plugins/modules/ibm_appid_cloud_directory_template_info.py +++ b/plugins/modules/ibm_appid_cloud_directory_template_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_cloud_directory_template' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_appid_cloud_directory_template', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_cloud_directory_user.py b/plugins/modules/ibm_appid_cloud_directory_user.py index 80e0c6a48..1bdc037c3 100644 --- a/plugins/modules/ibm_appid_cloud_directory_user.py +++ b/plugins/modules/ibm_appid_cloud_directory_user.py @@ -18,22 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_cloud_directory_user' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - active: - description: - - Determines if the user account is active or not - required: False - type: bool - default: True - create_profile: - description: - - A boolean indication if a profile should be created for the Cloud Directory user - required: False - type: bool - default: True locked_until: description: - Integer (epoch time in milliseconds), determines till when the user account will be locked @@ -44,33 +32,45 @@ - Cloud Directory user display name required: False type: str + user_name: + description: + - Optional username + required: False + type: str status: description: - Accepted values `PENDING` or `CONFIRMED` required: False type: str default: PENDING - tenant_id: + email: description: - - (Required for new resource) The AppID instance GUID + - (Required for new resource) A set of user emails required: True - type: str - user_name: + type: list + elements: dict + create_profile: description: - - Optional username + - A boolean indication if a profile should be created for the Cloud Directory user required: False - type: str + type: bool + default: True + active: + description: + - Determines if the user account is active or not + required: False + type: bool + default: True password: description: - (Required for new resource) User password required: True type: str - email: + tenant_id: description: - - (Required for new resource) A set of user emails + - (Required for new resource) The AppID instance GUID required: True - type: list - elements: dict + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -117,22 +117,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('tenant_id', 'str'), - ('password', 'str'), ('email', 'list'), + ('password', 'str'), + ('tenant_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'active', - 'create_profile', 'locked_until', 'display_name', - 'status', - 'tenant_id', 'user_name', - 'password', + 'status', 'email', + 'create_profile', + 'active', + 'password', + 'tenant_id', ] # Params for Data source @@ -153,34 +153,34 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - active=dict( - required=False, - type='bool'), - create_profile=dict( - required=False, - type='bool'), locked_until=dict( required=False, type='int'), display_name=dict( required=False, type='str'), - status=dict( - required=False, - type='str'), - tenant_id=dict( - required=False, - type='str'), user_name=dict( required=False, type='str'), - password=dict( + status=dict( required=False, type='str'), email=dict( required=False, elements='', type='list'), + create_profile=dict( + required=False, + type='bool'), + active=dict( + required=False, + type='bool'), + password=dict( + required=False, + type='str'), + tenant_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -246,7 +246,7 @@ def run_module(): resource_type='ibm_appid_cloud_directory_user', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -255,7 +255,7 @@ def run_module(): resource_type='ibm_appid_cloud_directory_user', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_cloud_directory_user_info.py b/plugins/modules/ibm_appid_cloud_directory_user_info.py index d85f4fbe2..c557efeb5 100644 --- a/plugins/modules/ibm_appid_cloud_directory_user_info.py +++ b/plugins/modules/ibm_appid_cloud_directory_user_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_cloud_directory_user' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_appid_cloud_directory_user', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_idp_cloud_directory.py b/plugins/modules/ibm_appid_idp_cloud_directory.py index 7fc15ef77..7190e59b2 100644 --- a/plugins/modules/ibm_appid_idp_cloud_directory.py +++ b/plugins/modules/ibm_appid_idp_cloud_directory.py @@ -18,33 +18,33 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_idp_cloud_directory' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - identity_confirm_access_mode: - description: - - None - required: False - type: str - default: FULL identity_confirm_methods: description: - None required: False type: list elements: str - is_active: + tenant_id: description: - (Required for new resource) required: True - type: bool + type: str signup_enabled: description: - None required: False type: bool default: True + identity_confirm_access_mode: + description: + - None + required: False + type: str + default: FULL reset_password_enabled: description: - None @@ -57,11 +57,16 @@ required: False type: bool default: True - tenant_id: + identity_field: + description: + - None + required: False + type: str + is_active: description: - (Required for new resource) required: True - type: str + type: bool self_service_enabled: description: - None @@ -74,11 +79,6 @@ required: False type: bool default: True - identity_field: - description: - - None - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -125,22 +125,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('is_active', 'bool'), ('tenant_id', 'str'), + ('is_active', 'bool'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'identity_confirm_access_mode', 'identity_confirm_methods', - 'is_active', + 'tenant_id', 'signup_enabled', + 'identity_confirm_access_mode', 'reset_password_enabled', 'reset_password_notification_enabled', - 'tenant_id', + 'identity_field', + 'is_active', 'self_service_enabled', 'welcome_enabled', - 'identity_field', ] # Params for Data source @@ -159,37 +159,37 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - identity_confirm_access_mode=dict( - required=False, - type='str'), identity_confirm_methods=dict( required=False, elements='', type='list'), - is_active=dict( + tenant_id=dict( required=False, - type='bool'), + type='str'), signup_enabled=dict( required=False, type='bool'), + identity_confirm_access_mode=dict( + required=False, + type='str'), reset_password_enabled=dict( required=False, type='bool'), reset_password_notification_enabled=dict( required=False, type='bool'), - tenant_id=dict( + identity_field=dict( required=False, type='str'), + is_active=dict( + required=False, + type='bool'), self_service_enabled=dict( required=False, type='bool'), welcome_enabled=dict( required=False, type='bool'), - identity_field=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -255,7 +255,7 @@ def run_module(): resource_type='ibm_appid_idp_cloud_directory', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -264,7 +264,7 @@ def run_module(): resource_type='ibm_appid_idp_cloud_directory', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_idp_cloud_directory_info.py b/plugins/modules/ibm_appid_idp_cloud_directory_info.py index 0b153b3d7..c40fb1898 100644 --- a/plugins/modules/ibm_appid_idp_cloud_directory_info.py +++ b/plugins/modules/ibm_appid_idp_cloud_directory_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_idp_cloud_directory' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_idp_cloud_directory', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_idp_custom.py b/plugins/modules/ibm_appid_idp_custom.py index fe940372c..7e709ff2b 100644 --- a/plugins/modules/ibm_appid_idp_custom.py +++ b/plugins/modules/ibm_appid_idp_custom.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_idp_custom' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + tenant_id: + description: + - (Required for new resource) The service `tenantId` + required: True + type: str is_active: description: - (Required for new resource) @@ -32,11 +37,6 @@ - This is the public key used to validate your signed JWT. It is required to be a PEM in the RS256 or greater format. required: False type: str - tenant_id: - description: - - (Required for new resource) The service `tenantId` - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -83,15 +83,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('is_active', 'bool'), ('tenant_id', 'str'), + ('is_active', 'bool'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'tenant_id', 'is_active', 'public_key', - 'tenant_id', ] # Params for Data source @@ -110,15 +110,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + tenant_id=dict( + required=False, + type='str'), is_active=dict( required=False, type='bool'), public_key=dict( required=False, type='str'), - tenant_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_appid_idp_custom', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_appid_idp_custom', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_idp_custom_info.py b/plugins/modules/ibm_appid_idp_custom_info.py index 41e3c82a3..5f0bf6415 100644 --- a/plugins/modules/ibm_appid_idp_custom_info.py +++ b/plugins/modules/ibm_appid_idp_custom_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_idp_custom' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_idp_custom', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_idp_facebook.py b/plugins/modules/ibm_appid_idp_facebook.py index fe80d6e51..05934f8f0 100644 --- a/plugins/modules/ibm_appid_idp_facebook.py +++ b/plugins/modules/ibm_appid_idp_facebook.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_idp_facebook' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + tenant_id: + description: + - (Required for new resource) The AppID instance GUID + required: True + type: str is_active: description: - (Required for new resource) `true` if Facebook IDP configuration is active @@ -33,11 +38,6 @@ required: False type: list elements: dict - tenant_id: - description: - - (Required for new resource) The AppID instance GUID - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,15 +84,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('is_active', 'bool'), ('tenant_id', 'str'), + ('is_active', 'bool'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'tenant_id', 'is_active', 'config', - 'tenant_id', ] # Params for Data source @@ -111,6 +111,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + tenant_id=dict( + required=False, + type='str'), is_active=dict( required=False, type='bool'), @@ -118,9 +121,6 @@ required=False, elements='', type='list'), - tenant_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_appid_idp_facebook', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_appid_idp_facebook', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_idp_facebook_info.py b/plugins/modules/ibm_appid_idp_facebook_info.py index d9e847129..fcebfc44d 100644 --- a/plugins/modules/ibm_appid_idp_facebook_info.py +++ b/plugins/modules/ibm_appid_idp_facebook_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_idp_facebook' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_idp_facebook', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_idp_google.py b/plugins/modules/ibm_appid_idp_google.py index d569c0304..c933c43bb 100644 --- a/plugins/modules/ibm_appid_idp_google.py +++ b/plugins/modules/ibm_appid_idp_google.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_idp_google' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + tenant_id: + description: + - (Required for new resource) The AppID instance GUID + required: True + type: str is_active: description: - (Required for new resource) `true` if Google IDP configuration is active @@ -33,11 +38,6 @@ required: False type: list elements: dict - tenant_id: - description: - - (Required for new resource) The AppID instance GUID - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,15 +84,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('is_active', 'bool'), ('tenant_id', 'str'), + ('is_active', 'bool'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'tenant_id', 'is_active', 'config', - 'tenant_id', ] # Params for Data source @@ -111,6 +111,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + tenant_id=dict( + required=False, + type='str'), is_active=dict( required=False, type='bool'), @@ -118,9 +121,6 @@ required=False, elements='', type='list'), - tenant_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_appid_idp_google', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_appid_idp_google', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_idp_google_info.py b/plugins/modules/ibm_appid_idp_google_info.py index a2ebaa23d..9f2bf7a67 100644 --- a/plugins/modules/ibm_appid_idp_google_info.py +++ b/plugins/modules/ibm_appid_idp_google_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_idp_google' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_idp_google', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_idp_saml.py b/plugins/modules/ibm_appid_idp_saml.py index 4ee611aee..4b5d5bb5d 100644 --- a/plugins/modules/ibm_appid_idp_saml.py +++ b/plugins/modules/ibm_appid_idp_saml.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_idp_saml' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_appid_idp_saml', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_appid_idp_saml', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_idp_saml_info.py b/plugins/modules/ibm_appid_idp_saml_info.py index 484324b2b..137c280ce 100644 --- a/plugins/modules/ibm_appid_idp_saml_info.py +++ b/plugins/modules/ibm_appid_idp_saml_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_idp_saml' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_idp_saml', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_idp_saml_metadata_info.py b/plugins/modules/ibm_appid_idp_saml_metadata_info.py index 589ee2b47..a6f04448c 100644 --- a/plugins/modules/ibm_appid_idp_saml_metadata_info.py +++ b/plugins/modules/ibm_appid_idp_saml_metadata_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_idp_saml_metadata' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_idp_saml_metadata', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_languages.py b/plugins/modules/ibm_appid_languages.py index 3ec226e48..5677c1824 100644 --- a/plugins/modules/ibm_appid_languages.py +++ b/plugins/modules/ibm_appid_languages.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_languages' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -177,7 +177,7 @@ def run_module(): resource_type='ibm_appid_languages', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_appid_languages', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_languages_info.py b/plugins/modules/ibm_appid_languages_info.py index ee1db3785..42bb7cbe3 100644 --- a/plugins/modules/ibm_appid_languages_info.py +++ b/plugins/modules/ibm_appid_languages_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_languages' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_languages', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_mfa.py b/plugins/modules/ibm_appid_mfa.py index 2c84b40ba..d6aa2cd95 100644 --- a/plugins/modules/ibm_appid_mfa.py +++ b/plugins/modules/ibm_appid_mfa.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_mfa' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -175,7 +175,7 @@ def run_module(): resource_type='ibm_appid_mfa', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_appid_mfa', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_mfa_channel.py b/plugins/modules/ibm_appid_mfa_channel.py index 12f76729e..72e6308a4 100644 --- a/plugins/modules/ibm_appid_mfa_channel.py +++ b/plugins/modules/ibm_appid_mfa_channel.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_mfa_channel' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_appid_mfa_channel', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_appid_mfa_channel', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_mfa_channel_info.py b/plugins/modules/ibm_appid_mfa_channel_info.py index c07d4dc18..91e487a6a 100644 --- a/plugins/modules/ibm_appid_mfa_channel_info.py +++ b/plugins/modules/ibm_appid_mfa_channel_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_mfa_channel' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_mfa_channel', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_mfa_info.py b/plugins/modules/ibm_appid_mfa_info.py index 182843e6c..86b28e3f2 100644 --- a/plugins/modules/ibm_appid_mfa_info.py +++ b/plugins/modules/ibm_appid_mfa_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_mfa' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_mfa', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_password_regex.py b/plugins/modules/ibm_appid_password_regex.py index 156d8cc1e..78ebe689d 100644 --- a/plugins/modules/ibm_appid_password_regex.py +++ b/plugins/modules/ibm_appid_password_regex.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_password_regex' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - regex: - description: - - (Required for new resource) The escaped regex expression rule for acceptable password - required: True - type: str tenant_id: description: - (Required for new resource) The service `tenantId` @@ -37,6 +32,11 @@ - Custom error message required: False type: str + regex: + description: + - (Required for new resource) The escaped regex expression rule for acceptable password + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -83,15 +83,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('regex', 'str'), ('tenant_id', 'str'), + ('regex', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'regex', 'tenant_id', 'error_message', + 'regex', ] # Params for Data source @@ -110,15 +110,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - regex=dict( - required=False, - type='str'), tenant_id=dict( required=False, type='str'), error_message=dict( required=False, type='str'), + regex=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_appid_password_regex', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_appid_password_regex', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_password_regex_info.py b/plugins/modules/ibm_appid_password_regex_info.py index 709ef1390..3fbd3156b 100644 --- a/plugins/modules/ibm_appid_password_regex_info.py +++ b/plugins/modules/ibm_appid_password_regex_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_password_regex' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_password_regex', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_redirect_urls.py b/plugins/modules/ibm_appid_redirect_urls.py index 6f1e28541..a814ba46c 100644 --- a/plugins/modules/ibm_appid_redirect_urls.py +++ b/plugins/modules/ibm_appid_redirect_urls.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_redirect_urls' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -177,7 +177,7 @@ def run_module(): resource_type='ibm_appid_redirect_urls', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_appid_redirect_urls', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_redirect_urls_info.py b/plugins/modules/ibm_appid_redirect_urls_info.py index aaefee04b..cdb9edac6 100644 --- a/plugins/modules/ibm_appid_redirect_urls_info.py +++ b/plugins/modules/ibm_appid_redirect_urls_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_redirect_urls' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_redirect_urls', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_role.py b/plugins/modules/ibm_appid_role.py index 936ce940d..ad68499fe 100644 --- a/plugins/modules/ibm_appid_role.py +++ b/plugins/modules/ibm_appid_role.py @@ -18,10 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_role' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + tenant_id: + description: + - (Required for new resource) The service `tenantId` + required: True + type: str + name: + description: + - (Required for new resource) Unique role name + required: True + type: str description: description: - Optional role description @@ -33,16 +43,6 @@ required: False type: list elements: dict - tenant_id: - description: - - (Required for new resource) The service `tenantId` - required: True - type: str - name: - description: - - (Required for new resource) Unique role name - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -95,10 +95,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'description', - 'access', 'tenant_id', 'name', + 'description', + 'access', ] # Params for Data source @@ -119,6 +119,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + tenant_id=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), description=dict( required=False, type='str'), @@ -126,12 +132,6 @@ required=False, elements='', type='list'), - tenant_id=dict( - required=False, - type='str'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_appid_role', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_appid_role', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_role_info.py b/plugins/modules/ibm_appid_role_info.py index 8132cf609..6e657e75d 100644 --- a/plugins/modules/ibm_appid_role_info.py +++ b/plugins/modules/ibm_appid_role_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_role' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_appid_role', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_roles_info.py b/plugins/modules/ibm_appid_roles_info.py index 548c4cdb7..d45e9282c 100644 --- a/plugins/modules/ibm_appid_roles_info.py +++ b/plugins/modules/ibm_appid_roles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_roles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_roles', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_theme_color.py b/plugins/modules/ibm_appid_theme_color.py index 062cd7ea6..0b2dc73ee 100644 --- a/plugins/modules/ibm_appid_theme_color.py +++ b/plugins/modules/ibm_appid_theme_color.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_theme_color' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -175,7 +175,7 @@ def run_module(): resource_type='ibm_appid_theme_color', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_appid_theme_color', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_theme_color_info.py b/plugins/modules/ibm_appid_theme_color_info.py index be90ebb60..3c0410d9d 100644 --- a/plugins/modules/ibm_appid_theme_color_info.py +++ b/plugins/modules/ibm_appid_theme_color_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_theme_color' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_theme_color', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_theme_text.py b/plugins/modules/ibm_appid_theme_text.py index 019424fed..587f73d7f 100644 --- a/plugins/modules/ibm_appid_theme_text.py +++ b/plugins/modules/ibm_appid_theme_text.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_theme_text' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_appid_theme_text', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_appid_theme_text', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_theme_text_info.py b/plugins/modules/ibm_appid_theme_text_info.py index e03dcb412..5a22b14d7 100644 --- a/plugins/modules/ibm_appid_theme_text_info.py +++ b/plugins/modules/ibm_appid_theme_text_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_theme_text' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_theme_text', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_token_config.py b/plugins/modules/ibm_appid_token_config.py index 7cfbb4bbe..3247db42c 100644 --- a/plugins/modules/ibm_appid_token_config.py +++ b/plugins/modules/ibm_appid_token_config.py @@ -18,16 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_token_config' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - refresh_token_expires_in: - description: - - The length of time for which refresh tokens are valid in seconds - required: False - type: int - default: 2592000 anonymous_token_expires_in: description: - None @@ -66,6 +60,12 @@ - The length of time for which access tokens are valid in seconds required: False type: int + refresh_token_expires_in: + description: + - The length of time for which refresh tokens are valid in seconds + required: False + type: int + default: 2592000 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -117,7 +117,6 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'refresh_token_expires_in', 'anonymous_token_expires_in', 'anonymous_access_enabled', 'refresh_token_enabled', @@ -125,6 +124,7 @@ 'id_token_claim', 'tenant_id', 'access_token_expires_in', + 'refresh_token_expires_in', ] # Params for Data source @@ -143,9 +143,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - refresh_token_expires_in=dict( - required=False, - type='int'), anonymous_token_expires_in=dict( required=False, type='int'), @@ -169,6 +166,9 @@ access_token_expires_in=dict( required=False, type='int'), + refresh_token_expires_in=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -234,7 +234,7 @@ def run_module(): resource_type='ibm_appid_token_config', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -243,7 +243,7 @@ def run_module(): resource_type='ibm_appid_token_config', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_token_config_info.py b/plugins/modules/ibm_appid_token_config_info.py index d3ea080a8..b651343b3 100644 --- a/plugins/modules/ibm_appid_token_config_info.py +++ b/plugins/modules/ibm_appid_token_config_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_token_config' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_appid_token_config', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_appid_user_roles.py b/plugins/modules/ibm_appid_user_roles.py index 554ed8115..49e8b3de7 100644 --- a/plugins/modules/ibm_appid_user_roles.py +++ b/plugins/modules/ibm_appid_user_roles.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_user_roles' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -98,13 +98,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('tenant_id', 'str'), ('subject', 'str'), + ('tenant_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'tenant_id', 'subject', + 'tenant_id', ] TL_CONFLICTS_MAP = { @@ -189,7 +189,7 @@ def run_module(): resource_type='ibm_appid_user_roles', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -198,7 +198,7 @@ def run_module(): resource_type='ibm_appid_user_roles', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_appid_user_roles_info.py b/plugins/modules/ibm_appid_user_roles_info.py index cfdc0df0f..04bc6146b 100644 --- a/plugins/modules/ibm_appid_user_roles_info.py +++ b/plugins/modules/ibm_appid_user_roles_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_appid_user_roles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - tenant_id: + subject: description: - - The AppID instance GUID + - The user's identifier ('subject' in identity token) required: True type: str - subject: + tenant_id: description: - - The user's identifier ('subject' in identity token) + - The AppID instance GUID required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('tenant_id', 'str'), ('subject', 'str'), + ('tenant_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tenant_id', 'subject', + 'tenant_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tenant_id=dict( + subject=dict( required=True, type='str'), - subject=dict( + tenant_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_appid_user_roles', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_atracker_endpoints_info.py b/plugins/modules/ibm_atracker_endpoints_info.py index ef7078b27..b9c605d6f 100644 --- a/plugins/modules/ibm_atracker_endpoints_info.py +++ b/plugins/modules/ibm_atracker_endpoints_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_atracker_endpoints' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_atracker_endpoints', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_atracker_route.py b/plugins/modules/ibm_atracker_route.py index 44ff8d919..3a6987229 100644 --- a/plugins/modules/ibm_atracker_route.py +++ b/plugins/modules/ibm_atracker_route.py @@ -18,21 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_atracker_route' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + name: + description: + - (Required for new resource) The name of the route. The name must be 1000 characters or less and cannot include any special characters other than `(space) - . _ :`. + required: True + type: str rules: description: - (Required for new resource) Routing rules that will be evaluated in their order of the array. required: True type: list elements: dict - name: - description: - - (Required for new resource) The name of the route. The name must be 1000 characters or less and cannot include any special characters other than `(space) - . _ :`. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -79,14 +79,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('rules', 'list'), ('name', 'str'), + ('rules', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'rules', 'name', + 'rules', ] # Params for Data source @@ -103,13 +103,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + name=dict( + required=False, + type='str'), rules=dict( required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -175,7 +175,7 @@ def run_module(): resource_type='ibm_atracker_route', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_atracker_routes_info.py b/plugins/modules/ibm_atracker_routes_info.py index 27b8b3ab3..ce199e778 100644 --- a/plugins/modules/ibm_atracker_routes_info.py +++ b/plugins/modules/ibm_atracker_routes_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_atracker_routes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_atracker_routes', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_atracker_settings.py b/plugins/modules/ibm_atracker_settings.py index 685e3bfa4..851665383 100644 --- a/plugins/modules/ibm_atracker_settings.py +++ b/plugins/modules/ibm_atracker_settings.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_atracker_settings' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -204,7 +204,7 @@ def run_module(): resource_type='ibm_atracker_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_atracker_target.py b/plugins/modules/ibm_atracker_target.py index e3b5b1fe6..fddecd678 100644 --- a/plugins/modules/ibm_atracker_target.py +++ b/plugins/modules/ibm_atracker_target.py @@ -18,15 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_atracker_target' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - region: + logdna_endpoint: description: - - Include this optional field if you want to create a target in a different region other than the one you are connected. + - Property values for a LogDNA Endpoint. required: False - type: str + type: list + elements: dict name: description: - (Required for new resource) The name of the target. The name must be 1000 characters or less, and cannot include any special characters other than `(space) - . _ :`. @@ -43,12 +44,11 @@ required: False type: list elements: dict - logdna_endpoint: + region: description: - - Property values for a LogDNA Endpoint. + - Include this optional field if you want to create a target in a different region other than the one you are connected. required: False - type: list - elements: dict + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -101,11 +101,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'region', + 'logdna_endpoint', 'name', 'target_type', 'cos_endpoint', - 'logdna_endpoint', + 'region', ] # Params for Data source @@ -122,9 +122,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - region=dict( + logdna_endpoint=dict( required=False, - type='str'), + elements='', + type='list'), name=dict( required=False, type='str'), @@ -135,10 +136,9 @@ required=False, elements='', type='list'), - logdna_endpoint=dict( + region=dict( required=False, - elements='', - type='list'), + type='str'), id=dict( required=False, type='str'), @@ -204,7 +204,7 @@ def run_module(): resource_type='ibm_atracker_target', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_atracker_targets_info.py b/plugins/modules/ibm_atracker_targets_info.py index 92f1a9b97..4ce9e5b2a 100644 --- a/plugins/modules/ibm_atracker_targets_info.py +++ b/plugins/modules/ibm_atracker_targets_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_atracker_targets' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_atracker_targets', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cbr_rule.py b/plugins/modules/ibm_cbr_rule.py index f3f33693a..924d08422 100644 --- a/plugins/modules/ibm_cbr_rule.py +++ b/plugins/modules/ibm_cbr_rule.py @@ -18,25 +18,19 @@ - Create, update or destroy an IBM Cloud 'ibm_cbr_rule' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - contexts: - description: - - (Required for new resource) The contexts this rule applies to. - required: True - type: list - elements: dict transaction_id: description: - The `Transaction-Id` header behaves as the `X-Correlation-Id` header. It is supported for backward compatibility with other IBM platform services that support the `Transaction-Id` header only. If both `X-Correlation-Id` and `Transaction-Id` are provided, `X-Correlation-Id` has the precedence over `Transaction-Id`. required: False type: str - resources: + operations: description: - - (Required for new resource) The resources this rule apply to. - required: True + - The operations this rule applies to. + required: False type: list elements: dict x_correlation_id: @@ -49,18 +43,24 @@ - The description of the rule. required: False type: str - operations: - description: - - The operations this rule applies to. - required: False - type: list - elements: dict enforcement_mode: description: - The rule enforcement mode: * `enabled` - The restrictions are enforced and reported. This is the default. * `disabled` - The restrictions are disabled. Nothing is enforced or reported. * `report` - The restrictions are evaluated and reported, but not enforced. required: False type: str default: enabled + contexts: + description: + - (Required for new resource) The contexts this rule applies to. + required: True + type: list + elements: dict + resources: + description: + - (Required for new resource) The resources this rule apply to. + required: True + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -113,13 +113,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'contexts', 'transaction_id', - 'resources', + 'operations', 'x_correlation_id', 'description', - 'operations', 'enforcement_mode', + 'contexts', + 'resources', ] # Params for Data source @@ -138,14 +138,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - contexts=dict( - required=False, - elements='', - type='list'), transaction_id=dict( required=False, type='str'), - resources=dict( + operations=dict( required=False, elements='', type='list'), @@ -155,13 +151,17 @@ description=dict( required=False, type='str'), - operations=dict( + enforcement_mode=dict( + required=False, + type='str'), + contexts=dict( required=False, elements='', type='list'), - enforcement_mode=dict( + resources=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_cbr_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -236,7 +236,7 @@ def run_module(): resource_type='ibm_cbr_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cbr_rule_info.py b/plugins/modules/ibm_cbr_rule_info.py index 152920cd4..c7f75ad20 100644 --- a/plugins/modules/ibm_cbr_rule_info.py +++ b/plugins/modules/ibm_cbr_rule_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cbr_rule' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cbr_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cbr_zone.py b/plugins/modules/ibm_cbr_zone.py index 71977d829..34b1d5826 100644 --- a/plugins/modules/ibm_cbr_zone.py +++ b/plugins/modules/ibm_cbr_zone.py @@ -18,29 +18,29 @@ - Create, update or destroy an IBM Cloud 'ibm_cbr_zone' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - excluded: + account_id: description: - - The list of excluded addresses in the zone. Only addresses of type `ipAddress`, `ipRange`, and `subnet` can be excluded. - required: False + - (Required for new resource) The id of the account owning this zone. + required: True + type: str + addresses: + description: + - (Required for new resource) The list of addresses in the zone. + required: True type: list elements: dict - transaction_id: - description: - - The `Transaction-Id` header behaves as the `X-Correlation-Id` header. It is supported for backward compatibility with other IBM platform services that support the `Transaction-Id` header only. If both `X-Correlation-Id` and `Transaction-Id` are provided, `X-Correlation-Id` has the precedence over `Transaction-Id`. - required: False - type: str x_correlation_id: description: - The supplied or generated value of this header is logged for a request and repeated in a response header for the corresponding response. The same value is used for downstream requests and retries of those requests. If a value of this headers is not supplied in a request, the service generates a random (version 4) UUID. required: False type: str - account_id: + name: description: - - (Required for new resource) The id of the account owning this zone. + - (Required for new resource) The name of the zone. required: True type: str description: @@ -48,16 +48,16 @@ - The description of the zone. required: False type: str - addresses: + excluded: description: - - (Required for new resource) The list of addresses in the zone. - required: True + - The list of excluded addresses in the zone. Only addresses of type `ipAddress`, `ipRange`, and `subnet` can be excluded. + required: False type: list elements: dict - name: + transaction_id: description: - - (Required for new resource) The name of the zone. - required: True + - The `Transaction-Id` header behaves as the `X-Correlation-Id` header. It is supported for backward compatibility with other IBM platform services that support the `Transaction-Id` header only. If both `X-Correlation-Id` and `Transaction-Id` are provided, `X-Correlation-Id` has the precedence over `Transaction-Id`. + required: False type: str id: description: @@ -112,13 +112,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'excluded', - 'transaction_id', - 'x_correlation_id', 'account_id', - 'description', 'addresses', + 'x_correlation_id', 'name', + 'description', + 'excluded', + 'transaction_id', ] # Params for Data source @@ -137,27 +137,27 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - excluded=dict( + account_id=dict( + required=False, + type='str'), + addresses=dict( required=False, elements='', type='list'), - transaction_id=dict( - required=False, - type='str'), x_correlation_id=dict( required=False, type='str'), - account_id=dict( + name=dict( required=False, type='str'), description=dict( required=False, type='str'), - addresses=dict( + excluded=dict( required=False, elements='', type='list'), - name=dict( + transaction_id=dict( required=False, type='str'), id=dict( @@ -225,7 +225,7 @@ def run_module(): resource_type='ibm_cbr_zone', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -234,7 +234,7 @@ def run_module(): resource_type='ibm_cbr_zone', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cbr_zone_info.py b/plugins/modules/ibm_cbr_zone_info.py index 1156220bd..cdb112a2c 100644 --- a/plugins/modules/ibm_cbr_zone_info.py +++ b/plugins/modules/ibm_cbr_zone_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cbr_zone' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cbr_zone', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_tekton_pipeline.py b/plugins/modules/ibm_cd_tekton_pipeline.py index 157c4f6a0..093118986 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline.py +++ b/plugins/modules/ibm_cd_tekton_pipeline.py @@ -18,19 +18,24 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_tekton_pipeline' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - enable_slack_notifications: + enable_partial_cloning: description: - - Flag whether to enable slack notifications for this pipeline. When enabled, pipeline run events will be published on all slack integration specified channels in the enclosing toolchain. + - Flag whether to enable partial cloning for this pipeline. When partial clone is enabled, only the files contained within the paths specified in definition repositories will be read and cloned. This means symbolic links may not work. required: False type: bool default: False - enable_partial_cloning: + pipeline_id: description: - - Flag whether to enable partial cloning for this pipeline. When partial clone is enabled, only the files contained within the paths specified in definition repositories will be read and cloned. This means symbolic links may not work. + - (Required for new resource) String. + required: True + type: str + enable_slack_notifications: + description: + - Flag whether to enable slack notifications for this pipeline. When enabled, pipeline run events will be published on all slack integration specified channels in the enclosing toolchain. required: False type: bool default: False @@ -40,11 +45,6 @@ required: False type: list elements: dict - pipeline_id: - description: - - (Required for new resource) String. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -96,10 +96,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'enable_slack_notifications', 'enable_partial_cloning', - 'worker', 'pipeline_id', + 'enable_slack_notifications', + 'worker', ] # Params for Data source @@ -118,19 +118,19 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - enable_slack_notifications=dict( + enable_partial_cloning=dict( required=False, type='bool'), - enable_partial_cloning=dict( + pipeline_id=dict( + required=False, + type='str'), + enable_slack_notifications=dict( required=False, type='bool'), worker=dict( required=False, elements='', type='list'), - pipeline_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -205,7 +205,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_tekton_pipeline_definition.py b/plugins/modules/ibm_cd_tekton_pipeline_definition.py index e74a350fd..8ecf34f4a 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_definition.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_definition.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_tekton_pipeline_definition' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -90,13 +90,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('pipeline_id', 'str'), ('definition_id', 'str'), + ('pipeline_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'pipeline_id', 'definition_id', + 'pipeline_id', ] TL_CONFLICTS_MAP = { @@ -178,7 +178,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_definition', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -187,7 +187,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_definition', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_tekton_pipeline_definition_info.py b/plugins/modules/ibm_cd_tekton_pipeline_definition_info.py index d4d139dcc..e5d46539c 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_definition_info.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_definition_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_tekton_pipeline_definition' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pipeline_id: + definition_id: description: - - The Tekton pipeline ID. + - The definition ID. required: True type: str - definition_id: + pipeline_id: description: - - The definition ID. + - The Tekton pipeline ID. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pipeline_id', 'str'), ('definition_id', 'str'), + ('pipeline_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pipeline_id', 'definition_id', + 'pipeline_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pipeline_id=dict( + definition_id=dict( required=True, type='str'), - definition_id=dict( + pipeline_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_definition', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_tekton_pipeline_info.py b/plugins/modules/ibm_cd_tekton_pipeline_info.py index 2743ee44c..5a69a374a 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_info.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_tekton_pipeline' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_tekton_pipeline_property.py b/plugins/modules/ibm_cd_tekton_pipeline_property.py index 858244689..d7df03fac 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_property.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_property.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_tekton_pipeline_property' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_property', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -225,7 +225,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_property', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_tekton_pipeline_property_info.py b/plugins/modules/ibm_cd_tekton_pipeline_property_info.py index 7a005cfaa..42a85611b 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_property_info.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_property_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_tekton_pipeline_property' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_property', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_tekton_pipeline_trigger.py b/plugins/modules/ibm_cd_tekton_pipeline_trigger.py index 7d031563f..c6340a9a0 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_trigger.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_trigger.py @@ -18,20 +18,47 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_tekton_pipeline_trigger' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pipeline_id: + event_listener: description: - - (Required for new resource) The Tekton pipeline ID. + - (Required for new resource) Event listener name. The name of the event listener to which the trigger is associated. The event listeners are defined in the definition repositories of the Tekton pipeline. required: True type: str + max_concurrent_runs: + description: + - Defines the maximum number of concurrent runs for this trigger. Omit this property to disable the concurrency limit. + required: False + type: int + timezone: + description: + - Only needed for timer triggers. Timezone for timer trigger. + required: False + type: str + scm_source: + description: + - SCM source repository for a Git trigger. Only needed for Git triggers. + required: False + type: list + elements: dict + events: + description: + - Only needed for Git triggers. Events object defines the events to which this Git trigger listens. + required: False + type: list + elements: dict name: description: - (Required for new resource) Trigger name. required: True type: str + disabled: + description: + - Flag whether the trigger is disabled. If omitted the trigger is enabled by default. + required: False + type: bool worker: description: - Worker used to run the trigger. If not specified the trigger will use the default pipeline worker. @@ -55,43 +82,16 @@ required: False type: list elements: dict - event_listener: + pipeline_id: description: - - (Required for new resource) Event listener name. The name of the event listener to which the trigger is associated. The event listeners are defined in the definition repositories of the Tekton pipeline. + - (Required for new resource) The Tekton pipeline ID. required: True type: str - max_concurrent_runs: - description: - - Defines the maximum number of concurrent runs for this trigger. Omit this property to disable the concurrency limit. - required: False - type: int - disabled: - description: - - Flag whether the trigger is disabled. If omitted the trigger is enabled by default. - required: False - type: bool - events: - description: - - Only needed for Git triggers. Events object defines the events to which this Git trigger listens. - required: False - type: list - elements: dict type: description: - (Required for new resource) Trigger type. required: True type: str - timezone: - description: - - Only needed for timer triggers. Timezone for timer trigger. - required: False - type: str - scm_source: - description: - - SCM source repository for a Git trigger. Only needed for Git triggers. - required: False - type: list - elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -138,38 +138,38 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pipeline_id', 'str'), - ('name', 'str'), ('event_listener', 'str'), + ('name', 'str'), + ('pipeline_id', 'str'), ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pipeline_id', + 'event_listener', + 'max_concurrent_runs', + 'timezone', + 'scm_source', + 'events', 'name', + 'disabled', 'worker', 'cron', 'tags', 'secret', - 'event_listener', - 'max_concurrent_runs', - 'disabled', - 'events', + 'pipeline_id', 'type', - 'timezone', - 'scm_source', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('pipeline_id', 'str'), ('trigger_id', 'str'), + ('pipeline_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'pipeline_id', 'trigger_id', + 'pipeline_id', ] TL_CONFLICTS_MAP = { @@ -179,50 +179,50 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pipeline_id=dict( - required=False, - type='str'), - name=dict( + event_listener=dict( required=False, type='str'), - worker=dict( + max_concurrent_runs=dict( required=False, - elements='', - type='list'), - cron=dict( + type='int'), + timezone=dict( required=False, type='str'), - tags=dict( + scm_source=dict( required=False, elements='', type='list'), - secret=dict( + events=dict( required=False, elements='', type='list'), - event_listener=dict( + name=dict( required=False, type='str'), - max_concurrent_runs=dict( - required=False, - type='int'), disabled=dict( required=False, type='bool'), - events=dict( + worker=dict( required=False, elements='', type='list'), - type=dict( + cron=dict( required=False, type='str'), - timezone=dict( + tags=dict( required=False, - type='str'), - scm_source=dict( + elements='', + type='list'), + secret=dict( required=False, elements='', type='list'), + pipeline_id=dict( + required=False, + type='str'), + type=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -288,7 +288,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_trigger', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -297,7 +297,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_trigger', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_tekton_pipeline_trigger_info.py b/plugins/modules/ibm_cd_tekton_pipeline_trigger_info.py index c5dc0ba7e..f78e2f712 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_trigger_info.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_trigger_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_tekton_pipeline_trigger' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pipeline_id: + trigger_id: description: - - The Tekton pipeline ID. + - The trigger ID. required: True type: str - trigger_id: + pipeline_id: description: - - The trigger ID. + - The Tekton pipeline ID. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pipeline_id', 'str'), ('trigger_id', 'str'), + ('pipeline_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pipeline_id', 'trigger_id', + 'pipeline_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pipeline_id=dict( + trigger_id=dict( required=True, type='str'), - trigger_id=dict( + pipeline_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_trigger', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_tekton_pipeline_trigger_property.py b/plugins/modules/ibm_cd_tekton_pipeline_trigger_property.py index 5c7a35729..2a73207f7 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_trigger_property.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_trigger_property.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_tekton_pipeline_trigger_property' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -123,15 +123,15 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('pipeline_id', 'str'), ('trigger_id', 'str'), ('property_name', 'str'), + ('pipeline_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'pipeline_id', 'trigger_id', 'property_name', + 'pipeline_id', ] TL_CONFLICTS_MAP = { @@ -228,7 +228,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_trigger_property', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -237,7 +237,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_trigger_property', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_tekton_pipeline_trigger_property_info.py b/plugins/modules/ibm_cd_tekton_pipeline_trigger_property_info.py index e071ef695..7b221c1e1 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_trigger_property_info.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_trigger_property_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_cd_tekton_pipeline_trigger_property' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pipeline_id: - description: - - The Tekton pipeline ID. - required: True - type: str trigger_id: description: - The trigger ID. @@ -36,6 +31,11 @@ - The property name. required: True type: str + pipeline_id: + description: + - The Tekton pipeline ID. + required: True + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -69,16 +69,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pipeline_id', 'str'), ('trigger_id', 'str'), ('property_name', 'str'), + ('pipeline_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pipeline_id', 'trigger_id', 'property_name', + 'pipeline_id', ] @@ -89,15 +89,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pipeline_id=dict( - required=True, - type='str'), trigger_id=dict( required=True, type='str'), property_name=dict( required=True, type='str'), + pipeline_id=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_trigger_property', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain.py b/plugins/modules/ibm_cd_toolchain.py index 8c6bf642b..4abb7b61c 100644 --- a/plugins/modules/ibm_cd_toolchain.py +++ b/plugins/modules/ibm_cd_toolchain.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + description: + description: + - Describes the toolchain. + required: False + type: str name: description: - (Required for new resource) Toolchain name. @@ -32,11 +37,6 @@ - (Required for new resource) Resource group where toolchain will be created. required: True type: str - description: - description: - - Describes the toolchain. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,9 +89,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'description', 'name', 'resource_group_id', - 'description', ] # Params for Data source @@ -110,13 +110,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + description=dict( required=False, type='str'), - resource_group_id=dict( + name=dict( required=False, type='str'), - description=dict( + resource_group_id=dict( required=False, type='str'), id=dict( @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_cd_toolchain', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_cd_toolchain', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_info.py b/plugins/modules/ibm_cd_toolchain_info.py index 9a3e1f905..77e603d7c 100644 --- a/plugins/modules/ibm_cd_toolchain_info.py +++ b/plugins/modules/ibm_cd_toolchain_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cd_toolchain', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_appconfig.py b/plugins/modules/ibm_cd_toolchain_tool_appconfig.py index 28ec9d7c0..f674a2f43 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_appconfig.py +++ b/plugins/modules/ibm_cd_toolchain_tool_appconfig.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_appconfig' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,17 +27,17 @@ - (Required for new resource) ID of the toolchain to bind the tool to. required: True type: str - name: - description: - - Name of tool. - required: False - type: str parameters: description: - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. required: True type: list elements: dict + name: + description: + - Name of tool. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -91,8 +91,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'toolchain_id', - 'name', 'parameters', + 'name', ] # Params for Data source @@ -116,13 +116,13 @@ toolchain_id=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), parameters=dict( required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_appconfig', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_appconfig', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_appconfig_info.py b/plugins/modules/ibm_cd_toolchain_tool_appconfig_info.py index cccc3b1f4..f66fb537d 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_appconfig_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_appconfig_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_appconfig' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_appconfig', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_artifactory.py b/plugins/modules/ibm_cd_toolchain_tool_artifactory.py index 7819cd393..89507630c 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_artifactory.py +++ b/plugins/modules/ibm_cd_toolchain_tool_artifactory.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_artifactory' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -97,13 +97,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('tool_id', 'str'), ('toolchain_id', 'str'), + ('tool_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'tool_id', 'toolchain_id', + 'tool_id', ] TL_CONFLICTS_MAP = { @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_artifactory', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_artifactory', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_artifactory_info.py b/plugins/modules/ibm_cd_toolchain_tool_artifactory_info.py index a0067d608..df6958b3f 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_artifactory_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_artifactory_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_artifactory' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - tool_id: + toolchain_id: description: - - ID of the tool bound to the toolchain. + - ID of the toolchain. required: True type: str - toolchain_id: + tool_id: description: - - ID of the toolchain. + - ID of the tool bound to the toolchain. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('tool_id', 'str'), ('toolchain_id', 'str'), + ('tool_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tool_id', 'toolchain_id', + 'tool_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tool_id=dict( + toolchain_id=dict( required=True, type='str'), - toolchain_id=dict( + tool_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_artifactory', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit.py b/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit.py index 5aba73043..e01f5c509 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit.py +++ b/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit.py @@ -18,21 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_bitbucketgit' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - toolchain_id: - description: - - (Required for new resource) ID of the toolchain to bind the tool to. - required: True - type: str - parameters: - description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. - required: True - type: list - elements: dict initialization: description: - (Required for new resource) @@ -44,6 +33,17 @@ - Name of tool. required: False type: str + toolchain_id: + description: + - (Required for new resource) ID of the toolchain to bind the tool to. + required: True + type: str + parameters: + description: + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + required: True + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,17 +90,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('initialization', 'list'), ('toolchain_id', 'str'), ('parameters', 'list'), - ('initialization', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'toolchain_id', - 'parameters', 'initialization', 'name', + 'toolchain_id', + 'parameters', ] # Params for Data source @@ -121,13 +121,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - toolchain_id=dict( - required=False, - type='str'), - parameters=dict( - required=False, - elements='', - type='list'), initialization=dict( required=False, elements='', @@ -135,6 +128,13 @@ name=dict( required=False, type='str'), + toolchain_id=dict( + required=False, + type='str'), + parameters=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_bitbucketgit', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -209,7 +209,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_bitbucketgit', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit_info.py b/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit_info.py index 3ead350a7..b81679579 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_bitbucketgit' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_bitbucketgit', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_custom.py b/plugins/modules/ibm_cd_toolchain_tool_custom.py index e2d410cf5..8b5df7832 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_custom.py +++ b/plugins/modules/ibm_cd_toolchain_tool_custom.py @@ -18,21 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_custom' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + name: + description: + - Name of tool. + required: False + type: str parameters: description: - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. required: True type: list elements: dict - name: - description: - - Name of tool. - required: False - type: str toolchain_id: description: - (Required for new resource) ID of the toolchain to bind the tool to. @@ -90,20 +90,20 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'parameters', 'name', + 'parameters', 'toolchain_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('tool_id', 'str'), ('toolchain_id', 'str'), + ('tool_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'tool_id', 'toolchain_id', + 'tool_id', ] TL_CONFLICTS_MAP = { @@ -113,13 +113,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + name=dict( + required=False, + type='str'), parameters=dict( required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), toolchain_id=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_custom', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_custom', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_custom_info.py b/plugins/modules/ibm_cd_toolchain_tool_custom_info.py index 624051263..617927d3e 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_custom_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_custom_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_custom' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - tool_id: + toolchain_id: description: - - ID of the tool bound to the toolchain. + - ID of the toolchain. required: True type: str - toolchain_id: + tool_id: description: - - ID of the toolchain. + - ID of the tool bound to the toolchain. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('tool_id', 'str'), ('toolchain_id', 'str'), + ('tool_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tool_id', 'toolchain_id', + 'tool_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tool_id=dict( + toolchain_id=dict( required=True, type='str'), - toolchain_id=dict( + tool_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_custom', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_devopsinsights.py b/plugins/modules/ibm_cd_toolchain_tool_devopsinsights.py index af2b7cb3e..87bd12259 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_devopsinsights.py +++ b/plugins/modules/ibm_cd_toolchain_tool_devopsinsights.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_devopsinsights' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_devopsinsights', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_devopsinsights', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_devopsinsights_info.py b/plugins/modules/ibm_cd_toolchain_tool_devopsinsights_info.py index 6fc220a9e..b1b3d6bad 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_devopsinsights_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_devopsinsights_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_devopsinsights' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_devopsinsights', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_githubconsolidated.py b/plugins/modules/ibm_cd_toolchain_tool_githubconsolidated.py index 71384c856..cb24bd7c3 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_githubconsolidated.py +++ b/plugins/modules/ibm_cd_toolchain_tool_githubconsolidated.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_githubconsolidated' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_githubconsolidated', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -209,7 +209,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_githubconsolidated', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_githubconsolidated_info.py b/plugins/modules/ibm_cd_toolchain_tool_githubconsolidated_info.py index 7ab0883b4..22ea3a69d 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_githubconsolidated_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_githubconsolidated_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_githubconsolidated' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_githubconsolidated', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_githubintegrated.py b/plugins/modules/ibm_cd_toolchain_tool_githubintegrated.py index 3d002d919..bdbdbe7aa 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_githubintegrated.py +++ b/plugins/modules/ibm_cd_toolchain_tool_githubintegrated.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_githubintegrated' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -105,13 +105,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] TL_CONFLICTS_MAP = { @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_githubintegrated', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -209,7 +209,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_githubintegrated', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_githubintegrated_info.py b/plugins/modules/ibm_cd_toolchain_tool_githubintegrated_info.py index cd7f01926..8399849a0 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_githubintegrated_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_githubintegrated_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_githubintegrated' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - toolchain_id: + tool_id: description: - - ID of the toolchain. + - ID of the tool bound to the toolchain. required: True type: str - tool_id: + toolchain_id: description: - - ID of the tool bound to the toolchain. + - ID of the toolchain. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - toolchain_id=dict( + tool_id=dict( required=True, type='str'), - tool_id=dict( + toolchain_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_githubintegrated', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_gitlab.py b/plugins/modules/ibm_cd_toolchain_tool_gitlab.py index 7efa81c09..83d29749f 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_gitlab.py +++ b/plugins/modules/ibm_cd_toolchain_tool_gitlab.py @@ -18,14 +18,14 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_gitlab' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - toolchain_id: + name: description: - - (Required for new resource) ID of the toolchain to bind the tool to. - required: True + - Name of tool. + required: False type: str parameters: description: @@ -39,10 +39,10 @@ required: True type: list elements: dict - name: + toolchain_id: description: - - Name of tool. - required: False + - (Required for new resource) ID of the toolchain to bind the tool to. + required: True type: str id: description: @@ -90,17 +90,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('toolchain_id', 'str'), ('parameters', 'list'), ('initialization', 'list'), + ('toolchain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'toolchain_id', + 'name', 'parameters', 'initialization', - 'name', + 'toolchain_id', ] # Params for Data source @@ -121,7 +121,7 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - toolchain_id=dict( + name=dict( required=False, type='str'), parameters=dict( @@ -132,7 +132,7 @@ required=False, elements='', type='list'), - name=dict( + toolchain_id=dict( required=False, type='str'), id=dict( @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_gitlab', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -209,7 +209,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_gitlab', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_gitlab_info.py b/plugins/modules/ibm_cd_toolchain_tool_gitlab_info.py index 7771ceac5..b0e4dc000 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_gitlab_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_gitlab_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_gitlab' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_gitlab', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_hashicorpvault.py b/plugins/modules/ibm_cd_toolchain_tool_hashicorpvault.py index 08ac1d037..6de08ce15 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_hashicorpvault.py +++ b/plugins/modules/ibm_cd_toolchain_tool_hashicorpvault.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_hashicorpvault' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + name: + description: + - Name of tool. + required: False + type: str toolchain_id: description: - (Required for new resource) ID of the toolchain to bind the tool to. @@ -33,11 +38,6 @@ required: True type: list elements: dict - name: - description: - - Name of tool. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,9 +90,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'toolchain_id', 'parameters', - 'name', ] # Params for Data source @@ -113,6 +113,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + name=dict( + required=False, + type='str'), toolchain_id=dict( required=False, type='str'), @@ -120,9 +123,6 @@ required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_hashicorpvault', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_hashicorpvault', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_hashicorpvault_info.py b/plugins/modules/ibm_cd_toolchain_tool_hashicorpvault_info.py index 356917367..eebcae516 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_hashicorpvault_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_hashicorpvault_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_hashicorpvault' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_hashicorpvault', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_hostedgit.py b/plugins/modules/ibm_cd_toolchain_tool_hostedgit.py index f92704e24..4a32a8b0b 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_hostedgit.py +++ b/plugins/modules/ibm_cd_toolchain_tool_hostedgit.py @@ -18,21 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_hostedgit' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - toolchain_id: - description: - - (Required for new resource) ID of the toolchain to bind the tool to. - required: True - type: str - parameters: - description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. - required: True - type: list - elements: dict initialization: description: - (Required for new resource) @@ -44,6 +33,17 @@ - Name of tool. required: False type: str + toolchain_id: + description: + - (Required for new resource) ID of the toolchain to bind the tool to. + required: True + type: str + parameters: + description: + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + required: True + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,17 +90,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('initialization', 'list'), ('toolchain_id', 'str'), ('parameters', 'list'), - ('initialization', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'toolchain_id', - 'parameters', 'initialization', 'name', + 'toolchain_id', + 'parameters', ] # Params for Data source @@ -121,13 +121,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - toolchain_id=dict( - required=False, - type='str'), - parameters=dict( - required=False, - elements='', - type='list'), initialization=dict( required=False, elements='', @@ -135,6 +128,13 @@ name=dict( required=False, type='str'), + toolchain_id=dict( + required=False, + type='str'), + parameters=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_hostedgit', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -209,7 +209,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_hostedgit', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_hostedgit_info.py b/plugins/modules/ibm_cd_toolchain_tool_hostedgit_info.py index db66ee383..29953d1a8 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_hostedgit_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_hostedgit_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_hostedgit' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_hostedgit', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_jenkins.py b/plugins/modules/ibm_cd_toolchain_tool_jenkins.py index e7adcedd9..fe93efa5b 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_jenkins.py +++ b/plugins/modules/ibm_cd_toolchain_tool_jenkins.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_jenkins' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -97,13 +97,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] TL_CONFLICTS_MAP = { @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_jenkins', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_jenkins', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_jenkins_info.py b/plugins/modules/ibm_cd_toolchain_tool_jenkins_info.py index 2c1b037d5..018c59a89 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_jenkins_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_jenkins_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_jenkins' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - toolchain_id: + tool_id: description: - - ID of the toolchain. + - ID of the tool bound to the toolchain. required: True type: str - tool_id: + toolchain_id: description: - - ID of the tool bound to the toolchain. + - ID of the toolchain. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - toolchain_id=dict( + tool_id=dict( required=True, type='str'), - tool_id=dict( + toolchain_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_jenkins', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_keyprotect.py b/plugins/modules/ibm_cd_toolchain_tool_keyprotect.py index e22644ea5..e7ec5039a 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_keyprotect.py +++ b/plugins/modules/ibm_cd_toolchain_tool_keyprotect.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_keyprotect' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + toolchain_id: + description: + - (Required for new resource) ID of the toolchain to bind the tool to. + required: True + type: str parameters: description: - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. @@ -33,11 +38,6 @@ - Name of tool. required: False type: str - toolchain_id: - description: - - (Required for new resource) ID of the toolchain to bind the tool to. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,15 +84,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('parameters', 'list'), ('toolchain_id', 'str'), + ('parameters', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'toolchain_id', 'parameters', 'name', - 'toolchain_id', ] # Params for Data source @@ -113,6 +113,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + toolchain_id=dict( + required=False, + type='str'), parameters=dict( required=False, elements='', @@ -120,9 +123,6 @@ name=dict( required=False, type='str'), - toolchain_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_keyprotect', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_keyprotect', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_keyprotect_info.py b/plugins/modules/ibm_cd_toolchain_tool_keyprotect_info.py index 7bb7794b3..2199f6a54 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_keyprotect_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_keyprotect_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_keyprotect' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_keyprotect', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_nexus.py b/plugins/modules/ibm_cd_toolchain_tool_nexus.py index a547d31a7..5e99a5c3c 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_nexus.py +++ b/plugins/modules/ibm_cd_toolchain_tool_nexus.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_nexus' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -97,13 +97,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('tool_id', 'str'), ('toolchain_id', 'str'), + ('tool_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'tool_id', 'toolchain_id', + 'tool_id', ] TL_CONFLICTS_MAP = { @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_nexus', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_nexus', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_nexus_info.py b/plugins/modules/ibm_cd_toolchain_tool_nexus_info.py index 1e4d98402..afd19553c 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_nexus_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_nexus_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_nexus' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - tool_id: + toolchain_id: description: - - ID of the tool bound to the toolchain. + - ID of the toolchain. required: True type: str - toolchain_id: + tool_id: description: - - ID of the toolchain. + - ID of the tool bound to the toolchain. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('tool_id', 'str'), ('toolchain_id', 'str'), + ('tool_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tool_id', 'toolchain_id', + 'tool_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tool_id=dict( + toolchain_id=dict( required=True, type='str'), - toolchain_id=dict( + tool_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_nexus', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_pagerduty.py b/plugins/modules/ibm_cd_toolchain_tool_pagerduty.py index 369dab61c..784934d19 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_pagerduty.py +++ b/plugins/modules/ibm_cd_toolchain_tool_pagerduty.py @@ -18,16 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_pagerduty' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - parameters: - description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. - required: True - type: list - elements: dict toolchain_id: description: - (Required for new resource) ID of the toolchain to bind the tool to. @@ -38,6 +32,12 @@ - Name of tool. required: False type: str + parameters: + description: + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + required: True + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,26 +84,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('parameters', 'list'), ('toolchain_id', 'str'), + ('parameters', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'parameters', 'toolchain_id', 'name', + 'parameters', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] TL_CONFLICTS_MAP = { @@ -113,16 +113,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - parameters=dict( - required=False, - elements='', - type='list'), toolchain_id=dict( required=False, type='str'), name=dict( required=False, type='str'), + parameters=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_pagerduty', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_pagerduty', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_pagerduty_info.py b/plugins/modules/ibm_cd_toolchain_tool_pagerduty_info.py index 66bbfb154..2f219a36c 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_pagerduty_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_pagerduty_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_pagerduty' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - toolchain_id: + tool_id: description: - - ID of the toolchain. + - ID of the tool bound to the toolchain. required: True type: str - tool_id: + toolchain_id: description: - - ID of the tool bound to the toolchain. + - ID of the toolchain. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'toolchain_id', 'tool_id', + 'toolchain_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - toolchain_id=dict( + tool_id=dict( required=True, type='str'), - tool_id=dict( + toolchain_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_pagerduty', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_pipeline.py b/plugins/modules/ibm_cd_toolchain_tool_pipeline.py index aef3cbd5d..4e4c52ecc 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_pipeline.py +++ b/plugins/modules/ibm_cd_toolchain_tool_pipeline.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_pipeline' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_pipeline', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_pipeline', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_pipeline_info.py b/plugins/modules/ibm_cd_toolchain_tool_pipeline_info.py index 23dcea8c7..3003de984 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_pipeline_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_pipeline_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_pipeline' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_pipeline', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_privateworker.py b/plugins/modules/ibm_cd_toolchain_tool_privateworker.py index f53295a79..b9a828b7c 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_privateworker.py +++ b/plugins/modules/ibm_cd_toolchain_tool_privateworker.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_privateworker' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + toolchain_id: + description: + - (Required for new resource) ID of the toolchain to bind the tool to. + required: True + type: str parameters: description: - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. @@ -33,11 +38,6 @@ - Name of tool. required: False type: str - toolchain_id: - description: - - (Required for new resource) ID of the toolchain to bind the tool to. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,15 +84,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('parameters', 'list'), ('toolchain_id', 'str'), + ('parameters', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'toolchain_id', 'parameters', 'name', - 'toolchain_id', ] # Params for Data source @@ -113,6 +113,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + toolchain_id=dict( + required=False, + type='str'), parameters=dict( required=False, elements='', @@ -120,9 +123,6 @@ name=dict( required=False, type='str'), - toolchain_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_privateworker', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_privateworker', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_privateworker_info.py b/plugins/modules/ibm_cd_toolchain_tool_privateworker_info.py index a032d651c..cf9e3ed7c 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_privateworker_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_privateworker_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_privateworker' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_privateworker', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_saucelabs.py b/plugins/modules/ibm_cd_toolchain_tool_saucelabs.py index 9cf7284e8..f44313512 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_saucelabs.py +++ b/plugins/modules/ibm_cd_toolchain_tool_saucelabs.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_saucelabs' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - toolchain_id: - description: - - (Required for new resource) ID of the toolchain to bind the tool to. - required: True - type: str parameters: description: - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. @@ -38,6 +33,11 @@ - Name of tool. required: False type: str + toolchain_id: + description: + - (Required for new resource) ID of the toolchain to bind the tool to. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,26 +84,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('toolchain_id', 'str'), ('parameters', 'list'), + ('toolchain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'toolchain_id', 'parameters', 'name', + 'toolchain_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('tool_id', 'str'), ('toolchain_id', 'str'), + ('tool_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'tool_id', 'toolchain_id', + 'tool_id', ] TL_CONFLICTS_MAP = { @@ -113,9 +113,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - toolchain_id=dict( - required=False, - type='str'), parameters=dict( required=False, elements='', @@ -123,6 +120,9 @@ name=dict( required=False, type='str'), + toolchain_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_saucelabs', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_saucelabs', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_saucelabs_info.py b/plugins/modules/ibm_cd_toolchain_tool_saucelabs_info.py index b1da7c1c7..3e04cef3f 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_saucelabs_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_saucelabs_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_saucelabs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - tool_id: + toolchain_id: description: - - ID of the tool bound to the toolchain. + - ID of the toolchain. required: True type: str - toolchain_id: + tool_id: description: - - ID of the toolchain. + - ID of the tool bound to the toolchain. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('tool_id', 'str'), ('toolchain_id', 'str'), + ('tool_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tool_id', 'toolchain_id', + 'tool_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tool_id=dict( + toolchain_id=dict( required=True, type='str'), - toolchain_id=dict( + tool_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_saucelabs', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_secretsmanager.py b/plugins/modules/ibm_cd_toolchain_tool_secretsmanager.py index 63ac4265a..999158812 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_secretsmanager.py +++ b/plugins/modules/ibm_cd_toolchain_tool_secretsmanager.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_secretsmanager' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_secretsmanager', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_secretsmanager', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_secretsmanager_info.py b/plugins/modules/ibm_cd_toolchain_tool_secretsmanager_info.py index a60e5c533..745415532 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_secretsmanager_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_secretsmanager_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_secretsmanager' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_secretsmanager', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_securitycompliance.py b/plugins/modules/ibm_cd_toolchain_tool_securitycompliance.py index 1ceaf6600..e362c1d81 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_securitycompliance.py +++ b/plugins/modules/ibm_cd_toolchain_tool_securitycompliance.py @@ -18,10 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_securitycompliance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + parameters: + description: + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. + required: True + type: list + elements: dict name: description: - Name of tool. @@ -32,12 +38,6 @@ - (Required for new resource) ID of the toolchain to bind the tool to. required: True type: str - parameters: - description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. - required: True - type: list - elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,15 +84,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('toolchain_id', 'str'), ('parameters', 'list'), + ('toolchain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'parameters', 'name', 'toolchain_id', - 'parameters', ] # Params for Data source @@ -113,16 +113,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + parameters=dict( + required=False, + elements='', + type='list'), name=dict( required=False, type='str'), toolchain_id=dict( required=False, type='str'), - parameters=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_securitycompliance', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_securitycompliance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_securitycompliance_info.py b/plugins/modules/ibm_cd_toolchain_tool_securitycompliance_info.py index c156f4c1a..6b2e66d56 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_securitycompliance_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_securitycompliance_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_securitycompliance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_securitycompliance', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_slack.py b/plugins/modules/ibm_cd_toolchain_tool_slack.py index 016470973..7d00c3574 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_slack.py +++ b/plugins/modules/ibm_cd_toolchain_tool_slack.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_slack' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -97,13 +97,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('tool_id', 'str'), ('toolchain_id', 'str'), + ('tool_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'tool_id', 'toolchain_id', + 'tool_id', ] TL_CONFLICTS_MAP = { @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_slack', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_slack', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_slack_info.py b/plugins/modules/ibm_cd_toolchain_tool_slack_info.py index 5cdef8e30..4515251ab 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_slack_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_slack_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_slack' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - tool_id: + toolchain_id: description: - - ID of the tool bound to the toolchain. + - ID of the toolchain. required: True type: str - toolchain_id: + tool_id: description: - - ID of the toolchain. + - ID of the tool bound to the toolchain. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('tool_id', 'str'), ('toolchain_id', 'str'), + ('tool_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tool_id', 'toolchain_id', + 'tool_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tool_id=dict( + toolchain_id=dict( required=True, type='str'), - toolchain_id=dict( + tool_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_slack', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_sonarqube.py b/plugins/modules/ibm_cd_toolchain_tool_sonarqube.py index ed6d99d0e..970dee8ab 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_sonarqube.py +++ b/plugins/modules/ibm_cd_toolchain_tool_sonarqube.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_sonarqube' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - toolchain_id: - description: - - (Required for new resource) ID of the toolchain to bind the tool to. - required: True - type: str parameters: description: - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. @@ -38,6 +33,11 @@ - Name of tool. required: False type: str + toolchain_id: + description: + - (Required for new resource) ID of the toolchain to bind the tool to. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,15 +84,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('toolchain_id', 'str'), ('parameters', 'list'), + ('toolchain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'toolchain_id', 'parameters', 'name', + 'toolchain_id', ] # Params for Data source @@ -113,9 +113,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - toolchain_id=dict( - required=False, - type='str'), parameters=dict( required=False, elements='', @@ -123,6 +120,9 @@ name=dict( required=False, type='str'), + toolchain_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_sonarqube', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_sonarqube', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cd_toolchain_tool_sonarqube_info.py b/plugins/modules/ibm_cd_toolchain_tool_sonarqube_info.py index e182ecbbb..3fa0960ec 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_sonarqube_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_sonarqube_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_sonarqube' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_sonarqube', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cdn.py b/plugins/modules/ibm_cdn.py index b156ffbba..be368c0a2 100644 --- a/plugins/modules/ibm_cdn.py +++ b/plugins/modules/ibm_cdn.py @@ -18,60 +18,55 @@ - Create, update or destroy an IBM Cloud 'ibm_cdn' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - https_port: - description: - - HTTPS port number - required: False - type: int - default: 443 - respect_headers: + bucket_name: description: - - respect headers info + - Bucket name required: False - type: bool - default: True - certificate_type: + type: str + header: description: - - Certificate type + - Header info required: False type: str - path: + cache_key_query_rule: description: - - Path details + - query rule info required: False type: str - default: /* - bucket_name: + default: include-all + https_port: description: - - Bucket name + - HTTPS port number required: False - type: str - protocol: + type: int + default: 443 + file_extension: description: - - Protocol name + - File extension info required: False type: str - default: HTTP - cname: + performance_configuration: description: - - cname info + - performance configuration info required: False type: str - file_extension: + default: General web delivery + path: description: - - File extension info + - Path details required: False type: str - cache_key_query_rule: + default: /* + vendor_name: description: - - query rule info + - Vendor name required: False type: str - default: include-all + default: akamai origin_type: description: - Origin type info @@ -84,33 +79,38 @@ required: False type: int default: 80 - performance_configuration: + host_name: description: - - performance configuration info - required: False + - (Required for new resource) Host name + required: True type: str - default: General web delivery - origin_address: + protocol: description: - - (Required for new resource) origin address info - required: True + - Protocol name + required: False type: str - header: + default: HTTP + certificate_type: description: - - Header info + - Certificate type required: False type: str - host_name: + origin_address: description: - - (Required for new resource) Host name + - (Required for new resource) origin address info required: True type: str - vendor_name: + cname: description: - - Vendor name + - cname info required: False type: str - default: akamai + respect_headers: + description: + - respect headers info + required: False + type: bool + default: True id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -157,28 +157,28 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('origin_address', 'str'), ('host_name', 'str'), + ('origin_address', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'https_port', - 'respect_headers', - 'certificate_type', - 'path', 'bucket_name', - 'protocol', - 'cname', - 'file_extension', + 'header', 'cache_key_query_rule', + 'https_port', + 'file_extension', + 'performance_configuration', + 'path', + 'vendor_name', 'origin_type', 'http_port', - 'performance_configuration', - 'origin_address', - 'header', 'host_name', - 'vendor_name', + 'protocol', + 'certificate_type', + 'origin_address', + 'cname', + 'respect_headers', ] # Params for Data source @@ -195,31 +195,28 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - https_port=dict( - required=False, - type='int'), - respect_headers=dict( - required=False, - type='bool'), - certificate_type=dict( + bucket_name=dict( required=False, type='str'), - path=dict( + header=dict( required=False, type='str'), - bucket_name=dict( + cache_key_query_rule=dict( required=False, type='str'), - protocol=dict( + https_port=dict( + required=False, + type='int'), + file_extension=dict( required=False, type='str'), - cname=dict( + performance_configuration=dict( required=False, type='str'), - file_extension=dict( + path=dict( required=False, type='str'), - cache_key_query_rule=dict( + vendor_name=dict( required=False, type='str'), origin_type=dict( @@ -228,21 +225,24 @@ http_port=dict( required=False, type='int'), - performance_configuration=dict( + host_name=dict( required=False, type='str'), - origin_address=dict( + protocol=dict( required=False, type='str'), - header=dict( + certificate_type=dict( required=False, type='str'), - host_name=dict( + origin_address=dict( required=False, type='str'), - vendor_name=dict( + cname=dict( required=False, type='str'), + respect_headers=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -308,7 +308,7 @@ def run_module(): resource_type='ibm_cdn', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_certificate_manager_certificate_info.py b/plugins/modules/ibm_certificate_manager_certificate_info.py index d40c34347..7ab92c63d 100644 --- a/plugins/modules/ibm_certificate_manager_certificate_info.py +++ b/plugins/modules/ibm_certificate_manager_certificate_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_certificate_manager_certificate' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_certificate_manager_certificate', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_certificate_manager_certificates_info.py b/plugins/modules/ibm_certificate_manager_certificates_info.py index 3947ad281..9af09e1d2 100644 --- a/plugins/modules/ibm_certificate_manager_certificates_info.py +++ b/plugins/modules/ibm_certificate_manager_certificates_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_certificate_manager_certificates' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_certificate_manager_certificates', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_certificate_manager_import.py b/plugins/modules/ibm_certificate_manager_import.py index 743f64e55..7f33d2b90 100644 --- a/plugins/modules/ibm_certificate_manager_import.py +++ b/plugins/modules/ibm_certificate_manager_import.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_certificate_manager_import' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + certificate_manager_instance_id: + description: + - (Required for new resource) Instance ID of the certificate manager resource + required: True + type: str name: description: - (Required for new resource) Name of the instance @@ -37,11 +42,6 @@ - Description of the certificate instance required: False type: str - certificate_manager_instance_id: - description: - - (Required for new resource) Instance ID of the certificate manager resource - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -88,17 +88,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('certificate_manager_instance_id', 'str'), ('name', 'str'), ('data', 'dict'), - ('certificate_manager_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'certificate_manager_instance_id', 'name', 'data', 'description', - 'certificate_manager_instance_id', ] # Params for Data source @@ -115,6 +115,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + certificate_manager_instance_id=dict( + required=False, + type='str'), name=dict( required=False, type='str'), @@ -124,9 +127,6 @@ description=dict( required=False, type='str'), - certificate_manager_instance_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_certificate_manager_import', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_certificate_manager_order.py b/plugins/modules/ibm_certificate_manager_order.py index 8a433f91f..114dce475 100644 --- a/plugins/modules/ibm_certificate_manager_order.py +++ b/plugins/modules/ibm_certificate_manager_order.py @@ -18,48 +18,47 @@ - Create, update or destroy an IBM Cloud 'ibm_certificate_manager_order' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - description: + certificate_manager_instance_id: description: - - Certicate description - required: False + - (Required for new resource) Certificate manager instance ID + required: True type: str + rotate_keys: + description: + - Keys are sorated if set to true + required: False + type: bool + default: False + auto_renew_enabled: + description: + - None + required: False + type: bool + default: False name: description: - (Required for new resource) Certificate name required: True type: str - renew_certificate: + description: description: - - Invokes renew functionality + - Certicate description required: False - type: bool - default: False + type: str domain_validation_method: description: - Domain validation methods required: False type: str default: dns-01 - key_algorithm: - description: - - Keyalgorithm info - required: False - type: str - default: rsaEncryption 2048 bit - auto_renew_enabled: + dns_provider_instance_crn: description: - - None + - DNS provider instance CRN required: False - type: bool - default: False - certificate_manager_instance_id: - description: - - (Required for new resource) Certificate manager instance ID - required: True type: str domains: description: @@ -67,17 +66,18 @@ required: True type: list elements: str - rotate_keys: + renew_certificate: description: - - Keys are sorated if set to true + - Invokes renew functionality required: False type: bool default: False - dns_provider_instance_crn: + key_algorithm: description: - - DNS provider instance CRN + - Keyalgorithm info required: False type: str + default: rsaEncryption 2048 bit id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -124,23 +124,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('certificate_manager_instance_id', 'str'), + ('name', 'str'), ('domains', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'description', - 'name', - 'renew_certificate', - 'domain_validation_method', - 'key_algorithm', - 'auto_renew_enabled', 'certificate_manager_instance_id', - 'domains', 'rotate_keys', + 'auto_renew_enabled', + 'name', + 'description', + 'domain_validation_method', 'dns_provider_instance_crn', + 'domains', + 'renew_certificate', + 'key_algorithm', ] # Params for Data source @@ -157,35 +157,35 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - description=dict( + certificate_manager_instance_id=dict( required=False, type='str'), - name=dict( + rotate_keys=dict( required=False, - type='str'), - renew_certificate=dict( + type='bool'), + auto_renew_enabled=dict( required=False, type='bool'), - domain_validation_method=dict( + name=dict( required=False, type='str'), - key_algorithm=dict( + description=dict( required=False, type='str'), - auto_renew_enabled=dict( + domain_validation_method=dict( required=False, - type='bool'), - certificate_manager_instance_id=dict( + type='str'), + dns_provider_instance_crn=dict( required=False, type='str'), domains=dict( required=False, elements='', type='list'), - rotate_keys=dict( + renew_certificate=dict( required=False, type='bool'), - dns_provider_instance_crn=dict( + key_algorithm=dict( required=False, type='str'), id=dict( @@ -253,7 +253,7 @@ def run_module(): resource_type='ibm_certificate_manager_order', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis.py b/plugins/modules/ibm_cis.py index 565cee735..f31c3db63 100644 --- a/plugins/modules/ibm_cis.py +++ b/plugins/modules/ibm_cis.py @@ -18,41 +18,41 @@ - Create, update or destroy an IBM Cloud 'ibm_cis' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - resource_group_id: + name: description: - - The resource group id - required: False + - (Required for new resource) A name for the resource instance + required: True type: str plan: description: - (Required for new resource) The plan type of the service required: True type: str + resource_group_id: + description: + - The resource group id + required: False + type: str + tags: + description: + - None + required: False + type: list + elements: str parameters: description: - Arbitrary parameters to pass. Must be a JSON object required: False type: dict - name: - description: - - (Required for new resource) A name for the resource instance - required: True - type: str location: description: - (Required for new resource) The location where the instance available required: True type: str - tags: - description: - - None - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,19 +99,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('plan', 'str'), ('name', 'str'), + ('plan', 'str'), ('location', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group_id', + 'name', 'plan', + 'resource_group_id', + 'tags', 'parameters', - 'name', 'location', - 'tags', ] # Params for Data source @@ -120,8 +120,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'resource_group_id', 'name', + 'resource_group_id', ] TL_CONFLICTS_MAP = { @@ -131,25 +131,25 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group_id=dict( + name=dict( required=False, type='str'), plan=dict( required=False, type='str'), - parameters=dict( - required=False, - type='dict'), - name=dict( - required=False, - type='str'), - location=dict( + resource_group_id=dict( required=False, type='str'), tags=dict( required=False, elements='', type='list'), + parameters=dict( + required=False, + type='dict'), + location=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_cis', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -224,7 +224,7 @@ def run_module(): resource_type='ibm_cis', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cis_alert.py b/plugins/modules/ibm_cis_alert.py index 49dc44af8..23f3fa3c0 100644 --- a/plugins/modules/ibm_cis_alert.py +++ b/plugins/modules/ibm_cis_alert.py @@ -18,51 +18,51 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_alert' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - conditions: - description: - - Conditions based on filter type - required: False - type: str cis_id: description: - (Required for new resource) CIS instance crn required: True type: str + mechanisms: + description: + - (Required for new resource) Delivery mechanisms for the alert, can include an email, a webhook, or both. + required: True + type: list + elements: dict name: description: - (Required for new resource) Policy name required: True type: str + description: + description: + - Policy Description + required: False + type: str enabled: description: - (Required for new resource) Is the alert policy active required: True type: bool + alert_type: + description: + - (Required for new resource) Condition for the alert + required: True + type: str filters: description: - Filters based on filter type required: False type: str - description: + conditions: description: - - Policy Description + - Conditions based on filter type required: False type: str - alert_type: - description: - - (Required for new resource) Condition for the alert - required: True - type: str - mechanisms: - description: - - (Required for new resource) Delivery mechanisms for the alert, can include an email, a webhook, or both. - required: True - type: list - elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -110,22 +110,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('cis_id', 'str'), + ('mechanisms', 'list'), ('name', 'str'), ('enabled', 'bool'), ('alert_type', 'str'), - ('mechanisms', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'conditions', 'cis_id', + 'mechanisms', 'name', - 'enabled', - 'filters', 'description', + 'enabled', 'alert_type', - 'mechanisms', + 'filters', + 'conditions', ] # Params for Data source @@ -142,31 +142,31 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - conditions=dict( - required=False, - type='str'), cis_id=dict( required=False, type='str'), + mechanisms=dict( + required=False, + elements='', + type='list'), name=dict( required=False, type='str'), + description=dict( + required=False, + type='str'), enabled=dict( required=False, type='bool'), - filters=dict( + alert_type=dict( required=False, type='str'), - description=dict( + filters=dict( required=False, type='str'), - alert_type=dict( + conditions=dict( required=False, type='str'), - mechanisms=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -232,7 +232,7 @@ def run_module(): resource_type='ibm_cis_alert', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_alerts_info.py b/plugins/modules/ibm_cis_alerts_info.py index a7304f7e0..2975ef2dd 100644 --- a/plugins/modules/ibm_cis_alerts_info.py +++ b/plugins/modules/ibm_cis_alerts_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_alerts' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cis_alerts', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_cache_settings.py b/plugins/modules/ibm_cis_cache_settings.py index cbc761db2..fc53826d3 100644 --- a/plugins/modules/ibm_cis_cache_settings.py +++ b/plugins/modules/ibm_cis_cache_settings.py @@ -18,27 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_cache_settings' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - purge_by_hosts: - description: - - Purge by hosts - required: False - type: list - elements: str - serve_stale_content: + development_mode: description: - - Serve Stale Content + - Development mode setting required: False type: str - default: on - browser_expiration: - description: - - Browser Expiration setting - required: False - type: int purge_all: description: - Purge all setting @@ -50,32 +38,44 @@ required: False type: list elements: str + cis_id: + description: + - (Required for new resource) CIS instance crn + required: True + type: str + caching_level: + description: + - Cache level setting + required: False + type: str + browser_expiration: + description: + - Browser Expiration setting + required: False + type: int purge_by_tags: description: - Purge by tags required: False type: list elements: str - cis_id: + purge_by_hosts: description: - - (Required for new resource) CIS instance crn - required: True - type: str + - Purge by hosts + required: False + type: list + elements: str domain_id: description: - (Required for new resource) Associated CIS domain required: True type: str - caching_level: - description: - - Cache level setting - required: False - type: str - development_mode: + serve_stale_content: description: - - Development mode setting + - Serve Stale Content required: False type: str + default: on query_string_sort: description: - Query String sort setting @@ -133,16 +133,16 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'purge_by_hosts', - 'serve_stale_content', - 'browser_expiration', + 'development_mode', 'purge_all', 'purge_by_urls', - 'purge_by_tags', 'cis_id', - 'domain_id', 'caching_level', - 'development_mode', + 'browser_expiration', + 'purge_by_tags', + 'purge_by_hosts', + 'domain_id', + 'serve_stale_content', 'query_string_sort', ] @@ -158,26 +158,19 @@ ] TL_CONFLICTS_MAP = { - 'purge_by_hosts': ['purge_all', 'purge_by_urls', 'purge_by_tags'], 'purge_all': ['purge_by_urls', 'purge_by_tags', 'purge_by_hosts'], 'purge_by_urls': ['purge_all', 'purge_by_tags', 'purge_by_hosts'], 'purge_by_tags': ['purge_all', 'purge_by_urls', 'purge_by_hosts'], + 'purge_by_hosts': ['purge_all', 'purge_by_urls', 'purge_by_tags'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - purge_by_hosts=dict( - required=False, - elements='', - type='list'), - serve_stale_content=dict( + development_mode=dict( required=False, type='str'), - browser_expiration=dict( - required=False, - type='int'), purge_all=dict( required=False, type='bool'), @@ -185,20 +178,27 @@ required=False, elements='', type='list'), + cis_id=dict( + required=False, + type='str'), + caching_level=dict( + required=False, + type='str'), + browser_expiration=dict( + required=False, + type='int'), purge_by_tags=dict( required=False, elements='', type='list'), - cis_id=dict( + purge_by_hosts=dict( required=False, - type='str'), + elements='', + type='list'), domain_id=dict( required=False, type='str'), - caching_level=dict( - required=False, - type='str'), - development_mode=dict( + serve_stale_content=dict( required=False, type='str'), query_string_sort=dict( @@ -269,7 +269,7 @@ def run_module(): resource_type='ibm_cis_cache_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -278,7 +278,7 @@ def run_module(): resource_type='ibm_cis_cache_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cis_cache_settings_info.py b/plugins/modules/ibm_cis_cache_settings_info.py index f90f8ffb7..c5bb7daa5 100644 --- a/plugins/modules/ibm_cis_cache_settings_info.py +++ b/plugins/modules/ibm_cis_cache_settings_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_cache_settings' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_cache_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_certificate_order.py b/plugins/modules/ibm_cis_certificate_order.py index 83ec0e8c8..a93ec84a0 100644 --- a/plugins/modules/ibm_cis_certificate_order.py +++ b/plugins/modules/ibm_cis_certificate_order.py @@ -18,10 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_certificate_order' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + type: + description: + - certificate type + required: False + type: str + default: dedicated hosts: description: - (Required for new resource) Hosts which certificate need to be ordered @@ -38,12 +44,6 @@ - (Required for new resource) Associated CIS domain required: True type: str - type: - description: - - certificate type - required: False - type: str - default: dedicated id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -97,10 +97,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'type', 'hosts', 'cis_id', 'domain_id', - 'type', ] # Params for Data source @@ -117,6 +117,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + type=dict( + required=False, + type='str'), hosts=dict( required=False, elements='', @@ -127,9 +130,6 @@ domain_id=dict( required=False, type='str'), - type=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_cis_certificate_order', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_certificate_upload.py b/plugins/modules/ibm_cis_certificate_upload.py index 4554dfb5d..70c933b1b 100644 --- a/plugins/modules/ibm_cis_certificate_upload.py +++ b/plugins/modules/ibm_cis_certificate_upload.py @@ -18,41 +18,41 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_certificate_upload' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - domain_id: + private_key: description: - - (Required for new resource) Associated CIS domain + - (Required for new resource) Certificate private key required: True type: str - bundle_method: + priority: description: - - Certificate bundle method + - Certificate priority required: False + type: int + domain_id: + description: + - (Required for new resource) Associated CIS domain + required: True type: str - default: ubiquitous cis_id: description: - (Required for new resource) CIS instance crn required: True type: str - private_key: + bundle_method: description: - - (Required for new resource) Certificate private key - required: True + - Certificate bundle method + required: False type: str + default: ubiquitous certificate: description: - (Required for new resource) Certificate key required: True type: str - priority: - description: - - Certificate priority - required: False - type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,20 +99,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('private_key', 'str'), ('domain_id', 'str'), ('cis_id', 'str'), - ('private_key', 'str'), ('certificate', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'private_key', + 'priority', 'domain_id', - 'bundle_method', 'cis_id', - 'private_key', + 'bundle_method', 'certificate', - 'priority', ] # Params for Data source @@ -129,24 +129,24 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - domain_id=dict( + private_key=dict( required=False, type='str'), - bundle_method=dict( + priority=dict( + required=False, + type='int'), + domain_id=dict( required=False, type='str'), cis_id=dict( required=False, type='str'), - private_key=dict( + bundle_method=dict( required=False, type='str'), certificate=dict( required=False, type='str'), - priority=dict( - required=False, - type='int'), id=dict( required=False, type='str'), @@ -212,7 +212,7 @@ def run_module(): resource_type='ibm_cis_certificate_upload', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_certificates_info.py b/plugins/modules/ibm_cis_certificates_info.py index fdbfe9999..9f997c5cb 100644 --- a/plugins/modules/ibm_cis_certificates_info.py +++ b/plugins/modules/ibm_cis_certificates_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_certificates' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_certificates', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_custom_certificates_info.py b/plugins/modules/ibm_cis_custom_certificates_info.py index bcfea6cda..1da4ded8f 100644 --- a/plugins/modules/ibm_cis_custom_certificates_info.py +++ b/plugins/modules/ibm_cis_custom_certificates_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_custom_certificates' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_custom_certificates', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_custom_page.py b/plugins/modules/ibm_cis_custom_page.py index f074baa9b..6d0f67ad8 100644 --- a/plugins/modules/ibm_cis_custom_page.py +++ b/plugins/modules/ibm_cis_custom_page.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_custom_page' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + page_id: + description: + - (Required for new resource) Custom page identifier + required: True + type: str cis_id: description: - (Required for new resource) CIS instance crn @@ -32,11 +37,6 @@ - (Required for new resource) Associated CIS domain required: True type: str - page_id: - description: - - (Required for new resource) Custom page identifier - required: True - type: str url: description: - (Required for new resource) Custom page url @@ -88,17 +88,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('page_id', 'str'), ('cis_id', 'str'), ('domain_id', 'str'), - ('page_id', 'str'), ('url', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'page_id', 'cis_id', 'domain_id', - 'page_id', 'url', ] @@ -116,13 +116,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - cis_id=dict( + page_id=dict( required=False, type='str'), - domain_id=dict( + cis_id=dict( required=False, type='str'), - page_id=dict( + domain_id=dict( required=False, type='str'), url=dict( @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_cis_custom_page', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_custom_pages_info.py b/plugins/modules/ibm_cis_custom_pages_info.py index ce4cfc36f..a2f0ae1a9 100644 --- a/plugins/modules/ibm_cis_custom_pages_info.py +++ b/plugins/modules/ibm_cis_custom_pages_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_custom_pages' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_custom_pages', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_dns_record.py b/plugins/modules/ibm_cis_dns_record.py index 0be859e6a..cda3ba361 100644 --- a/plugins/modules/ibm_cis_dns_record.py +++ b/plugins/modules/ibm_cis_dns_record.py @@ -18,31 +18,35 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_dns_record' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + content: + description: + - DNS record content + required: False + type: str + data: + description: + - None + required: False + type: dict + priority: + description: + - Priority Value + required: False + type: int domain_id: description: - (Required for new resource) Associated CIS domain required: True type: str - proxied: - description: - - Boolean value true if proxied else flase - required: False - type: bool - default: False cis_id: description: - (Required for new resource) CIS object id or CRN required: True type: str - priority: - description: - - Priority Value - required: False - type: int name: description: - DNS record name @@ -53,16 +57,12 @@ - (Required for new resource) Record type required: True type: str - content: - description: - - DNS record content - required: False - type: str - data: + proxied: description: - - None + - Boolean value true if proxied else flase required: False - type: dict + type: bool + default: False ttl: description: - TTL value @@ -122,14 +122,14 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'content', + 'data', + 'priority', 'domain_id', - 'proxied', 'cis_id', - 'priority', 'name', 'type', - 'content', - 'data', + 'proxied', 'ttl', ] @@ -149,30 +149,30 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - domain_id=dict( + content=dict( required=False, type='str'), - proxied=dict( - required=False, - type='bool'), - cis_id=dict( + data=dict( required=False, - type='str'), + type='dict'), priority=dict( required=False, type='int'), - name=dict( + domain_id=dict( required=False, type='str'), - type=dict( + cis_id=dict( required=False, type='str'), - content=dict( + name=dict( required=False, type='str'), - data=dict( + type=dict( required=False, - type='dict'), + type='str'), + proxied=dict( + required=False, + type='bool'), ttl=dict( required=False, type='int'), @@ -241,7 +241,7 @@ def run_module(): resource_type='ibm_cis_dns_record', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_dns_records_import.py b/plugins/modules/ibm_cis_dns_records_import.py index e02acd04d..d9350a347 100644 --- a/plugins/modules/ibm_cis_dns_records_import.py +++ b/plugins/modules/ibm_cis_dns_records_import.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_dns_records_import' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - cis_id: - description: - - (Required for new resource) CIS instance crn - required: True - type: str domain_id: description: - (Required for new resource) Associated CIS domain @@ -37,6 +32,11 @@ - (Required for new resource) File to import required: True type: str + cis_id: + description: + - (Required for new resource) CIS instance crn + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -83,16 +83,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), ('domain_id', 'str'), ('file', 'str'), + ('cis_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cis_id', 'domain_id', 'file', + 'cis_id', ] # Params for Data source @@ -109,15 +109,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - cis_id=dict( - required=False, - type='str'), domain_id=dict( required=False, type='str'), file=dict( required=False, type='str'), + cis_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_cis_dns_records_import', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_dns_records_info.py b/plugins/modules/ibm_cis_dns_records_info.py index 08a7c8ca4..60dc394cc 100644 --- a/plugins/modules/ibm_cis_dns_records_info.py +++ b/plugins/modules/ibm_cis_dns_records_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_cis_dns_records' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - cis_id: - description: - - DNS Zone CRN - required: True - type: str domain_id: description: - Zone Id @@ -36,6 +31,11 @@ - file to be exported required: False type: str + cis_id: + description: + - DNS Zone CRN + required: True + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -69,15 +69,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), ('domain_id', 'str'), + ('cis_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cis_id', 'domain_id', 'file', + 'cis_id', ] @@ -88,15 +88,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - cis_id=dict( - required=True, - type='str'), domain_id=dict( required=True, type='str'), file=dict( required=False, type='str'), + cis_id=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -131,7 +131,7 @@ def run_module(): resource_type='ibm_cis_dns_records', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_domain.py b/plugins/modules/ibm_cis_domain.py index ef378f65b..bf911b226 100644 --- a/plugins/modules/ibm_cis_domain.py +++ b/plugins/modules/ibm_cis_domain.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_domain' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + domain: + description: + - (Required for new resource) CISzone - Domain + required: True + type: str type: description: - CISzone - Domain Type @@ -33,11 +38,6 @@ - (Required for new resource) CIS instance crn required: True type: str - domain: - description: - - (Required for new resource) CISzone - Domain - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,15 +84,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), ('domain', 'str'), + ('cis_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'domain', 'type', 'cis_id', - 'domain', ] # Params for Data source @@ -103,9 +103,9 @@ TL_ALL_PARAMETERS_DS = [ 'cis_id', + 'verification_key', 'cname_suffix', 'domain', - 'verification_key', ] TL_CONFLICTS_MAP = { @@ -115,13 +115,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - type=dict( + domain=dict( required=False, type='str'), - cis_id=dict( + type=dict( required=False, type='str'), - domain=dict( + cis_id=dict( required=False, type='str'), id=dict( @@ -189,7 +189,7 @@ def run_module(): resource_type='ibm_cis_domain', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -198,7 +198,7 @@ def run_module(): resource_type='ibm_cis_domain', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cis_domain_info.py b/plugins/modules/ibm_cis_domain_info.py index 8f07d81bc..eea53c178 100644 --- a/plugins/modules/ibm_cis_domain_info.py +++ b/plugins/modules/ibm_cis_domain_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_domain' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -26,6 +26,11 @@ - CIS instance crn required: True type: str + verification_key: + description: + - None + required: False + type: str cname_suffix: description: - None @@ -36,11 +41,6 @@ - CISzone - Domain required: True type: str - verification_key: - description: - - None - required: False - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -81,9 +81,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'cis_id', + 'verification_key', 'cname_suffix', 'domain', - 'verification_key', ] @@ -97,15 +97,15 @@ cis_id=dict( required=True, type='str'), + verification_key=dict( + required=False, + type='str'), cname_suffix=dict( required=False, type='str'), domain=dict( required=True, type='str'), - verification_key=dict( - required=False, - type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -140,7 +140,7 @@ def run_module(): resource_type='ibm_cis_domain', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_domain_settings.py b/plugins/modules/ibm_cis_domain_settings.py index 511ad95a3..6b1b69059 100644 --- a/plugins/modules/ibm_cis_domain_settings.py +++ b/plugins/modules/ibm_cis_domain_settings.py @@ -18,49 +18,54 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_domain_settings' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - opportunistic_encryption: + websockets: description: - - opportunistic_encryption setting + - websockets setting required: False type: str - automatic_https_rewrites: + opportunistic_encryption: description: - - automatic_https_rewrites setting + - opportunistic_encryption setting required: False type: str - ipv6: + browser_check: description: - - ipv6 setting + - browser_check setting required: False type: str - pseudo_ipv4: + minify: description: - - pseudo_ipv4 setting + - Minify setting required: False + type: list + elements: dict + cis_id: + description: + - (Required for new resource) CIS instance crn + required: True type: str - min_tls_version: + ssl: description: - - Minimum version of TLS required + - SSL/TLS setting required: False type: str - default: 1.1 - cname_flattening: + automatic_https_rewrites: description: - - cname_flattening setting + - automatic_https_rewrites setting required: False type: str - response_buffering: + origin_error_page_pass_thru: description: - - response_buffering setting + - origin_error_page_pass_thru setting required: False type: str - minify: + mobile_redirect: description: - - Minify setting + - None required: False type: list elements: dict @@ -69,97 +74,96 @@ - (Required for new resource) Associated CIS domain required: True type: str - always_use_https: + hotlink_protection: description: - - always_use_https setting + - hotlink_protection setting required: False type: str - prefetch_preload: + http2: description: - - prefetch_preload setting + - http2 setting required: False type: str - server_side_exclude: + brotli: description: - - server_side_exclude setting + - brotli setting required: False type: str - tls_client_auth: + pseudo_ipv4: description: - - tls_client_auth setting + - pseudo_ipv4 setting required: False type: str - mobile_redirect: - description: - - None - required: False - type: list - elements: dict - dnssec: + prefetch_preload: description: - - DNS Sec setting + - prefetch_preload setting required: False type: str - browser_check: + min_tls_version: description: - - browser_check setting + - Minimum version of TLS required required: False type: str - http2: + default: 1.1 + waf: description: - - http2 setting + - WAF setting required: False type: str - challenge_ttl: + ipv6: description: - - Challenge TTL setting + - ipv6 setting required: False - type: int - waf: + type: str + image_load_optimization: description: - - WAF setting + - image_load_optimization setting required: False type: str - true_client_ip_header: + response_buffering: description: - - true_client_ip_header setting + - response_buffering setting required: False type: str - cipher: + tls_client_auth: description: - - Cipher settings + - tls_client_auth setting required: False - type: list - elements: str - ssl: + type: str + true_client_ip_header: description: - - SSL/TLS setting + - true_client_ip_header setting required: False type: str - hotlink_protection: + dnssec: description: - - hotlink_protection setting + - DNS Sec setting required: False type: str - image_load_optimization: + ip_geolocation: description: - - image_load_optimization setting + - ip_geolocation setting required: False type: str - image_size_optimization: + max_upload: description: - - image_size_optimization setting + - Maximum upload required: False - type: str + type: int security_header: description: - Security Header Setting required: False type: list elements: dict - ip_geolocation: + image_size_optimization: description: - - ip_geolocation setting + - image_size_optimization setting + required: False + type: str + always_use_https: + description: + - always_use_https setting required: False type: str script_load_optimization: @@ -167,29 +171,25 @@ - script_load_optimization setting required: False type: str - max_upload: + server_side_exclude: description: - - Maximum upload + - server_side_exclude setting required: False - type: int - cis_id: - description: - - (Required for new resource) CIS instance crn - required: True type: str - origin_error_page_pass_thru: + challenge_ttl: description: - - origin_error_page_pass_thru setting + - Challenge TTL setting required: False - type: str - brotli: + type: int + cipher: description: - - brotli setting + - Cipher settings required: False - type: str - websockets: + type: list + elements: str + cname_flattening: description: - - websockets setting + - cname_flattening setting required: False type: str id: @@ -238,45 +238,45 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('domain_id', 'str'), ('cis_id', 'str'), + ('domain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'websockets', 'opportunistic_encryption', + 'browser_check', + 'minify', + 'cis_id', + 'ssl', 'automatic_https_rewrites', - 'ipv6', + 'origin_error_page_pass_thru', + 'mobile_redirect', + 'domain_id', + 'hotlink_protection', + 'http2', + 'brotli', 'pseudo_ipv4', + 'prefetch_preload', 'min_tls_version', - 'cname_flattening', + 'waf', + 'ipv6', + 'image_load_optimization', 'response_buffering', - 'minify', - 'domain_id', - 'always_use_https', - 'prefetch_preload', - 'server_side_exclude', 'tls_client_auth', - 'mobile_redirect', - 'dnssec', - 'browser_check', - 'http2', - 'challenge_ttl', - 'waf', 'true_client_ip_header', - 'cipher', - 'ssl', - 'hotlink_protection', - 'image_load_optimization', - 'image_size_optimization', - 'security_header', + 'dnssec', 'ip_geolocation', - 'script_load_optimization', 'max_upload', - 'cis_id', - 'origin_error_page_pass_thru', - 'brotli', - 'websockets', + 'security_header', + 'image_size_optimization', + 'always_use_https', + 'script_load_optimization', + 'server_side_exclude', + 'challenge_ttl', + 'cipher', + 'cname_flattening', ] # Params for Data source @@ -293,107 +293,107 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - opportunistic_encryption=dict( + websockets=dict( required=False, type='str'), - automatic_https_rewrites=dict( + opportunistic_encryption=dict( required=False, type='str'), - ipv6=dict( + browser_check=dict( required=False, type='str'), - pseudo_ipv4=dict( + minify=dict( + required=False, + elements='', + type='list'), + cis_id=dict( required=False, type='str'), - min_tls_version=dict( + ssl=dict( required=False, type='str'), - cname_flattening=dict( + automatic_https_rewrites=dict( required=False, type='str'), - response_buffering=dict( + origin_error_page_pass_thru=dict( required=False, type='str'), - minify=dict( + mobile_redirect=dict( required=False, elements='', type='list'), domain_id=dict( required=False, type='str'), - always_use_https=dict( + hotlink_protection=dict( required=False, type='str'), - prefetch_preload=dict( + http2=dict( required=False, type='str'), - server_side_exclude=dict( + brotli=dict( required=False, type='str'), - tls_client_auth=dict( + pseudo_ipv4=dict( required=False, type='str'), - mobile_redirect=dict( - required=False, - elements='', - type='list'), - dnssec=dict( + prefetch_preload=dict( required=False, type='str'), - browser_check=dict( + min_tls_version=dict( required=False, type='str'), - http2=dict( + waf=dict( required=False, type='str'), - challenge_ttl=dict( - required=False, - type='int'), - waf=dict( + ipv6=dict( required=False, type='str'), - true_client_ip_header=dict( + image_load_optimization=dict( required=False, type='str'), - cipher=dict( + response_buffering=dict( required=False, - elements='', - type='list'), - ssl=dict( + type='str'), + tls_client_auth=dict( required=False, type='str'), - hotlink_protection=dict( + true_client_ip_header=dict( required=False, type='str'), - image_load_optimization=dict( + dnssec=dict( required=False, type='str'), - image_size_optimization=dict( + ip_geolocation=dict( required=False, type='str'), + max_upload=dict( + required=False, + type='int'), security_header=dict( required=False, elements='', type='list'), - ip_geolocation=dict( + image_size_optimization=dict( required=False, type='str'), - script_load_optimization=dict( + always_use_https=dict( required=False, type='str'), - max_upload=dict( - required=False, - type='int'), - cis_id=dict( + script_load_optimization=dict( required=False, type='str'), - origin_error_page_pass_thru=dict( + server_side_exclude=dict( required=False, type='str'), - brotli=dict( + challenge_ttl=dict( required=False, - type='str'), - websockets=dict( + type='int'), + cipher=dict( + required=False, + elements='', + type='list'), + cname_flattening=dict( required=False, type='str'), id=dict( @@ -461,7 +461,7 @@ def run_module(): resource_type='ibm_cis_domain_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_edge_functions_action.py b/plugins/modules/ibm_cis_edge_functions_action.py index 076b57f1a..8fcb6625f 100644 --- a/plugins/modules/ibm_cis_edge_functions_action.py +++ b/plugins/modules/ibm_cis_edge_functions_action.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_edge_functions_action' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - script: - description: - - (Required for new resource) Edge function action script - required: True - type: str cis_id: description: - (Required for new resource) CIS Intance CRN @@ -42,6 +37,11 @@ - (Required for new resource) Edge function action script name required: True type: str + script: + description: + - (Required for new resource) Edge function action script + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -88,18 +88,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('script', 'str'), ('cis_id', 'str'), ('domain_id', 'str'), ('action_name', 'str'), + ('script', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'script', 'cis_id', 'domain_id', 'action_name', + 'script', ] # Params for Data source @@ -116,9 +116,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - script=dict( - required=False, - type='str'), cis_id=dict( required=False, type='str'), @@ -128,6 +125,9 @@ action_name=dict( required=False, type='str'), + script=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_cis_edge_functions_action', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_edge_functions_actions_info.py b/plugins/modules/ibm_cis_edge_functions_actions_info.py index 4cab2e0eb..51c85c9bd 100644 --- a/plugins/modules/ibm_cis_edge_functions_actions_info.py +++ b/plugins/modules/ibm_cis_edge_functions_actions_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cis_edge_functions_actions' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - cis_id: + domain_id: description: - - CIS Intance CRN + - CIS Domain ID required: True type: str - domain_id: + cis_id: description: - - CIS Domain ID + - CIS Intance CRN required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), ('domain_id', 'str'), + ('cis_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cis_id', 'domain_id', + 'cis_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - cis_id=dict( + domain_id=dict( required=True, type='str'), - domain_id=dict( + cis_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_edge_functions_actions', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_edge_functions_trigger.py b/plugins/modules/ibm_cis_edge_functions_trigger.py index e08398840..6b335d53a 100644 --- a/plugins/modules/ibm_cis_edge_functions_trigger.py +++ b/plugins/modules/ibm_cis_edge_functions_trigger.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_edge_functions_trigger' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_cis_edge_functions_trigger', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_edge_functions_triggers_info.py b/plugins/modules/ibm_cis_edge_functions_triggers_info.py index bea48a95a..e22f46ec6 100644 --- a/plugins/modules/ibm_cis_edge_functions_triggers_info.py +++ b/plugins/modules/ibm_cis_edge_functions_triggers_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_edge_functions_triggers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_edge_functions_triggers', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_filter.py b/plugins/modules/ibm_cis_filter.py index 905aef87c..e1d7605a8 100644 --- a/plugins/modules/ibm_cis_filter.py +++ b/plugins/modules/ibm_cis_filter.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_filter' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -201,7 +201,7 @@ def run_module(): resource_type='ibm_cis_filter', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_filters_info.py b/plugins/modules/ibm_cis_filters_info.py index 24e6737ca..ee77b855c 100644 --- a/plugins/modules/ibm_cis_filters_info.py +++ b/plugins/modules/ibm_cis_filters_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_filters' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_filters', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_firewall.py b/plugins/modules/ibm_cis_firewall.py index 9cd91f5b0..015633975 100644 --- a/plugins/modules/ibm_cis_firewall.py +++ b/plugins/modules/ibm_cis_firewall.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_firewall' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + cis_id: + description: + - (Required for new resource) CIS object id + required: True + type: str domain_id: description: - (Required for new resource) Associated CIS domain @@ -50,11 +55,6 @@ required: False type: list elements: dict - cis_id: - description: - - (Required for new resource) CIS object id - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -101,19 +101,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('cis_id', 'str'), ('domain_id', 'str'), ('firewall_type', 'str'), - ('cis_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'cis_id', 'domain_id', 'firewall_type', 'lockdown', 'access_rule', 'ua_rule', - 'cis_id', ] # Params for Data source @@ -136,6 +136,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + cis_id=dict( + required=False, + type='str'), domain_id=dict( required=False, type='str'), @@ -154,9 +157,6 @@ required=False, elements='', type='list'), - cis_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -222,7 +222,7 @@ def run_module(): resource_type='ibm_cis_firewall', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -231,7 +231,7 @@ def run_module(): resource_type='ibm_cis_firewall', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cis_firewall_info.py b/plugins/modules/ibm_cis_firewall_info.py index eaa11a9e9..d631fe772 100644 --- a/plugins/modules/ibm_cis_firewall_info.py +++ b/plugins/modules/ibm_cis_firewall_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_firewall' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_cis_firewall', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_firewall_rule.py b/plugins/modules/ibm_cis_firewall_rule.py index 53379400c..82c4f1a6a 100644 --- a/plugins/modules/ibm_cis_firewall_rule.py +++ b/plugins/modules/ibm_cis_firewall_rule.py @@ -18,10 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_firewall_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + cis_id: + description: + - (Required for new resource) CIS instance crn + required: True + type: str + domain_id: + description: + - (Required for new resource) Associated CIS domain + required: True + type: str filter_id: description: - (Required for new resource) Firewallrules Existing FilterID @@ -47,16 +57,6 @@ - Firewallrules Paused required: False type: bool - cis_id: - description: - - (Required for new resource) CIS instance crn - required: True - type: str - domain_id: - description: - - (Required for new resource) Associated CIS domain - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -103,21 +103,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('filter_id', 'str'), - ('action', 'str'), ('cis_id', 'str'), ('domain_id', 'str'), + ('filter_id', 'str'), + ('action', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'cis_id', + 'domain_id', 'filter_id', 'action', 'priority', 'description', 'paused', - 'cis_id', - 'domain_id', ] # Params for Data source @@ -134,6 +134,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + cis_id=dict( + required=False, + type='str'), + domain_id=dict( + required=False, + type='str'), filter_id=dict( required=False, type='str'), @@ -149,12 +155,6 @@ paused=dict( required=False, type='bool'), - cis_id=dict( - required=False, - type='str'), - domain_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -220,7 +220,7 @@ def run_module(): resource_type='ibm_cis_firewall_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_firewall_rules_info.py b/plugins/modules/ibm_cis_firewall_rules_info.py index cc78c47be..5a641c434 100644 --- a/plugins/modules/ibm_cis_firewall_rules_info.py +++ b/plugins/modules/ibm_cis_firewall_rules_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cis_firewall_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - domain_id: + cis_id: description: - - Zone identifier of the zone for which firewall rules are listed. + - Full url-encoded cloud resource name (CRN) of resource instance. required: True type: str - cis_id: + domain_id: description: - - Full url-encoded cloud resource name (CRN) of resource instance. + - Zone identifier of the zone for which firewall rules are listed. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('domain_id', 'str'), ('cis_id', 'str'), + ('domain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'domain_id', 'cis_id', + 'domain_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - domain_id=dict( + cis_id=dict( required=True, type='str'), - cis_id=dict( + domain_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_firewall_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_global_load_balancer.py b/plugins/modules/ibm_cis_global_load_balancer.py index 7332bdf40..77758c4da 100644 --- a/plugins/modules/ibm_cis_global_load_balancer.py +++ b/plugins/modules/ibm_cis_global_load_balancer.py @@ -18,26 +18,48 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_global_load_balancer' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - session_affinity: + cis_id: description: - - Session affinity info - required: False + - (Required for new resource) CIS instance crn + required: True type: str - default: none - domain_id: + name: description: - - (Required for new resource) Associated CIS domain + - (Required for new resource) name required: True type: str + region_pools: + description: + - None + required: False + type: list + elements: dict + default_pool_ids: + description: + - (Required for new resource) List of default Pool IDs + required: True + type: list + elements: str + pop_pools: + description: + - None + required: False + type: list + elements: dict description: description: - Description for the load balancer instance required: False type: str + steering_policy: + description: + - Steering policy info + required: False + type: str proxied: description: - set to true if proxy needs to be enabled @@ -50,50 +72,28 @@ required: False type: bool default: True - pop_pools: + domain_id: description: - - None + - (Required for new resource) Associated CIS domain + required: True + type: str + session_affinity: + description: + - Session affinity info required: False - type: list - elements: dict + type: str + default: none fallback_pool_id: description: - (Required for new resource) fallback pool ID required: True type: str - steering_policy: - description: - - Steering policy info - required: False - type: str ttl: description: - TTL value required: False type: int default: 60 - default_pool_ids: - description: - - (Required for new resource) List of default Pool IDs - required: True - type: list - elements: str - region_pools: - description: - - None - required: False - type: list - elements: dict - cis_id: - description: - - (Required for new resource) CIS instance crn - required: True - type: str - name: - description: - - (Required for new resource) name - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -140,28 +140,28 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('domain_id', 'str'), - ('fallback_pool_id', 'str'), - ('default_pool_ids', 'list'), ('cis_id', 'str'), ('name', 'str'), + ('default_pool_ids', 'list'), + ('domain_id', 'str'), + ('fallback_pool_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'session_affinity', - 'domain_id', + 'cis_id', + 'name', + 'region_pools', + 'default_pool_ids', + 'pop_pools', 'description', + 'steering_policy', 'proxied', 'enabled', - 'pop_pools', + 'domain_id', + 'session_affinity', 'fallback_pool_id', - 'steering_policy', 'ttl', - 'default_pool_ids', - 'region_pools', - 'cis_id', - 'name', ] # Params for Data source @@ -180,48 +180,48 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - session_affinity=dict( - required=False, - type='str'), - domain_id=dict( + cis_id=dict( required=False, type='str'), - description=dict( + name=dict( required=False, type='str'), - proxied=dict( + region_pools=dict( required=False, - type='bool'), - enabled=dict( + elements='', + type='list'), + default_pool_ids=dict( required=False, - type='bool'), + elements='', + type='list'), pop_pools=dict( required=False, elements='', type='list'), - fallback_pool_id=dict( + description=dict( required=False, type='str'), steering_policy=dict( required=False, type='str'), - ttl=dict( + proxied=dict( required=False, - type='int'), - default_pool_ids=dict( + type='bool'), + enabled=dict( required=False, - elements='', - type='list'), - region_pools=dict( + type='bool'), + domain_id=dict( required=False, - elements='', - type='list'), - cis_id=dict( + type='str'), + session_affinity=dict( required=False, type='str'), - name=dict( + fallback_pool_id=dict( required=False, type='str'), + ttl=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -287,7 +287,7 @@ def run_module(): resource_type='ibm_cis_global_load_balancer', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_global_load_balancers_info.py b/plugins/modules/ibm_cis_global_load_balancers_info.py index 960cb3d64..6b67e2e5b 100644 --- a/plugins/modules/ibm_cis_global_load_balancers_info.py +++ b/plugins/modules/ibm_cis_global_load_balancers_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_global_load_balancers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_global_load_balancers', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_healthcheck.py b/plugins/modules/ibm_cis_healthcheck.py index 851fb40f4..3164c748b 100644 --- a/plugins/modules/ibm_cis_healthcheck.py +++ b/plugins/modules/ibm_cis_healthcheck.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_healthcheck' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,81 +27,81 @@ - expected_codes required: False type: str - retries: + description: description: - - retries + - description required: False - type: int - default: 2 - timeout: + type: str + default: + type: description: - - timeout + - type required: False - type: int - default: 5 - interval: + type: str + default: http + method: description: - - interval + - method required: False - type: int - default: 60 - headers: + type: str + default: GET + timeout: description: - - None + - timeout required: False - type: list - elements: dict + type: int + default: 5 cis_id: description: - (Required for new resource) CIS instance crn required: True type: str - path: - description: - - path - required: False - type: str - default: / - type: + interval: description: - - type + - interval required: False - type: str - default: http + type: int + default: 60 follow_redirects: description: - follow_redirects required: False type: bool default: False - expected_body: + allow_insecure: description: - - expected_body + - allow_insecure required: False - type: str - description: + type: bool + default: False + port: description: - - description + - port number required: False - type: str - default: - method: + type: int + path: description: - - method + - path required: False type: str - default: GET - allow_insecure: + default: / + expected_body: description: - - allow_insecure + - expected_body required: False - type: bool - default: False - port: + type: str + retries: description: - - port number + - retries required: False type: int + default: 2 + headers: + description: + - None + required: False + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -154,19 +154,19 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'expected_codes', - 'retries', + 'description', + 'type', + 'method', 'timeout', - 'interval', - 'headers', 'cis_id', - 'path', - 'type', + 'interval', 'follow_redirects', - 'expected_body', - 'description', - 'method', 'allow_insecure', 'port', + 'path', + 'expected_body', + 'retries', + 'headers', ] # Params for Data source @@ -186,46 +186,46 @@ expected_codes=dict( required=False, type='str'), - retries=dict( + description=dict( required=False, - type='int'), - timeout=dict( + type='str'), + type=dict( required=False, - type='int'), - interval=dict( + type='str'), + method=dict( required=False, - type='int'), - headers=dict( + type='str'), + timeout=dict( required=False, - elements='', - type='list'), + type='int'), cis_id=dict( required=False, type='str'), - path=dict( - required=False, - type='str'), - type=dict( + interval=dict( required=False, - type='str'), + type='int'), follow_redirects=dict( required=False, type='bool'), - expected_body=dict( + allow_insecure=dict( required=False, - type='str'), - description=dict( + type='bool'), + port=dict( required=False, - type='str'), - method=dict( + type='int'), + path=dict( required=False, type='str'), - allow_insecure=dict( + expected_body=dict( required=False, - type='bool'), - port=dict( + type='str'), + retries=dict( required=False, type='int'), + headers=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -291,7 +291,7 @@ def run_module(): resource_type='ibm_cis_healthcheck', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_healthchecks_info.py b/plugins/modules/ibm_cis_healthchecks_info.py index b4043e408..2519ecc82 100644 --- a/plugins/modules/ibm_cis_healthchecks_info.py +++ b/plugins/modules/ibm_cis_healthchecks_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_healthchecks' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cis_healthchecks', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_info.py b/plugins/modules/ibm_cis_info.py index 4b194e392..2cdcf11a5 100644 --- a/plugins/modules/ibm_cis_info.py +++ b/plugins/modules/ibm_cis_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_cis' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - resource_group_id: - description: - - The id of the resource group in which the cis instance is present - required: False - type: str name: description: - Resource instance name for example, my cis instance required: True type: str + resource_group_id: + description: + - The id of the resource group in which the cis instance is present + required: False + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -69,8 +69,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group_id', 'name', + 'resource_group_id', ] @@ -81,12 +81,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group_id=dict( - required=False, - type='str'), name=dict( required=True, type='str'), + resource_group_id=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_cis', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_ip_addresses_info.py b/plugins/modules/ibm_cis_ip_addresses_info.py index cb37a5e7c..b3fe925fa 100644 --- a/plugins/modules/ibm_cis_ip_addresses_info.py +++ b/plugins/modules/ibm_cis_ip_addresses_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_ip_addresses' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_cis_ip_addresses', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_logpush_job.py b/plugins/modules/ibm_cis_logpush_job.py index 72a8f3ee7..db8686237 100644 --- a/plugins/modules/ibm_cis_logpush_job.py +++ b/plugins/modules/ibm_cis_logpush_job.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_logpush_job' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - cis_id: + domain_id: description: - - (Required for new resource) CIS instance crn + - (Required for new resource) Associated CIS domain required: True type: str logdna: @@ -37,21 +37,16 @@ - Logpush Job Name required: False type: str - logpull_options: - description: - - Configuration string - required: False - type: str - domain_id: - description: - - (Required for new resource) Associated CIS domain - required: True - type: str enabled: description: - Whether the logpush job enabled or not required: False type: bool + logpull_options: + description: + - Configuration string + required: False + type: str dataset: description: - (Required for new resource) Dataset to be pulled @@ -62,6 +57,11 @@ - The frequency at which CIS sends batches of logs to your destination required: False type: str + cis_id: + description: + - (Required for new resource) CIS instance crn + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -108,22 +108,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), - ('logdna', 'str'), ('domain_id', 'str'), + ('logdna', 'str'), ('dataset', 'str'), + ('cis_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cis_id', + 'domain_id', 'logdna', 'name', - 'logpull_options', - 'domain_id', 'enabled', + 'logpull_options', 'dataset', 'frequency', + 'cis_id', ] # Params for Data source @@ -140,7 +140,7 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - cis_id=dict( + domain_id=dict( required=False, type='str'), logdna=dict( @@ -149,21 +149,21 @@ name=dict( required=False, type='str'), - logpull_options=dict( - required=False, - type='str'), - domain_id=dict( - required=False, - type='str'), enabled=dict( required=False, type='bool'), + logpull_options=dict( + required=False, + type='str'), dataset=dict( required=False, type='str'), frequency=dict( required=False, type='str'), + cis_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -229,7 +229,7 @@ def run_module(): resource_type='ibm_cis_logpush_job', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_logpush_jobs_info.py b/plugins/modules/ibm_cis_logpush_jobs_info.py index e1899a61c..cb3ca838a 100644 --- a/plugins/modules/ibm_cis_logpush_jobs_info.py +++ b/plugins/modules/ibm_cis_logpush_jobs_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cis_logpush_jobs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - domain_id: + cis_id: description: - - Associated CIS domain + - CIS instance crn required: True type: str - cis_id: + domain_id: description: - - CIS instance crn + - Associated CIS domain required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('domain_id', 'str'), ('cis_id', 'str'), + ('domain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'domain_id', 'cis_id', + 'domain_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - domain_id=dict( + cis_id=dict( required=True, type='str'), - cis_id=dict( + domain_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_logpush_jobs', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_mtls.py b/plugins/modules/ibm_cis_mtls.py index 4ffaf1bd1..7bddb2c25 100644 --- a/plugins/modules/ibm_cis_mtls.py +++ b/plugins/modules/ibm_cis_mtls.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_mtls' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,11 +27,6 @@ - (Required for new resource) Certificate contents required: True type: str - domain_id: - description: - - (Required for new resource) Associated CIS domain - required: True - type: str name: description: - (Required for new resource) Certificate name @@ -48,6 +43,11 @@ - (Required for new resource) CIS instance crn required: True type: str + domain_id: + description: + - (Required for new resource) Associated CIS domain + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -95,19 +95,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('certificate', 'str'), - ('domain_id', 'str'), ('name', 'str'), ('associated_hostnames', 'list'), ('cis_id', 'str'), + ('domain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'certificate', - 'domain_id', 'name', 'associated_hostnames', 'cis_id', + 'domain_id', ] # Params for Data source @@ -127,9 +127,6 @@ certificate=dict( required=False, type='str'), - domain_id=dict( - required=False, - type='str'), name=dict( required=False, type='str'), @@ -140,6 +137,9 @@ cis_id=dict( required=False, type='str'), + domain_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -205,7 +205,7 @@ def run_module(): resource_type='ibm_cis_mtls', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_mtls_app.py b/plugins/modules/ibm_cis_mtls_app.py index dc27ff681..659e87028 100644 --- a/plugins/modules/ibm_cis_mtls_app.py +++ b/plugins/modules/ibm_cis_mtls_app.py @@ -18,30 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_mtls_app' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - policy_decision: - description: - - Policy Action - required: False - type: str - default: non_identity cis_id: description: - (Required for new resource) CIS instance crn required: True type: str - policy_name: - description: - - Policy Name - required: False - type: str - default: mtls-policy - domain: + name: description: - - (Required for new resource) Associated host domain value + - (Required for new resource) App Name required: True type: str session_duration: @@ -50,27 +38,39 @@ required: False type: str default: 24h - cert_rule_val: - description: - - Policy certificate rule value - required: False - type: str - default: CA root certificate domain_id: description: - (Required for new resource) Associated CIS domain required: True type: str - name: + policy_name: description: - - (Required for new resource) App Name - required: True + - Policy Name + required: False type: str + default: mtls-policy + policy_decision: + description: + - Policy Action + required: False + type: str + default: non_identity common_rule_val: description: - Policy common rule value required: False type: str + cert_rule_val: + description: + - Policy certificate rule value + required: False + type: str + default: CA root certificate + domain: + description: + - (Required for new resource) Associated host domain value + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -118,22 +118,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('cis_id', 'str'), - ('domain', 'str'), - ('domain_id', 'str'), ('name', 'str'), + ('domain_id', 'str'), + ('domain', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'policy_decision', 'cis_id', - 'policy_name', - 'domain', + 'name', 'session_duration', - 'cert_rule_val', 'domain_id', - 'name', + 'policy_name', + 'policy_decision', 'common_rule_val', + 'cert_rule_val', + 'domain', ] # Params for Data source @@ -150,31 +150,31 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - policy_decision=dict( + cis_id=dict( required=False, type='str'), - cis_id=dict( + name=dict( required=False, type='str'), - policy_name=dict( + session_duration=dict( required=False, type='str'), - domain=dict( + domain_id=dict( required=False, type='str'), - session_duration=dict( + policy_name=dict( required=False, type='str'), - cert_rule_val=dict( + policy_decision=dict( required=False, type='str'), - domain_id=dict( + common_rule_val=dict( required=False, type='str'), - name=dict( + cert_rule_val=dict( required=False, type='str'), - common_rule_val=dict( + domain=dict( required=False, type='str'), id=dict( @@ -242,7 +242,7 @@ def run_module(): resource_type='ibm_cis_mtls_app', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_mtls_apps_info.py b/plugins/modules/ibm_cis_mtls_apps_info.py index d3280a451..a5150586b 100644 --- a/plugins/modules/ibm_cis_mtls_apps_info.py +++ b/plugins/modules/ibm_cis_mtls_apps_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_mtls_apps' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_mtls_apps', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_mtlss_info.py b/plugins/modules/ibm_cis_mtlss_info.py index 083d9c776..2a37d33bf 100644 --- a/plugins/modules/ibm_cis_mtlss_info.py +++ b/plugins/modules/ibm_cis_mtlss_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_mtlss' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_mtlss', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_origin_auth.py b/plugins/modules/ibm_cis_origin_auth.py index a7da67eaf..caec1c9e9 100644 --- a/plugins/modules/ibm_cis_origin_auth.py +++ b/plugins/modules/ibm_cis_origin_auth.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_origin_auth' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - cis_id: + level: description: - - (Required for new resource) CIS instance crn + - (Required for new resource) Origin auth level zone or hostname required: True type: str hostname: @@ -32,16 +32,6 @@ - Host name needed for host level authentication required: False type: str - domain_id: - description: - - (Required for new resource) Associated CIS domain - required: True - type: str - level: - description: - - (Required for new resource) Origin auth level zone or hostname - required: True - type: str enabled: description: - Enabel-disable origin auth for a zone or host @@ -58,6 +48,16 @@ - (Required for new resource) Private key content which needs to be uploaded required: True type: str + domain_id: + description: + - (Required for new resource) Associated CIS domain + required: True + type: str + cis_id: + description: + - (Required for new resource) CIS instance crn + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -104,22 +104,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), - ('domain_id', 'str'), ('level', 'str'), ('certificate', 'str'), ('private_key', 'str'), + ('domain_id', 'str'), + ('cis_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cis_id', - 'hostname', - 'domain_id', 'level', + 'hostname', 'enabled', 'certificate', 'private_key', + 'domain_id', + 'cis_id', ] # Params for Data source @@ -136,18 +136,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - cis_id=dict( + level=dict( required=False, type='str'), hostname=dict( required=False, type='str'), - domain_id=dict( - required=False, - type='str'), - level=dict( - required=False, - type='str'), enabled=dict( required=False, type='bool'), @@ -157,6 +151,12 @@ private_key=dict( required=False, type='str'), + domain_id=dict( + required=False, + type='str'), + cis_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -222,7 +222,7 @@ def run_module(): resource_type='ibm_cis_origin_auth', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_origin_auths_info.py b/plugins/modules/ibm_cis_origin_auths_info.py index f4135803b..3d68aa751 100644 --- a/plugins/modules/ibm_cis_origin_auths_info.py +++ b/plugins/modules/ibm_cis_origin_auths_info.py @@ -17,10 +17,16 @@ description: - Retrieve an IBM Cloud 'ibm_cis_origin_auths' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + request_type: + description: + - Associated CIS Request Type + required: False + type: str + default: zone_level cis_id: description: - CIS instance crn @@ -37,12 +43,6 @@ required: False type: str default: no_host - request_type: - description: - - Associated CIS Request Type - required: False - type: str - default: zone_level iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -82,10 +82,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'request_type', 'cis_id', 'domain_id', 'hostname', - 'request_type', ] @@ -96,6 +96,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + request_type=dict( + required=False, + type='str'), cis_id=dict( required=True, type='str'), @@ -105,9 +108,6 @@ hostname=dict( required=False, type='str'), - request_type=dict( - required=False, - type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_cis_origin_auths', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_origin_pool.py b/plugins/modules/ibm_cis_origin_pool.py index fd1e72940..f808d4030 100644 --- a/plugins/modules/ibm_cis_origin_pool.py +++ b/plugins/modules/ibm_cis_origin_pool.py @@ -18,58 +18,58 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_origin_pool' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - check_regions: - description: - - (Required for new resource) List of regions - required: True - type: list - elements: str - description: - description: - - Description of the CIS Origin Pool - required: False - type: str cis_id: description: - (Required for new resource) CIS instance crn required: True type: str + notification_email: + description: + - Email address configured to recieve the notifications + required: False + type: str name: description: - (Required for new resource) name required: True type: str - minimum_origins: + description: description: - - Minimum number of Origins + - Description of the CIS Origin Pool required: False - type: int - default: 1 - origins: + type: str + monitor: description: - - (Required for new resource) Origins info + - Monitor value + required: False + type: str + check_regions: + description: + - (Required for new resource) List of regions required: True type: list - elements: dict + elements: str enabled: description: - (Required for new resource) Boolean value set to true if cis origin pool needs to be enabled required: True type: bool - monitor: + minimum_origins: description: - - Monitor value + - Minimum number of Origins required: False - type: str - notification_email: + type: int + default: 1 + origins: description: - - Email address configured to recieve the notifications - required: False - type: str + - (Required for new resource) Origins info + required: True + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -116,24 +116,24 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('check_regions', 'list'), ('cis_id', 'str'), ('name', 'str'), - ('origins', 'list'), + ('check_regions', 'list'), ('enabled', 'bool'), + ('origins', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'check_regions', - 'description', 'cis_id', + 'notification_email', 'name', + 'description', + 'monitor', + 'check_regions', + 'enabled', 'minimum_origins', 'origins', - 'enabled', - 'monitor', - 'notification_email', ] # Params for Data source @@ -150,35 +150,35 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - check_regions=dict( - required=False, - elements='', - type='list'), - description=dict( + cis_id=dict( required=False, type='str'), - cis_id=dict( + notification_email=dict( required=False, type='str'), name=dict( required=False, type='str'), - minimum_origins=dict( + description=dict( required=False, - type='int'), - origins=dict( + type='str'), + monitor=dict( + required=False, + type='str'), + check_regions=dict( required=False, elements='', type='list'), enabled=dict( required=False, type='bool'), - monitor=dict( + minimum_origins=dict( required=False, - type='str'), - notification_email=dict( + type='int'), + origins=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -244,7 +244,7 @@ def run_module(): resource_type='ibm_cis_origin_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_origin_pools_info.py b/plugins/modules/ibm_cis_origin_pools_info.py index 264275fca..31cc47961 100644 --- a/plugins/modules/ibm_cis_origin_pools_info.py +++ b/plugins/modules/ibm_cis_origin_pools_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_origin_pools' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cis_origin_pools', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_page_rule.py b/plugins/modules/ibm_cis_page_rule.py index 4d7e8e2b7..705a041ff 100644 --- a/plugins/modules/ibm_cis_page_rule.py +++ b/plugins/modules/ibm_cis_page_rule.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_page_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - domain_id: - description: - - (Required for new resource) Associated CIS domain - required: True - type: str priority: description: - Page rule priority @@ -56,6 +51,11 @@ - (Required for new resource) CIS instance crn required: True type: str + domain_id: + description: + - (Required for new resource) Associated CIS domain + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -102,20 +102,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('domain_id', 'str'), ('targets', 'list'), ('actions', 'list'), ('cis_id', 'str'), + ('domain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'domain_id', 'priority', 'status', 'targets', 'actions', 'cis_id', + 'domain_id', ] # Params for Data source @@ -132,9 +132,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - domain_id=dict( - required=False, - type='str'), priority=dict( required=False, type='int'), @@ -152,6 +149,9 @@ cis_id=dict( required=False, type='str'), + domain_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_cis_page_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_page_rules_info.py b/plugins/modules/ibm_cis_page_rules_info.py index 05f529fe7..c59a9de9b 100644 --- a/plugins/modules/ibm_cis_page_rules_info.py +++ b/plugins/modules/ibm_cis_page_rules_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_page_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_page_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_range_app.py b/plugins/modules/ibm_cis_range_app.py index 7dd8d1e42..01369e19a 100644 --- a/plugins/modules/ibm_cis_range_app.py +++ b/plugins/modules/ibm_cis_range_app.py @@ -18,32 +18,36 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_range_app' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - edge_ips_connectivity: + dns_type: description: - - Specifies the IP version. + - (Required for new resource) Type of the DNS record for this application + required: True + type: str + proxy_protocol: + description: + - Allows for the true client IP to be passed to the service. required: False type: str - default: all - traffic_type: + edge_ips_type: description: - - Configure how traffic is handled at the edge. + - The type of edge IP configuration. required: False type: str - default: direct + default: dynamic domain_id: description: - (Required for new resource) CIS Domain ID required: True type: str - origin_port: + protocol: description: - - Port at the origin that listens to traffic - required: False - type: int + - (Required for new resource) Defines the protocol and port for this application + required: True + type: str dns: description: - (Required for new resource) Name of the DNS record for this application @@ -55,47 +59,43 @@ required: False type: list elements: str - origin_dns: - description: - - DNS record pointing to the origin for this Range application. - required: False - type: str ip_firewall: description: - Enables the IP Firewall for this application. Only available for TCP applications. required: False type: bool - edge_ips_type: + edge_ips_connectivity: description: - - The type of edge IP configuration. + - Specifies the IP version. required: False type: str - default: dynamic - tls: + default: all + traffic_type: description: - - Configure if and how TLS connections are terminated at the edge. + - Configure how traffic is handled at the edge. required: False type: str - default: off + default: direct cis_id: description: - (Required for new resource) CIS Intance CRN required: True type: str - protocol: + tls: description: - - (Required for new resource) Defines the protocol and port for this application - required: True + - Configure if and how TLS connections are terminated at the edge. + required: False type: str - proxy_protocol: + default: off + origin_port: description: - - Allows for the true client IP to be passed to the service. + - Port at the origin that listens to traffic required: False - type: str - dns_type: + type: int + origin_dns: description: - - (Required for new resource) Type of the DNS record for this application - required: True + - DNS record pointing to the origin for this Range application. + required: False type: str id: description: @@ -143,29 +143,29 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('dns_type', 'str'), ('domain_id', 'str'), + ('protocol', 'str'), ('dns', 'str'), ('cis_id', 'str'), - ('protocol', 'str'), - ('dns_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'edge_ips_connectivity', - 'traffic_type', + 'dns_type', + 'proxy_protocol', + 'edge_ips_type', 'domain_id', - 'origin_port', + 'protocol', 'dns', 'origin_direct', - 'origin_dns', 'ip_firewall', - 'edge_ips_type', - 'tls', + 'edge_ips_connectivity', + 'traffic_type', 'cis_id', - 'protocol', - 'proxy_protocol', - 'dns_type', + 'tls', + 'origin_port', + 'origin_dns', ] # Params for Data source @@ -183,18 +183,21 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - edge_ips_connectivity=dict( + dns_type=dict( required=False, type='str'), - traffic_type=dict( + proxy_protocol=dict( + required=False, + type='str'), + edge_ips_type=dict( required=False, type='str'), domain_id=dict( required=False, type='str'), - origin_port=dict( + protocol=dict( required=False, - type='int'), + type='str'), dns=dict( required=False, type='str'), @@ -202,28 +205,25 @@ required=False, elements='', type='list'), - origin_dns=dict( - required=False, - type='str'), ip_firewall=dict( required=False, type='bool'), - edge_ips_type=dict( + edge_ips_connectivity=dict( required=False, type='str'), - tls=dict( + traffic_type=dict( required=False, type='str'), cis_id=dict( required=False, type='str'), - protocol=dict( + tls=dict( required=False, type='str'), - proxy_protocol=dict( + origin_port=dict( required=False, - type='str'), - dns_type=dict( + type='int'), + origin_dns=dict( required=False, type='str'), id=dict( @@ -291,7 +291,7 @@ def run_module(): resource_type='ibm_cis_range_app', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_range_apps_info.py b/plugins/modules/ibm_cis_range_apps_info.py index f014840f8..38143ad8c 100644 --- a/plugins/modules/ibm_cis_range_apps_info.py +++ b/plugins/modules/ibm_cis_range_apps_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_range_apps' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_range_apps', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_rate_limit.py b/plugins/modules/ibm_cis_rate_limit.py index 60ac86815..def93cc96 100644 --- a/plugins/modules/ibm_cis_rate_limit.py +++ b/plugins/modules/ibm_cis_rate_limit.py @@ -18,10 +18,22 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_rate_limit' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + action: + description: + - (Required for new resource) Rate Limiting Action + required: True + type: list + elements: dict + match: + description: + - Rate Limiting Match + required: False + type: list + elements: dict cis_id: description: - (Required for new resource) CIS Intance CRN @@ -32,9 +44,9 @@ - (Required for new resource) CIS Domain ID required: True type: str - period: + threshold: description: - - (Required for new resource) Rate Limiting Period + - (Required for new resource) Rate Limiting Threshold required: True type: int correlate: @@ -43,18 +55,6 @@ required: False type: list elements: dict - action: - description: - - (Required for new resource) Rate Limiting Action - required: True - type: list - elements: dict - match: - description: - - Rate Limiting Match - required: False - type: list - elements: dict disabled: description: - Whether this rate limiting rule is currently disabled. @@ -72,9 +72,9 @@ required: False type: list elements: dict - threshold: + period: description: - - (Required for new resource) Rate Limiting Threshold + - (Required for new resource) Rate Limiting Period required: True type: int id: @@ -123,25 +123,25 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('action', 'list'), ('cis_id', 'str'), ('domain_id', 'str'), - ('period', 'int'), - ('action', 'list'), ('threshold', 'int'), + ('period', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'action', + 'match', 'cis_id', 'domain_id', - 'period', + 'threshold', 'correlate', - 'action', - 'match', 'disabled', 'description', 'bypass', - 'threshold', + 'period', ] # Params for Data source @@ -162,27 +162,27 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + action=dict( + required=False, + elements='', + type='list'), + match=dict( + required=False, + elements='', + type='list'), cis_id=dict( required=False, type='str'), domain_id=dict( required=False, type='str'), - period=dict( + threshold=dict( required=False, type='int'), correlate=dict( required=False, elements='', type='list'), - action=dict( - required=False, - elements='', - type='list'), - match=dict( - required=False, - elements='', - type='list'), disabled=dict( required=False, type='bool'), @@ -193,7 +193,7 @@ required=False, elements='', type='list'), - threshold=dict( + period=dict( required=False, type='int'), id=dict( @@ -261,7 +261,7 @@ def run_module(): resource_type='ibm_cis_rate_limit', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -270,7 +270,7 @@ def run_module(): resource_type='ibm_cis_rate_limit', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cis_rate_limit_info.py b/plugins/modules/ibm_cis_rate_limit_info.py index 465ddc47e..03440d7bb 100644 --- a/plugins/modules/ibm_cis_rate_limit_info.py +++ b/plugins/modules/ibm_cis_rate_limit_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_rate_limit' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_rate_limit', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_routing.py b/plugins/modules/ibm_cis_routing.py index d38aaae93..f337197e0 100644 --- a/plugins/modules/ibm_cis_routing.py +++ b/plugins/modules/ibm_cis_routing.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_routing' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -182,7 +182,7 @@ def run_module(): resource_type='ibm_cis_routing', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_tls_settings.py b/plugins/modules/ibm_cis_tls_settings.py index 3e72c6cab..436b79b6b 100644 --- a/plugins/modules/ibm_cis_tls_settings.py +++ b/plugins/modules/ibm_cis_tls_settings.py @@ -18,16 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_tls_settings' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - min_tls_version: - description: - - Minimum version of TLS required - required: False - type: str - default: 1.1 cis_id: description: - (Required for new resource) CIS instance crn @@ -48,6 +42,12 @@ - TLS 1.3 setting required: False type: str + min_tls_version: + description: + - Minimum version of TLS required + required: False + type: str + default: 1.1 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -100,11 +100,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'min_tls_version', 'cis_id', 'domain_id', 'universal_ssl', 'tls_1_3', + 'min_tls_version', ] # Params for Data source @@ -121,9 +121,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - min_tls_version=dict( - required=False, - type='str'), cis_id=dict( required=False, type='str'), @@ -136,6 +133,9 @@ tls_1_3=dict( required=False, type='str'), + min_tls_version=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -201,7 +201,7 @@ def run_module(): resource_type='ibm_cis_tls_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_waf_group.py b/plugins/modules/ibm_cis_waf_group.py index 125235e5a..daa4959ca 100644 --- a/plugins/modules/ibm_cis_waf_group.py +++ b/plugins/modules/ibm_cis_waf_group.py @@ -18,29 +18,23 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_waf_group' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - check_mode: - description: - - Check Mode before making a create/update request - required: False - type: bool - default: False - cis_id: + domain_id: description: - - (Required for new resource) CIS Intance CRN + - (Required for new resource) CIS Domain ID required: True type: str - domain_id: + group_id: description: - - (Required for new resource) CIS Domain ID + - (Required for new resource) WAF Rule group id required: True type: str - mode: + cis_id: description: - - (Required for new resource) WAF Rule group mode on/off + - (Required for new resource) CIS Intance CRN required: True type: str package_id: @@ -48,11 +42,17 @@ - (Required for new resource) WAF Rule package id required: True type: str - group_id: + mode: description: - - (Required for new resource) WAF Rule group id + - (Required for new resource) WAF Rule group mode on/off required: True type: str + check_mode: + description: + - Check Mode before making a create/update request + required: False + type: bool + default: False id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,21 +99,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), ('domain_id', 'str'), - ('mode', 'str'), - ('package_id', 'str'), ('group_id', 'str'), + ('cis_id', 'str'), + ('package_id', 'str'), + ('mode', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'check_mode', - 'cis_id', 'domain_id', - 'mode', - 'package_id', 'group_id', + 'cis_id', + 'package_id', + 'mode', + 'check_mode', ] # Params for Data source @@ -130,24 +130,24 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - check_mode=dict( - required=False, - type='bool'), - cis_id=dict( + domain_id=dict( required=False, type='str'), - domain_id=dict( + group_id=dict( required=False, type='str'), - mode=dict( + cis_id=dict( required=False, type='str'), package_id=dict( required=False, type='str'), - group_id=dict( + mode=dict( required=False, type='str'), + check_mode=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -213,7 +213,7 @@ def run_module(): resource_type='ibm_cis_waf_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_waf_groups_info.py b/plugins/modules/ibm_cis_waf_groups_info.py index a83c6208b..11b94ff06 100644 --- a/plugins/modules/ibm_cis_waf_groups_info.py +++ b/plugins/modules/ibm_cis_waf_groups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_waf_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_cis_waf_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_waf_package.py b/plugins/modules/ibm_cis_waf_package.py index 288f4cb84..64c854d29 100644 --- a/plugins/modules/ibm_cis_waf_package.py +++ b/plugins/modules/ibm_cis_waf_package.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_waf_package' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + sensitivity: + description: + - (Required for new resource) WAF pakcage sensitivity + required: True + type: str action_mode: description: - (Required for new resource) WAF pakcage action mode @@ -42,11 +47,6 @@ - (Required for new resource) WAF pakcage ID required: True type: str - sensitivity: - description: - - (Required for new resource) WAF pakcage sensitivity - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -93,20 +93,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('sensitivity', 'str'), ('action_mode', 'str'), ('cis_id', 'str'), ('domain_id', 'str'), ('package_id', 'str'), - ('sensitivity', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'sensitivity', 'action_mode', 'cis_id', 'domain_id', 'package_id', - 'sensitivity', ] # Params for Data source @@ -123,6 +123,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + sensitivity=dict( + required=False, + type='str'), action_mode=dict( required=False, type='str'), @@ -135,9 +138,6 @@ package_id=dict( required=False, type='str'), - sensitivity=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -203,7 +203,7 @@ def run_module(): resource_type='ibm_cis_waf_package', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_waf_packages_info.py b/plugins/modules/ibm_cis_waf_packages_info.py index 5dccfdacb..393feb3d0 100644 --- a/plugins/modules/ibm_cis_waf_packages_info.py +++ b/plugins/modules/ibm_cis_waf_packages_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_waf_packages' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_waf_packages', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_waf_rule.py b/plugins/modules/ibm_cis_waf_rule.py index 1e25e3ef5..5fbe53a68 100644 --- a/plugins/modules/ibm_cis_waf_rule.py +++ b/plugins/modules/ibm_cis_waf_rule.py @@ -18,18 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_waf_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - cis_id: - description: - - (Required for new resource) CIS Intance CRN - required: True - type: str - rule_id: + mode: description: - - (Required for new resource) CIS WAF Rule id + - (Required for new resource) CIS WAF Rule mode required: True type: str package_id: @@ -37,9 +32,9 @@ - (Required for new resource) CIS WAF Rule package id required: True type: str - mode: + cis_id: description: - - (Required for new resource) CIS WAF Rule mode + - (Required for new resource) CIS Intance CRN required: True type: str domain_id: @@ -47,6 +42,11 @@ - (Required for new resource) CIS Domain ID required: True type: str + rule_id: + description: + - (Required for new resource) CIS WAF Rule id + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -93,20 +93,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), - ('rule_id', 'str'), - ('package_id', 'str'), ('mode', 'str'), + ('package_id', 'str'), + ('cis_id', 'str'), ('domain_id', 'str'), + ('rule_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cis_id', - 'rule_id', - 'package_id', 'mode', + 'package_id', + 'cis_id', 'domain_id', + 'rule_id', ] # Params for Data source @@ -123,21 +123,21 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - cis_id=dict( - required=False, - type='str'), - rule_id=dict( + mode=dict( required=False, type='str'), package_id=dict( required=False, type='str'), - mode=dict( + cis_id=dict( required=False, type='str'), domain_id=dict( required=False, type='str'), + rule_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -203,7 +203,7 @@ def run_module(): resource_type='ibm_cis_waf_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_waf_rules_info.py b/plugins/modules/ibm_cis_waf_rules_info.py index 3b4e978ef..b289aa3c6 100644 --- a/plugins/modules/ibm_cis_waf_rules_info.py +++ b/plugins/modules/ibm_cis_waf_rules_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_waf_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_cis_waf_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_webhook.py b/plugins/modules/ibm_cis_webhook.py index e28ce8305..e8ca0fc35 100644 --- a/plugins/modules/ibm_cis_webhook.py +++ b/plugins/modules/ibm_cis_webhook.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_webhook' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_cis_webhook', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cis_webhooks_info.py b/plugins/modules/ibm_cis_webhooks_info.py index cd9a2ccd9..450e415ee 100644 --- a/plugins/modules/ibm_cis_webhooks_info.py +++ b/plugins/modules/ibm_cis_webhooks_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_webhooks' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cis_webhooks', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cloud_shell_account_settings.py b/plugins/modules/ibm_cloud_shell_account_settings.py index 18eb1a867..41b77b640 100644 --- a/plugins/modules/ibm_cloud_shell_account_settings.py +++ b/plugins/modules/ibm_cloud_shell_account_settings.py @@ -18,10 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_cloud_shell_account_settings' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + features: + description: + - List of Cloud Shell features. + required: False + type: list + elements: dict default_enable_new_regions: description: - Set whether Cloud Shell is enabled in a specific location for the account. The location determines where user and session data are stored. By default, users are routed to the nearest available location. @@ -32,25 +38,14 @@ - When enabled, Cloud Shell is available to all users in the account. required: False type: bool - regions: - description: - - List of Cloud Shell region settings. - required: False - type: list - elements: dict default_enable_new_features: description: - You can choose which Cloud Shell features are available in the account and whether any new features are enabled as they become available. The feature settings apply only to the enabled Cloud Shell locations. required: False type: bool - rev: - description: - - Unique revision number for the settings object. - required: False - type: str - features: + regions: description: - - List of Cloud Shell features. + - List of Cloud Shell region settings. required: False type: list elements: dict @@ -59,6 +54,11 @@ - (Required for new resource) The account ID in which the account settings belong to. required: True type: str + rev: + description: + - Unique revision number for the settings object. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -110,13 +110,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'features', 'default_enable_new_regions', 'enabled', - 'regions', 'default_enable_new_features', - 'rev', - 'features', + 'regions', 'account_id', + 'rev', ] # Params for Data source @@ -135,29 +135,29 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + features=dict( + required=False, + elements='', + type='list'), default_enable_new_regions=dict( required=False, type='bool'), enabled=dict( required=False, type='bool'), - regions=dict( - required=False, - elements='', - type='list'), default_enable_new_features=dict( required=False, type='bool'), - rev=dict( - required=False, - type='str'), - features=dict( + regions=dict( required=False, elements='', type='list'), account_id=dict( required=False, type='str'), + rev=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -223,7 +223,7 @@ def run_module(): resource_type='ibm_cloud_shell_account_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -232,7 +232,7 @@ def run_module(): resource_type='ibm_cloud_shell_account_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cloud_shell_account_settings_info.py b/plugins/modules/ibm_cloud_shell_account_settings_info.py index 045b8e096..a5e026d1e 100644 --- a/plugins/modules/ibm_cloud_shell_account_settings_info.py +++ b/plugins/modules/ibm_cloud_shell_account_settings_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cloud_shell_account_settings' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cloud_shell_account_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cloudant.py b/plugins/modules/ibm_cloudant.py index bfe4ff396..276a5c0ac 100644 --- a/plugins/modules/ibm_cloudant.py +++ b/plugins/modules/ibm_cloudant.py @@ -18,31 +18,27 @@ - Create, update or destroy an IBM Cloud 'ibm_cloudant' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - parameters_json: - description: - - Arbitrary parameters to pass in Json string format - required: False - type: str - cors_config: + include_data_events: description: - - Configuration for CORS. + - Include data event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. By default only emitted events are of "management" type. required: False - type: list - elements: dict - plan: + type: bool + default: False + name: description: - - (Required for new resource) The plan type of the service + - (Required for new resource) A name for the resource instance required: True type: str - environment_crn: + enable_cors: description: - - CRN of the IBM Cloudant Dedicated Hardware plan instance + - Boolean value to turn CORS on and off. required: False - type: str + type: bool + default: True capacity: description: - A number of blocks of throughput units. A block consists of 100 reads/sec, 50 writes/sec, and 5 global queries/sec of provisioned throughput capacity. @@ -54,50 +50,54 @@ - The resource group id required: False type: str - legacy_credentials: + tags: description: - - Use both legacy credentials and IAM for authentication + - None required: False - type: bool - default: False + type: list + elements: str + service_endpoints: + description: + - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + required: False + type: str + plan: + description: + - (Required for new resource) The plan type of the service + required: True + type: str location: description: - (Required for new resource) The location where the instance available required: True type: str - include_data_events: + legacy_credentials: description: - - Include data event types in events sent to IBM Cloud Activity Tracker with LogDNA for the IBM Cloudant instance. By default only emitted events are of "management" type. + - Use both legacy credentials and IAM for authentication required: False type: bool default: False - enable_cors: + environment_crn: description: - - Boolean value to turn CORS on and off. + - CRN of the IBM Cloudant Dedicated Hardware plan instance required: False - type: bool - default: True - name: - description: - - (Required for new resource) A name for the resource instance - required: True type: str - service_endpoints: + parameters_json: description: - - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + - Arbitrary parameters to pass in Json string format required: False type: str + cors_config: + description: + - Configuration for CORS. + required: False + type: list + elements: dict parameters: description: - Arbitrary parameters to pass. Must be a JSON object required: False type: dict - tags: - description: - - None - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -144,27 +144,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('name', 'str'), ('plan', 'str'), ('location', 'str'), - ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'parameters_json', - 'cors_config', - 'plan', - 'environment_crn', - 'capacity', - 'resource_group_id', - 'legacy_credentials', - 'location', 'include_data_events', - 'enable_cors', 'name', + 'enable_cors', + 'capacity', + 'resource_group_id', + 'tags', 'service_endpoints', + 'plan', + 'location', + 'legacy_credentials', + 'environment_crn', + 'parameters_json', + 'cors_config', 'parameters', - 'tags', ] # Params for Data source @@ -173,9 +173,9 @@ ] TL_ALL_PARAMETERS_DS = [ - 'location', - 'resource_group_id', 'name', + 'resource_group_id', + 'location', ] TL_CONFLICTS_MAP = { @@ -187,50 +187,50 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - parameters_json=dict( - required=False, - type='str'), - cors_config=dict( + include_data_events=dict( required=False, - elements='', - type='list'), - plan=dict( + type='bool'), + name=dict( required=False, type='str'), - environment_crn=dict( + enable_cors=dict( required=False, - type='str'), + type='bool'), capacity=dict( required=False, type='int'), resource_group_id=dict( required=False, type='str'), - legacy_credentials=dict( + tags=dict( required=False, - type='bool'), - location=dict( + elements='', + type='list'), + service_endpoints=dict( required=False, type='str'), - include_data_events=dict( + plan=dict( required=False, - type='bool'), - enable_cors=dict( + type='str'), + location=dict( + required=False, + type='str'), + legacy_credentials=dict( required=False, type='bool'), - name=dict( + environment_crn=dict( required=False, type='str'), - service_endpoints=dict( + parameters_json=dict( required=False, type='str'), - parameters=dict( - required=False, - type='dict'), - tags=dict( + cors_config=dict( required=False, elements='', type='list'), + parameters=dict( + required=False, + type='dict'), id=dict( required=False, type='str'), @@ -296,7 +296,7 @@ def run_module(): resource_type='ibm_cloudant', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -305,7 +305,7 @@ def run_module(): resource_type='ibm_cloudant', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cloudant_database.py b/plugins/modules/ibm_cloudant_database.py index 21158587d..cd6d4949f 100644 --- a/plugins/modules/ibm_cloudant_database.py +++ b/plugins/modules/ibm_cloudant_database.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cloudant_database' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - db: - description: - - (Required for new resource) Path parameter to specify the database name. - required: True - type: str - partitioned: - description: - - Query parameter to specify whether to enable database partitions when creating a database. - required: False - type: bool shards: description: - The number of shards in the database. Each shard is a partition of the hash value range. You are encouraged to talk to support about appropriate values before changing this. @@ -42,6 +32,16 @@ - (Required for new resource) Cloudant Instance CRN. required: True type: str + db: + description: + - (Required for new resource) Path parameter to specify the database name. + required: True + type: str + partitioned: + description: + - Query parameter to specify whether to enable database partitions when creating a database. + required: False + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -88,16 +88,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('db', 'str'), ('instance_crn', 'str'), + ('db', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'db', - 'partitioned', 'shards', 'instance_crn', + 'db', + 'partitioned', ] # Params for Data source @@ -118,18 +118,18 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - db=dict( - required=False, - type='str'), - partitioned=dict( - required=False, - type='bool'), shards=dict( required=False, type='int'), instance_crn=dict( required=False, type='str'), + db=dict( + required=False, + type='str'), + partitioned=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_cloudant_database', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -204,7 +204,7 @@ def run_module(): resource_type='ibm_cloudant_database', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cloudant_database_info.py b/plugins/modules/ibm_cloudant_database_info.py index b6551396e..f9c280b1f 100644 --- a/plugins/modules/ibm_cloudant_database_info.py +++ b/plugins/modules/ibm_cloudant_database_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cloudant_database' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cloudant_database', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cloudant_info.py b/plugins/modules/ibm_cloudant_info.py index 3edca698d..5000248ad 100644 --- a/plugins/modules/ibm_cloudant_info.py +++ b/plugins/modules/ibm_cloudant_info.py @@ -17,24 +17,24 @@ description: - Retrieve an IBM Cloud 'ibm_cloudant' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - location: + name: description: - - The location or the environment in which instance exists - required: False + - Resource instance name for example, myobjectstorage + required: True type: str resource_group_id: description: - The id of the resource group in which the instance is present required: False type: str - name: + location: description: - - Resource instance name for example, myobjectstorage - required: True + - The location or the environment in which instance exists + required: False type: str iaas_classic_username: description: @@ -74,9 +74,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'location', - 'resource_group_id', 'name', + 'resource_group_id', + 'location', ] @@ -87,14 +87,14 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - location=dict( - required=False, + name=dict( + required=True, type='str'), resource_group_id=dict( required=False, type='str'), - name=dict( - required=True, + location=dict( + required=False, type='str'), iaas_classic_username=dict( type='str', @@ -130,7 +130,7 @@ def run_module(): resource_type='ibm_cloudant', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cm_catalog.py b/plugins/modules/ibm_cm_catalog.py index 299e7fffe..d8a0a579a 100644 --- a/plugins/modules/ibm_cm_catalog.py +++ b/plugins/modules/ibm_cm_catalog.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cm_catalog' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -33,11 +33,6 @@ required: False type: list elements: str - resource_group_id: - description: - - Resource Group ID - required: False - type: str kind: description: - Kind of catalog, offering or vpe. @@ -54,6 +49,11 @@ - URL for an icon associated with this catalog. required: False type: str + resource_group_id: + description: + - Resource Group ID + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -107,10 +107,10 @@ TL_ALL_PARAMETERS = [ 'short_description', 'tags', - 'resource_group_id', 'kind', 'label', 'catalog_icon_url', + 'resource_group_id', ] # Params for Data source @@ -136,9 +136,6 @@ required=False, elements='', type='list'), - resource_group_id=dict( - required=False, - type='str'), kind=dict( required=False, type='str'), @@ -148,6 +145,9 @@ catalog_icon_url=dict( required=False, type='str'), + resource_group_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -213,7 +213,7 @@ def run_module(): resource_type='ibm_cm_catalog', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -222,7 +222,7 @@ def run_module(): resource_type='ibm_cm_catalog', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cm_catalog_info.py b/plugins/modules/ibm_cm_catalog_info.py index e2b9954ca..d2c7fae89 100644 --- a/plugins/modules/ibm_cm_catalog_info.py +++ b/plugins/modules/ibm_cm_catalog_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cm_catalog' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cm_catalog', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cm_offering.py b/plugins/modules/ibm_cm_offering.py index 41161cde0..33d73a705 100644 --- a/plugins/modules/ibm_cm_offering.py +++ b/plugins/modules/ibm_cm_offering.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cm_offering' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - label: - description: - - (Required for new resource) Display Name in the requested language. - required: True - type: str catalog_id: description: - (Required for new resource) The id of the catalog containing this offering. @@ -38,6 +33,11 @@ required: False type: list elements: str + label: + description: + - (Required for new resource) Display Name in the requested language. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,15 +84,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('label', 'str'), ('catalog_id', 'str'), + ('label', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'label', 'catalog_id', 'tags', + 'label', ] # Params for Data source @@ -113,9 +113,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - label=dict( - required=False, - type='str'), catalog_id=dict( required=False, type='str'), @@ -123,6 +120,9 @@ required=False, elements='', type='list'), + label=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cm_offering', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_cm_offering', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cm_offering_info.py b/plugins/modules/ibm_cm_offering_info.py index 3d7fc493a..537c14592 100644 --- a/plugins/modules/ibm_cm_offering_info.py +++ b/plugins/modules/ibm_cm_offering_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cm_offering' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cm_offering', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cm_offering_instance.py b/plugins/modules/ibm_cm_offering_instance.py index 2ed480495..148a01cb2 100644 --- a/plugins/modules/ibm_cm_offering_instance.py +++ b/plugins/modules/ibm_cm_offering_instance.py @@ -18,25 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cm_offering_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - label: + offering_id: description: - - (Required for new resource) the label for this instance. + - (Required for new resource) Offering ID this instance was created from. required: True type: str - channel: - description: - - channel to target for the operator subscription. Required for operator bundles - required: False - type: str - resource_group_id: - description: - - id of the resource group - required: False - type: str kind_format: description: - (Required for new resource) the format this instance has (helm, operator, ova...). @@ -47,25 +37,35 @@ - (Required for new resource) The version this instance was installed from (not version id). required: True type: str - cluster_id: - description: - - (Required for new resource) Cluster ID. - required: True - type: str cluster_all_namespaces: description: - (Required for new resource) designate to install into all namespaces. required: True type: bool + label: + description: + - (Required for new resource) the label for this instance. + required: True + type: str + cluster_region: + description: + - (Required for new resource) Cluster region (e.g., us-south). + required: True + type: str + channel: + description: + - channel to target for the operator subscription. Required for operator bundles + required: False + type: str catalog_id: description: - (Required for new resource) Catalog ID this instance was created from. required: True type: str - install_plan: + cluster_id: description: - - install plan for the subscription of the operator- can be either automatic or manual. Required for operator bundles - required: False + - (Required for new resource) Cluster ID. + required: True type: str cluster_namespaces: description: @@ -73,22 +73,22 @@ required: True type: list elements: str + resource_group_id: + description: + - id of the resource group + required: False + type: str + install_plan: + description: + - install plan for the subscription of the operator- can be either automatic or manual. Required for operator bundles + required: False + type: str wait_until_successful: description: - Whether to wait until the offering instance successfully provisions, or to return when accepted required: False type: bool default: True - offering_id: - description: - - (Required for new resource) Offering ID this instance was created from. - required: True - type: str - cluster_region: - description: - - (Required for new resource) Cluster region (e.g., us-south). - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -135,32 +135,32 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('label', 'str'), + ('offering_id', 'str'), ('kind_format', 'str'), ('version', 'str'), - ('cluster_id', 'str'), ('cluster_all_namespaces', 'bool'), + ('label', 'str'), + ('cluster_region', 'str'), ('catalog_id', 'str'), + ('cluster_id', 'str'), ('cluster_namespaces', 'list'), - ('offering_id', 'str'), - ('cluster_region', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'label', - 'channel', - 'resource_group_id', + 'offering_id', 'kind_format', 'version', - 'cluster_id', 'cluster_all_namespaces', + 'label', + 'cluster_region', + 'channel', 'catalog_id', - 'install_plan', + 'cluster_id', 'cluster_namespaces', + 'resource_group_id', + 'install_plan', 'wait_until_successful', - 'offering_id', - 'cluster_region', ] # Params for Data source @@ -179,46 +179,46 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - label=dict( + offering_id=dict( required=False, type='str'), - channel=dict( + kind_format=dict( required=False, type='str'), - resource_group_id=dict( + version=dict( required=False, type='str'), - kind_format=dict( + cluster_all_namespaces=dict( required=False, - type='str'), - version=dict( + type='bool'), + label=dict( required=False, type='str'), - cluster_id=dict( + cluster_region=dict( required=False, type='str'), - cluster_all_namespaces=dict( + channel=dict( required=False, - type='bool'), + type='str'), catalog_id=dict( required=False, type='str'), - install_plan=dict( + cluster_id=dict( required=False, type='str'), cluster_namespaces=dict( required=False, elements='', type='list'), - wait_until_successful=dict( - required=False, - type='bool'), - offering_id=dict( + resource_group_id=dict( required=False, type='str'), - cluster_region=dict( + install_plan=dict( required=False, type='str'), + wait_until_successful=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -284,7 +284,7 @@ def run_module(): resource_type='ibm_cm_offering_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -293,7 +293,7 @@ def run_module(): resource_type='ibm_cm_offering_instance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cm_offering_instance_info.py b/plugins/modules/ibm_cm_offering_instance_info.py index 76fd0b4f5..1cba03331 100644 --- a/plugins/modules/ibm_cm_offering_instance_info.py +++ b/plugins/modules/ibm_cm_offering_instance_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cm_offering_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cm_offering_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cm_version.py b/plugins/modules/ibm_cm_version.py index 851c4e2f7..a8a412809 100644 --- a/plugins/modules/ibm_cm_version.py +++ b/plugins/modules/ibm_cm_version.py @@ -18,24 +18,19 @@ - Create, update or destroy an IBM Cloud 'ibm_cm_version' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - target_kinds: + tags: description: - - Target kinds. Current valid values are 'iks', 'roks', 'vcenter', and 'terraform'. + - Tags array. required: False type: list elements: str - catalog_identifier: - description: - - (Required for new resource) Catalog identifier. - required: True - type: str - target_version: + content: description: - - The semver value for this new version, if not found in the zip url package content. + - byte array representing the content to be imported. Only supported for OVA images at this time. required: False type: str offering_id: @@ -43,22 +38,27 @@ - (Required for new resource) Offering identification. required: True type: str - tags: + target_version: description: - - Tags array. + - The semver value for this new version, if not found in the zip url package content. required: False - type: list - elements: str - content: + type: str + target_kinds: description: - - byte array representing the content to be imported. Only supported for OVA images at this time. + - Target kinds. Current valid values are 'iks', 'roks', 'vcenter', and 'terraform'. required: False - type: str + type: list + elements: str zipurl: description: - URL path to zip location. If not specified, must provide content in the body of this call. required: False type: str + catalog_identifier: + description: + - (Required for new resource) Catalog identifier. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -105,19 +105,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('catalog_identifier', 'str'), ('offering_id', 'str'), + ('catalog_identifier', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'target_kinds', - 'catalog_identifier', - 'target_version', - 'offering_id', 'tags', 'content', + 'offering_id', + 'target_version', + 'target_kinds', 'zipurl', + 'catalog_identifier', ] # Params for Data source @@ -136,27 +136,27 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - target_kinds=dict( + tags=dict( required=False, elements='', type='list'), - catalog_identifier=dict( + content=dict( required=False, type='str'), - target_version=dict( + offering_id=dict( required=False, type='str'), - offering_id=dict( + target_version=dict( required=False, type='str'), - tags=dict( + target_kinds=dict( required=False, elements='', type='list'), - content=dict( + zipurl=dict( required=False, type='str'), - zipurl=dict( + catalog_identifier=dict( required=False, type='str'), id=dict( @@ -224,7 +224,7 @@ def run_module(): resource_type='ibm_cm_version', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -233,7 +233,7 @@ def run_module(): resource_type='ibm_cm_version', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cm_version_info.py b/plugins/modules/ibm_cm_version_info.py index 0106eb9ab..c3b8de4fc 100644 --- a/plugins/modules/ibm_cm_version_info.py +++ b/plugins/modules/ibm_cm_version_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cm_version' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_cm_version', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_autoscale_group.py b/plugins/modules/ibm_compute_autoscale_group.py index cd514488d..a7c434648 100644 --- a/plugins/modules/ibm_compute_autoscale_group.py +++ b/plugins/modules/ibm_compute_autoscale_group.py @@ -18,30 +18,25 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_autoscale_group' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - minimum_member_count: + cooldown: description: - - (Required for new resource) Minimum member count + - (Required for new resource) Cooldown value required: True type: int - maximum_member_count: + virtual_server_id: description: - - (Required for new resource) Maximum member count - required: True + - virtual server ID + required: False type: int - cooldown: + port: description: - - (Required for new resource) Cooldown value - required: True + - Port number + required: False type: int - termination_policy: - description: - - (Required for new resource) Termination policy - required: True - type: str health_check: description: - None @@ -59,12 +54,6 @@ required: False type: list elements: int - tags: - description: - - List of tags - required: False - type: list - elements: str name: description: - (Required for new resource) Name @@ -75,15 +64,26 @@ - (Required for new resource) regional group required: True type: str - virtual_server_id: + tags: description: - - virtual server ID + - List of tags required: False + type: list + elements: str + termination_policy: + description: + - (Required for new resource) Termination policy + required: True + type: str + minimum_member_count: + description: + - (Required for new resource) Minimum member count + required: True type: int - port: + maximum_member_count: description: - - Port number - required: False + - (Required for new resource) Maximum member count + required: True type: int id: description: @@ -131,29 +131,29 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('minimum_member_count', 'int'), - ('maximum_member_count', 'int'), ('cooldown', 'int'), - ('termination_policy', 'str'), ('virtual_guest_member_template', 'list'), ('name', 'str'), ('regional_group', 'str'), + ('termination_policy', 'str'), + ('minimum_member_count', 'int'), + ('maximum_member_count', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'minimum_member_count', - 'maximum_member_count', 'cooldown', - 'termination_policy', + 'virtual_server_id', + 'port', 'health_check', 'virtual_guest_member_template', 'network_vlan_ids', - 'tags', 'name', 'regional_group', - 'virtual_server_id', - 'port', + 'tags', + 'termination_policy', + 'minimum_member_count', + 'maximum_member_count', ] # Params for Data source @@ -170,18 +170,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - minimum_member_count=dict( + cooldown=dict( required=False, type='int'), - maximum_member_count=dict( + virtual_server_id=dict( required=False, type='int'), - cooldown=dict( + port=dict( required=False, type='int'), - termination_policy=dict( - required=False, - type='str'), health_check=dict( required=False, type='dict'), @@ -193,20 +190,23 @@ required=False, elements='', type='list'), - tags=dict( - required=False, - elements='', - type='list'), name=dict( required=False, type='str'), regional_group=dict( required=False, type='str'), - virtual_server_id=dict( + tags=dict( + required=False, + elements='', + type='list'), + termination_policy=dict( + required=False, + type='str'), + minimum_member_count=dict( required=False, type='int'), - port=dict( + maximum_member_count=dict( required=False, type='int'), id=dict( @@ -274,7 +274,7 @@ def run_module(): resource_type='ibm_compute_autoscale_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_autoscale_policy.py b/plugins/modules/ibm_compute_autoscale_policy.py index ba80b6d28..8a1fb7d76 100644 --- a/plugins/modules/ibm_compute_autoscale_policy.py +++ b/plugins/modules/ibm_compute_autoscale_policy.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_autoscale_policy' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -224,7 +224,7 @@ def run_module(): resource_type='ibm_compute_autoscale_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_bare_metal.py b/plugins/modules/ibm_compute_bare_metal.py index 0677941ff..e9fc2c6c7 100644 --- a/plugins/modules/ibm_compute_bare_metal.py +++ b/plugins/modules/ibm_compute_bare_metal.py @@ -18,105 +18,96 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_bare_metal' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - process_key_name: - description: - - None - required: False - type: str - gpu_key_name: + hostname: description: - - None + - Host name required: False type: str - unbonded_network: - description: - - None - required: False - type: bool - default: False - private_vlan_id: + public_bandwidth: description: - None required: False type: int - extended_hardware_testing: + private_subnet: description: - None required: False - type: bool - default: False - file_storage_ids: + type: str + storage_groups: description: - None required: False type: list - elements: int + elements: dict block_storage_ids: description: - None required: False type: list elements: int - image_template_id: + fixed_config_preset: description: - - OS image template ID + - Fixed config preset value required: False - type: int - datacenter: + type: str + os_reference_code: description: - - None + - OS refernece code value required: False type: str - network_speed: + hourly_billing: description: - - Network speed in MBPS + - Enables hourly billing required: False - type: int - default: 100 - tcp_monitoring: + type: bool + default: True + private_network_only: description: - - TCP monitoring enabled if set as true + - only private network configured if is true required: False type: bool default: False - redundant_network: + software_guard_extensions: description: - None required: False type: bool default: False - quote_id: - description: - - Quote ID for Quote based provisioning - required: False - type: int - private_subnet: + process_key_name: description: - None required: False type: str - user_metadata: + ipv6_enabled: description: - - User metadata info + - Boolean value true if IPV6 ia enabled or false required: False + type: bool + default: False + domain: + description: + - (Required for new resource) Domain name + required: True type: str - redundant_power_supply: + network_speed: description: - - None + - Network speed in MBPS required: False - type: bool - memory: + type: int + default: 100 + tcp_monitoring: description: - - None + - TCP monitoring enabled if set as true required: False - type: int - hostname: + type: bool + default: False + gpu_secondary_key_name: description: - - Host name + - None required: False type: str ssh_key_ids: @@ -125,35 +116,22 @@ required: False type: list elements: int - software_guard_extensions: - description: - - None - required: False - type: bool - default: False package_key_name: description: - None required: False type: str - ipv6_enabled: - description: - - Boolean value true if IPV6 ia enabled or false - required: False - type: bool - default: False - hourly_billing: + public_subnet: description: - - Enables hourly billing + - None required: False - type: bool - default: True - os_key_name: + type: str + private_vlan_id: description: - None required: False - type: str - gpu_secondary_key_name: + type: int + datacenter: description: - None required: False @@ -164,78 +142,100 @@ required: False type: list elements: str + unbonded_network: + description: + - None + required: False + type: bool + default: False + memory: + description: + - None + required: False + type: int secondary_ip_count: description: - Secondary IP addresses count required: False type: int - fixed_config_preset: + ipv6_static_enabled: description: - - Fixed config preset value + - boolean value true if ipv6 static is enabled else false + required: False + type: bool + default: False + user_metadata: + description: + - User metadata info required: False type: str - public_bandwidth: + redundant_power_supply: description: - None required: False + type: bool + quote_id: + description: + - Quote ID for Quote based provisioning + required: False type: int - public_subnet: + public_vlan_id: description: - None required: False - type: str - post_install_script_uri: + type: int + file_storage_ids: + description: + - None + required: False + type: list + elements: int + tags: + description: + - None + required: False + type: list + elements: str + gpu_key_name: description: - None required: False type: str - private_network_only: + extended_hardware_testing: description: - - only private network configured if is true + - None required: False type: bool default: False - domain: - description: - - (Required for new resource) Domain name - required: True - type: str notes: description: - Optional notes info required: False type: str - tags: + post_install_script_uri: description: - None required: False - type: list - elements: str - os_reference_code: - description: - - OS refernece code value - required: False type: str - restricted_network: + image_template_id: description: - - None + - OS image template ID required: False - type: bool - default: False - storage_groups: + type: int + os_key_name: description: - None required: False - type: list - elements: dict - public_vlan_id: + type: str + redundant_network: description: - None required: False - type: int - ipv6_static_enabled: + type: bool + default: False + restricted_network: description: - - boolean value true if ipv6 static is enabled else false + - None required: False type: bool default: False @@ -290,46 +290,46 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'process_key_name', - 'gpu_key_name', - 'unbonded_network', - 'private_vlan_id', - 'extended_hardware_testing', - 'file_storage_ids', + 'hostname', + 'public_bandwidth', + 'private_subnet', + 'storage_groups', 'block_storage_ids', - 'image_template_id', - 'datacenter', + 'fixed_config_preset', + 'os_reference_code', + 'hourly_billing', + 'private_network_only', + 'software_guard_extensions', + 'process_key_name', + 'ipv6_enabled', + 'domain', 'network_speed', 'tcp_monitoring', - 'redundant_network', - 'quote_id', - 'private_subnet', - 'user_metadata', - 'redundant_power_supply', - 'memory', - 'hostname', + 'gpu_secondary_key_name', 'ssh_key_ids', - 'software_guard_extensions', 'package_key_name', - 'ipv6_enabled', - 'hourly_billing', - 'os_key_name', - 'gpu_secondary_key_name', + 'public_subnet', + 'private_vlan_id', + 'datacenter', 'disk_key_names', + 'unbonded_network', + 'memory', 'secondary_ip_count', - 'fixed_config_preset', - 'public_bandwidth', - 'public_subnet', - 'post_install_script_uri', - 'private_network_only', - 'domain', - 'notes', + 'ipv6_static_enabled', + 'user_metadata', + 'redundant_power_supply', + 'quote_id', + 'public_vlan_id', + 'file_storage_ids', 'tags', - 'os_reference_code', + 'gpu_key_name', + 'extended_hardware_testing', + 'notes', + 'post_install_script_uri', + 'image_template_id', + 'os_key_name', + 'redundant_network', 'restricted_network', - 'storage_groups', - 'public_vlan_id', - 'ipv6_static_enabled', ] # Params for Data source @@ -337,37 +337,31 @@ ] TL_ALL_PARAMETERS_DS = [ - 'hostname', - 'global_identifier', 'most_recent', + 'global_identifier', 'domain', + 'hostname', ] TL_CONFLICTS_MAP = { - 'image_template_id': ['os_reference_code'], 'os_reference_code': ['image_template_id'], + 'image_template_id': ['os_reference_code'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - process_key_name=dict( - required=False, - type='str'), - gpu_key_name=dict( + hostname=dict( required=False, type='str'), - unbonded_network=dict( - required=False, - type='bool'), - private_vlan_id=dict( + public_bandwidth=dict( required=False, type='int'), - extended_hardware_testing=dict( + private_subnet=dict( required=False, - type='bool'), - file_storage_ids=dict( + type='str'), + storage_groups=dict( required=False, elements='', type='list'), @@ -375,107 +369,113 @@ required=False, elements='', type='list'), - image_template_id=dict( - required=False, - type='int'), - datacenter=dict( + fixed_config_preset=dict( required=False, type='str'), - network_speed=dict( + os_reference_code=dict( required=False, - type='int'), - tcp_monitoring=dict( + type='str'), + hourly_billing=dict( required=False, type='bool'), - redundant_network=dict( + private_network_only=dict( required=False, type='bool'), - quote_id=dict( - required=False, - type='int'), - private_subnet=dict( + software_guard_extensions=dict( required=False, - type='str'), - user_metadata=dict( + type='bool'), + process_key_name=dict( required=False, type='str'), - redundant_power_supply=dict( + ipv6_enabled=dict( required=False, type='bool'), - memory=dict( + domain=dict( + required=False, + type='str'), + network_speed=dict( required=False, type='int'), - hostname=dict( + tcp_monitoring=dict( + required=False, + type='bool'), + gpu_secondary_key_name=dict( required=False, type='str'), ssh_key_ids=dict( required=False, elements='', type='list'), - software_guard_extensions=dict( - required=False, - type='bool'), package_key_name=dict( required=False, type='str'), - ipv6_enabled=dict( - required=False, - type='bool'), - hourly_billing=dict( - required=False, - type='bool'), - os_key_name=dict( + public_subnet=dict( required=False, type='str'), - gpu_secondary_key_name=dict( + private_vlan_id=dict( + required=False, + type='int'), + datacenter=dict( required=False, type='str'), disk_key_names=dict( required=False, elements='', type='list'), - secondary_ip_count=dict( + unbonded_network=dict( required=False, - type='int'), - fixed_config_preset=dict( + type='bool'), + memory=dict( required=False, - type='str'), - public_bandwidth=dict( + type='int'), + secondary_ip_count=dict( required=False, type='int'), - public_subnet=dict( + ipv6_static_enabled=dict( required=False, - type='str'), - post_install_script_uri=dict( + type='bool'), + user_metadata=dict( required=False, type='str'), - private_network_only=dict( + redundant_power_supply=dict( required=False, type='bool'), - domain=dict( + quote_id=dict( required=False, - type='str'), - notes=dict( + type='int'), + public_vlan_id=dict( required=False, - type='str'), + type='int'), + file_storage_ids=dict( + required=False, + elements='', + type='list'), tags=dict( required=False, elements='', type='list'), - os_reference_code=dict( + gpu_key_name=dict( required=False, type='str'), - restricted_network=dict( + extended_hardware_testing=dict( required=False, type='bool'), - storage_groups=dict( + notes=dict( required=False, - elements='', - type='list'), - public_vlan_id=dict( + type='str'), + post_install_script_uri=dict( + required=False, + type='str'), + image_template_id=dict( required=False, type='int'), - ipv6_static_enabled=dict( + os_key_name=dict( + required=False, + type='str'), + redundant_network=dict( + required=False, + type='bool'), + restricted_network=dict( required=False, type='bool'), id=dict( @@ -543,7 +543,7 @@ def run_module(): resource_type='ibm_compute_bare_metal', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -552,7 +552,7 @@ def run_module(): resource_type='ibm_compute_bare_metal', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_compute_bare_metal_info.py b/plugins/modules/ibm_compute_bare_metal_info.py index 13d7847d2..7ed44d6c3 100644 --- a/plugins/modules/ibm_compute_bare_metal_info.py +++ b/plugins/modules/ibm_compute_bare_metal_info.py @@ -17,31 +17,31 @@ description: - Retrieve an IBM Cloud 'ibm_compute_bare_metal' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - hostname: + most_recent: description: - - The hostname of the bare metal server + - If true and multiple entries are found, the most recently created bare metal is used. If false, an error is returned required: False - type: str + type: bool + default: False global_identifier: description: - The unique global identifier of the bare metal server required: False type: str - most_recent: - description: - - If true and multiple entries are found, the most recently created bare metal is used. If false, an error is returned - required: False - type: bool - default: False domain: description: - The domain of the bare metal server required: False type: str + hostname: + description: + - The hostname of the bare metal server + required: False + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -79,36 +79,36 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'hostname', - 'global_identifier', 'most_recent', + 'global_identifier', 'domain', + 'hostname', ] TL_CONFLICTS_MAP = { - 'hostname': ['global_identifier'], - 'global_identifier': ['hostname', 'domain', 'most_recent'], 'most_recent': ['global_identifier'], + 'global_identifier': ['hostname', 'domain', 'most_recent'], 'domain': ['global_identifier'], + 'hostname': ['global_identifier'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - hostname=dict( + most_recent=dict( required=False, - type='str'), + type='bool'), global_identifier=dict( required=False, type='str'), - most_recent=dict( - required=False, - type='bool'), domain=dict( required=False, type='str'), + hostname=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -143,7 +143,7 @@ def run_module(): resource_type='ibm_compute_bare_metal', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_dedicated_host.py b/plugins/modules/ibm_compute_dedicated_host.py index beda68e9a..d8ff9cf14 100644 --- a/plugins/modules/ibm_compute_dedicated_host.py +++ b/plugins/modules/ibm_compute_dedicated_host.py @@ -18,38 +18,22 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_dedicated_host' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - tags: - description: - - None - required: False - type: list - elements: str - domain: - description: - - (Required for new resource) The domain of dedicatated host. - required: True - type: str - router_hostname: - description: - - (Required for new resource) The hostname of the primary router that the dedicated host is associated with. - required: True - type: str flavor: description: - The flavor of the dedicatated host. required: False type: str default: 56_CORES_X_242_RAM_X_1_4_TB - hourly_billing: + tags: description: - - The billing type for the dedicatated host. + - None required: False - type: bool - default: True + type: list + elements: str wait_time_minutes: description: - None @@ -61,11 +45,27 @@ - (Required for new resource) The host name of dedicatated host. required: True type: str + domain: + description: + - (Required for new resource) The domain of dedicatated host. + required: True + type: str datacenter: description: - (Required for new resource) The data center in which the dedicatated host is to be provisioned. required: True type: str + hourly_billing: + description: + - The billing type for the dedicatated host. + required: False + type: bool + default: True + router_hostname: + description: + - (Required for new resource) The hostname of the primary router that the dedicated host is associated with. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -112,22 +112,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('domain', 'str'), - ('router_hostname', 'str'), ('hostname', 'str'), + ('domain', 'str'), ('datacenter', 'str'), + ('router_hostname', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', - 'domain', - 'router_hostname', 'flavor', - 'hourly_billing', + 'tags', 'wait_time_minutes', 'hostname', + 'domain', 'datacenter', + 'hourly_billing', + 'router_hostname', ] # Params for Data source @@ -144,29 +144,29 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + flavor=dict( + required=False, + type='str'), tags=dict( required=False, elements='', type='list'), - domain=dict( + wait_time_minutes=dict( + required=False, + type='int'), + hostname=dict( required=False, type='str'), - router_hostname=dict( + domain=dict( required=False, type='str'), - flavor=dict( + datacenter=dict( required=False, type='str'), hourly_billing=dict( required=False, type='bool'), - wait_time_minutes=dict( - required=False, - type='int'), - hostname=dict( - required=False, - type='str'), - datacenter=dict( + router_hostname=dict( required=False, type='str'), id=dict( @@ -234,7 +234,7 @@ def run_module(): resource_type='ibm_compute_dedicated_host', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_image_template_info.py b/plugins/modules/ibm_compute_image_template_info.py index 3c7279cff..60d437eb1 100644 --- a/plugins/modules/ibm_compute_image_template_info.py +++ b/plugins/modules/ibm_compute_image_template_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_compute_image_template' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_compute_image_template', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_monitor.py b/plugins/modules/ibm_compute_monitor.py index 18e5218f9..a77205b46 100644 --- a/plugins/modules/ibm_compute_monitor.py +++ b/plugins/modules/ibm_compute_monitor.py @@ -18,26 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_monitor' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - response_action_id: - description: - - (Required for new resource) Response action ID - required: True - type: int - wait_cycles: - description: - - wait cycles count - required: False - type: int - notified_users: - description: - - List of users notified - required: False - type: list - elements: int tags: description: - List of tags @@ -59,6 +43,22 @@ - (Required for new resource) Query Type ID required: True type: int + response_action_id: + description: + - (Required for new resource) Response action ID + required: True + type: int + wait_cycles: + description: + - wait cycles count + required: False + type: int + notified_users: + description: + - List of users notified + required: False + type: list + elements: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -105,20 +105,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('response_action_id', 'int'), ('guest_id', 'int'), ('query_type_id', 'int'), + ('response_action_id', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'response_action_id', - 'wait_cycles', - 'notified_users', 'tags', 'guest_id', 'ip_address', 'query_type_id', + 'response_action_id', + 'wait_cycles', + 'notified_users', ] # Params for Data source @@ -135,16 +135,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - response_action_id=dict( - required=False, - type='int'), - wait_cycles=dict( - required=False, - type='int'), - notified_users=dict( - required=False, - elements='', - type='list'), tags=dict( required=False, elements='', @@ -158,6 +148,16 @@ query_type_id=dict( required=False, type='int'), + response_action_id=dict( + required=False, + type='int'), + wait_cycles=dict( + required=False, + type='int'), + notified_users=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -223,7 +223,7 @@ def run_module(): resource_type='ibm_compute_monitor', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_placement_group.py b/plugins/modules/ibm_compute_placement_group.py index 52e272ea5..adc459024 100644 --- a/plugins/modules/ibm_compute_placement_group.py +++ b/plugins/modules/ibm_compute_placement_group.py @@ -18,10 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_placement_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + tags: + description: + - List of tags + required: False + type: list + elements: str + datacenter: + description: + - (Required for new resource) Dataceneter name + required: True + type: str pod: description: - (Required for new resource) Pod name @@ -38,17 +49,6 @@ required: False type: str default: SPREAD - tags: - description: - - List of tags - required: False - type: list - elements: str - datacenter: - description: - - (Required for new resource) Dataceneter name - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -95,18 +95,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('datacenter', 'str'), ('pod', 'str'), ('name', 'str'), - ('datacenter', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'tags', + 'datacenter', 'pod', 'name', 'rule', - 'tags', - 'datacenter', ] # Params for Data source @@ -125,6 +125,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + tags=dict( + required=False, + elements='', + type='list'), + datacenter=dict( + required=False, + type='str'), pod=dict( required=False, type='str'), @@ -134,13 +141,6 @@ rule=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), - datacenter=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_compute_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_compute_placement_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_compute_placement_group_info.py b/plugins/modules/ibm_compute_placement_group_info.py index 671f2d3b0..5c04863bc 100644 --- a/plugins/modules/ibm_compute_placement_group_info.py +++ b/plugins/modules/ibm_compute_placement_group_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_compute_placement_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_compute_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_provisioning_hook.py b/plugins/modules/ibm_compute_provisioning_hook.py index a2bbf299c..a6fc651bf 100644 --- a/plugins/modules/ibm_compute_provisioning_hook.py +++ b/plugins/modules/ibm_compute_provisioning_hook.py @@ -18,16 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_provisioning_hook' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - tags: - description: - - Tags associated with resource - required: False - type: list - elements: str name: description: - (Required for new resource) Provision hook name @@ -38,6 +32,12 @@ - (Required for new resource) URI of the hook required: True type: str + tags: + description: + - Tags associated with resource + required: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,9 +90,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', 'name', 'uri', + 'tags', ] # Params for Data source @@ -109,16 +109,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tags=dict( - required=False, - elements='', - type='list'), name=dict( required=False, type='str'), uri=dict( required=False, type='str'), + tags=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_compute_provisioning_hook', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_reserved_capacity.py b/plugins/modules/ibm_compute_reserved_capacity.py index 49b45bdf5..18020c4a1 100644 --- a/plugins/modules/ibm_compute_reserved_capacity.py +++ b/plugins/modules/ibm_compute_reserved_capacity.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_reserved_capacity' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_compute_reserved_capacity', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -235,7 +235,7 @@ def run_module(): resource_type='ibm_compute_reserved_capacity', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_compute_reserved_capacity_info.py b/plugins/modules/ibm_compute_reserved_capacity_info.py index b5306ab5c..7e4549e7c 100644 --- a/plugins/modules/ibm_compute_reserved_capacity_info.py +++ b/plugins/modules/ibm_compute_reserved_capacity_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_compute_reserved_capacity' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_compute_reserved_capacity', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_ssh_key.py b/plugins/modules/ibm_compute_ssh_key.py index affa45c18..f0c7bb3a8 100644 --- a/plugins/modules/ibm_compute_ssh_key.py +++ b/plugins/modules/ibm_compute_ssh_key.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_ssh_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - label: - description: - - (Required for new resource) SSH Key label - required: True - type: str public_key: description: - (Required for new resource) Plublic Key info @@ -43,6 +38,11 @@ required: False type: list elements: str + label: + description: + - (Required for new resource) SSH Key label + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,16 +89,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('label', 'str'), ('public_key', 'str'), + ('label', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'label', 'public_key', 'notes', 'tags', + 'label', ] # Params for Data source @@ -118,9 +118,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - label=dict( - required=False, - type='str'), public_key=dict( required=False, type='str'), @@ -131,6 +128,9 @@ required=False, elements='', type='list'), + label=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_compute_ssh_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -205,7 +205,7 @@ def run_module(): resource_type='ibm_compute_ssh_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_compute_ssh_key_info.py b/plugins/modules/ibm_compute_ssh_key_info.py index 074235734..a751ed1cc 100644 --- a/plugins/modules/ibm_compute_ssh_key_info.py +++ b/plugins/modules/ibm_compute_ssh_key_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_compute_ssh_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_compute_ssh_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_ssl_certificate.py b/plugins/modules/ibm_compute_ssl_certificate.py index 636fdb70f..a68efb867 100644 --- a/plugins/modules/ibm_compute_ssl_certificate.py +++ b/plugins/modules/ibm_compute_ssl_certificate.py @@ -18,20 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_ssl_certificate' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - intermediate_certificate: - description: - - Intermediate certificate value - required: False - type: str private_key: description: - (Required for new resource) SSL Private Key required: True type: str + intermediate_certificate: + description: + - Intermediate certificate value + required: False + type: str tags: description: - Tags set for resource @@ -95,8 +95,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'intermediate_certificate', 'private_key', + 'intermediate_certificate', 'tags', 'certificate', ] @@ -115,10 +115,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - intermediate_certificate=dict( + private_key=dict( required=False, type='str'), - private_key=dict( + intermediate_certificate=dict( required=False, type='str'), tags=dict( @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_compute_ssl_certificate', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_user.py b/plugins/modules/ibm_compute_user.py index 2682ec9fb..c28072a0a 100644 --- a/plugins/modules/ibm_compute_user.py +++ b/plugins/modules/ibm_compute_user.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_user' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - first_name: + address1: description: - - (Required for new resource) First name of the user + - (Required for new resource) Address info of the user required: True type: str state_: @@ -32,21 +32,20 @@ - (Required for new resource) Satate name required: True type: str - permissions: + password: description: - - set of persmissions assigned for the user + - password for the user required: False - type: list - elements: str - has_api_key: + type: str + tags: description: - - API Key info of the user + - Tags set for the resources required: False - type: bool - default: False - last_name: + type: list + elements: str + company_name: description: - - (Required for new resource) Last name of the user + - (Required for new resource) comapany name required: True type: str email: @@ -54,63 +53,64 @@ - (Required for new resource) email address of the user required: True type: str - address1: + country: description: - - (Required for new resource) Address info of the user + - (Required for new resource) Country name required: True type: str - city: + timezone: description: - - (Required for new resource) City name + - (Required for new resource) time zone info required: True type: str - user_status: + has_api_key: description: - - user status info + - API Key info of the user required: False + type: bool + default: False + last_name: + description: + - (Required for new resource) Last name of the user + required: True type: str - default: ACTIVE - username: + permissions: description: - - user name + - set of persmissions assigned for the user required: False - type: str - company_name: + type: list + elements: str + address2: description: - - (Required for new resource) comapany name - required: True + - Address info of the user + required: False type: str - country: + first_name: description: - - (Required for new resource) Country name + - (Required for new resource) First name of the user required: True type: str - timezone: + city: description: - - (Required for new resource) time zone info + - (Required for new resource) City name required: True type: str - api_key: + user_status: description: - - API key for the user + - user status info required: False type: str - address2: + default: ACTIVE + api_key: description: - - Address info of the user + - API key for the user required: False type: str - password: + username: description: - - password for the user + - user name required: False type: str - tags: - description: - - Tags set for the resources - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -157,36 +157,36 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('first_name', 'str'), - ('state_', 'str'), - ('last_name', 'str'), - ('email', 'str'), ('address1', 'str'), - ('city', 'str'), + ('state_', 'str'), ('company_name', 'str'), + ('email', 'str'), ('country', 'str'), ('timezone', 'str'), + ('last_name', 'str'), + ('first_name', 'str'), + ('city', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'first_name', + 'address1', 'state_', - 'permissions', + 'password', + 'tags', + 'company_name', + 'email', + 'country', + 'timezone', 'has_api_key', 'last_name', - 'email', - 'address1', + 'permissions', + 'address2', + 'first_name', 'city', 'user_status', - 'username', - 'company_name', - 'country', - 'timezone', 'api_key', - 'address2', - 'password', - 'tags', + 'username', ] # Params for Data source @@ -203,59 +203,59 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - first_name=dict( + address1=dict( required=False, type='str'), state_=dict( required=False, type='str'), - permissions=dict( + password=dict( + required=False, + type='str'), + tags=dict( required=False, elements='', type='list'), - has_api_key=dict( - required=False, - type='bool'), - last_name=dict( + company_name=dict( required=False, type='str'), email=dict( required=False, type='str'), - address1=dict( + country=dict( required=False, type='str'), - city=dict( + timezone=dict( required=False, type='str'), - user_status=dict( + has_api_key=dict( required=False, - type='str'), - username=dict( + type='bool'), + last_name=dict( required=False, type='str'), - company_name=dict( + permissions=dict( required=False, - type='str'), - country=dict( + elements='', + type='list'), + address2=dict( required=False, type='str'), - timezone=dict( + first_name=dict( required=False, type='str'), - api_key=dict( + city=dict( required=False, type='str'), - address2=dict( + user_status=dict( required=False, type='str'), - password=dict( + api_key=dict( required=False, type='str'), - tags=dict( + username=dict( required=False, - elements='', - type='list'), + type='str'), id=dict( required=False, type='str'), @@ -321,7 +321,7 @@ def run_module(): resource_type='ibm_compute_user', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_compute_vm_instance.py b/plugins/modules/ibm_compute_vm_instance.py index 57131c8cb..73b5058d6 100644 --- a/plugins/modules/ibm_compute_vm_instance.py +++ b/plugins/modules/ibm_compute_vm_instance.py @@ -18,105 +18,103 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_vm_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - placement_group_id: - description: - - The placement group id - required: False - type: int - dedicated_host_id: - description: - - None - required: False - type: int - ipv6_static_enabled: + dedicated_acct_host_only: description: - None required: False type: bool - default: False - secondary_ip_count: + disks: description: - None required: False - type: int - ssh_key_ids: + type: list + elements: int + tags: description: - None required: False type: list - elements: int - notes: + elements: str + bulk_vms: description: - None required: False - type: str - evault: + type: list + elements: dict + reserved_capacity_name: description: - - None + - The reserved group id required: False - type: int - file_storage_ids: + type: str + block_storage_ids: description: - None required: False type: list elements: int - post_install_script_uri: + quote_id: description: - - None + - Quote ID for Quote based provisioning required: False - type: str - user_metadata: + type: int + reserved_instance_primary_disk: + description: + - The primary disk of reserved instance + required: False + type: int + cores: description: - None required: False - type: str - flavor_key_name: + type: int + private_network_only: description: - - Flavor key name used to provision vm. + - None required: False - type: str - hostname: + type: bool + default: False + dedicated_host_name: description: - None required: False type: str - bulk_vms: + ssh_key_ids: description: - None required: False type: list - elements: dict - public_vlan_id: + elements: int + public_subnet: description: - None required: False - type: int - image_id: + type: str + secondary_ip_count: description: - None required: False type: int - domain: + network_speed: description: - None required: False - type: str - hourly_billing: + type: int + default: 100 + user_metadata: description: - None required: False - type: bool - default: True - transient: + type: str + ipv6_enabled: description: - None required: False type: bool + default: False private_security_group_ids: description: - None @@ -128,39 +126,23 @@ - The reserved group id required: False type: int - dedicated_acct_host_only: - description: - - None - required: False - type: bool - public_subnet: + public_bandwidth_limited: description: - None required: False - type: str - public_bandwidth_limited: + type: int + memory: description: - None required: False type: int - private_network_only: + ipv6_static_enabled: description: - None required: False type: bool default: False - datacenter_choice: - description: - - The user provided datacenter options - required: False - type: list - elements: dict - private_vlan_id: - description: - - None - required: False - type: int - private_subnet: + notes: description: - None required: False @@ -170,82 +152,64 @@ - The placement group name required: False type: str - reserved_capacity_name: + flavor_key_name: description: - - The reserved group id + - Flavor key name used to provision vm. required: False type: str - public_bandwidth_unlimited: - description: - - None - required: False - type: bool - default: False - network_speed: + public_vlan_id: description: - None required: False type: int - default: 100 - block_storage_ids: + file_storage_ids: description: - None required: False type: list elements: int - tags: + public_bandwidth_unlimited: description: - None required: False - type: list - elements: str - datacenter: + type: bool + default: False + hostname: description: - None required: False type: str - reserved_instance_primary_disk: - description: - - The primary disk of reserved instance - required: False - type: int - memory: + private_subnet: description: - None required: False - type: int - quote_id: + type: str + placement_group_id: description: - - Quote ID for Quote based provisioning + - The placement group id required: False type: int - os_reference_code: - description: - - None - required: False - type: str - cores: + private_vlan_id: description: - None required: False type: int - dedicated_host_name: + os_reference_code: description: - None required: False type: str - disks: + datacenter_choice: description: - - None + - The user provided datacenter options required: False type: list - elements: int - ipv6_enabled: + elements: dict + transient: description: - None required: False type: bool - default: False public_security_group_ids: description: - None @@ -258,6 +222,42 @@ required: False type: bool default: True + hourly_billing: + description: + - None + required: False + type: bool + default: True + datacenter: + description: + - None + required: False + type: str + post_install_script_uri: + description: + - None + required: False + type: str + evault: + description: + - None + required: False + type: int + domain: + description: + - None + required: False + type: str + dedicated_host_id: + description: + - None + required: False + type: int + image_id: + description: + - None + required: False + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -308,50 +308,50 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'placement_group_id', - 'dedicated_host_id', - 'ipv6_static_enabled', - 'secondary_ip_count', + 'dedicated_acct_host_only', + 'disks', + 'tags', + 'bulk_vms', + 'reserved_capacity_name', + 'block_storage_ids', + 'quote_id', + 'reserved_instance_primary_disk', + 'cores', + 'private_network_only', + 'dedicated_host_name', 'ssh_key_ids', - 'notes', - 'evault', - 'file_storage_ids', - 'post_install_script_uri', + 'public_subnet', + 'secondary_ip_count', + 'network_speed', 'user_metadata', - 'flavor_key_name', - 'hostname', - 'bulk_vms', - 'public_vlan_id', - 'image_id', - 'domain', - 'hourly_billing', - 'transient', + 'ipv6_enabled', 'private_security_group_ids', 'reserved_capacity_id', - 'dedicated_acct_host_only', - 'public_subnet', 'public_bandwidth_limited', - 'private_network_only', - 'datacenter_choice', - 'private_vlan_id', - 'private_subnet', + 'memory', + 'ipv6_static_enabled', + 'notes', 'placement_group_name', - 'reserved_capacity_name', + 'flavor_key_name', + 'public_vlan_id', + 'file_storage_ids', 'public_bandwidth_unlimited', - 'network_speed', - 'block_storage_ids', - 'tags', - 'datacenter', - 'reserved_instance_primary_disk', - 'memory', - 'quote_id', + 'hostname', + 'private_subnet', + 'placement_group_id', + 'private_vlan_id', 'os_reference_code', - 'cores', - 'dedicated_host_name', - 'disks', - 'ipv6_enabled', + 'datacenter_choice', + 'transient', 'public_security_group_ids', 'local_disk', + 'hourly_billing', + 'datacenter', + 'post_install_script_uri', + 'evault', + 'domain', + 'dedicated_host_id', + 'image_id', ] # Params for Data source @@ -361,95 +361,94 @@ ] TL_ALL_PARAMETERS_DS = [ - 'most_recent', 'hostname', + 'most_recent', 'domain', ] TL_CONFLICTS_MAP = { - 'placement_group_id': ['datacenter_choice', 'dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'placement_group_name', 'reserved_capacity_id', 'reserved_capacity_name'], - 'dedicated_host_id': ['dedicated_acct_host_only', 'dedicated_host_name', 'placement_group_name', 'placement_group_id'], - 'flavor_key_name': ['cores', 'memory'], - 'hostname': ['bulk_vms'], + 'dedicated_acct_host_only': ['dedicated_host_name', 'dedicated_host_id', 'placement_group_id', 'placement_group_name'], 'bulk_vms': ['hostname', 'domain'], - 'public_vlan_id': ['datacenter_choice'], - 'image_id': ['os_reference_code'], - 'domain': ['bulk_vms'], - 'transient': ['dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'cores', 'memory', 'public_bandwidth_limited', 'public_bandwidth_unlimited'], + 'reserved_capacity_name': ['datacenter_choice', 'dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'placement_group_name', 'placement_group_id', 'reserved_capacity_id', 'flavor_key_name', 'cores', 'memory'], + 'cores': ['flavor_key_name'], + 'dedicated_host_name': ['dedicated_acct_host_only', 'dedicated_host_id', 'placement_group_name', 'placement_group_id'], 'reserved_capacity_id': ['datacenter_choice', 'dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'placement_group_name', 'placement_group_id', 'reserved_capacity_name', 'flavor_key_name', 'cores', 'memory'], - 'dedicated_acct_host_only': ['dedicated_host_name', 'dedicated_host_id', 'placement_group_id', 'placement_group_name'], 'public_bandwidth_limited': ['private_network_only', 'public_bandwidth_unlimited'], - 'datacenter_choice': ['datacenter', 'public_vlan_id', 'private_vlan_id', 'placement_group_name', 'placement_group_id', 'reserved_capacity_id', 'reserved_capacity_name'], - 'private_vlan_id': ['datacenter_choice'], + 'memory': ['flavor_key_name'], 'placement_group_name': ['datacenter_choice', 'dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'placement_group_id', 'reserved_capacity_id', 'reserved_capacity_name'], - 'reserved_capacity_name': ['datacenter_choice', 'dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'placement_group_name', 'placement_group_id', 'reserved_capacity_id', 'flavor_key_name', 'cores', 'memory'], + 'flavor_key_name': ['cores', 'memory'], + 'public_vlan_id': ['datacenter_choice'], 'public_bandwidth_unlimited': ['private_network_only', 'public_bandwidth_limited'], - 'datacenter': ['datacenter_choice'], - 'memory': ['flavor_key_name'], + 'hostname': ['bulk_vms'], + 'placement_group_id': ['datacenter_choice', 'dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'placement_group_name', 'reserved_capacity_id', 'reserved_capacity_name'], + 'private_vlan_id': ['datacenter_choice'], 'os_reference_code': ['image_id'], - 'cores': ['flavor_key_name'], - 'dedicated_host_name': ['dedicated_acct_host_only', 'dedicated_host_id', 'placement_group_name', 'placement_group_id'], + 'datacenter_choice': ['datacenter', 'public_vlan_id', 'private_vlan_id', 'placement_group_name', 'placement_group_id', 'reserved_capacity_id', 'reserved_capacity_name'], + 'transient': ['dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'cores', 'memory', 'public_bandwidth_limited', 'public_bandwidth_unlimited'], + 'datacenter': ['datacenter_choice'], + 'domain': ['bulk_vms'], + 'dedicated_host_id': ['dedicated_acct_host_only', 'dedicated_host_name', 'placement_group_name', 'placement_group_id'], + 'image_id': ['os_reference_code'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - placement_group_id=dict( - required=False, - type='int'), - dedicated_host_id=dict( - required=False, - type='int'), - ipv6_static_enabled=dict( + dedicated_acct_host_only=dict( required=False, type='bool'), - secondary_ip_count=dict( + disks=dict( required=False, - type='int'), - ssh_key_ids=dict( + elements='', + type='list'), + tags=dict( required=False, elements='', type='list'), - notes=dict( + bulk_vms=dict( required=False, - type='str'), - evault=dict( + elements='', + type='list'), + reserved_capacity_name=dict( required=False, - type='int'), - file_storage_ids=dict( + type='str'), + block_storage_ids=dict( required=False, elements='', type='list'), - post_install_script_uri=dict( + quote_id=dict( required=False, - type='str'), - user_metadata=dict( + type='int'), + reserved_instance_primary_disk=dict( required=False, - type='str'), - flavor_key_name=dict( + type='int'), + cores=dict( required=False, - type='str'), - hostname=dict( + type='int'), + private_network_only=dict( + required=False, + type='bool'), + dedicated_host_name=dict( required=False, type='str'), - bulk_vms=dict( + ssh_key_ids=dict( required=False, elements='', type='list'), - public_vlan_id=dict( + public_subnet=dict( + required=False, + type='str'), + secondary_ip_count=dict( required=False, type='int'), - image_id=dict( + network_speed=dict( required=False, type='int'), - domain=dict( + user_metadata=dict( required=False, type='str'), - hourly_billing=dict( - required=False, - type='bool'), - transient=dict( + ipv6_enabled=dict( required=False, type='bool'), private_security_group_ids=dict( @@ -459,74 +458,54 @@ reserved_capacity_id=dict( required=False, type='int'), - dedicated_acct_host_only=dict( - required=False, - type='bool'), - public_subnet=dict( - required=False, - type='str'), public_bandwidth_limited=dict( required=False, type='int'), - private_network_only=dict( - required=False, - type='bool'), - datacenter_choice=dict( - required=False, - elements='', - type='list'), - private_vlan_id=dict( + memory=dict( required=False, type='int'), - private_subnet=dict( + ipv6_static_enabled=dict( + required=False, + type='bool'), + notes=dict( required=False, type='str'), placement_group_name=dict( required=False, type='str'), - reserved_capacity_name=dict( + flavor_key_name=dict( required=False, type='str'), - public_bandwidth_unlimited=dict( - required=False, - type='bool'), - network_speed=dict( + public_vlan_id=dict( required=False, type='int'), - block_storage_ids=dict( + file_storage_ids=dict( required=False, elements='', type='list'), - tags=dict( + public_bandwidth_unlimited=dict( required=False, - elements='', - type='list'), - datacenter=dict( + type='bool'), + hostname=dict( required=False, type='str'), - reserved_instance_primary_disk=dict( + private_subnet=dict( required=False, - type='int'), - memory=dict( + type='str'), + placement_group_id=dict( required=False, type='int'), - quote_id=dict( + private_vlan_id=dict( required=False, type='int'), os_reference_code=dict( required=False, type='str'), - cores=dict( - required=False, - type='int'), - dedicated_host_name=dict( - required=False, - type='str'), - disks=dict( + datacenter_choice=dict( required=False, elements='', type='list'), - ipv6_enabled=dict( + transient=dict( required=False, type='bool'), public_security_group_ids=dict( @@ -536,6 +515,27 @@ local_disk=dict( required=False, type='bool'), + hourly_billing=dict( + required=False, + type='bool'), + datacenter=dict( + required=False, + type='str'), + post_install_script_uri=dict( + required=False, + type='str'), + evault=dict( + required=False, + type='int'), + domain=dict( + required=False, + type='str'), + dedicated_host_id=dict( + required=False, + type='int'), + image_id=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -601,7 +601,7 @@ def run_module(): resource_type='ibm_compute_vm_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -610,7 +610,7 @@ def run_module(): resource_type='ibm_compute_vm_instance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_compute_vm_instance_info.py b/plugins/modules/ibm_compute_vm_instance_info.py index 5e3a43b1c..1fc001ccf 100644 --- a/plugins/modules/ibm_compute_vm_instance_info.py +++ b/plugins/modules/ibm_compute_vm_instance_info.py @@ -17,21 +17,21 @@ description: - Retrieve an IBM Cloud 'ibm_compute_vm_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + hostname: + description: + - The hostname of the virtual guest + required: True + type: str most_recent: description: - If true and multiple entries are found, the most recently created virtual guest is used. If false, an error is returned required: False type: bool default: False - hostname: - description: - - The hostname of the virtual guest - required: True - type: str domain: description: - The domain of the virtual guest @@ -76,8 +76,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'most_recent', 'hostname', + 'most_recent', 'domain', ] @@ -89,12 +89,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - most_recent=dict( - required=False, - type='bool'), hostname=dict( required=True, type='str'), + most_recent=dict( + required=False, + type='bool'), domain=dict( required=True, type='str'), @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_compute_vm_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_addons.py b/plugins/modules/ibm_container_addons.py index 42f37e589..d3ec24b33 100644 --- a/plugins/modules/ibm_container_addons.py +++ b/plugins/modules/ibm_container_addons.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_container_addons' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -152,7 +152,7 @@ def run_module(): resource_type='ibm_container_addons', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -161,7 +161,7 @@ def run_module(): resource_type='ibm_container_addons', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_addons_info.py b/plugins/modules/ibm_container_addons_info.py index 546603f95..98b3531f2 100644 --- a/plugins/modules/ibm_container_addons_info.py +++ b/plugins/modules/ibm_container_addons_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_addons' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -78,7 +78,7 @@ def run_module(): resource_type='ibm_container_addons', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_alb.py b/plugins/modules/ibm_container_alb.py index 3777c9caa..680c32821 100644 --- a/plugins/modules/ibm_container_alb.py +++ b/plugins/modules/ibm_container_alb.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_container_alb' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - disable_deployment: - description: - - Set to true if ALB needs to be disabled - required: False - type: bool user_ip: description: - IP assigned by the user @@ -37,6 +32,11 @@ - set to true if ALB needs to be enabled required: False type: bool + disable_deployment: + description: + - Set to true if ALB needs to be disabled + required: False + type: bool alb_id: description: - (Required for new resource) ALB ID @@ -73,9 +73,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'disable_deployment', 'user_ip', 'enable', + 'disable_deployment', 'alb_id', ] @@ -89,23 +89,23 @@ ] TL_CONFLICTS_MAP = { - 'disable_deployment': ['enable'], 'enable': ['disable_deployment'], + 'disable_deployment': ['enable'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - disable_deployment=dict( - required=False, - type='bool'), user_ip=dict( required=False, type='str'), enable=dict( required=False, type='bool'), + disable_deployment=dict( + required=False, + type='bool'), alb_id=dict( required=False, type='str'), @@ -160,7 +160,7 @@ def run_module(): resource_type='ibm_container_alb', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -169,7 +169,7 @@ def run_module(): resource_type='ibm_container_alb', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_alb_cert.py b/plugins/modules/ibm_container_alb_cert.py index a5c0cc08b..d6f1fdce2 100644 --- a/plugins/modules/ibm_container_alb_cert.py +++ b/plugins/modules/ibm_container_alb_cert.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_container_alb_cert' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,6 +27,11 @@ - (Required for new resource) Certificate CRN id required: True type: str + secret_name: + description: + - (Required for new resource) Secret name + required: True + type: str persistence: description: - Persistence of secret @@ -37,11 +42,6 @@ - (Required for new resource) Cluster ID required: True type: str - secret_name: - description: - - (Required for new resource) Secret name - required: True - type: str namespace: description: - Namespace of the secret @@ -75,16 +75,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('cert_crn', 'str'), - ('cluster_id', 'str'), ('secret_name', 'str'), + ('cluster_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'cert_crn', + 'secret_name', 'persistence', 'cluster_id', - 'secret_name', 'namespace', ] @@ -96,8 +96,8 @@ TL_ALL_PARAMETERS_DS = [ 'cluster_id', - 'secret_name', 'namespace', + 'secret_name', ] TL_CONFLICTS_MAP = { @@ -110,15 +110,15 @@ cert_crn=dict( required=False, type='str'), + secret_name=dict( + required=False, + type='str'), persistence=dict( required=False, type='bool'), cluster_id=dict( required=False, type='str'), - secret_name=dict( - required=False, - type='str'), namespace=dict( required=False, type='str'), @@ -173,7 +173,7 @@ def run_module(): resource_type='ibm_container_alb_cert', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -182,7 +182,7 @@ def run_module(): resource_type='ibm_container_alb_cert', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_alb_cert_info.py b/plugins/modules/ibm_container_alb_cert_info.py index 3e1bea9ad..1ce9705e8 100644 --- a/plugins/modules/ibm_container_alb_cert_info.py +++ b/plugins/modules/ibm_container_alb_cert_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_alb_cert' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -26,17 +26,17 @@ - Cluster ID required: True type: str - secret_name: - description: - - Secret name - required: True - type: str namespace: description: - Namespace of the secret required: False type: str default: ibm-cert-store + secret_name: + description: + - Secret name + required: True + type: str ibmcloud_api_key: description: - The IBM Cloud API key to authenticate with the IBM Cloud @@ -57,8 +57,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'cluster_id', - 'secret_name', 'namespace', + 'secret_name', ] @@ -72,12 +72,12 @@ cluster_id=dict( required=True, type='str'), - secret_name=dict( - required=True, - type='str'), namespace=dict( required=False, type='str'), + secret_name=dict( + required=True, + type='str'), ibmcloud_api_key=dict( type='str', no_log=True, @@ -98,7 +98,7 @@ def run_module(): resource_type='ibm_container_alb_cert', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_alb_create.py b/plugins/modules/ibm_container_alb_create.py index 0cdb46019..de78cb1fa 100644 --- a/plugins/modules/ibm_container_alb_create.py +++ b/plugins/modules/ibm_container_alb_create.py @@ -18,49 +18,49 @@ - Create, update or destroy an IBM Cloud 'ibm_container_alb_create' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - enable: + nlb_version: description: - - If set to true, the ALB is enabled by default. + - The version of the network load balancer that you want to use for the ALB. required: False - type: bool - default: True - ingress_image: + type: str + alb_type: description: - - The type of Ingress image that you want to use for your ALB deployment. - required: False + - (Required for new resource) The type of ALB that you want to create. + required: True type: str - vlan_id: + zone: description: - - (Required for new resource) The VLAN ID that you want to use for your ALBs. + - (Required for new resource) The zone where you want to deploy the ALB. required: True type: str + enable: + description: + - If set to true, the ALB is enabled by default. + required: False + type: bool + default: True ip: description: - The IP address that you want to assign to the ALB. required: False type: str - cluster: + ingress_image: description: - - (Required for new resource) The ID of the cluster that the ALB belongs to. - required: True + - The type of Ingress image that you want to use for your ALB deployment. + required: False type: str - zone: + cluster: description: - - (Required for new resource) The zone where you want to deploy the ALB. + - (Required for new resource) The ID of the cluster that the ALB belongs to. required: True type: str - nlb_version: - description: - - The version of the network load balancer that you want to use for the ALB. - required: False - type: str - alb_type: + vlan_id: description: - - (Required for new resource) The type of ALB that you want to create. + - (Required for new resource) The VLAN ID that you want to use for your ALBs. required: True type: str id: @@ -89,22 +89,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('vlan_id', 'str'), - ('cluster', 'str'), - ('zone', 'str'), ('alb_type', 'str'), + ('zone', 'str'), + ('cluster', 'str'), + ('vlan_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'nlb_version', + 'alb_type', + 'zone', 'enable', - 'ingress_image', - 'vlan_id', 'ip', + 'ingress_image', 'cluster', - 'zone', - 'nlb_version', - 'alb_type', + 'vlan_id', ] # Params for Data source @@ -121,28 +121,28 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - enable=dict( - required=False, - type='bool'), - ingress_image=dict( + nlb_version=dict( required=False, type='str'), - vlan_id=dict( + alb_type=dict( required=False, type='str'), - ip=dict( + zone=dict( required=False, type='str'), - cluster=dict( + enable=dict( + required=False, + type='bool'), + ip=dict( required=False, type='str'), - zone=dict( + ingress_image=dict( required=False, type='str'), - nlb_version=dict( + cluster=dict( required=False, type='str'), - alb_type=dict( + vlan_id=dict( required=False, type='str'), id=dict( @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_container_alb_create', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_alb_info.py b/plugins/modules/ibm_container_alb_info.py index 63754c07e..d13020f3f 100644 --- a/plugins/modules/ibm_container_alb_info.py +++ b/plugins/modules/ibm_container_alb_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_alb' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -78,7 +78,7 @@ def run_module(): resource_type='ibm_container_alb', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_api_key_reset.py b/plugins/modules/ibm_container_api_key_reset.py index fdc21f571..7845e9d9d 100644 --- a/plugins/modules/ibm_container_api_key_reset.py +++ b/plugins/modules/ibm_container_api_key_reset.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_container_api_key_reset' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + region: + description: + - (Required for new resource) Region which api key has to be reset + required: True + type: str resource_group_id: description: - ID of Resource Group @@ -33,11 +38,6 @@ required: False type: int default: 1 - region: - description: - - (Required for new resource) Region which api key has to be reset - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -69,9 +69,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'region', 'resource_group_id', 'reset_api_key', - 'region', ] # Params for Data source @@ -88,15 +88,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + region=dict( + required=False, + type='str'), resource_group_id=dict( required=False, type='str'), reset_api_key=dict( required=False, type='int'), - region=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -148,7 +148,7 @@ def run_module(): resource_type='ibm_container_api_key_reset', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_bind_service.py b/plugins/modules/ibm_container_bind_service.py index 60a9d1673..caaf06af3 100644 --- a/plugins/modules/ibm_container_bind_service.py +++ b/plugins/modules/ibm_container_bind_service.py @@ -18,18 +18,28 @@ - Create, update or destroy an IBM Cloud 'ibm_container_bind_service' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + service_instance_id: + description: + - Service instance ID + required: False + type: str + namespace_id: + description: + - (Required for new resource) namespace ID + required: True + type: str key: description: - Key info required: False type: str - resource_group_id: + role: description: - - ID of the resource group. + - Role info required: False type: str cluster_name_id: @@ -37,9 +47,9 @@ - (Required for new resource) Cluster name or ID required: True type: str - service_instance_id: + service_instance_name: description: - - Service instance ID + - serivice instance name required: False type: str tags: @@ -48,19 +58,9 @@ required: False type: list elements: str - service_instance_name: - description: - - serivice instance name - required: False - type: str - namespace_id: - description: - - (Required for new resource) namespace ID - required: True - type: str - role: + resource_group_id: description: - - Role info + - ID of the resource group. required: False type: str id: @@ -89,20 +89,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cluster_name_id', 'str'), ('namespace_id', 'str'), + ('cluster_name_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'key', - 'resource_group_id', - 'cluster_name_id', 'service_instance_id', - 'tags', - 'service_instance_name', 'namespace_id', + 'key', 'role', + 'cluster_name_id', + 'service_instance_name', + 'tags', + 'resource_group_id', ] # Params for Data source @@ -127,29 +127,29 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + service_instance_id=dict( + required=False, + type='str'), + namespace_id=dict( + required=False, + type='str'), key=dict( required=False, type='str'), - resource_group_id=dict( + role=dict( required=False, type='str'), cluster_name_id=dict( required=False, type='str'), - service_instance_id=dict( + service_instance_name=dict( required=False, type='str'), tags=dict( required=False, elements='', type='list'), - service_instance_name=dict( - required=False, - type='str'), - namespace_id=dict( - required=False, - type='str'), - role=dict( + resource_group_id=dict( required=False, type='str'), id=dict( @@ -203,7 +203,7 @@ def run_module(): resource_type='ibm_container_bind_service', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -212,7 +212,7 @@ def run_module(): resource_type='ibm_container_bind_service', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_bind_service_info.py b/plugins/modules/ibm_container_bind_service_info.py index 29585e813..581899669 100644 --- a/plugins/modules/ibm_container_bind_service_info.py +++ b/plugins/modules/ibm_container_bind_service_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_bind_service' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -108,7 +108,7 @@ def run_module(): resource_type='ibm_container_bind_service', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_cluster.py b/plugins/modules/ibm_container_cluster.py index caaf251da..a7f993959 100644 --- a/plugins/modules/ibm_container_cluster.py +++ b/plugins/modules/ibm_container_cluster.py @@ -18,181 +18,181 @@ - Create, update or destroy an IBM Cloud 'ibm_container_cluster' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - labels: + webhook: description: - - list of labels to the default worker pool + - None required: False - type: dict - elements: str - entitlement: + type: list + elements: dict + resource_group_id: description: - - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + - ID of the resource group. required: False type: str - private_service_endpoint: + kms_config: description: - - None + - Enables KMS on a given cluster required: False - type: bool - datacenter: + type: list + elements: dict + workers_info: description: - - (Required for new resource) The datacenter where this cluster will be deployed - required: True - type: str + - The IDs of the worker node + required: False + type: list + elements: dict + wait_for_worker_update: + description: + - Wait for worker node to update during kube version update. + required: False + type: bool + default: True taints: description: - WorkerPool Taints required: False type: list elements: dict - machine_type: + kube_version: description: - - Machine type + - Kubernetes version info required: False type: str - public_vlan_id: + update_all_workers: description: - - Public VLAN ID + - Updates all the woker nodes if sets to true required: False - type: str - pod_subnet: + type: bool + default: False + machine_type: description: - - Custom subnet CIDR to provide private IP addresses for pods + - Machine type required: False type: str - subnet_id: + private_vlan_id: description: - - List of subnet IDs + - Private VLAN ID required: False - type: list - elements: str - resource_group_id: + type: str + wait_till: description: - - ID of the resource group. + - wait_till can be configured for Master Ready, One worker Ready or Ingress Ready required: False type: str - patch_version: + default: IngressReady + service_subnet: description: - - Kubernetes patch version + - Custom subnet CIDR to provide private IP addresses for services required: False type: str - force_delete_storage: + gateway_enabled: description: - - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered + - Set true for gateway enabled clusters required: False type: bool default: False - public_service_endpoint: + name: description: - - None - required: False - type: bool - kms_config: + - (Required for new resource) The cluster name + required: True + type: str + patch_version: description: - - Enables KMS on a given cluster + - Kubernetes patch version required: False - type: list - elements: dict - retry_patch_version: + type: str + image_security_enforcement: description: - - Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails + - Set true to enable image security enforcement policies required: False - type: int + type: bool + default: False hardware: description: - (Required for new resource) Hardware type required: True type: str - private_vlan_id: - description: - - Private VLAN ID - required: False - type: str - wait_for_worker_update: + public_service_endpoint: description: - - Wait for worker node to update during kube version update. + - None required: False type: bool - default: True default_pool_size: description: - The size of the default worker pool required: False type: int default: 1 - gateway_enabled: - description: - - Set true for gateway enabled clusters - required: False - type: bool - default: False - name: - description: - - (Required for new resource) The cluster name - required: True - type: str - workers_info: + labels: description: - - The IDs of the worker node + - list of labels to the default worker pool required: False - type: list - elements: dict - service_subnet: + type: dict + elements: str + pod_subnet: description: - - Custom subnet CIDR to provide private IP addresses for services + - Custom subnet CIDR to provide private IP addresses for pods required: False type: str - webhook: + datacenter: description: - - None - required: False - type: list - elements: dict + - (Required for new resource) The datacenter where this cluster will be deployed + required: True + type: str disk_encryption: description: - disc encryption done, if set to true. required: False type: bool default: True - kube_version: - description: - - Kubernetes version info - required: False - type: str - update_all_workers: + no_subnet: description: - - Updates all the woker nodes if sets to true + - Boolean value set to true when subnet creation is not required. required: False type: bool default: False - wait_till: + tags: description: - - wait_till can be configured for Master Ready, One worker Ready or Ingress Ready + - Tags for the resource required: False - type: str - default: IngressReady - no_subnet: + type: list + elements: str + private_service_endpoint: description: - - Boolean value set to true when subnet creation is not required. + - None required: False type: bool - default: False - tags: + retry_patch_version: description: - - Tags for the resource + - Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails + required: False + type: int + subnet_id: + description: + - List of subnet IDs required: False type: list elements: str - image_security_enforcement: + force_delete_storage: description: - - Set true to enable image security enforcement policies + - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered required: False type: bool default: False + public_vlan_id: + description: + - Public VLAN ID + required: False + type: str + entitlement: + description: + - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -219,44 +219,44 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('datacenter', 'str'), - ('hardware', 'str'), ('name', 'str'), + ('hardware', 'str'), + ('datacenter', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'labels', - 'entitlement', - 'private_service_endpoint', - 'datacenter', - 'taints', - 'machine_type', - 'public_vlan_id', - 'pod_subnet', - 'subnet_id', + 'webhook', 'resource_group_id', - 'patch_version', - 'force_delete_storage', - 'public_service_endpoint', 'kms_config', - 'retry_patch_version', - 'hardware', - 'private_vlan_id', - 'wait_for_worker_update', - 'default_pool_size', - 'gateway_enabled', - 'name', 'workers_info', - 'service_subnet', - 'webhook', - 'disk_encryption', + 'wait_for_worker_update', + 'taints', 'kube_version', 'update_all_workers', + 'machine_type', + 'private_vlan_id', 'wait_till', + 'service_subnet', + 'gateway_enabled', + 'name', + 'patch_version', + 'image_security_enforcement', + 'hardware', + 'public_service_endpoint', + 'default_pool_size', + 'labels', + 'pod_subnet', + 'datacenter', + 'disk_encryption', 'no_subnet', 'tags', - 'image_security_enforcement', + 'private_service_endpoint', + 'retry_patch_version', + 'subnet_id', + 'force_delete_storage', + 'public_vlan_id', + 'entitlement', ] # Params for Data source @@ -264,15 +264,15 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'resource_group_id', - 'cluster_name_id', + 'name', 'org_guid', + 'alb_type', 'list_bounded_services', 'space_guid', - 'account_guid', + 'cluster_name_id', 'region', - 'alb_type', + 'account_guid', ] TL_CONFLICTS_MAP = { @@ -282,106 +282,106 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - labels=dict( + webhook=dict( required=False, elements='', - type='dict'), - entitlement=dict( + type='list'), + resource_group_id=dict( required=False, type='str'), - private_service_endpoint=dict( + kms_config=dict( required=False, - type='bool'), - datacenter=dict( + elements='', + type='list'), + workers_info=dict( required=False, - type='str'), + elements='', + type='list'), + wait_for_worker_update=dict( + required=False, + type='bool'), taints=dict( required=False, elements='', type='list'), - machine_type=dict( + kube_version=dict( required=False, type='str'), - public_vlan_id=dict( + update_all_workers=dict( required=False, - type='str'), - pod_subnet=dict( + type='bool'), + machine_type=dict( required=False, type='str'), - subnet_id=dict( + private_vlan_id=dict( required=False, - elements='', - type='list'), - resource_group_id=dict( + type='str'), + wait_till=dict( required=False, type='str'), - patch_version=dict( + service_subnet=dict( required=False, type='str'), - force_delete_storage=dict( + gateway_enabled=dict( required=False, type='bool'), - public_service_endpoint=dict( + name=dict( required=False, - type='bool'), - kms_config=dict( + type='str'), + patch_version=dict( required=False, - elements='', - type='list'), - retry_patch_version=dict( + type='str'), + image_security_enforcement=dict( required=False, - type='int'), + type='bool'), hardware=dict( required=False, type='str'), - private_vlan_id=dict( - required=False, - type='str'), - wait_for_worker_update=dict( + public_service_endpoint=dict( required=False, type='bool'), default_pool_size=dict( required=False, type='int'), - gateway_enabled=dict( - required=False, - type='bool'), - name=dict( - required=False, - type='str'), - workers_info=dict( + labels=dict( required=False, elements='', - type='list'), - service_subnet=dict( + type='dict'), + pod_subnet=dict( required=False, type='str'), - webhook=dict( + datacenter=dict( required=False, - elements='', - type='list'), + type='str'), disk_encryption=dict( required=False, type='bool'), - kube_version=dict( - required=False, - type='str'), - update_all_workers=dict( + no_subnet=dict( required=False, type='bool'), - wait_till=dict( + tags=dict( required=False, - type='str'), - no_subnet=dict( + elements='', + type='list'), + private_service_endpoint=dict( required=False, type='bool'), - tags=dict( + retry_patch_version=dict( + required=False, + type='int'), + subnet_id=dict( required=False, elements='', type='list'), - image_security_enforcement=dict( + force_delete_storage=dict( required=False, type='bool'), + public_vlan_id=dict( + required=False, + type='str'), + entitlement=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -433,7 +433,7 @@ def run_module(): resource_type='ibm_container_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -442,7 +442,7 @@ def run_module(): resource_type='ibm_container_cluster', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_cluster_config_info.py b/plugins/modules/ibm_container_cluster_config_info.py index 3ad74117f..44a92e253 100644 --- a/plugins/modules/ibm_container_cluster_config_info.py +++ b/plugins/modules/ibm_container_cluster_config_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_cluster_config' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -26,11 +26,6 @@ - ID of the resource group. required: False type: str - config_dir: - description: - - The directory where the cluster config to be downloaded. Default is home directory - required: False - type: str cluster_name_id: description: - The name/id of the cluster @@ -42,6 +37,11 @@ required: False type: bool default: False + config_dir: + description: + - The directory where the cluster config to be downloaded. Default is home directory + required: False + type: str download: description: - If set to false will not download the config, otherwise they are downloaded each time but onto the same path for a given cluster name/id @@ -73,9 +73,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'resource_group_id', - 'config_dir', 'cluster_name_id', 'network', + 'config_dir', 'download', 'admin', ] @@ -91,15 +91,15 @@ resource_group_id=dict( required=False, type='str'), - config_dir=dict( - required=False, - type='str'), cluster_name_id=dict( required=True, type='str'), network=dict( required=False, type='bool'), + config_dir=dict( + required=False, + type='str'), download=dict( required=False, type='bool'), @@ -126,7 +126,7 @@ def run_module(): resource_type='ibm_container_cluster_config', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_cluster_feature.py b/plugins/modules/ibm_container_cluster_feature.py index 5bad7176e..c5a5078f7 100644 --- a/plugins/modules/ibm_container_cluster_feature.py +++ b/plugins/modules/ibm_container_cluster_feature.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_container_cluster_feature' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + resource_group_id: + description: + - ID of the resource group. + required: False + type: str cluster: description: - (Required for new resource) Cluster name of ID @@ -49,11 +54,6 @@ required: False type: bool default: True - resource_group_id: - description: - - ID of the resource group. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -85,12 +85,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'resource_group_id', 'cluster', 'public_service_endpoint', 'private_service_endpoint', 'refresh_api_servers', 'reload_workers', - 'resource_group_id', ] # Params for Data source @@ -107,6 +107,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + resource_group_id=dict( + required=False, + type='str'), cluster=dict( required=False, type='str'), @@ -122,9 +125,6 @@ reload_workers=dict( required=False, type='bool'), - resource_group_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_container_cluster_feature', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_cluster_info.py b/plugins/modules/ibm_container_cluster_info.py index 4f743613b..cdd7e34d8 100644 --- a/plugins/modules/ibm_container_cluster_info.py +++ b/plugins/modules/ibm_container_cluster_info.py @@ -17,32 +17,32 @@ description: - Retrieve an IBM Cloud 'ibm_container_cluster' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + resource_group_id: + description: + - ID of the resource group. + required: False + type: str name: description: - Name or id of the cluster required: False type: str - resource_group_id: + alb_type: description: - - ID of the resource group. + - None required: False type: str + default: all list_bounded_services: description: - If set to false bounded services won't be listed. required: False type: bool default: True - alb_type: - description: - - None - required: False - type: str - default: all ibmcloud_api_key: description: - The IBM Cloud API key to authenticate with the IBM Cloud @@ -60,10 +60,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'resource_group_id', - 'list_bounded_services', + 'name', 'alb_type', + 'list_bounded_services', ] @@ -74,18 +74,18 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + resource_group_id=dict( + required=False, + type='str'), name=dict( required=False, type='str'), - resource_group_id=dict( + alb_type=dict( required=False, type='str'), list_bounded_services=dict( required=False, type='bool'), - alb_type=dict( - required=False, - type='str'), ibmcloud_api_key=dict( type='str', no_log=True, @@ -106,7 +106,7 @@ def run_module(): resource_type='ibm_container_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_cluster_versions_info.py b/plugins/modules/ibm_container_cluster_versions_info.py index 2c81936a3..96dff8211 100644 --- a/plugins/modules/ibm_container_cluster_versions_info.py +++ b/plugins/modules/ibm_container_cluster_versions_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_cluster_versions' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -77,7 +77,7 @@ def run_module(): resource_type='ibm_container_cluster_versions', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_cluster_worker_info.py b/plugins/modules/ibm_container_cluster_worker_info.py index 6cd47bc63..e4aac14cf 100644 --- a/plugins/modules/ibm_container_cluster_worker_info.py +++ b/plugins/modules/ibm_container_cluster_worker_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_container_cluster_worker' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - resource_group_id: - description: - - ID of the resource group. - required: False - type: str worker_id: description: - ID of the worker required: True type: str + resource_group_id: + description: + - ID of the resource group. + required: False + type: str ibmcloud_api_key: description: - The IBM Cloud API key to authenticate with the IBM Cloud @@ -49,8 +49,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group_id', 'worker_id', + 'resource_group_id', ] @@ -61,12 +61,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group_id=dict( - required=False, - type='str'), worker_id=dict( required=True, type='str'), + resource_group_id=dict( + required=False, + type='str'), ibmcloud_api_key=dict( type='str', no_log=True, @@ -87,7 +87,7 @@ def run_module(): resource_type='ibm_container_cluster_worker', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_dedicated_host.py b/plugins/modules/ibm_container_dedicated_host.py index cdb857028..fa119ac42 100644 --- a/plugins/modules/ibm_container_dedicated_host.py +++ b/plugins/modules/ibm_container_dedicated_host.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_container_dedicated_host' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -162,7 +162,7 @@ def run_module(): resource_type='ibm_container_dedicated_host', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -171,7 +171,7 @@ def run_module(): resource_type='ibm_container_dedicated_host', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_dedicated_host_flavor_info.py b/plugins/modules/ibm_container_dedicated_host_flavor_info.py index 50af71bc7..66a433232 100644 --- a/plugins/modules/ibm_container_dedicated_host_flavor_info.py +++ b/plugins/modules/ibm_container_dedicated_host_flavor_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_dedicated_host_flavor' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -88,7 +88,7 @@ def run_module(): resource_type='ibm_container_dedicated_host_flavor', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_dedicated_host_flavors_info.py b/plugins/modules/ibm_container_dedicated_host_flavors_info.py index b33f78bd6..1686d5352 100644 --- a/plugins/modules/ibm_container_dedicated_host_flavors_info.py +++ b/plugins/modules/ibm_container_dedicated_host_flavors_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_dedicated_host_flavors' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -78,7 +78,7 @@ def run_module(): resource_type='ibm_container_dedicated_host_flavors', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_dedicated_host_info.py b/plugins/modules/ibm_container_dedicated_host_info.py index b353fbfde..4da5f8c4d 100644 --- a/plugins/modules/ibm_container_dedicated_host_info.py +++ b/plugins/modules/ibm_container_dedicated_host_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_dedicated_host' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -88,7 +88,7 @@ def run_module(): resource_type='ibm_container_dedicated_host', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_dedicated_host_pool.py b/plugins/modules/ibm_container_dedicated_host_pool.py index 345ddaa96..49cba50fd 100644 --- a/plugins/modules/ibm_container_dedicated_host_pool.py +++ b/plugins/modules/ibm_container_dedicated_host_pool.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_container_dedicated_host_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + resource_group_id: + description: + - ID of the resource group. + required: False + type: str name: description: - (Required for new resource) The name of the dedicated host pool @@ -37,11 +42,6 @@ - (Required for new resource) The flavor class of the dedicated host pool required: True type: str - resource_group_id: - description: - - ID of the resource group. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -75,10 +75,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'resource_group_id', 'name', 'metro', 'flavor_class', - 'resource_group_id', ] # Params for Data source @@ -97,6 +97,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + resource_group_id=dict( + required=False, + type='str'), name=dict( required=False, type='str'), @@ -106,9 +109,6 @@ flavor_class=dict( required=False, type='str'), - resource_group_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -160,7 +160,7 @@ def run_module(): resource_type='ibm_container_dedicated_host_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -169,7 +169,7 @@ def run_module(): resource_type='ibm_container_dedicated_host_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_dedicated_host_pool_info.py b/plugins/modules/ibm_container_dedicated_host_pool_info.py index ff604099c..28fe107b3 100644 --- a/plugins/modules/ibm_container_dedicated_host_pool_info.py +++ b/plugins/modules/ibm_container_dedicated_host_pool_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_dedicated_host_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -78,7 +78,7 @@ def run_module(): resource_type='ibm_container_dedicated_host_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_nlb_dns.py b/plugins/modules/ibm_container_nlb_dns.py index c9289f75c..8c93c203f 100644 --- a/plugins/modules/ibm_container_nlb_dns.py +++ b/plugins/modules/ibm_container_nlb_dns.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_container_nlb_dns' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -162,7 +162,7 @@ def run_module(): resource_type='ibm_container_nlb_dns', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -171,7 +171,7 @@ def run_module(): resource_type='ibm_container_nlb_dns', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_nlb_dns_info.py b/plugins/modules/ibm_container_nlb_dns_info.py index 0d61a170b..6b613c370 100644 --- a/plugins/modules/ibm_container_nlb_dns_info.py +++ b/plugins/modules/ibm_container_nlb_dns_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_nlb_dns' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -78,7 +78,7 @@ def run_module(): resource_type='ibm_container_nlb_dns', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_storage_attachment.py b/plugins/modules/ibm_container_storage_attachment.py index 8400b20ba..e8162bd2d 100644 --- a/plugins/modules/ibm_container_storage_attachment.py +++ b/plugins/modules/ibm_container_storage_attachment.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_container_storage_attachment' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + worker: + description: + - (Required for new resource) worker node ID + required: True + type: str resource_group_id: description: - ID of the resource group. @@ -37,11 +42,6 @@ - (Required for new resource) Cluster name or ID required: True type: str - worker: - description: - - (Required for new resource) worker node ID - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -68,31 +68,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('worker', 'str'), ('volume', 'str'), ('cluster', 'str'), - ('worker', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'worker', 'resource_group_id', 'volume', 'cluster', - 'worker', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('cluster', 'str'), ('worker', 'str'), ('volume_attachment_id', 'str'), + ('cluster', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'cluster', 'worker', 'resource_group_id', 'volume_attachment_id', + 'cluster', ] TL_CONFLICTS_MAP = { @@ -102,6 +102,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + worker=dict( + required=False, + type='str'), resource_group_id=dict( required=False, type='str'), @@ -111,9 +114,6 @@ cluster=dict( required=False, type='str'), - worker=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -165,7 +165,7 @@ def run_module(): resource_type='ibm_container_storage_attachment', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -174,7 +174,7 @@ def run_module(): resource_type='ibm_container_storage_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_storage_attachment_info.py b/plugins/modules/ibm_container_storage_attachment_info.py index b4943c450..5ac60897b 100644 --- a/plugins/modules/ibm_container_storage_attachment_info.py +++ b/plugins/modules/ibm_container_storage_attachment_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_container_storage_attachment' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - cluster: - description: - - Cluster name or ID - required: True - type: str worker: description: - Worker node ID @@ -41,6 +36,11 @@ - The volume attachment ID required: True type: str + cluster: + description: + - Cluster name or ID + required: True + type: str ibmcloud_api_key: description: - The IBM Cloud API key to authenticate with the IBM Cloud @@ -54,17 +54,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cluster', 'str'), ('worker', 'str'), ('volume_attachment_id', 'str'), + ('cluster', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cluster', 'worker', 'resource_group_id', 'volume_attachment_id', + 'cluster', ] @@ -75,9 +75,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - cluster=dict( - required=True, - type='str'), worker=dict( required=True, type='str'), @@ -87,6 +84,9 @@ volume_attachment_id=dict( required=True, type='str'), + cluster=dict( + required=True, + type='str'), ibmcloud_api_key=dict( type='str', no_log=True, @@ -107,7 +107,7 @@ def run_module(): resource_type='ibm_container_storage_attachment', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_vpc_alb.py b/plugins/modules/ibm_container_vpc_alb.py index af59ec3ea..f619799f2 100644 --- a/plugins/modules/ibm_container_vpc_alb.py +++ b/plugins/modules/ibm_container_vpc_alb.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_container_vpc_alb' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - enable: - description: - - Enable the ALB instance in the cluster - required: False - type: bool - disable_deployment: - description: - - Disable the ALB instance in the cluster - required: False - type: bool resource_group_id: description: - ID of the resource group. @@ -42,6 +32,16 @@ - (Required for new resource) ALB ID required: True type: str + enable: + description: + - Enable the ALB instance in the cluster + required: False + type: bool + disable_deployment: + description: + - Disable the ALB instance in the cluster + required: False + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -73,10 +73,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'enable', - 'disable_deployment', 'resource_group_id', 'alb_id', + 'enable', + 'disable_deployment', ] # Params for Data source @@ -85,8 +85,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'resource_group_id', 'alb_id', + 'resource_group_id', ] TL_CONFLICTS_MAP = { @@ -98,18 +98,18 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - enable=dict( - required=False, - type='bool'), - disable_deployment=dict( - required=False, - type='bool'), resource_group_id=dict( required=False, type='str'), alb_id=dict( required=False, type='str'), + enable=dict( + required=False, + type='bool'), + disable_deployment=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -161,7 +161,7 @@ def run_module(): resource_type='ibm_container_vpc_alb', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -170,7 +170,7 @@ def run_module(): resource_type='ibm_container_vpc_alb', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_vpc_alb_create.py b/plugins/modules/ibm_container_vpc_alb_create.py index 3f592cca0..432f497ef 100644 --- a/plugins/modules/ibm_container_vpc_alb_create.py +++ b/plugins/modules/ibm_container_vpc_alb_create.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_container_vpc_alb_create' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - type: - description: - - (Required for new resource) The type of ALB that you want to create. - required: True - type: str zone: description: - (Required for new resource) The zone where you want to deploy the ALB. @@ -37,16 +32,21 @@ - ID of the resource group. required: False type: str - cluster: - description: - - (Required for new resource) The ID of the cluster that the ALB belongs to. - required: True - type: str enable: description: - Enable the ALB instance in the cluster required: False type: bool + type: + description: + - (Required for new resource) The type of ALB that you want to create. + required: True + type: str + cluster: + description: + - (Required for new resource) The ID of the cluster that the ALB belongs to. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -73,18 +73,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('type', 'str'), ('zone', 'str'), + ('type', 'str'), ('cluster', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'type', 'zone', 'resource_group_id', - 'cluster', 'enable', + 'type', + 'cluster', ] # Params for Data source @@ -101,21 +101,21 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - type=dict( - required=False, - type='str'), zone=dict( required=False, type='str'), resource_group_id=dict( required=False, type='str'), - cluster=dict( - required=False, - type='str'), enable=dict( required=False, type='bool'), + type=dict( + required=False, + type='str'), + cluster=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -167,7 +167,7 @@ def run_module(): resource_type='ibm_container_vpc_alb_create', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_vpc_alb_info.py b/plugins/modules/ibm_container_vpc_alb_info.py index f6fc92ad6..f5fff9847 100644 --- a/plugins/modules/ibm_container_vpc_alb_info.py +++ b/plugins/modules/ibm_container_vpc_alb_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_alb' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - resource_group_id: - description: - - ID of the resource group. - required: False - type: str alb_id: description: - ALB ID required: True type: str + resource_group_id: + description: + - ID of the resource group. + required: False + type: str ibmcloud_api_key: description: - The IBM Cloud API key to authenticate with the IBM Cloud @@ -49,8 +49,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group_id', 'alb_id', + 'resource_group_id', ] @@ -61,12 +61,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group_id=dict( - required=False, - type='str'), alb_id=dict( required=True, type='str'), + resource_group_id=dict( + required=False, + type='str'), ibmcloud_api_key=dict( type='str', no_log=True, @@ -87,7 +87,7 @@ def run_module(): resource_type='ibm_container_vpc_alb', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_vpc_cluster.py b/plugins/modules/ibm_container_vpc_cluster.py index 40237acde..139e0c1dc 100644 --- a/plugins/modules/ibm_container_vpc_cluster.py +++ b/plugins/modules/ibm_container_vpc_cluster.py @@ -18,42 +18,70 @@ - Create, update or destroy an IBM Cloud 'ibm_container_vpc_cluster' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - image_security_enforcement: + entitlement: description: - - Set true to enable image security enforcement policies + - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + required: False + type: str + force_delete_storage: + description: + - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered required: False type: bool default: False - update_all_workers: + flavor: description: - - Updates all the woker nodes if sets to true + - (Required for new resource) Cluster nodes flavour + required: True + type: str + name: + description: + - (Required for new resource) The cluster name + required: True + type: str + wait_for_worker_update: + description: + - Wait for worker node to update during kube version update. required: False type: bool - default: False - service_subnet: + default: True + pod_subnet: description: - - Custom subnet CIDR to provide private IP addresses for services + - Custom subnet CIDR to provide private IP addresses for pods required: False type: str - crk: + worker_labels: description: - - Root Key ID for boot volume encryption + - Labels for default worker pool + required: False + type: dict + elements: str + resource_group_id: + description: + - ID of the resource group. required: False type: str - kms_instance_id: + crk: description: - - Instance ID for boot volume encryption + - Root Key ID for boot volume encryption required: False type: str - retry_patch_version: + image_security_enforcement: description: - - Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails + - Set true to enable image security enforcement policies required: False - type: int + type: bool + default: False + zones: + description: + - (Required for new resource) Zone info + required: True + type: list + elements: dict worker_count: description: - Number of worker nodes in the cluster @@ -66,102 +94,74 @@ required: False type: list elements: dict - cos_instance_crn: - description: - - A standard cloud object storage instance CRN to back up the internal registry in your OpenShift on VPC Gen 2 cluster - required: False - type: str - vpc_id: - description: - - (Required for new resource) The vpc id where the cluster is - required: True - type: str - wait_till: + kms_instance_id: description: - - wait_till can be configured for Master Ready, One worker Ready or Ingress Ready + - Instance ID for boot volume encryption required: False type: str - default: IngressReady - entitlement: + patch_version: description: - - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + - Kubernetes patch version required: False type: str - kms_config: + retry_patch_version: description: - - Enables KMS on a given cluster + - Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails required: False - type: list - elements: dict - pod_subnet: + type: int + service_subnet: description: - - Custom subnet CIDR to provide private IP addresses for pods + - Custom subnet CIDR to provide private IP addresses for services required: False type: str - disable_public_service_endpoint: - description: - - Boolean value true if Public service endpoint to be disabled - required: False - type: bool - default: False tags: description: - List of tags for the resources required: False type: list elements: str - resource_group_id: + host_pool_id: description: - - ID of the resource group. + - The ID of the cluster's associated host pool required: False type: str - zones: - description: - - (Required for new resource) Zone info - required: True - type: list - elements: dict - wait_for_worker_update: + update_all_workers: description: - - Wait for worker node to update during kube version update. + - Updates all the woker nodes if sets to true required: False type: bool - default: True - worker_labels: + default: False + disable_public_service_endpoint: description: - - Labels for default worker pool + - Boolean value true if Public service endpoint to be disabled required: False - type: dict - elements: str - host_pool_id: + type: bool + default: False + wait_till: description: - - The ID of the cluster's associated host pool + - wait_till can be configured for Master Ready, One worker Ready or Ingress Ready required: False type: str - flavor: - description: - - (Required for new resource) Cluster nodes flavour - required: True - type: str - name: + default: IngressReady + vpc_id: description: - - (Required for new resource) The cluster name + - (Required for new resource) The vpc id where the cluster is required: True type: str - force_delete_storage: + kms_config: description: - - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered + - Enables KMS on a given cluster required: False - type: bool - default: False + type: list + elements: dict kube_version: description: - Kubernetes version required: False type: str - patch_version: + cos_instance_crn: description: - - Kubernetes patch version + - A standard cloud object storage instance CRN to back up the internal registry in your OpenShift on VPC Gen 2 cluster required: False type: str id: @@ -190,40 +190,40 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('vpc_id', 'str'), - ('zones', 'list'), ('flavor', 'str'), ('name', 'str'), + ('zones', 'list'), + ('vpc_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'image_security_enforcement', - 'update_all_workers', - 'service_subnet', - 'crk', - 'kms_instance_id', - 'retry_patch_version', - 'worker_count', - 'taints', - 'cos_instance_crn', - 'vpc_id', - 'wait_till', 'entitlement', - 'kms_config', + 'force_delete_storage', + 'flavor', + 'name', + 'wait_for_worker_update', 'pod_subnet', - 'disable_public_service_endpoint', - 'tags', + 'worker_labels', 'resource_group_id', + 'crk', + 'image_security_enforcement', 'zones', - 'wait_for_worker_update', - 'worker_labels', + 'worker_count', + 'taints', + 'kms_instance_id', + 'patch_version', + 'retry_patch_version', + 'service_subnet', + 'tags', 'host_pool_id', - 'flavor', - 'name', - 'force_delete_storage', + 'update_all_workers', + 'disable_public_service_endpoint', + 'wait_till', + 'vpc_id', + 'kms_config', 'kube_version', - 'patch_version', + 'cos_instance_crn', ] # Params for Data source @@ -232,9 +232,9 @@ TL_ALL_PARAMETERS_DS = [ 'resource_group_id', + 'name', 'cluster_name_id', 'alb_type', - 'name', ] TL_CONFLICTS_MAP = { @@ -244,24 +244,41 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - image_security_enforcement=dict( + entitlement=dict( + required=False, + type='str'), + force_delete_storage=dict( required=False, type='bool'), - update_all_workers=dict( + flavor=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), + wait_for_worker_update=dict( required=False, type='bool'), - service_subnet=dict( + pod_subnet=dict( required=False, type='str'), - crk=dict( + worker_labels=dict( + required=False, + elements='', + type='dict'), + resource_group_id=dict( required=False, type='str'), - kms_instance_id=dict( + crk=dict( required=False, type='str'), - retry_patch_version=dict( + image_security_enforcement=dict( required=False, - type='int'), + type='bool'), + zones=dict( + required=False, + elements='', + type='list'), worker_count=dict( required=False, type='int'), @@ -269,62 +286,45 @@ required=False, elements='', type='list'), - cos_instance_crn=dict( - required=False, - type='str'), - vpc_id=dict( - required=False, - type='str'), - wait_till=dict( + kms_instance_id=dict( required=False, type='str'), - entitlement=dict( + patch_version=dict( required=False, type='str'), - kms_config=dict( + retry_patch_version=dict( required=False, - elements='', - type='list'), - pod_subnet=dict( + type='int'), + service_subnet=dict( required=False, type='str'), - disable_public_service_endpoint=dict( - required=False, - type='bool'), tags=dict( required=False, elements='', type='list'), - resource_group_id=dict( + host_pool_id=dict( required=False, type='str'), - zones=dict( - required=False, - elements='', - type='list'), - wait_for_worker_update=dict( + update_all_workers=dict( required=False, type='bool'), - worker_labels=dict( - required=False, - elements='', - type='dict'), - host_pool_id=dict( + disable_public_service_endpoint=dict( required=False, - type='str'), - flavor=dict( + type='bool'), + wait_till=dict( required=False, type='str'), - name=dict( + vpc_id=dict( required=False, type='str'), - force_delete_storage=dict( + kms_config=dict( required=False, - type='bool'), + elements='', + type='list'), kube_version=dict( required=False, type='str'), - patch_version=dict( + cos_instance_crn=dict( required=False, type='str'), id=dict( @@ -378,7 +378,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -387,7 +387,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_vpc_cluster_alb_info.py b/plugins/modules/ibm_container_vpc_cluster_alb_info.py index 93afda724..6f5f6fc8d 100644 --- a/plugins/modules/ibm_container_vpc_cluster_alb_info.py +++ b/plugins/modules/ibm_container_vpc_cluster_alb_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_cluster_alb' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -87,7 +87,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster_alb', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_vpc_cluster_info.py b/plugins/modules/ibm_container_vpc_cluster_info.py index 276a3eb22..9d4b37c8a 100644 --- a/plugins/modules/ibm_container_vpc_cluster_info.py +++ b/plugins/modules/ibm_container_vpc_cluster_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_cluster' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -26,17 +26,17 @@ - ID of the resource group. required: False type: str - alb_type: + name: description: - - None + - Name or id of the cluster required: False type: str - default: all - name: + alb_type: description: - - Name or id of the cluster + - None required: False type: str + default: all ibmcloud_api_key: description: - The IBM Cloud API key to authenticate with the IBM Cloud @@ -55,8 +55,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'resource_group_id', - 'alb_type', 'name', + 'alb_type', ] @@ -70,10 +70,10 @@ resource_group_id=dict( required=False, type='str'), - alb_type=dict( + name=dict( required=False, type='str'), - name=dict( + alb_type=dict( required=False, type='str'), ibmcloud_api_key=dict( @@ -96,7 +96,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_vpc_cluster_worker_info.py b/plugins/modules/ibm_container_vpc_cluster_worker_info.py index 1ab0b3cfa..5ec6315a6 100644 --- a/plugins/modules/ibm_container_vpc_cluster_worker_info.py +++ b/plugins/modules/ibm_container_vpc_cluster_worker_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_cluster_worker' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -26,14 +26,14 @@ - ID of the resource group. required: False type: str - cluster_name_id: + worker_id: description: - - Name or ID of the cluster + - ID of the worker required: True type: str - worker_id: + cluster_name_id: description: - - ID of the worker + - Name or ID of the cluster required: True type: str ibmcloud_api_key: @@ -49,15 +49,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cluster_name_id', 'str'), ('worker_id', 'str'), + ('cluster_name_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'resource_group_id', - 'cluster_name_id', 'worker_id', + 'cluster_name_id', ] @@ -71,10 +71,10 @@ resource_group_id=dict( required=False, type='str'), - cluster_name_id=dict( + worker_id=dict( required=True, type='str'), - worker_id=dict( + cluster_name_id=dict( required=True, type='str'), ibmcloud_api_key=dict( @@ -97,7 +97,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster_worker', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_vpc_cluster_worker_pool_info.py b/plugins/modules/ibm_container_vpc_cluster_worker_pool_info.py index b40b20f8f..cf7273ae3 100644 --- a/plugins/modules/ibm_container_vpc_cluster_worker_pool_info.py +++ b/plugins/modules/ibm_container_vpc_cluster_worker_pool_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_cluster_worker_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -88,7 +88,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_vpc_worker.py b/plugins/modules/ibm_container_vpc_worker.py new file mode 100644 index 000000000..59739f6ee --- /dev/null +++ b/plugins/modules/ibm_container_vpc_worker.py @@ -0,0 +1,196 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_container_vpc_worker +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/container_vpc_worker + +short_description: Configure IBM Cloud 'ibm_container_vpc_worker' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_container_vpc_worker' resource + - This module does not support idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.47.1 + - Terraform v0.12.20 + +options: + cluster_name: + description: + - (Required for new resource) Cluster name + required: True + type: str + replace_worker: + description: + - (Required for new resource) Worker name/id that needs to be replaced + required: True + type: str + resource_group_id: + description: + - ID of the resource group. + required: False + type: str + kube_config_path: + description: + - Path of downloaded cluster config + required: False + type: str + check_ptx_status: + description: + - Check portworx status after worker replace + required: False + type: bool + default: False + ptx_timeout: + description: + - Timeout for checking ptx pods/status + required: False + type: str + default: 15m + id: + description: + - (Required when updating or destroying existing resource) IBM Cloud Resource ID. + required: False + type: str + state: + description: + - State of resource + choices: + - available + - absent + default: available + required: False + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('cluster_name', 'str'), + ('replace_worker', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'cluster_name', + 'replace_worker', + 'resource_group_id', + 'kube_config_path', + 'check_ptx_status', + 'ptx_timeout', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ +] + +TL_ALL_PARAMETERS_DS = [ +] + +TL_CONFLICTS_MAP = { +} + +# define available arguments/parameters a user can pass to the module +from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform +from ansible.module_utils.basic import env_fallback +module_args = dict( + cluster_name=dict( + required=False, + type='str'), + replace_worker=dict( + required=False, + type='str'), + resource_group_id=dict( + required=False, + type='str'), + kube_config_path=dict( + required=False, + type='str'), + check_ptx_status=dict( + required=False, + type='bool'), + ptx_timeout=dict( + required=False, + type='str'), + id=dict( + required=False, + type='str'), + state=dict( + type='str', + required=False, + default='available', + choices=(['available', 'absent'])), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + # New resource required arguments checks + missing_args = [] + if module.params['id'] is None: + for arg, _ in TL_REQUIRED_PARAMETERS: + if module.params[arg] is None: + missing_args.append(arg) + if missing_args: + module.fail_json(msg=( + "missing required arguments: " + ", ".join(missing_args))) + + conflicts = {} + if len(TL_CONFLICTS_MAP) != 0: + for arg in TL_CONFLICTS_MAP: + if module.params[arg]: + for conflict in TL_CONFLICTS_MAP[arg]: + try: + if module.params[conflict]: + conflicts[arg] = conflict + except KeyError: + pass + if len(conflicts): + module.fail_json(msg=("conflicts exist: {}".format(conflicts))) + + result = ibmcloud_terraform( + resource_type='ibm_container_vpc_worker', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.47.1', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_container_vpc_worker_pool.py b/plugins/modules/ibm_container_vpc_worker_pool.py index b94d1521a..7cb8a85bb 100644 --- a/plugins/modules/ibm_container_vpc_worker_pool.py +++ b/plugins/modules/ibm_container_vpc_worker_pool.py @@ -18,37 +18,41 @@ - Create, update or destroy an IBM Cloud 'ibm_container_vpc_worker_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - labels: - description: - - Labels - required: False - type: dict - elements: str - taints: + cluster: description: - - WorkerPool Taints - required: False - type: list - elements: dict - entitlement: + - (Required for new resource) Cluster name + required: True + type: str + resource_group_id: description: - - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + - ID of the resource group. required: False type: str - cluster: + worker_count: description: - - (Required for new resource) Cluster name + - (Required for new resource) The number of workers required: True + type: int + kms_instance_id: + description: + - Instance ID for boot volume encryption + required: False type: str flavor: description: - (Required for new resource) cluster node falvor required: True type: str + labels: + description: + - Labels + required: False + type: dict + elements: str host_pool_id: description: - The ID of the dedicated host pool associated with the worker pool @@ -75,21 +79,17 @@ - (Required for new resource) The vpc id where the cluster is required: True type: str - worker_count: - description: - - (Required for new resource) The number of workers - required: True - type: int - kms_instance_id: + entitlement: description: - - Instance ID for boot volume encryption + - Entitlement option reduces additional OCP Licence cost in Openshift Clusters required: False type: str - resource_group_id: + taints: description: - - ID of the resource group. + - WorkerPool Taints required: False - type: str + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -117,28 +117,28 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('cluster', 'str'), + ('worker_count', 'int'), ('flavor', 'str'), ('worker_pool_name', 'str'), ('zones', 'list'), ('vpc_id', 'str'), - ('worker_count', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'labels', - 'taints', - 'entitlement', 'cluster', + 'resource_group_id', + 'worker_count', + 'kms_instance_id', 'flavor', + 'labels', 'host_pool_id', 'crk', 'worker_pool_name', 'zones', 'vpc_id', - 'worker_count', - 'kms_instance_id', - 'resource_group_id', + 'entitlement', + 'taints', ] # Params for Data source @@ -159,23 +159,25 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - labels=dict( - required=False, - elements='', - type='dict'), - taints=dict( + cluster=dict( required=False, - elements='', - type='list'), - entitlement=dict( + type='str'), + resource_group_id=dict( required=False, type='str'), - cluster=dict( + worker_count=dict( + required=False, + type='int'), + kms_instance_id=dict( required=False, type='str'), flavor=dict( required=False, type='str'), + labels=dict( + required=False, + elements='', + type='dict'), host_pool_id=dict( required=False, type='str'), @@ -192,15 +194,13 @@ vpc_id=dict( required=False, type='str'), - worker_count=dict( - required=False, - type='int'), - kms_instance_id=dict( + entitlement=dict( required=False, type='str'), - resource_group_id=dict( + taints=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -252,7 +252,7 @@ def run_module(): resource_type='ibm_container_vpc_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -261,7 +261,7 @@ def run_module(): resource_type='ibm_container_vpc_worker_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_vpc_worker_pool_info.py b/plugins/modules/ibm_container_vpc_worker_pool_info.py index ebd858865..7f651c22b 100644 --- a/plugins/modules/ibm_container_vpc_worker_pool_info.py +++ b/plugins/modules/ibm_container_vpc_worker_pool_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_worker_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -88,7 +88,7 @@ def run_module(): resource_type='ibm_container_vpc_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_worker_pool.py b/plugins/modules/ibm_container_worker_pool.py index bb4ec33ff..4deaa8870 100644 --- a/plugins/modules/ibm_container_worker_pool.py +++ b/plugins/modules/ibm_container_worker_pool.py @@ -18,58 +18,58 @@ - Create, update or destroy an IBM Cloud 'ibm_container_worker_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + resource_group_id: + description: + - ID of the resource group. + required: False + type: str + cluster: + description: + - (Required for new resource) Cluster name + required: True + type: str + machine_type: + description: + - (Required for new resource) worker nodes machine type + required: True + type: str size_per_zone: description: - (Required for new resource) Number of nodes per zone required: True type: int - entitlement: + hardware: description: - - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + - Hardware type required: False type: str + default: shared worker_pool_name: description: - (Required for new resource) worker pool name required: True type: str - hardware: - description: - - Hardware type - required: False - type: str - default: shared labels: description: - list of labels to worker pool required: False type: dict elements: str - resource_group_id: + entitlement: description: - - ID of the resource group. + - Entitlement option reduces additional OCP Licence cost in Openshift Clusters required: False type: str - cluster: - description: - - (Required for new resource) Cluster name - required: True - type: str disk_encryption: description: - worker node disk encrypted if set to true required: False type: bool default: True - machine_type: - description: - - (Required for new resource) worker nodes machine type - required: True - type: str taints: description: - WorkerPool Taints @@ -102,35 +102,35 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('size_per_zone', 'int'), - ('worker_pool_name', 'str'), ('cluster', 'str'), ('machine_type', 'str'), + ('size_per_zone', 'int'), + ('worker_pool_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'resource_group_id', + 'cluster', + 'machine_type', 'size_per_zone', - 'entitlement', - 'worker_pool_name', 'hardware', + 'worker_pool_name', 'labels', - 'resource_group_id', - 'cluster', + 'entitlement', 'disk_encryption', - 'machine_type', 'taints', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('worker_pool_name', 'str'), ('cluster', 'str'), + ('worker_pool_name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'worker_pool_name', 'cluster', + 'worker_pool_name', ] TL_CONFLICTS_MAP = { @@ -140,34 +140,34 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - size_per_zone=dict( + resource_group_id=dict( required=False, - type='int'), - entitlement=dict( + type='str'), + cluster=dict( required=False, type='str'), - worker_pool_name=dict( + machine_type=dict( required=False, type='str'), + size_per_zone=dict( + required=False, + type='int'), hardware=dict( required=False, type='str'), + worker_pool_name=dict( + required=False, + type='str'), labels=dict( required=False, elements='', type='dict'), - resource_group_id=dict( - required=False, - type='str'), - cluster=dict( + entitlement=dict( required=False, type='str'), disk_encryption=dict( required=False, type='bool'), - machine_type=dict( - required=False, - type='str'), taints=dict( required=False, elements='', @@ -223,7 +223,7 @@ def run_module(): resource_type='ibm_container_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -232,7 +232,7 @@ def run_module(): resource_type='ibm_container_worker_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_container_worker_pool_info.py b/plugins/modules/ibm_container_worker_pool_info.py index 442831d1a..27250e724 100644 --- a/plugins/modules/ibm_container_worker_pool_info.py +++ b/plugins/modules/ibm_container_worker_pool_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_container_worker_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - worker_pool_name: + cluster: description: - - worker pool name + - Name or ID of the cluster required: True type: str - cluster: + worker_pool_name: description: - - Name or ID of the cluster + - worker pool name required: True type: str ibmcloud_api_key: @@ -44,14 +44,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('worker_pool_name', 'str'), ('cluster', 'str'), + ('worker_pool_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'worker_pool_name', 'cluster', + 'worker_pool_name', ] @@ -62,10 +62,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - worker_pool_name=dict( + cluster=dict( required=True, type='str'), - cluster=dict( + worker_pool_name=dict( required=True, type='str'), ibmcloud_api_key=dict( @@ -88,7 +88,7 @@ def run_module(): resource_type='ibm_container_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_worker_pool_zone_attachment.py b/plugins/modules/ibm_container_worker_pool_zone_attachment.py index 0247c5b28..77e127217 100644 --- a/plugins/modules/ibm_container_worker_pool_zone_attachment.py +++ b/plugins/modules/ibm_container_worker_pool_zone_attachment.py @@ -18,21 +18,25 @@ - Create, update or destroy an IBM Cloud 'ibm_container_worker_pool_zone_attachment' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + private_vlan_id: + description: + - None + required: False + type: str worker_pool: description: - (Required for new resource) Workerpool name required: True type: str - wait_till_albs: + cluster: description: - - wait_till_albs can be configured to wait for albs during the worker pool zone attachment. - required: False - type: bool - default: True + - (Required for new resource) cluster name or ID + required: True + type: str public_vlan_id: description: - None @@ -43,21 +47,17 @@ - ID of the resource group. required: False type: str + wait_till_albs: + description: + - wait_till_albs can be configured to wait for albs during the worker pool zone attachment. + required: False + type: bool + default: True zone: description: - (Required for new resource) Zone name required: True type: str - cluster: - description: - - (Required for new resource) cluster name or ID - required: True - type: str - private_vlan_id: - description: - - None - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -85,19 +85,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('worker_pool', 'str'), - ('zone', 'str'), ('cluster', 'str'), + ('zone', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'private_vlan_id', 'worker_pool', - 'wait_till_albs', + 'cluster', 'public_vlan_id', 'resource_group_id', + 'wait_till_albs', 'zone', - 'cluster', - 'private_vlan_id', ] # Params for Data source @@ -114,25 +114,25 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + private_vlan_id=dict( + required=False, + type='str'), worker_pool=dict( required=False, type='str'), - wait_till_albs=dict( + cluster=dict( required=False, - type='bool'), + type='str'), public_vlan_id=dict( required=False, type='str'), resource_group_id=dict( required=False, type='str'), - zone=dict( - required=False, - type='str'), - cluster=dict( + wait_till_albs=dict( required=False, - type='str'), - private_vlan_id=dict( + type='bool'), + zone=dict( required=False, type='str'), id=dict( @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_container_worker_pool_zone_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cos_bucket.py b/plugins/modules/ibm_cos_bucket.py index c16422da2..a7dbea8de 100644 --- a/plugins/modules/ibm_cos_bucket.py +++ b/plugins/modules/ibm_cos_bucket.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cos_bucket' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,9 +27,14 @@ - CRN of the key you want to use data at rest encryption required: False type: str - metrics_monitoring: + region_location: description: - - Enables sending metrics to IBM Cloud Monitoring. + - Region Location info. + required: False + type: str + retention_rule: + description: + - A retention policy is enabled at the IBM Cloud Object Storage bucket level. Minimum, maximum and default retention period are defined by this policy and apply to all objects in the bucket. required: False type: list elements: dict @@ -38,20 +43,38 @@ - sets a maximum amount of storage (in bytes) available for a bucket required: False type: int + bucket_name: + description: + - (Required for new resource) COS Bucket name + required: True + type: str + endpoint_type: + description: + - public or private + required: False + type: str + default: public + activity_tracking: + description: + - Enables sending log data to Activity Tracker and LogDNA to provide visibility into object read and write events + required: False + type: list + elements: dict + metrics_monitoring: + description: + - Enables sending metrics to IBM Cloud Monitoring. + required: False + type: list + elements: dict force_delete: description: - COS buckets need to be empty before they can be deleted. force_delete option empty the bucket and delete it. required: False type: bool default: True - bucket_name: - description: - - (Required for new resource) COS Bucket name - required: True - type: str - region_location: + cross_region_location: description: - - Region Location info. + - Cros region location info required: False type: str storage_class: @@ -59,39 +82,37 @@ - Storage class info required: False type: str - expire_rule: + abort_incomplete_multipart_upload_days: description: - - Enable configuration expire_rule to COS Bucket after a defined period of time + - Enable abort incomplete multipart upload to COS Bucket after a defined period of time required: False type: list elements: dict - noncurrent_version_expiration: + satellite_location_id: description: - - Enable configuration expire_rule to COS Bucket after a defined period of time + - Provide satellite location info. required: False - type: list - elements: dict - endpoint_type: + type: str + single_site_location: description: - - public or private + - single site location info required: False type: str - default: public - abort_incomplete_multipart_upload_days: + allowed_ip: description: - - Enable abort incomplete multipart upload to COS Bucket after a defined period of time + - List of IPv4 or IPv6 addresses required: False type: list - elements: dict + elements: str archive_rule: description: - Enable configuration archive_rule (glacier/accelerated) to COS Bucket after a defined period of time required: False type: list elements: dict - retention_rule: + expire_rule: description: - - A retention policy is enabled at the IBM Cloud Object Storage bucket level. Minimum, maximum and default retention period are defined by this policy and apply to all objects in the bucket. + - Enable configuration expire_rule to COS Bucket after a defined period of time required: False type: list elements: dict @@ -101,9 +122,9 @@ required: False type: list elements: dict - activity_tracking: + noncurrent_version_expiration: description: - - Enables sending log data to Activity Tracker and LogDNA to provide visibility into object read and write events + - Enable configuration expire_rule to COS Bucket after a defined period of time required: False type: list elements: dict @@ -112,27 +133,6 @@ - (Required for new resource) resource instance ID required: True type: str - satellite_location_id: - description: - - Provide satellite location info. - required: False - type: str - single_site_location: - description: - - single site location info - required: False - type: str - cross_region_location: - description: - - Cros region location info - required: False - type: str - allowed_ip: - description: - - List of IPv4 or IPv6 addresses - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -186,25 +186,25 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'key_protect', - 'metrics_monitoring', + 'region_location', + 'retention_rule', 'hard_quota', - 'force_delete', 'bucket_name', - 'region_location', - 'storage_class', - 'expire_rule', - 'noncurrent_version_expiration', 'endpoint_type', - 'abort_incomplete_multipart_upload_days', - 'archive_rule', - 'retention_rule', - 'object_versioning', 'activity_tracking', - 'resource_instance_id', + 'metrics_monitoring', + 'force_delete', + 'cross_region_location', + 'storage_class', + 'abort_incomplete_multipart_upload_days', 'satellite_location_id', 'single_site_location', - 'cross_region_location', 'allowed_ip', + 'archive_rule', + 'expire_rule', + 'object_versioning', + 'noncurrent_version_expiration', + 'resource_instance_id', ] # Params for Data source @@ -214,23 +214,23 @@ ] TL_ALL_PARAMETERS_DS = [ - 'bucket_region', 'resource_instance_id', - 'satellite_location_id', - 'endpoint_type', 'bucket_name', 'bucket_type', + 'bucket_region', + 'satellite_location_id', + 'endpoint_type', ] TL_CONFLICTS_MAP = { 'region_location': ['cross_region_location', 'single_site_location', 'satellite_location_id'], - 'storage_class': ['satellite_location_id'], 'endpoint_type': ['satellite_location_id'], - 'object_versioning': ['retention_rule'], + 'cross_region_location': ['region_location', 'single_site_location', 'satellite_location_id'], + 'storage_class': ['satellite_location_id'], 'satellite_location_id': ['cross_region_location', 'single_site_location', 'region_location'], 'single_site_location': ['region_location', 'cross_region_location', 'satellite_location_id'], - 'cross_region_location': ['region_location', 'single_site_location', 'satellite_location_id'], 'allowed_ip': ['satellite_location_id'], + 'object_versioning': ['retention_rule'], } # define available arguments/parameters a user can pass to the module @@ -240,45 +240,58 @@ key_protect=dict( required=False, type='str'), - metrics_monitoring=dict( + region_location=dict( + required=False, + type='str'), + retention_rule=dict( required=False, elements='', type='list'), hard_quota=dict( required=False, type='int'), - force_delete=dict( - required=False, - type='bool'), bucket_name=dict( required=False, type='str'), - region_location=dict( - required=False, - type='str'), - storage_class=dict( + endpoint_type=dict( required=False, type='str'), - expire_rule=dict( + activity_tracking=dict( required=False, elements='', type='list'), - noncurrent_version_expiration=dict( + metrics_monitoring=dict( required=False, elements='', type='list'), - endpoint_type=dict( + force_delete=dict( + required=False, + type='bool'), + cross_region_location=dict( + required=False, + type='str'), + storage_class=dict( required=False, type='str'), abort_incomplete_multipart_upload_days=dict( required=False, elements='', type='list'), + satellite_location_id=dict( + required=False, + type='str'), + single_site_location=dict( + required=False, + type='str'), + allowed_ip=dict( + required=False, + elements='', + type='list'), archive_rule=dict( required=False, elements='', type='list'), - retention_rule=dict( + expire_rule=dict( required=False, elements='', type='list'), @@ -286,26 +299,13 @@ required=False, elements='', type='list'), - activity_tracking=dict( + noncurrent_version_expiration=dict( required=False, elements='', type='list'), resource_instance_id=dict( required=False, type='str'), - satellite_location_id=dict( - required=False, - type='str'), - single_site_location=dict( - required=False, - type='str'), - cross_region_location=dict( - required=False, - type='str'), - allowed_ip=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -371,7 +371,7 @@ def run_module(): resource_type='ibm_cos_bucket', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -380,7 +380,7 @@ def run_module(): resource_type='ibm_cos_bucket', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cos_bucket_info.py b/plugins/modules/ibm_cos_bucket_info.py index 0980029e3..90ec8a311 100644 --- a/plugins/modules/ibm_cos_bucket_info.py +++ b/plugins/modules/ibm_cos_bucket_info.py @@ -17,41 +17,41 @@ description: - Retrieve an IBM Cloud 'ibm_cos_bucket' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - bucket_region: + resource_instance_id: description: - None - required: False + required: True type: str - resource_instance_id: + bucket_name: description: - None required: True type: str - satellite_location_id: + bucket_type: description: - None required: False type: str - endpoint_type: + bucket_region: description: - - public or private + - None required: False type: str - default: public - bucket_name: + satellite_location_id: description: - None - required: True + required: False type: str - bucket_type: + endpoint_type: description: - - None + - public or private required: False type: str + default: public iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -91,42 +91,42 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'bucket_region', 'resource_instance_id', - 'satellite_location_id', - 'endpoint_type', 'bucket_name', 'bucket_type', + 'bucket_region', + 'satellite_location_id', + 'endpoint_type', ] TL_CONFLICTS_MAP = { + 'bucket_type': ['satellite_location_id'], 'bucket_region': ['satellite_location_id'], 'satellite_location_id': ['bucket_type', 'bucket_region'], 'endpoint_type': ['satellite_location_id'], - 'bucket_type': ['satellite_location_id'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - bucket_region=dict( - required=False, - type='str'), resource_instance_id=dict( required=True, type='str'), - satellite_location_id=dict( + bucket_name=dict( + required=True, + type='str'), + bucket_type=dict( required=False, type='str'), - endpoint_type=dict( + bucket_region=dict( required=False, type='str'), - bucket_name=dict( - required=True, + satellite_location_id=dict( + required=False, type='str'), - bucket_type=dict( + endpoint_type=dict( required=False, type='str'), iaas_classic_username=dict( @@ -163,7 +163,7 @@ def run_module(): resource_type='ibm_cos_bucket', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cos_bucket_object.py b/plugins/modules/ibm_cos_bucket_object.py index b187007db..cceed3a93 100644 --- a/plugins/modules/ibm_cos_bucket_object.py +++ b/plugins/modules/ibm_cos_bucket_object.py @@ -18,45 +18,39 @@ - Create, update or destroy an IBM Cloud 'ibm_cos_bucket_object' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - content_base64: - description: - - COS object content in base64 encoding - required: False - type: str - etag: + key: description: - - COS object MD5 hexdigest - required: False + - (Required for new resource) COS object key + required: True type: str - force_delete: - description: - - COS buckets need to be empty before they can be deleted. force_delete option empty the bucket and delete it. - required: False - type: bool - default: True endpoint_type: description: - COS endpoint type: public, private, direct required: False type: str default: public - key: + content_file: description: - - (Required for new resource) COS object key - required: True + - COS object content file path + required: False type: str - bucket_crn: + bucket_location: description: - - (Required for new resource) COS bucket CRN + - (Required for new resource) COS bucket location required: True type: str - bucket_location: + etag: description: - - (Required for new resource) COS bucket location + - COS object MD5 hexdigest + required: False + type: str + bucket_crn: + description: + - (Required for new resource) COS bucket CRN required: True type: str content: @@ -64,11 +58,17 @@ - COS object content required: False type: str - content_file: + content_base64: description: - - COS object content file path + - COS object content in base64 encoding required: False type: str + force_delete: + description: + - COS buckets need to be empty before they can be deleted. force_delete option empty the bucket and delete it. + required: False + type: bool + default: True id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -116,74 +116,74 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('key', 'str'), - ('bucket_crn', 'str'), ('bucket_location', 'str'), + ('bucket_crn', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'content_base64', - 'etag', - 'force_delete', - 'endpoint_type', 'key', - 'bucket_crn', + 'endpoint_type', + 'content_file', 'bucket_location', + 'etag', + 'bucket_crn', 'content', - 'content_file', + 'content_base64', + 'force_delete', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ ('key', 'str'), - ('bucket_crn', 'str'), ('bucket_location', 'str'), + ('bucket_crn', 'str'), ] TL_ALL_PARAMETERS_DS = [ + 'endpoint_type', 'key', - 'bucket_crn', 'bucket_location', - 'endpoint_type', + 'bucket_crn', ] TL_CONFLICTS_MAP = { - 'content_base64': ['content', 'content_file'], - 'content': ['content_base64', 'content_file'], 'content_file': ['content', 'content_base64'], + 'content': ['content_base64', 'content_file'], + 'content_base64': ['content', 'content_file'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - content_base64=dict( + key=dict( required=False, type='str'), - etag=dict( + endpoint_type=dict( required=False, type='str'), - force_delete=dict( - required=False, - type='bool'), - endpoint_type=dict( + content_file=dict( required=False, type='str'), - key=dict( + bucket_location=dict( required=False, type='str'), - bucket_crn=dict( + etag=dict( required=False, type='str'), - bucket_location=dict( + bucket_crn=dict( required=False, type='str'), content=dict( required=False, type='str'), - content_file=dict( + content_base64=dict( required=False, type='str'), + force_delete=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -249,7 +249,7 @@ def run_module(): resource_type='ibm_cos_bucket_object', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -258,7 +258,7 @@ def run_module(): resource_type='ibm_cos_bucket_object', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cos_bucket_object_info.py b/plugins/modules/ibm_cos_bucket_object_info.py index 87c786b74..75bb2449d 100644 --- a/plugins/modules/ibm_cos_bucket_object_info.py +++ b/plugins/modules/ibm_cos_bucket_object_info.py @@ -17,18 +17,19 @@ description: - Retrieve an IBM Cloud 'ibm_cos_bucket_object' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - key: + endpoint_type: description: - - COS object key - required: True + - COS endpoint type: public, private, direct + required: False type: str - bucket_crn: + default: public + key: description: - - COS bucket CRN + - COS object key required: True type: str bucket_location: @@ -36,12 +37,11 @@ - COS bucket location required: True type: str - endpoint_type: + bucket_crn: description: - - COS endpoint type: public, private, direct - required: False + - COS bucket CRN + required: True type: str - default: public iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -76,16 +76,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('key', 'str'), - ('bucket_crn', 'str'), ('bucket_location', 'str'), + ('bucket_crn', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'endpoint_type', 'key', - 'bucket_crn', 'bucket_location', - 'endpoint_type', + 'bucket_crn', ] @@ -96,17 +96,17 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - key=dict( - required=True, + endpoint_type=dict( + required=False, type='str'), - bucket_crn=dict( + key=dict( required=True, type='str'), bucket_location=dict( required=True, type='str'), - endpoint_type=dict( - required=False, + bucket_crn=dict( + required=True, type='str'), iaas_classic_username=dict( type='str', @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_cos_bucket_object', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cos_bucket_replication_rule.py b/plugins/modules/ibm_cos_bucket_replication_rule.py index c19e33fb1..add6cb01a 100644 --- a/plugins/modules/ibm_cos_bucket_replication_rule.py +++ b/plugins/modules/ibm_cos_bucket_replication_rule.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cos_bucket_replication_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_cos_bucket_replication_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cr_namespace.py b/plugins/modules/ibm_cr_namespace.py index 0cb6c2928..265cb6cde 100644 --- a/plugins/modules/ibm_cr_namespace.py +++ b/plugins/modules/ibm_cr_namespace.py @@ -18,10 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_cr_namespace' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + tags: + description: + - List of tags + required: False + type: list + elements: str name: description: - (Required for new resource) The name of the namespace. @@ -32,12 +38,6 @@ - The ID of the resource group that the namespace will be created within. required: False type: str - tags: - description: - - List of tags - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,9 +89,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'tags', 'name', 'resource_group_id', - 'tags', ] # Params for Data source @@ -108,16 +108,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + tags=dict( + required=False, + elements='', + type='list'), name=dict( required=False, type='str'), resource_group_id=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_cr_namespace', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cr_namespaces_info.py b/plugins/modules/ibm_cr_namespaces_info.py index f2eb0f8d9..ee991b005 100644 --- a/plugins/modules/ibm_cr_namespaces_info.py +++ b/plugins/modules/ibm_cr_namespaces_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cr_namespaces' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_cr_namespaces', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cr_retention_policy.py b/plugins/modules/ibm_cr_retention_policy.py index 17917d119..4647cc031 100644 --- a/plugins/modules/ibm_cr_retention_policy.py +++ b/plugins/modules/ibm_cr_retention_policy.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cr_retention_policy' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_cr_retention_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_database.py b/plugins/modules/ibm_database.py index 0f4542bd0..40b418141 100644 --- a/plugins/modules/ibm_database.py +++ b/plugins/modules/ibm_database.py @@ -18,41 +18,46 @@ - Create, update or destroy an IBM Cloud 'ibm_database' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - plan_validation: + tags: description: - - For elasticsearch and postgres perform database parameter validation during the plan phase. Otherwise, database parameter validation happens in apply phase. + - None required: False - type: bool - default: True - service: + type: list + elements: str + point_in_time_recovery_deployment_id: description: - - (Required for new resource) The name of the Cloud Internet database service - required: True + - The CRN of source instance + required: False type: str - users: + whitelist: description: - None required: False type: list elements: dict - auto_scaling: + plan: description: - - ICD Auto Scaling + - (Required for new resource) The plan type of the Database instance + required: True + type: str + plan_validation: + description: + - For elasticsearch and postgres perform database parameter validation during the plan phase. Otherwise, database parameter validation happens in apply phase. required: False - type: list - elements: dict - adminpassword: + type: bool + default: True + version: description: - - The admin user password for the instance + - The database version to provision if specified required: False type: str - backup_encryption_key_crn: + remote_leader_id: description: - - The Backup Encryption Key CRN + - The CRN of leader database required: False type: str point_in_time_recovery_time: @@ -60,11 +65,12 @@ - The point in time recovery time stamp of the deployed instance required: False type: str - name: + auto_scaling: description: - - (Required for new resource) Resource instance name for example, my Database instance - required: True - type: str + - ICD Auto Scaling + required: False + type: list + elements: dict resource_group_id: description: - The id of the resource group in which the Database instance is present @@ -76,23 +82,12 @@ required: False type: str default: public - tags: - description: - - None - required: False - type: list - elements: str - point_in_time_recovery_deployment_id: - description: - - The CRN of source instance - required: False - type: str - version: + key_protect_instance: description: - - The database version to provision if specified + - The CRN of Key protect instance required: False type: str - whitelist: + users: description: - None required: False @@ -104,41 +99,46 @@ required: False type: list elements: dict - location: - description: - - (Required for new resource) The location or the region in which Database instance exists - required: True - type: str - remote_leader_id: + adminpassword: description: - - The CRN of leader database + - The admin user password for the instance required: False type: str - key_protect_instance: + configuration: description: - - The CRN of Key protect instance + - The configuration in JSON format required: False type: str - key_protect_key: + backup_id: description: - - The CRN of Key protect key + - The CRN of backup source database required: False type: str - plan: + name: description: - - (Required for new resource) The plan type of the Database instance + - (Required for new resource) Resource instance name for example, my Database instance required: True type: str - configuration: + backup_encryption_key_crn: description: - - The configuration in JSON format + - The Backup Encryption Key CRN required: False type: str - backup_id: + key_protect_key: description: - - The CRN of backup source database + - The CRN of Key protect key required: False type: str + location: + description: + - (Required for new resource) The location or the region in which Database instance exists + required: True + type: str + service: + description: + - (Required for new resource) The name of the Cloud Internet database service + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -185,36 +185,36 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('service', 'str'), + ('plan', 'str'), ('name', 'str'), ('location', 'str'), - ('plan', 'str'), + ('service', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'plan_validation', - 'service', - 'users', - 'auto_scaling', - 'adminpassword', - 'backup_encryption_key_crn', - 'point_in_time_recovery_time', - 'name', - 'resource_group_id', - 'service_endpoints', 'tags', 'point_in_time_recovery_deployment_id', - 'version', 'whitelist', - 'group', - 'location', + 'plan', + 'plan_validation', + 'version', 'remote_leader_id', + 'point_in_time_recovery_time', + 'auto_scaling', + 'resource_group_id', + 'service_endpoints', 'key_protect_instance', - 'key_protect_key', - 'plan', + 'users', + 'group', + 'adminpassword', 'configuration', 'backup_id', + 'name', + 'backup_encryption_key_crn', + 'key_protect_key', + 'location', + 'service', ] # Params for Data source @@ -223,11 +223,11 @@ ] TL_ALL_PARAMETERS_DS = [ + 'location', 'service', 'name', - 'location', - 'tags', 'resource_group_id', + 'tags', ] TL_CONFLICTS_MAP = { @@ -238,49 +238,46 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - plan_validation=dict( + tags=dict( required=False, - type='bool'), - service=dict( + elements='', + type='list'), + point_in_time_recovery_deployment_id=dict( required=False, type='str'), - users=dict( + whitelist=dict( required=False, elements='', type='list'), - auto_scaling=dict( + plan=dict( required=False, - elements='', - type='list'), - adminpassword=dict( + type='str'), + plan_validation=dict( + required=False, + type='bool'), + version=dict( required=False, type='str'), - backup_encryption_key_crn=dict( + remote_leader_id=dict( required=False, type='str'), point_in_time_recovery_time=dict( required=False, type='str'), - name=dict( + auto_scaling=dict( required=False, - type='str'), + elements='', + type='list'), resource_group_id=dict( required=False, type='str'), service_endpoints=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), - point_in_time_recovery_deployment_id=dict( - required=False, - type='str'), - version=dict( + key_protect_instance=dict( required=False, type='str'), - whitelist=dict( + users=dict( required=False, elements='', type='list'), @@ -288,25 +285,28 @@ required=False, elements='', type='list'), - location=dict( + adminpassword=dict( required=False, type='str'), - remote_leader_id=dict( + configuration=dict( required=False, type='str'), - key_protect_instance=dict( + backup_id=dict( required=False, type='str'), - key_protect_key=dict( + name=dict( required=False, type='str'), - plan=dict( + backup_encryption_key_crn=dict( required=False, type='str'), - configuration=dict( + key_protect_key=dict( required=False, type='str'), - backup_id=dict( + location=dict( + required=False, + type='str'), + service=dict( required=False, type='str'), id=dict( @@ -374,7 +374,7 @@ def run_module(): resource_type='ibm_database', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -383,7 +383,7 @@ def run_module(): resource_type='ibm_database', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_database_backup_info.py b/plugins/modules/ibm_database_backup_info.py index a1a4c0342..3e75f6a89 100644 --- a/plugins/modules/ibm_database_backup_info.py +++ b/plugins/modules/ibm_database_backup_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_database_backup' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_database_backup', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_database_backups_info.py b/plugins/modules/ibm_database_backups_info.py index bb3673ccb..1a73a0397 100644 --- a/plugins/modules/ibm_database_backups_info.py +++ b/plugins/modules/ibm_database_backups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_database_backups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_database_backups', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_database_connection_info.py b/plugins/modules/ibm_database_connection_info.py index aa50d824c..1251b851a 100644 --- a/plugins/modules/ibm_database_connection_info.py +++ b/plugins/modules/ibm_database_connection_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_database_connection' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + user_type: + description: + - User type. + required: True + type: str endpoint_type: description: - Endpoint Type. The endpoint must be enabled on the deployment before its connection information can be fetched. @@ -36,11 +41,6 @@ - Deployment ID. required: True type: str - user_type: - description: - - User type. - required: True - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -74,18 +74,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('user_type', 'str'), ('endpoint_type', 'str'), ('user_id', 'str'), ('deployment_id', 'str'), - ('user_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'user_type', 'endpoint_type', 'user_id', 'deployment_id', - 'user_type', ] @@ -96,6 +96,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + user_type=dict( + required=True, + type='str'), endpoint_type=dict( required=True, type='str'), @@ -105,9 +108,6 @@ deployment_id=dict( required=True, type='str'), - user_type=dict( - required=True, - type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_database_connection', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_database_info.py b/plugins/modules/ibm_database_info.py index 8201e8b09..989939c73 100644 --- a/plugins/modules/ibm_database_info.py +++ b/plugins/modules/ibm_database_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_database' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + location: + description: + - The location or the region in which the Database instance exists + required: False + type: str service: description: - The name of the Cloud Database service @@ -31,9 +36,9 @@ - Resource instance name for example, my Database instance required: True type: str - location: + resource_group_id: description: - - The location or the region in which the Database instance exists + - The id of the resource group in which the Database instance is present required: False type: str tags: @@ -42,11 +47,6 @@ required: False type: list elements: str - resource_group_id: - description: - - The id of the resource group in which the Database instance is present - required: False - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -85,11 +85,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'location', 'service', 'name', - 'location', - 'tags', 'resource_group_id', + 'tags', ] @@ -100,22 +100,22 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + location=dict( + required=False, + type='str'), service=dict( required=False, type='str'), name=dict( required=True, type='str'), - location=dict( + resource_group_id=dict( required=False, type='str'), tags=dict( required=False, elements='', type='list'), - resource_group_id=dict( - required=False, - type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -150,7 +150,7 @@ def run_module(): resource_type='ibm_database', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_database_point_in_time_recovery_info.py b/plugins/modules/ibm_database_point_in_time_recovery_info.py index 514488c33..5d9dfa088 100644 --- a/plugins/modules/ibm_database_point_in_time_recovery_info.py +++ b/plugins/modules/ibm_database_point_in_time_recovery_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_database_point_in_time_recovery' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_database_point_in_time_recovery', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_database_remotes_info.py b/plugins/modules/ibm_database_remotes_info.py index 4e217b90d..dcc7aa823 100644 --- a/plugins/modules/ibm_database_remotes_info.py +++ b/plugins/modules/ibm_database_remotes_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_database_remotes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_database_remotes', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_database_task_info.py b/plugins/modules/ibm_database_task_info.py index ae49b61f7..e1bc94d6b 100644 --- a/plugins/modules/ibm_database_task_info.py +++ b/plugins/modules/ibm_database_task_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_database_task' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_database_task', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_database_tasks_info.py b/plugins/modules/ibm_database_tasks_info.py index cb12c5ec1..75798568c 100644 --- a/plugins/modules/ibm_database_tasks_info.py +++ b/plugins/modules/ibm_database_tasks_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_database_tasks' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_database_tasks', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_gateway.py b/plugins/modules/ibm_dl_gateway.py index b6bc129ce..53f793bef 100644 --- a/plugins/modules/ibm_dl_gateway.py +++ b/plugins/modules/ibm_dl_gateway.py @@ -18,33 +18,63 @@ - Create, update or destroy an IBM Cloud 'ibm_dl_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - bfd_multiplier: + bfd_status: description: - - BFD Multiplier + - Gateway BFD status required: False - type: int - customer_name: + type: str + loa_reject_reason: description: - - Customer name + - Loa reject reason required: False type: str + global_: + description: + - (Required for new resource) Gateways with global routing (true) can connect to networks outside their associated region + required: True + type: bool cross_connect_router: description: - Cross connect router required: False type: str - bgp_base_cidr: + port: description: - - BGP base CIDR + - Gateway port required: False type: str - port: + speed_mbps: description: - - Gateway port + - (Required for new resource) Gateway speed in megabits per second + required: True + type: int + authentication_key: + description: + - BGP MD5 authentication key + required: False + type: str + bfd_interval: + description: + - BFD Interval + required: False + type: int + metered: + description: + - (Required for new resource) Metered billing option + required: True + type: bool + carrier_name: + description: + - Carrier name + required: False + type: str + customer_name: + description: + - Customer name required: False type: str macsec_config: @@ -53,97 +83,73 @@ required: False type: list elements: dict - bgp_ibm_cidr: + connection_mode: description: - - BGP IBM CIDR + - Type of services this Gateway is attached to. Mode transit means this Gateway will be attached to Transit Gateway Service and direct means this Gateway will be attached to vpc or classic connection required: False type: str - resource_group: + location_name: description: - - Gateway resource group + - Gateway location required: False type: str - authentication_key: + bgp_ibm_cidr: description: - - BGP MD5 authentication key + - BGP IBM CIDR required: False type: str - bfd_status: + bfd_multiplier: description: - - Gateway BFD status + - BFD Multiplier required: False - type: str - speed_mbps: - description: - - (Required for new resource) Gateway speed in megabits per second - required: True type: int - type: + bgp_base_cidr: description: - - (Required for new resource) Gateway type - required: True + - BGP base CIDR + required: False type: str - bgp_cer_cidr: + tags: description: - - BGP customer edge router CIDR + - Tags for the direct link gateway required: False - type: str - bfd_interval: + type: list + elements: str + as_prepends: description: - - BFD Interval + - List of AS Prepend configuration information required: False - type: int + type: list + elements: dict bfd_status_updated_at: description: - Date and time BFD status was updated required: False type: str - connection_mode: - description: - - Type of services this Gateway is attached to. Mode transit means this Gateway will be attached to Transit Gateway Service and direct means this Gateway will be attached to vpc or classic connection - required: False - type: str - metered: + bgp_asn: description: - - (Required for new resource) Metered billing option + - (Required for new resource) BGP ASN required: True - type: bool + type: int name: description: - (Required for new resource) The unique user-defined name for this gateway required: True type: str - global_: + type: description: - - (Required for new resource) Gateways with global routing (true) can connect to networks outside their associated region + - (Required for new resource) Gateway type required: True - type: bool - location_name: - description: - - Gateway location - required: False type: str - carrier_name: + bgp_cer_cidr: description: - - Carrier name + - BGP customer edge router CIDR required: False type: str - loa_reject_reason: + resource_group: description: - - Loa reject reason + - Gateway resource group required: False type: str - bgp_asn: - description: - - (Required for new resource) BGP ASN - required: True - type: int - tags: - description: - - Tags for the direct link gateway - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -190,40 +196,41 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('global_', 'bool'), ('speed_mbps', 'int'), - ('type', 'str'), ('metered', 'bool'), - ('name', 'str'), - ('global_', 'bool'), ('bgp_asn', 'int'), + ('name', 'str'), + ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'bfd_multiplier', - 'customer_name', + 'bfd_status', + 'loa_reject_reason', + 'global_', 'cross_connect_router', - 'bgp_base_cidr', 'port', - 'macsec_config', - 'bgp_ibm_cidr', - 'resource_group', - 'authentication_key', - 'bfd_status', 'speed_mbps', - 'type', - 'bgp_cer_cidr', + 'authentication_key', 'bfd_interval', - 'bfd_status_updated_at', - 'connection_mode', 'metered', - 'name', - 'global_', - 'location_name', 'carrier_name', - 'loa_reject_reason', - 'bgp_asn', + 'customer_name', + 'macsec_config', + 'connection_mode', + 'location_name', + 'bgp_ibm_cidr', + 'bfd_multiplier', + 'bgp_base_cidr', 'tags', + 'as_prepends', + 'bfd_status_updated_at', + 'bgp_asn', + 'name', + 'type', + 'bgp_cer_cidr', + 'resource_group', ] # Params for Data source @@ -243,80 +250,84 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - bfd_multiplier=dict( + bfd_status=dict( required=False, - type='int'), - customer_name=dict( + type='str'), + loa_reject_reason=dict( required=False, type='str'), + global_=dict( + required=False, + type='bool'), cross_connect_router=dict( required=False, type='str'), - bgp_base_cidr=dict( + port=dict( required=False, type='str'), - port=dict( + speed_mbps=dict( + required=False, + type='int'), + authentication_key=dict( + required=False, + type='str'), + bfd_interval=dict( + required=False, + type='int'), + metered=dict( + required=False, + type='bool'), + carrier_name=dict( + required=False, + type='str'), + customer_name=dict( required=False, type='str'), macsec_config=dict( required=False, elements='', type='list'), - bgp_ibm_cidr=dict( - required=False, - type='str'), - resource_group=dict( + connection_mode=dict( required=False, type='str'), - authentication_key=dict( + location_name=dict( required=False, type='str'), - bfd_status=dict( + bgp_ibm_cidr=dict( required=False, type='str'), - speed_mbps=dict( + bfd_multiplier=dict( required=False, type='int'), - type=dict( + bgp_base_cidr=dict( required=False, type='str'), - bgp_cer_cidr=dict( + tags=dict( required=False, - type='str'), - bfd_interval=dict( + elements='', + type='list'), + as_prepends=dict( required=False, - type='int'), + elements='', + type='list'), bfd_status_updated_at=dict( required=False, type='str'), - connection_mode=dict( - required=False, - type='str'), - metered=dict( + bgp_asn=dict( required=False, - type='bool'), + type='int'), name=dict( required=False, type='str'), - global_=dict( - required=False, - type='bool'), - location_name=dict( + type=dict( required=False, type='str'), - carrier_name=dict( + bgp_cer_cidr=dict( required=False, type='str'), - loa_reject_reason=dict( + resource_group=dict( required=False, type='str'), - bgp_asn=dict( - required=False, - type='int'), - tags=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -382,7 +393,7 @@ def run_module(): resource_type='ibm_dl_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -391,7 +402,7 @@ def run_module(): resource_type='ibm_dl_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_dl_gateway_info.py b/plugins/modules/ibm_dl_gateway_info.py index aa94f56ec..11f165174 100644 --- a/plugins/modules/ibm_dl_gateway_info.py +++ b/plugins/modules/ibm_dl_gateway_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dl_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_gateways_info.py b/plugins/modules/ibm_dl_gateways_info.py index 5bfdceb1c..e35e0fd45 100644 --- a/plugins/modules/ibm_dl_gateways_info.py +++ b/plugins/modules/ibm_dl_gateways_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_gateways' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_dl_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_locations_info.py b/plugins/modules/ibm_dl_locations_info.py index b39ae870c..91f159bd3 100644 --- a/plugins/modules/ibm_dl_locations_info.py +++ b/plugins/modules/ibm_dl_locations_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_locations' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dl_locations', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_offering_speeds_info.py b/plugins/modules/ibm_dl_offering_speeds_info.py index 246b06357..7589bd89a 100644 --- a/plugins/modules/ibm_dl_offering_speeds_info.py +++ b/plugins/modules/ibm_dl_offering_speeds_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_offering_speeds' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dl_offering_speeds', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_port_info.py b/plugins/modules/ibm_dl_port_info.py index 80739865c..d5e460429 100644 --- a/plugins/modules/ibm_dl_port_info.py +++ b/plugins/modules/ibm_dl_port_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_port' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dl_port', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_ports_info.py b/plugins/modules/ibm_dl_ports_info.py index 5e0031864..cdd2e28a8 100644 --- a/plugins/modules/ibm_dl_ports_info.py +++ b/plugins/modules/ibm_dl_ports_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_ports' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_dl_ports', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_provider_gateway.py b/plugins/modules/ibm_dl_provider_gateway.py index f600f8505..d9e3fc704 100644 --- a/plugins/modules/ibm_dl_provider_gateway.py +++ b/plugins/modules/ibm_dl_provider_gateway.py @@ -18,15 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_dl_provider_gateway' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: + customer_account_id: description: - - (Required for new resource) The unique user-defined name for this gateway + - (Required for new resource) Customer IBM Cloud account ID for the new gateway. A gateway object containing the pending create request will become available in the specified account. required: True type: str + vlan: + description: + - VLAN allocated for this gateway + required: False + type: int tags: description: - Tags for the direct link gateway @@ -48,26 +53,21 @@ - (Required for new resource) Gateway port required: True type: str + name: + description: + - (Required for new resource) The unique user-defined name for this gateway + required: True + type: str speed_mbps: description: - (Required for new resource) Gateway speed in megabits per second required: True type: int - vlan: - description: - - VLAN allocated for this gateway - required: False - type: int bgp_asn: description: - (Required for new resource) BGP ASN required: True type: int - customer_account_id: - description: - - (Required for new resource) Customer IBM Cloud account ID for the new gateway. A gateway object containing the pending create request will become available in the specified account. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -114,24 +114,24 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), + ('customer_account_id', 'str'), ('port', 'str'), + ('name', 'str'), ('speed_mbps', 'int'), ('bgp_asn', 'int'), - ('customer_account_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', + 'customer_account_id', + 'vlan', 'tags', 'bgp_cer_cidr', 'bgp_ibm_cidr', 'port', + 'name', 'speed_mbps', - 'vlan', 'bgp_asn', - 'customer_account_id', ] # Params for Data source @@ -148,9 +148,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + customer_account_id=dict( required=False, type='str'), + vlan=dict( + required=False, + type='int'), tags=dict( required=False, elements='', @@ -164,18 +167,15 @@ port=dict( required=False, type='str'), - speed_mbps=dict( + name=dict( required=False, - type='int'), - vlan=dict( + type='str'), + speed_mbps=dict( required=False, type='int'), bgp_asn=dict( required=False, type='int'), - customer_account_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -241,7 +241,7 @@ def run_module(): resource_type='ibm_dl_provider_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_provider_gateways_info.py b/plugins/modules/ibm_dl_provider_gateways_info.py index 2c06ba1aa..ef34521ac 100644 --- a/plugins/modules/ibm_dl_provider_gateways_info.py +++ b/plugins/modules/ibm_dl_provider_gateways_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_provider_gateways' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_dl_provider_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_provider_ports_info.py b/plugins/modules/ibm_dl_provider_ports_info.py index 3eb98198e..54be2989a 100644 --- a/plugins/modules/ibm_dl_provider_ports_info.py +++ b/plugins/modules/ibm_dl_provider_ports_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_provider_ports' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_dl_provider_ports', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_route_report.py b/plugins/modules/ibm_dl_route_report.py new file mode 100644 index 000000000..b91ff5553 --- /dev/null +++ b/plugins/modules/ibm_dl_route_report.py @@ -0,0 +1,196 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_dl_route_report +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/dl_route_report + +short_description: Configure IBM Cloud 'ibm_dl_route_report' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_dl_route_report' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.47.1 + - Terraform v0.12.20 + +options: + gateway: + description: + - (Required for new resource) The Direct Link gateway identifier + required: True + type: str + id: + description: + - (Required when updating or destroying existing resource) IBM Cloud Resource ID. + required: False + type: str + state: + description: + - State of resource + choices: + - available + - absent + default: available + required: False + iaas_classic_username: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure (SoftLayer) user name. This can also be provided + via the environment variable 'IAAS_CLASSIC_USERNAME'. + required: False + iaas_classic_api_key: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure API key. This can also be provided via the + environment variable 'IAAS_CLASSIC_API_KEY'. + required: False + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('gateway', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'gateway', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('gateway', 'str'), + ('route_report', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'gateway', + 'route_report', +] + +TL_CONFLICTS_MAP = { +} + +# define available arguments/parameters a user can pass to the module +from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform +from ansible.module_utils.basic import env_fallback +module_args = dict( + gateway=dict( + required=False, + type='str'), + id=dict( + required=False, + type='str'), + state=dict( + type='str', + required=False, + default='available', + choices=(['available', 'absent'])), + iaas_classic_username=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_USERNAME']), + required=False), + iaas_classic_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_API_KEY']), + required=False), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + # New resource required arguments checks + missing_args = [] + if module.params['id'] is None: + for arg, _ in TL_REQUIRED_PARAMETERS: + if module.params[arg] is None: + missing_args.append(arg) + if missing_args: + module.fail_json(msg=( + "missing required arguments: " + ", ".join(missing_args))) + + conflicts = {} + if len(TL_CONFLICTS_MAP) != 0: + for arg in TL_CONFLICTS_MAP: + if module.params[arg]: + for conflict in TL_CONFLICTS_MAP[arg]: + try: + if module.params[conflict]: + conflicts[arg] = conflict + except KeyError: + pass + if len(conflicts): + module.fail_json(msg=("conflicts exist: {}".format(conflicts))) + + result_ds = ibmcloud_terraform( + resource_type='ibm_dl_route_report', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.47.1', + tl_required_params=TL_REQUIRED_PARAMETERS_DS, + tl_all_params=TL_ALL_PARAMETERS_DS) + + if result_ds['rc'] != 0 or (result_ds['rc'] == 0 and (module.params['id'] is not None or module.params['state'] == 'absent')): + result = ibmcloud_terraform( + resource_type='ibm_dl_route_report', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.47.1', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + else: + module.exit_json(**result_ds) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_dl_route_report_info.py b/plugins/modules/ibm_dl_route_report_info.py new file mode 100644 index 000000000..d5b2c69a4 --- /dev/null +++ b/plugins/modules/ibm_dl_route_report_info.py @@ -0,0 +1,141 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_dl_route_report_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/dl_route_report + +short_description: Retrieve IBM Cloud 'ibm_dl_route_report' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_dl_route_report' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.47.1 + - Terraform v0.12.20 + +options: + gateway: + description: + - The Direct Link gateway identifier + required: True + type: str + route_report: + description: + - Id of the route report + required: True + type: str + iaas_classic_username: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure (SoftLayer) user name. This can also be provided + via the environment variable 'IAAS_CLASSIC_USERNAME'. + required: False + iaas_classic_api_key: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure API key. This can also be provided via the + environment variable 'IAAS_CLASSIC_API_KEY'. + required: False + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('gateway', 'str'), + ('route_report', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'gateway', + 'route_report', +] + + +TL_CONFLICTS_MAP = { +} + +# define available arguments/parameters a user can pass to the module +from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform +from ansible.module_utils.basic import env_fallback +module_args = dict( + gateway=dict( + required=True, + type='str'), + route_report=dict( + required=True, + type='str'), + iaas_classic_username=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_USERNAME']), + required=False), + iaas_classic_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_API_KEY']), + required=False), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + result = ibmcloud_terraform( + resource_type='ibm_dl_route_report', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.47.1', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_dl_route_reports_info.py b/plugins/modules/ibm_dl_route_reports_info.py new file mode 100644 index 000000000..af0b4923c --- /dev/null +++ b/plugins/modules/ibm_dl_route_reports_info.py @@ -0,0 +1,131 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_dl_route_reports_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/dl_route_reports + +short_description: Retrieve IBM Cloud 'ibm_dl_route_reports' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_dl_route_reports' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.47.1 + - Terraform v0.12.20 + +options: + gateway: + description: + - The Direct Link gateway identifier + required: True + type: str + iaas_classic_username: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure (SoftLayer) user name. This can also be provided + via the environment variable 'IAAS_CLASSIC_USERNAME'. + required: False + iaas_classic_api_key: + description: + - (Required when generation = 1) The IBM Cloud Classic + Infrastructure API key. This can also be provided via the + environment variable 'IAAS_CLASSIC_API_KEY'. + required: False + region: + description: + - The IBM Cloud region where you want to create your + resources. If this value is not specified, us-south is + used by default. This can also be provided via the + environment variable 'IC_REGION'. + default: us-south + required: False + ibmcloud_api_key: + description: + - The IBM Cloud API key to authenticate with the IBM Cloud + platform. This can also be provided via the environment + variable 'IC_API_KEY'. + required: True + +author: + - Jay Carman (@jaywcarman) +''' + +# Top level parameter keys required by Terraform module +TL_REQUIRED_PARAMETERS = [ + ('gateway', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'gateway', +] + + +TL_CONFLICTS_MAP = { +} + +# define available arguments/parameters a user can pass to the module +from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform +from ansible.module_utils.basic import env_fallback +module_args = dict( + gateway=dict( + required=True, + type='str'), + iaas_classic_username=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_USERNAME']), + required=False), + iaas_classic_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IAAS_CLASSIC_API_KEY']), + required=False), + region=dict( + type='str', + fallback=(env_fallback, ['IC_REGION']), + default='us-south'), + ibmcloud_api_key=dict( + type='str', + no_log=True, + fallback=(env_fallback, ['IC_API_KEY']), + required=True) +) + + +def run_module(): + from ansible.module_utils.basic import AnsibleModule + + module = AnsibleModule( + argument_spec=module_args, + supports_check_mode=False + ) + + result = ibmcloud_terraform( + resource_type='ibm_dl_route_reports', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.47.1', + tl_required_params=TL_REQUIRED_PARAMETERS, + tl_all_params=TL_ALL_PARAMETERS) + + if result['rc'] > 0: + module.fail_json( + msg=Terraform.parse_stderr(result['stderr']), **result) + + module.exit_json(**result) + + +def main(): + run_module() + + +if __name__ == '__main__': + main() diff --git a/plugins/modules/ibm_dl_routers_info.py b/plugins/modules/ibm_dl_routers_info.py index 29c413a4e..a94601c63 100644 --- a/plugins/modules/ibm_dl_routers_info.py +++ b/plugins/modules/ibm_dl_routers_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_dl_routers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - offering_type: + location_name: description: - - The Direct Link offering type + - The name of the Direct Link location required: True type: str - location_name: + offering_type: description: - - The name of the Direct Link location + - The Direct Link offering type required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('offering_type', 'str'), ('location_name', 'str'), + ('offering_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'offering_type', 'location_name', + 'offering_type', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - offering_type=dict( + location_name=dict( required=True, type='str'), - location_name=dict( + offering_type=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_dl_routers', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_virtual_connection.py b/plugins/modules/ibm_dl_virtual_connection.py index e8fe06102..d058b3c54 100644 --- a/plugins/modules/ibm_dl_virtual_connection.py +++ b/plugins/modules/ibm_dl_virtual_connection.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_dl_virtual_connection' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - type: - description: - - (Required for new resource) The type of virtual connection.Allowable values (classic,vpc) - required: True - type: str - name: - description: - - (Required for new resource) The user-defined name for this virtual connection. Virtualconnection names are unique within a gateway. This is the name of thevirtual connection itself, the network being connected may have its ownname attribute - required: True - type: str network_id: description: - Unique identifier of the target network. For type=vpc virtual connections this is the CRN of the target VPC. This field does not apply to type=classic connections. @@ -42,6 +32,16 @@ - (Required for new resource) The Direct Link gateway identifier required: True type: str + type: + description: + - (Required for new resource) The type of virtual connection.Allowable values (classic,vpc) + required: True + type: str + name: + description: + - (Required for new resource) The user-defined name for this virtual connection. Virtualconnection names are unique within a gateway. This is the name of thevirtual connection itself, the network being connected may have its ownname attribute + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -88,17 +88,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('gateway', 'str'), ('type', 'str'), ('name', 'str'), - ('gateway', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'type', - 'name', 'network_id', 'gateway', + 'type', + 'name', ] # Params for Data source @@ -115,16 +115,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - type=dict( + network_id=dict( required=False, type='str'), - name=dict( + gateway=dict( required=False, type='str'), - network_id=dict( + type=dict( required=False, type='str'), - gateway=dict( + name=dict( required=False, type='str'), id=dict( @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_dl_virtual_connection', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_custom_resolver.py b/plugins/modules/ibm_dns_custom_resolver.py index 884de8702..c1ec4eb9b 100644 --- a/plugins/modules/ibm_dns_custom_resolver.py +++ b/plugins/modules/ibm_dns_custom_resolver.py @@ -18,16 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_custom_resolver' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - high_availability: - description: - - Whether High Availability is enabled in custom resolver - required: False - type: bool - default: True name: description: - (Required for new resource) Name of the custom resolver @@ -38,12 +32,6 @@ - Descriptive text of the custom resolver. required: False type: str - enabled: - description: - - Whether the custom resolver is enabled - required: False - type: bool - default: True locations: description: - Locations on which the custom resolver will be running @@ -55,6 +43,18 @@ - (Required for new resource) Instance ID required: True type: str + enabled: + description: + - Whether the custom resolver is enabled + required: False + type: bool + default: True + high_availability: + description: + - Whether High Availability is enabled in custom resolver + required: False + type: bool + default: True id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -107,12 +107,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'high_availability', 'name', 'description', - 'enabled', 'locations', 'instance_id', + 'enabled', + 'high_availability', ] # Params for Data source @@ -129,18 +129,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - high_availability=dict( - required=False, - type='bool'), name=dict( required=False, type='str'), description=dict( required=False, type='str'), - enabled=dict( - required=False, - type='bool'), locations=dict( required=False, elements='', @@ -148,6 +142,12 @@ instance_id=dict( required=False, type='str'), + enabled=dict( + required=False, + type='bool'), + high_availability=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -213,7 +213,7 @@ def run_module(): resource_type='ibm_dns_custom_resolver', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_custom_resolver_forwarding_rule.py b/plugins/modules/ibm_dns_custom_resolver_forwarding_rule.py index 9e614fd9c..431068dba 100644 --- a/plugins/modules/ibm_dns_custom_resolver_forwarding_rule.py +++ b/plugins/modules/ibm_dns_custom_resolver_forwarding_rule.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_custom_resolver_forwarding_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + description: + description: + - Descriptive text of the forwarding rule. + required: False + type: str type: description: - Type of the forwarding rule. @@ -48,11 +53,6 @@ - (Required for new resource) The unique identifier of a custom resolver. required: True type: str - description: - description: - - Descriptive text of the forwarding rule. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -105,12 +105,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'description', 'type', 'match', 'forward_to', 'instance_id', 'resolver_id', - 'description', ] # Params for Data source @@ -127,6 +127,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + description=dict( + required=False, + type='str'), type=dict( required=False, type='str'), @@ -143,9 +146,6 @@ resolver_id=dict( required=False, type='str'), - description=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -211,7 +211,7 @@ def run_module(): resource_type='ibm_dns_custom_resolver_forwarding_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_custom_resolver_forwarding_rules_info.py b/plugins/modules/ibm_dns_custom_resolver_forwarding_rules_info.py index d323eb906..08d5bd522 100644 --- a/plugins/modules/ibm_dns_custom_resolver_forwarding_rules_info.py +++ b/plugins/modules/ibm_dns_custom_resolver_forwarding_rules_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_dns_custom_resolver_forwarding_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - resolver_id: + instance_id: description: - - The unique identifier of a custom resolver. + - The unique identifier of a service instance. required: True type: str - instance_id: + resolver_id: description: - - The unique identifier of a service instance. + - The unique identifier of a custom resolver. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('resolver_id', 'str'), ('instance_id', 'str'), + ('resolver_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resolver_id', 'instance_id', + 'resolver_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resolver_id=dict( + instance_id=dict( required=True, type='str'), - instance_id=dict( + resolver_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_dns_custom_resolver_forwarding_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_custom_resolver_location.py b/plugins/modules/ibm_dns_custom_resolver_location.py index aeebd908c..e71bc899b 100644 --- a/plugins/modules/ibm_dns_custom_resolver_location.py +++ b/plugins/modules/ibm_dns_custom_resolver_location.py @@ -18,21 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_custom_resolver_location' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - subnet_crn: - description: - - (Required for new resource) CRLocation Subnet CRN - required: True - type: str - enabled: - description: - - CRLocation Enabled - required: False - type: bool - default: False cr_enabled: description: - None @@ -49,6 +38,17 @@ - (Required for new resource) Custom Resolver ID required: True type: str + subnet_crn: + description: + - (Required for new resource) CRLocation Subnet CRN + required: True + type: str + enabled: + description: + - CRLocation Enabled + required: False + type: bool + default: False id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -95,18 +95,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('subnet_crn', 'str'), ('instance_id', 'str'), ('resolver_id', 'str'), + ('subnet_crn', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'subnet_crn', - 'enabled', 'cr_enabled', 'instance_id', 'resolver_id', + 'subnet_crn', + 'enabled', ] # Params for Data source @@ -123,12 +123,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - subnet_crn=dict( - required=False, - type='str'), - enabled=dict( - required=False, - type='bool'), cr_enabled=dict( required=False, type='bool'), @@ -138,6 +132,12 @@ resolver_id=dict( required=False, type='str'), + subnet_crn=dict( + required=False, + type='str'), + enabled=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -203,7 +203,7 @@ def run_module(): resource_type='ibm_dns_custom_resolver_location', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_custom_resolver_secondary_zone.py b/plugins/modules/ibm_dns_custom_resolver_secondary_zone.py index 483a5715d..de5d3db78 100644 --- a/plugins/modules/ibm_dns_custom_resolver_secondary_zone.py +++ b/plugins/modules/ibm_dns_custom_resolver_secondary_zone.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_custom_resolver_secondary_zone' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - resolver_id: + instance_id: description: - - (Required for new resource) The unique identifier of a custom resolver. + - (Required for new resource) The unique identifier of a service instance. required: True type: str zone: @@ -32,6 +32,11 @@ - (Required for new resource) The name of the zone. required: True type: str + resolver_id: + description: + - (Required for new resource) The unique identifier of a custom resolver. + required: True + type: str transfer_from: description: - (Required for new resource) The addresses of DNS servers where the secondary zone data should be transferred from @@ -48,11 +53,6 @@ - Descriptive text of the secondary zone required: False type: str - instance_id: - description: - - (Required for new resource) The unique identifier of a service instance. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,21 +99,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('resolver_id', 'str'), + ('instance_id', 'str'), ('zone', 'str'), + ('resolver_id', 'str'), ('transfer_from', 'list'), ('enabled', 'bool'), - ('instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resolver_id', + 'instance_id', 'zone', + 'resolver_id', 'transfer_from', 'enabled', 'description', - 'instance_id', ] # Params for Data source @@ -130,12 +130,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resolver_id=dict( + instance_id=dict( required=False, type='str'), zone=dict( required=False, type='str'), + resolver_id=dict( + required=False, + type='str'), transfer_from=dict( required=False, elements='', @@ -146,9 +149,6 @@ description=dict( required=False, type='str'), - instance_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -214,7 +214,7 @@ def run_module(): resource_type='ibm_dns_custom_resolver_secondary_zone', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_custom_resolver_secondary_zones_info.py b/plugins/modules/ibm_dns_custom_resolver_secondary_zones_info.py index 04817790f..ca7e2994e 100644 --- a/plugins/modules/ibm_dns_custom_resolver_secondary_zones_info.py +++ b/plugins/modules/ibm_dns_custom_resolver_secondary_zones_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_custom_resolver_secondary_zones' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_dns_custom_resolver_secondary_zones', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_custom_resolvers_info.py b/plugins/modules/ibm_dns_custom_resolvers_info.py index 2c2d399bf..1f2fc2078 100644 --- a/plugins/modules/ibm_dns_custom_resolvers_info.py +++ b/plugins/modules/ibm_dns_custom_resolvers_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_custom_resolvers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dns_custom_resolvers', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_domain.py b/plugins/modules/ibm_dns_domain.py index 0c6db40c6..630720298 100644 --- a/plugins/modules/ibm_dns_domain.py +++ b/plugins/modules/ibm_dns_domain.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_domain' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_dns_domain', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -194,7 +194,7 @@ def run_module(): resource_type='ibm_dns_domain', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_dns_domain_info.py b/plugins/modules/ibm_dns_domain_info.py index 24d5fd29f..a20ebfbbd 100644 --- a/plugins/modules/ibm_dns_domain_info.py +++ b/plugins/modules/ibm_dns_domain_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_domain' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dns_domain', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_domain_registration_info.py b/plugins/modules/ibm_dns_domain_registration_info.py index ad0f70d65..1f40741e0 100644 --- a/plugins/modules/ibm_dns_domain_registration_info.py +++ b/plugins/modules/ibm_dns_domain_registration_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_domain_registration' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dns_domain_registration', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_domain_registration_nameservers.py b/plugins/modules/ibm_dns_domain_registration_nameservers.py index da6da81d9..435c15cd5 100644 --- a/plugins/modules/ibm_dns_domain_registration_nameservers.py +++ b/plugins/modules/ibm_dns_domain_registration_nameservers.py @@ -18,21 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_domain_registration_nameservers' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - dns_registration_id: - description: - - (Required for new resource) DNS registration ID - required: True - type: str name_servers: description: - (Required for new resource) Custom name servers for the domain registration required: True type: list elements: str + dns_registration_id: + description: + - (Required for new resource) DNS registration ID + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -79,14 +79,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('dns_registration_id', 'str'), ('name_servers', 'list'), + ('dns_registration_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'dns_registration_id', 'name_servers', + 'dns_registration_id', ] # Params for Data source @@ -103,13 +103,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - dns_registration_id=dict( - required=False, - type='str'), name_servers=dict( required=False, elements='', type='list'), + dns_registration_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -175,7 +175,7 @@ def run_module(): resource_type='ibm_dns_domain_registration_nameservers', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_glb.py b/plugins/modules/ibm_dns_glb.py index ee5513b0f..e5c0cdb4f 100644 --- a/plugins/modules/ibm_dns_glb.py +++ b/plugins/modules/ibm_dns_glb.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_glb' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -48,28 +48,28 @@ required: False type: int default: 60 - fallback_pool: - description: - - (Required for new resource) The pool ID to use when all other pools are detected as unhealthy - required: True - type: str default_pools: description: - (Required for new resource) A list of pool IDs ordered by their failover priority required: True type: list elements: str + name: + description: + - (Required for new resource) Name of the load balancer + required: True + type: str + fallback_pool: + description: + - (Required for new resource) The pool ID to use when all other pools are detected as unhealthy + required: True + type: str az_pools: description: - Map availability zones to pool ID's. required: False type: list elements: dict - name: - description: - - (Required for new resource) Name of the load balancer - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -118,9 +118,9 @@ TL_REQUIRED_PARAMETERS = [ ('instance_id', 'str'), ('zone_id', 'str'), - ('fallback_pool', 'str'), ('default_pools', 'list'), ('name', 'str'), + ('fallback_pool', 'str'), ] # All top level parameter keys supported by Terraform module @@ -130,10 +130,10 @@ 'description', 'enabled', 'ttl', - 'fallback_pool', 'default_pools', - 'az_pools', 'name', + 'fallback_pool', + 'az_pools', ] # Params for Data source @@ -165,20 +165,20 @@ ttl=dict( required=False, type='int'), - fallback_pool=dict( - required=False, - type='str'), default_pools=dict( required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), + fallback_pool=dict( + required=False, + type='str'), az_pools=dict( required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -244,7 +244,7 @@ def run_module(): resource_type='ibm_dns_glb', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_glb_monitor.py b/plugins/modules/ibm_dns_glb_monitor.py index 8552844c7..93bc01818 100644 --- a/plugins/modules/ibm_dns_glb_monitor.py +++ b/plugins/modules/ibm_dns_glb_monitor.py @@ -18,23 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_glb_monitor' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - path: - description: - - The endpoint path to health check against - required: False - type: str - expected_body: - description: - - A case-insensitive sub-string to look for in the response body - required: False - type: str - instance_id: + name: description: - - (Required for new resource) Instance Id + - (Required for new resource) The unique identifier of a service instance. required: True type: str description: @@ -42,18 +32,16 @@ - Descriptive text of the load balancer monitor required: False type: str - type: + expected_codes: description: - - The protocol to use for the health check + - The expected HTTP response code or code range of the health check. This parameter is only valid for HTTP and HTTPS required: False type: str - default: HTTP - interval: + instance_id: description: - - The interval between each health check - required: False - type: int - default: 60 + - (Required for new resource) Instance Id + required: True + type: str timeout: description: - The timeout (in seconds) before marking the health check as failed @@ -66,37 +54,49 @@ required: False type: list elements: dict - port: + allow_insecure: description: - - Port number to connect to for the health check + - Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTPS monitors. required: False - type: int - retries: + type: bool + interval: description: - - The number of retries to attempt in case of a timeout before marking the origin as unhealthy + - The interval between each health check required: False type: int - default: 1 + default: 60 method: description: - The method to use for the health check required: False type: str - allow_insecure: + type: description: - - Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTPS monitors. + - The protocol to use for the health check required: False - type: bool - expected_codes: + type: str + default: HTTP + retries: description: - - The expected HTTP response code or code range of the health check. This parameter is only valid for HTTP and HTTPS + - The number of retries to attempt in case of a timeout before marking the origin as unhealthy + required: False + type: int + default: 1 + path: + description: + - The endpoint path to health check against required: False type: str - name: + expected_body: description: - - (Required for new resource) The unique identifier of a service instance. - required: True + - A case-insensitive sub-string to look for in the response body + required: False type: str + port: + description: + - Port number to connect to for the health check + required: False + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -143,26 +143,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_id', 'str'), ('name', 'str'), + ('instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'path', - 'expected_body', - 'instance_id', + 'name', 'description', - 'type', - 'interval', + 'expected_codes', + 'instance_id', 'timeout', 'headers', - 'port', - 'retries', - 'method', 'allow_insecure', - 'expected_codes', - 'name', + 'interval', + 'method', + 'type', + 'retries', + 'path', + 'expected_body', + 'port', ] # Params for Data source @@ -179,24 +179,18 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - path=dict( - required=False, - type='str'), - expected_body=dict( - required=False, - type='str'), - instance_id=dict( + name=dict( required=False, type='str'), description=dict( required=False, type='str'), - type=dict( + expected_codes=dict( required=False, type='str'), - interval=dict( + instance_id=dict( required=False, - type='int'), + type='str'), timeout=dict( required=False, type='int'), @@ -204,24 +198,30 @@ required=False, elements='', type='list'), - port=dict( + allow_insecure=dict( required=False, - type='int'), - retries=dict( + type='bool'), + interval=dict( required=False, type='int'), method=dict( required=False, type='str'), - allow_insecure=dict( + type=dict( required=False, - type='bool'), - expected_codes=dict( + type='str'), + retries=dict( + required=False, + type='int'), + path=dict( required=False, type='str'), - name=dict( + expected_body=dict( required=False, type='str'), + port=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -287,7 +287,7 @@ def run_module(): resource_type='ibm_dns_glb_monitor', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_glb_monitors_info.py b/plugins/modules/ibm_dns_glb_monitors_info.py index 4ba0757af..fb7eb29a0 100644 --- a/plugins/modules/ibm_dns_glb_monitors_info.py +++ b/plugins/modules/ibm_dns_glb_monitors_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_glb_monitors' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dns_glb_monitors', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_glb_pool.py b/plugins/modules/ibm_dns_glb_pool.py index 05e7bfa5a..fc4b08835 100644 --- a/plugins/modules/ibm_dns_glb_pool.py +++ b/plugins/modules/ibm_dns_glb_pool.py @@ -18,35 +18,41 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_glb_pool' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + notification_channel: + description: + - The notification channel,It is a webhook url + required: False + type: str + healthcheck_region: + description: + - Health check region of VSIs + required: False + type: str instance_id: description: - (Required for new resource) Instance Id required: True type: str - description: + healthcheck_subnets: description: - - Descriptive text of the load balancer pool + - Health check subnet crn of VSIs required: False - type: str - notification_channel: + type: list + elements: str + name: description: - - The notification channel,It is a webhook url - required: False + - (Required for new resource) The unique identifier of a service instance. + required: True type: str enabled: description: - Whether the load balancer pool is enabled required: False type: bool - healthy_origins_threshold: - description: - - The minimum number of origins that must be healthy for this pool to serve traffic - required: False - type: int origins: description: - (Required for new resource) Origins info @@ -58,20 +64,14 @@ - The ID of the load balancer monitor to be associated to this pool required: False type: str - healthcheck_subnets: + healthy_origins_threshold: description: - - Health check subnet crn of VSIs + - The minimum number of origins that must be healthy for this pool to serve traffic required: False - type: list - elements: str - name: - description: - - (Required for new resource) The unique identifier of a service instance. - required: True - type: str - healthcheck_region: + type: int + description: description: - - Health check region of VSIs + - Descriptive text of the load balancer pool required: False type: str id: @@ -121,22 +121,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('instance_id', 'str'), - ('origins', 'list'), ('name', 'str'), + ('origins', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_id', - 'description', 'notification_channel', + 'healthcheck_region', + 'instance_id', + 'healthcheck_subnets', + 'name', 'enabled', - 'healthy_origins_threshold', 'origins', 'monitor', - 'healthcheck_subnets', - 'name', - 'healthcheck_region', + 'healthy_origins_threshold', + 'description', ] # Params for Data source @@ -153,21 +153,25 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_id=dict( + notification_channel=dict( required=False, type='str'), - description=dict( + healthcheck_region=dict( required=False, type='str'), - notification_channel=dict( + instance_id=dict( + required=False, + type='str'), + healthcheck_subnets=dict( + required=False, + elements='', + type='list'), + name=dict( required=False, type='str'), enabled=dict( required=False, type='bool'), - healthy_origins_threshold=dict( - required=False, - type='int'), origins=dict( required=False, elements='', @@ -175,14 +179,10 @@ monitor=dict( required=False, type='str'), - healthcheck_subnets=dict( - required=False, - elements='', - type='list'), - name=dict( + healthy_origins_threshold=dict( required=False, - type='str'), - healthcheck_region=dict( + type='int'), + description=dict( required=False, type='str'), id=dict( @@ -250,7 +250,7 @@ def run_module(): resource_type='ibm_dns_glb_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_glb_pools_info.py b/plugins/modules/ibm_dns_glb_pools_info.py index fb38ebca9..759ba5fe7 100644 --- a/plugins/modules/ibm_dns_glb_pools_info.py +++ b/plugins/modules/ibm_dns_glb_pools_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_glb_pools' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dns_glb_pools', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_glbs_info.py b/plugins/modules/ibm_dns_glbs_info.py index 1b3140ebf..1fd9a95b2 100644 --- a/plugins/modules/ibm_dns_glbs_info.py +++ b/plugins/modules/ibm_dns_glbs_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_glbs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_dns_glbs', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_permitted_network.py b/plugins/modules/ibm_dns_permitted_network.py index 903fba30f..e9c4fc2de 100644 --- a/plugins/modules/ibm_dns_permitted_network.py +++ b/plugins/modules/ibm_dns_permitted_network.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_permitted_network' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + zone_id: + description: + - (Required for new resource) Zone Id + required: True + type: str type: description: - Network Type @@ -38,11 +43,6 @@ - (Required for new resource) Instance Id required: True type: str - zone_id: - description: - - (Required for new resource) Zone Id - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,17 +89,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('zone_id', 'str'), ('vpc_crn', 'str'), ('instance_id', 'str'), - ('zone_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'zone_id', 'type', 'vpc_crn', 'instance_id', - 'zone_id', ] # Params for Data source @@ -116,6 +116,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + zone_id=dict( + required=False, + type='str'), type=dict( required=False, type='str'), @@ -125,9 +128,6 @@ instance_id=dict( required=False, type='str'), - zone_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_dns_permitted_network', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_permitted_networks_info.py b/plugins/modules/ibm_dns_permitted_networks_info.py index 524c0ef69..43267224e 100644 --- a/plugins/modules/ibm_dns_permitted_networks_info.py +++ b/plugins/modules/ibm_dns_permitted_networks_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_permitted_networks' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_dns_permitted_networks', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_record.py b/plugins/modules/ibm_dns_record.py index e71802ced..2a69c9d99 100644 --- a/plugins/modules/ibm_dns_record.py +++ b/plugins/modules/ibm_dns_record.py @@ -18,41 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_record' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - domain_id: - description: - - (Required for new resource) Domain ID of dns record instance - required: True - type: int - responsible_person: - description: - - Responsible person for DNS record - required: False - type: str - retry: - description: - - Retry count - required: False - type: int - weight: - description: - - weight info - required: False - type: int - default: 0 - data: - description: - - (Required for new resource) DNS record data - required: True - type: str - expire: - description: - - DNS record expiry info - required: False - type: int type: description: - (Required for new resource) DNS record type @@ -63,14 +32,20 @@ - port number required: False type: int - host: + tags: description: - - (Required for new resource) Hostname + - tags set for the resource + required: False + type: list + elements: str + domain_id: + description: + - (Required for new resource) Domain ID of dns record instance required: True - type: str - refresh: + type: int + retry: description: - - refresh rate + - Retry count required: False type: int minimum_ttl: @@ -83,18 +58,22 @@ - (Required for new resource) TTL configuration required: True type: int - priority: + weight: description: - - priority info + - weight info required: False type: int default: 0 - tags: + expire: description: - - tags set for the resource + - DNS record expiry info required: False - type: list - elements: str + type: int + refresh: + description: + - refresh rate + required: False + type: int mx_priority: description: - Maximum priority @@ -106,11 +85,32 @@ - service info required: False type: str + responsible_person: + description: + - Responsible person for DNS record + required: False + type: str protocol: description: - protocol info required: False type: str + priority: + description: + - priority info + required: False + type: int + default: 0 + data: + description: + - (Required for new resource) DNS record data + required: True + type: str + host: + description: + - (Required for new resource) Hostname + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -157,32 +157,32 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('type', 'str'), ('domain_id', 'int'), + ('ttl', 'int'), ('data', 'str'), - ('type', 'str'), ('host', 'str'), - ('ttl', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'type', + 'port', + 'tags', 'domain_id', - 'responsible_person', 'retry', + 'minimum_ttl', + 'ttl', 'weight', - 'data', 'expire', - 'type', - 'port', - 'host', 'refresh', - 'minimum_ttl', - 'ttl', - 'priority', - 'tags', 'mx_priority', 'service', + 'responsible_person', 'protocol', + 'priority', + 'data', + 'host', ] # Params for Data source @@ -199,34 +199,20 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - domain_id=dict( - required=False, - type='int'), - responsible_person=dict( - required=False, - type='str'), - retry=dict( - required=False, - type='int'), - weight=dict( - required=False, - type='int'), - data=dict( - required=False, - type='str'), - expire=dict( - required=False, - type='int'), type=dict( required=False, type='str'), port=dict( required=False, type='int'), - host=dict( + tags=dict( required=False, - type='str'), - refresh=dict( + elements='', + type='list'), + domain_id=dict( + required=False, + type='int'), + retry=dict( required=False, type='int'), minimum_ttl=dict( @@ -235,22 +221,36 @@ ttl=dict( required=False, type='int'), - priority=dict( + weight=dict( required=False, type='int'), - tags=dict( + expire=dict( required=False, - elements='', - type='list'), + type='int'), + refresh=dict( + required=False, + type='int'), mx_priority=dict( required=False, type='int'), service=dict( required=False, type='str'), + responsible_person=dict( + required=False, + type='str'), protocol=dict( required=False, type='str'), + priority=dict( + required=False, + type='int'), + data=dict( + required=False, + type='str'), + host=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -316,7 +316,7 @@ def run_module(): resource_type='ibm_dns_record', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_resource_record.py b/plugins/modules/ibm_dns_resource_record.py index 0459b40ee..9bd71d59b 100644 --- a/plugins/modules/ibm_dns_resource_record.py +++ b/plugins/modules/ibm_dns_resource_record.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_resource_record' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - zone_id: + instance_id: description: - - (Required for new resource) Zone ID + - (Required for new resource) Instance ID required: True type: str type: @@ -38,49 +38,49 @@ required: False type: int default: 0 - port: + service: description: - - DNS server Port + - Service info required: False - type: int + type: str + zone_id: + description: + - (Required for new resource) Zone ID + required: True + type: str + name: + description: + - (Required for new resource) DNS record name + required: True + type: str + rdata: + description: + - (Required for new resource) DNS record Data + required: True + type: str priority: description: - DNS server Priority required: False type: int default: 0 - weight: - description: - - DNS server weight - required: False - type: int - default: 0 - instance_id: - description: - - (Required for new resource) Instance ID - required: True - type: str ttl: description: - DNS record TTL required: False type: int default: 900 - service: + port: description: - - Service info + - DNS server Port required: False - type: str - name: - description: - - (Required for new resource) DNS record name - required: True - type: str - rdata: + type: int + weight: description: - - (Required for new resource) DNS record Data - required: True - type: str + - DNS server weight + required: False + type: int + default: 0 protocol: description: - Protocol @@ -132,26 +132,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('zone_id', 'str'), - ('type', 'str'), ('instance_id', 'str'), + ('type', 'str'), + ('zone_id', 'str'), ('name', 'str'), ('rdata', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'zone_id', + 'instance_id', 'type', 'preference', - 'port', - 'priority', - 'weight', - 'instance_id', - 'ttl', 'service', + 'zone_id', 'name', 'rdata', + 'priority', + 'ttl', + 'port', + 'weight', 'protocol', ] @@ -169,7 +169,7 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - zone_id=dict( + instance_id=dict( required=False, type='str'), type=dict( @@ -178,22 +178,10 @@ preference=dict( required=False, type='int'), - port=dict( - required=False, - type='int'), - priority=dict( - required=False, - type='int'), - weight=dict( - required=False, - type='int'), - instance_id=dict( + service=dict( required=False, type='str'), - ttl=dict( - required=False, - type='int'), - service=dict( + zone_id=dict( required=False, type='str'), name=dict( @@ -202,6 +190,18 @@ rdata=dict( required=False, type='str'), + priority=dict( + required=False, + type='int'), + ttl=dict( + required=False, + type='int'), + port=dict( + required=False, + type='int'), + weight=dict( + required=False, + type='int'), protocol=dict( required=False, type='str'), @@ -270,7 +270,7 @@ def run_module(): resource_type='ibm_dns_resource_record', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_resource_records_info.py b/plugins/modules/ibm_dns_resource_records_info.py index 03b71a8ee..e5a3b5865 100644 --- a/plugins/modules/ibm_dns_resource_records_info.py +++ b/plugins/modules/ibm_dns_resource_records_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_dns_resource_records' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - instance_id: + zone_id: description: - - Instance ID + - Zone Id required: True type: str - zone_id: + instance_id: description: - - Zone Id + - Instance ID required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_id', 'str'), ('zone_id', 'str'), + ('instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_id', 'zone_id', + 'instance_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_id=dict( + zone_id=dict( required=True, type='str'), - zone_id=dict( + instance_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_dns_resource_records', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_reverse_record.py b/plugins/modules/ibm_dns_reverse_record.py index 33cbe7818..a6a6d88c4 100644 --- a/plugins/modules/ibm_dns_reverse_record.py +++ b/plugins/modules/ibm_dns_reverse_record.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_reverse_record' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -182,7 +182,7 @@ def run_module(): resource_type='ibm_dns_reverse_record', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_secondary.py b/plugins/modules/ibm_dns_secondary.py index cd9a2014e..49de8d9de 100644 --- a/plugins/modules/ibm_dns_secondary.py +++ b/plugins/modules/ibm_dns_secondary.py @@ -18,10 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_secondary' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + tags: + description: + - List of tags + required: False + type: list + elements: str master_ip_address: description: - (Required for new resource) Master IP Address @@ -37,12 +43,6 @@ - (Required for new resource) Zone name required: True type: str - tags: - description: - - List of tags - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -96,10 +96,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'tags', 'master_ip_address', 'transfer_frequency', 'zone_name', - 'tags', ] # Params for Data source @@ -118,6 +118,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + tags=dict( + required=False, + elements='', + type='list'), master_ip_address=dict( required=False, type='str'), @@ -127,10 +131,6 @@ zone_name=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_dns_secondary', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -205,7 +205,7 @@ def run_module(): resource_type='ibm_dns_secondary', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_dns_secondary_info.py b/plugins/modules/ibm_dns_secondary_info.py index 8716356cd..aafb82c6b 100644 --- a/plugins/modules/ibm_dns_secondary_info.py +++ b/plugins/modules/ibm_dns_secondary_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_secondary' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dns_secondary', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_zone.py b/plugins/modules/ibm_dns_zone.py index cd05aeff0..76389ed16 100644 --- a/plugins/modules/ibm_dns_zone.py +++ b/plugins/modules/ibm_dns_zone.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_zone' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_dns_zone', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dns_zones_info.py b/plugins/modules/ibm_dns_zones_info.py index 4ee5ec88f..520ba624d 100644 --- a/plugins/modules/ibm_dns_zones_info.py +++ b/plugins/modules/ibm_dns_zones_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_zones' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dns_zones', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination.py b/plugins/modules/ibm_en_destination.py index 443318035..6827de32b 100644 --- a/plugins/modules/ibm_en_destination.py +++ b/plugins/modules/ibm_en_destination.py @@ -18,24 +18,23 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: + instance_guid: description: - - (Required for new resource) The Destintion name. + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str - config: + description: description: - - Payload describing a destination configuration. + - The Destination description. required: False - type: list - elements: dict - instance_guid: + type: str + name: description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + - (Required for new resource) The Destintion name. required: True type: str type: @@ -43,11 +42,12 @@ - (Required for new resource) The type of Destination Webhook. required: True type: str - description: + config: description: - - The Destination description. + - Payload describing a destination configuration. required: False - type: str + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,18 +94,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('instance_guid', 'str'), + ('name', 'str'), ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'config', 'instance_guid', - 'type', 'description', + 'name', + 'type', + 'config', ] # Params for Data source @@ -126,22 +126,22 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + instance_guid=dict( required=False, type='str'), - config=dict( + description=dict( required=False, - elements='', - type='list'), - instance_guid=dict( + type='str'), + name=dict( required=False, type='str'), type=dict( required=False, type='str'), - description=dict( + config=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_en_destination', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_en_destination', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_destination_android.py b/plugins/modules/ibm_en_destination_android.py index abee6fb85..e3c08baf2 100644 --- a/plugins/modules/ibm_en_destination_android.py +++ b/plugins/modules/ibm_en_destination_android.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination_android' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_en_destination_android', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_en_destination_android', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_destination_android_info.py b/plugins/modules/ibm_en_destination_android_info.py index f5168d268..d22e13ce2 100644 --- a/plugins/modules/ibm_en_destination_android_info.py +++ b/plugins/modules/ibm_en_destination_android_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination_android' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_destination_android', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination_chrome.py b/plugins/modules/ibm_en_destination_chrome.py index 987683ab2..87ae97fa2 100644 --- a/plugins/modules/ibm_en_destination_chrome.py +++ b/plugins/modules/ibm_en_destination_chrome.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination_chrome' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - instance_guid: - description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - required: True - type: str name: description: - (Required for new resource) The Destintion name. @@ -37,6 +32,11 @@ - (Required for new resource) The type of Destination type push_chrome. required: True type: str + instance_guid: + description: + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str description: description: - The Destination description. @@ -94,16 +94,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_guid', 'str'), ('name', 'str'), ('type', 'str'), + ('instance_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_guid', 'name', 'type', + 'instance_guid', 'description', 'config', ] @@ -126,15 +126,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_guid=dict( - required=False, - type='str'), name=dict( required=False, type='str'), type=dict( required=False, type='str'), + instance_guid=dict( + required=False, + type='str'), description=dict( required=False, type='str'), @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_en_destination_chrome', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_en_destination_chrome', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_destination_chrome_info.py b/plugins/modules/ibm_en_destination_chrome_info.py index 232d887b2..56f3b29e5 100644 --- a/plugins/modules/ibm_en_destination_chrome_info.py +++ b/plugins/modules/ibm_en_destination_chrome_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination_chrome' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_destination_chrome', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination_firefox.py b/plugins/modules/ibm_en_destination_firefox.py index f63adedaa..e642e3957 100644 --- a/plugins/modules/ibm_en_destination_firefox.py +++ b/plugins/modules/ibm_en_destination_firefox.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination_firefox' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,11 +27,6 @@ - (Required for new resource) The type of Destination type push_firefox. required: True type: str - description: - description: - - The Destination description. - required: False - type: str config: description: - Payload describing a destination configuration. @@ -48,6 +43,11 @@ - (Required for new resource) The Destintion name. required: True type: str + description: + description: + - The Destination description. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -102,10 +102,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'type', - 'description', 'config', 'instance_guid', 'name', + 'description', ] # Params for Data source @@ -129,9 +129,6 @@ type=dict( required=False, type='str'), - description=dict( - required=False, - type='str'), config=dict( required=False, elements='', @@ -142,6 +139,9 @@ name=dict( required=False, type='str'), + description=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_en_destination_firefox', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_en_destination_firefox', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_destination_firefox_info.py b/plugins/modules/ibm_en_destination_firefox_info.py index 99f7b4541..215070818 100644 --- a/plugins/modules/ibm_en_destination_firefox_info.py +++ b/plugins/modules/ibm_en_destination_firefox_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination_firefox' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_destination_firefox', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination_info.py b/plugins/modules/ibm_en_destination_info.py index 1d9eaf4a7..54b704440 100644 --- a/plugins/modules/ibm_en_destination_info.py +++ b/plugins/modules/ibm_en_destination_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_destination', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination_ios.py b/plugins/modules/ibm_en_destination_ios.py index 5f05123f0..4c14192d8 100644 --- a/plugins/modules/ibm_en_destination_ios.py +++ b/plugins/modules/ibm_en_destination_ios.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination_ios' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) The Destintion name. - required: True - type: str - type: - description: - - (Required for new resource) The type of Destination type push_ios. - required: True - type: str description: description: - The Destination description. @@ -42,20 +32,30 @@ - (Required for new resource) The Certificate Content Type to be set p8/p12. required: True type: str + certificate: + description: + - (Required for new resource) The Certificate File. + required: True + type: str config: description: - Payload describing a destination configuration. required: False type: list elements: dict - instance_guid: + name: description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + - (Required for new resource) The Destintion name. required: True type: str - certificate: + type: description: - - (Required for new resource) The Certificate File. + - (Required for new resource) The type of Destination type push_ios. + required: True + type: str + instance_guid: + description: + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str id: @@ -104,33 +104,33 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('certificate_content_type', 'str'), + ('certificate', 'str'), ('name', 'str'), ('type', 'str'), - ('certificate_content_type', 'str'), ('instance_guid', 'str'), - ('certificate', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'type', 'description', 'certificate_content_type', + 'certificate', 'config', + 'name', + 'type', 'instance_guid', - 'certificate', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('destination_id', 'str'), ('instance_guid', 'str'), + ('destination_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'destination_id', 'instance_guid', + 'destination_id', ] TL_CONFLICTS_MAP = { @@ -140,26 +140,26 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), - type=dict( - required=False, - type='str'), description=dict( required=False, type='str'), certificate_content_type=dict( required=False, type='str'), + certificate=dict( + required=False, + type='str'), config=dict( required=False, elements='', type='list'), - instance_guid=dict( + name=dict( required=False, type='str'), - certificate=dict( + type=dict( + required=False, + type='str'), + instance_guid=dict( required=False, type='str'), id=dict( @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_en_destination_ios', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -236,7 +236,7 @@ def run_module(): resource_type='ibm_en_destination_ios', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_destination_ios_info.py b/plugins/modules/ibm_en_destination_ios_info.py index 6282fbdbe..ad81e7a53 100644 --- a/plugins/modules/ibm_en_destination_ios_info.py +++ b/plugins/modules/ibm_en_destination_ios_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination_ios' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - destination_id: + instance_guid: description: - - Unique identifier for Destination. + - Unique identifier for IBM Cloud Event Notifications instance. required: True type: str - instance_guid: + destination_id: description: - - Unique identifier for IBM Cloud Event Notifications instance. + - Unique identifier for Destination. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('destination_id', 'str'), ('instance_guid', 'str'), + ('destination_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'destination_id', 'instance_guid', + 'destination_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - destination_id=dict( + instance_guid=dict( required=True, type='str'), - instance_guid=dict( + destination_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_destination_ios', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination_safari.py b/plugins/modules/ibm_en_destination_safari.py index 0f430f461..b915a5854 100644 --- a/plugins/modules/ibm_en_destination_safari.py +++ b/plugins/modules/ibm_en_destination_safari.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination_safari' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,32 +27,37 @@ - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str - description: + icon_32x32_2x: description: - - The Destination description. + - The Certificate File. required: False type: str - icon_16x16: + icon_128x128: description: - The Certificate File. required: False type: str - icon_32x32: + icon_128x128_2x: description: - The Certificate File. required: False type: str - icon_128x128: + icon_16x16_content_type: description: - The Certificate File. required: False type: str - certificate: + icon_32x32_content_type: description: - - (Required for new resource) The Certificate File. - required: True + - The Certificate File. + required: False type: str - icon_128x128_content_type: + icon_16x16: + description: + - The Certificate File. + required: False + type: str + icon_32x32_2x_content_type: description: - The Certificate File. required: False @@ -68,17 +73,17 @@ - (Required for new resource) The Destintion name. required: True type: str - icon_128x128_2x: + certificate: description: - - The Certificate File. - required: False + - (Required for new resource) The Certificate File. + required: True type: str - icon_32x32_2x_content_type: + icon_16x16_2x: description: - The Certificate File. required: False type: str - icon_128x128_2x_content_type: + icon_128x128_content_type: description: - The Certificate File. required: False @@ -88,17 +93,12 @@ - (Required for new resource) The type of Destination type push_ios. required: True type: str - icon_16x16_2x: - description: - - The Certificate File. - required: False - type: str - icon_32x32_2x: + description: description: - - The Certificate File. + - The Destination description. required: False type: str - icon_16x16_content_type: + icon_32x32: description: - The Certificate File. required: False @@ -108,7 +108,7 @@ - The Certificate File. required: False type: str - icon_32x32_content_type: + icon_128x128_2x_content_type: description: - The Certificate File. required: False @@ -160,31 +160,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('instance_guid', 'str'), - ('certificate', 'str'), ('name', 'str'), + ('certificate', 'str'), ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'instance_guid', - 'description', - 'icon_16x16', - 'icon_32x32', + 'icon_32x32_2x', 'icon_128x128', - 'certificate', - 'icon_128x128_content_type', - 'config', - 'name', 'icon_128x128_2x', + 'icon_16x16_content_type', + 'icon_32x32_content_type', + 'icon_16x16', 'icon_32x32_2x_content_type', - 'icon_128x128_2x_content_type', - 'type', + 'config', + 'name', + 'certificate', 'icon_16x16_2x', - 'icon_32x32_2x', - 'icon_16x16_content_type', + 'icon_128x128_content_type', + 'type', + 'description', + 'icon_32x32', 'icon_16x16_2x_content_type', - 'icon_32x32_content_type', + 'icon_128x128_2x_content_type', ] # Params for Data source @@ -208,22 +208,25 @@ instance_guid=dict( required=False, type='str'), - description=dict( + icon_32x32_2x=dict( required=False, type='str'), - icon_16x16=dict( + icon_128x128=dict( required=False, type='str'), - icon_32x32=dict( + icon_128x128_2x=dict( required=False, type='str'), - icon_128x128=dict( + icon_16x16_content_type=dict( required=False, type='str'), - certificate=dict( + icon_32x32_content_type=dict( required=False, type='str'), - icon_128x128_content_type=dict( + icon_16x16=dict( + required=False, + type='str'), + icon_32x32_2x_content_type=dict( required=False, type='str'), config=dict( @@ -233,31 +236,28 @@ name=dict( required=False, type='str'), - icon_128x128_2x=dict( + certificate=dict( required=False, type='str'), - icon_32x32_2x_content_type=dict( + icon_16x16_2x=dict( required=False, type='str'), - icon_128x128_2x_content_type=dict( + icon_128x128_content_type=dict( required=False, type='str'), type=dict( required=False, type='str'), - icon_16x16_2x=dict( - required=False, - type='str'), - icon_32x32_2x=dict( + description=dict( required=False, type='str'), - icon_16x16_content_type=dict( + icon_32x32=dict( required=False, type='str'), icon_16x16_2x_content_type=dict( required=False, type='str'), - icon_32x32_content_type=dict( + icon_128x128_2x_content_type=dict( required=False, type='str'), id=dict( @@ -325,7 +325,7 @@ def run_module(): resource_type='ibm_en_destination_safari', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -334,7 +334,7 @@ def run_module(): resource_type='ibm_en_destination_safari', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_destination_safari_info.py b/plugins/modules/ibm_en_destination_safari_info.py index 0fa6032c1..d60f1c131 100644 --- a/plugins/modules/ibm_en_destination_safari_info.py +++ b/plugins/modules/ibm_en_destination_safari_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination_safari' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_destination_safari', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination_slack.py b/plugins/modules/ibm_en_destination_slack.py index 8841d3851..25bcca672 100644 --- a/plugins/modules/ibm_en_destination_slack.py +++ b/plugins/modules/ibm_en_destination_slack.py @@ -18,24 +18,19 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination_slack' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - instance_guid: - description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - required: True - type: str config: description: - Payload describing a destination configuration. required: False type: list elements: dict - name: + instance_guid: description: - - (Required for new resource) The Destintion name. + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str type: @@ -43,6 +38,11 @@ - (Required for new resource) The type of Destination Webhook. required: True type: str + name: + description: + - (Required for new resource) The Destintion name. + required: True + type: str description: description: - The Destination description. @@ -95,16 +95,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('instance_guid', 'str'), - ('name', 'str'), ('type', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_guid', 'config', - 'name', + 'instance_guid', 'type', + 'name', 'description', ] @@ -126,19 +126,19 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_guid=dict( - required=False, - type='str'), config=dict( required=False, elements='', type='list'), - name=dict( + instance_guid=dict( required=False, type='str'), type=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), description=dict( required=False, type='str'), @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_en_destination_slack', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_en_destination_slack', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_destination_slack_info.py b/plugins/modules/ibm_en_destination_slack_info.py index 1129bad73..0f8b86929 100644 --- a/plugins/modules/ibm_en_destination_slack_info.py +++ b/plugins/modules/ibm_en_destination_slack_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination_slack' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_destination_slack', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination_webhook.py b/plugins/modules/ibm_en_destination_webhook.py index 737ec9136..6b102a2db 100644 --- a/plugins/modules/ibm_en_destination_webhook.py +++ b/plugins/modules/ibm_en_destination_webhook.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination_webhook' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - description: - description: - - The Destination description. - required: False - type: str - instance_guid: - description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - required: True - type: str name: description: - (Required for new resource) The Destintion name. @@ -42,6 +32,16 @@ - (Required for new resource) The type of Destination Webhook. required: True type: str + description: + description: + - The Destination description. + required: False + type: str + instance_guid: + description: + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str config: description: - Payload describing a destination configuration. @@ -94,29 +94,29 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_guid', 'str'), ('name', 'str'), ('type', 'str'), + ('instance_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'description', - 'instance_guid', 'name', 'type', + 'description', + 'instance_guid', 'config', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('instance_guid', 'str'), ('destination_id', 'str'), + ('instance_guid', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'instance_guid', 'destination_id', + 'instance_guid', ] TL_CONFLICTS_MAP = { @@ -126,16 +126,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - description=dict( + name=dict( required=False, type='str'), - instance_guid=dict( + type=dict( required=False, type='str'), - name=dict( + description=dict( required=False, type='str'), - type=dict( + instance_guid=dict( required=False, type='str'), config=dict( @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_en_destination_webhook', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_en_destination_webhook', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_destination_webhook_info.py b/plugins/modules/ibm_en_destination_webhook_info.py index 094b2710f..88dd7f966 100644 --- a/plugins/modules/ibm_en_destination_webhook_info.py +++ b/plugins/modules/ibm_en_destination_webhook_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination_webhook' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - instance_guid: + destination_id: description: - - Unique identifier for IBM Cloud Event Notifications instance. + - Unique identifier for Destination. required: True type: str - destination_id: + instance_guid: description: - - Unique identifier for Destination. + - Unique identifier for IBM Cloud Event Notifications instance. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_guid', 'str'), ('destination_id', 'str'), + ('instance_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_guid', 'destination_id', + 'instance_guid', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_guid=dict( + destination_id=dict( required=True, type='str'), - destination_id=dict( + instance_guid=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_destination_webhook', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destinations_info.py b/plugins/modules/ibm_en_destinations_info.py index fdf1d168a..a775189ba 100644 --- a/plugins/modules/ibm_en_destinations_info.py +++ b/plugins/modules/ibm_en_destinations_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_destinations' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_en_destinations', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_source.py b/plugins/modules/ibm_en_source.py index c7f75a374..074214e85 100644 --- a/plugins/modules/ibm_en_source.py +++ b/plugins/modules/ibm_en_source.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_en_source' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + instance_guid: + description: + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str name: description: - (Required for new resource) The Source name. @@ -37,11 +42,6 @@ - (Required for new resource) The enabled flag for source required: True type: bool - instance_guid: - description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -88,17 +88,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('instance_guid', 'str'), ('name', 'str'), ('enabled', 'bool'), - ('instance_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'instance_guid', 'name', 'description', 'enabled', - 'instance_guid', ] # Params for Data source @@ -119,6 +119,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + instance_guid=dict( + required=False, + type='str'), name=dict( required=False, type='str'), @@ -128,9 +131,6 @@ enabled=dict( required=False, type='bool'), - instance_guid=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_en_source', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -205,7 +205,7 @@ def run_module(): resource_type='ibm_en_source', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_source_info.py b/plugins/modules/ibm_en_source_info.py index 39f0b6d8a..e15a4f588 100644 --- a/plugins/modules/ibm_en_source_info.py +++ b/plugins/modules/ibm_en_source_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_source' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_source', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription.py b/plugins/modules/ibm_en_subscription.py index d7254c905..c74c49984 100644 --- a/plugins/modules/ibm_en_subscription.py +++ b/plugins/modules/ibm_en_subscription.py @@ -18,25 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - description: - description: - - Subscription description. - required: False - type: str - name: - description: - - (Required for new resource) Subscription name. - required: True - type: str destination_id: description: - (Required for new resource) Destination ID. required: True type: str + description: + description: + - Subscription description. + required: False + type: str topic_id: description: - (Required for new resource) Topic ID. @@ -53,6 +48,11 @@ - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str + name: + description: + - (Required for new resource) Subscription name. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,31 +99,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('destination_id', 'str'), ('topic_id', 'str'), ('instance_guid', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'description', - 'name', 'destination_id', + 'description', 'topic_id', 'attributes', 'instance_guid', + 'name', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('instance_guid', 'str'), ('subscription_id', 'str'), + ('instance_guid', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'instance_guid', 'subscription_id', + 'instance_guid', ] TL_CONFLICTS_MAP = { @@ -133,13 +133,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - description=dict( - required=False, - type='str'), - name=dict( + destination_id=dict( required=False, type='str'), - destination_id=dict( + description=dict( required=False, type='str'), topic_id=dict( @@ -152,6 +149,9 @@ instance_guid=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_en_subscription', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_en_subscription', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_android.py b/plugins/modules/ibm_en_subscription_android.py index cb765592e..506525e80 100644 --- a/plugins/modules/ibm_en_subscription_android.py +++ b/plugins/modules/ibm_en_subscription_android.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_android' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - instance_guid: - description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - required: True - type: str - description: - description: - - Subscription description. - required: False - type: str name: description: - (Required for new resource) Subscription name. @@ -42,6 +32,16 @@ - (Required for new resource) Destination ID. required: True type: str + instance_guid: + description: + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str + description: + description: + - Subscription description. + required: False + type: str topic_id: description: - (Required for new resource) Topic ID. @@ -93,30 +93,30 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_guid', 'str'), ('name', 'str'), ('destination_id', 'str'), + ('instance_guid', 'str'), ('topic_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_guid', - 'description', 'name', 'destination_id', + 'instance_guid', + 'description', 'topic_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('instance_guid', 'str'), ('subscription_id', 'str'), + ('instance_guid', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'instance_guid', 'subscription_id', + 'instance_guid', ] TL_CONFLICTS_MAP = { @@ -126,16 +126,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_guid=dict( + name=dict( required=False, type='str'), - description=dict( + destination_id=dict( required=False, type='str'), - name=dict( + instance_guid=dict( required=False, type='str'), - destination_id=dict( + description=dict( required=False, type='str'), topic_id=dict( @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_en_subscription_android', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_en_subscription_android', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_android_info.py b/plugins/modules/ibm_en_subscription_android_info.py index 69144b0e9..9f1b09c38 100644 --- a/plugins/modules/ibm_en_subscription_android_info.py +++ b/plugins/modules/ibm_en_subscription_android_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_android' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - instance_guid: + subscription_id: description: - - Unique identifier for IBM Cloud Event Notifications instance. + - Unique identifier for result. required: True type: str - subscription_id: + instance_guid: description: - - Unique identifier for result. + - Unique identifier for IBM Cloud Event Notifications instance. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_guid', 'str'), ('subscription_id', 'str'), + ('instance_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_guid', 'subscription_id', + 'instance_guid', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_guid=dict( + subscription_id=dict( required=True, type='str'), - subscription_id=dict( + instance_guid=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_android', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_chrome.py b/plugins/modules/ibm_en_subscription_chrome.py index 0dc52897e..df6b46896 100644 --- a/plugins/modules/ibm_en_subscription_chrome.py +++ b/plugins/modules/ibm_en_subscription_chrome.py @@ -18,35 +18,35 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_chrome' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: + instance_guid: description: - - (Required for new resource) Subscription name. + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str + description: + description: + - Subscription description. + required: False + type: str destination_id: description: - (Required for new resource) Destination ID. required: True type: str - topic_id: + name: description: - - (Required for new resource) Topic ID. + - (Required for new resource) Subscription name. required: True type: str - instance_guid: + topic_id: description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + - (Required for new resource) Topic ID. required: True type: str - description: - description: - - Subscription description. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -93,19 +93,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), + ('instance_guid', 'str'), ('destination_id', 'str'), + ('name', 'str'), ('topic_id', 'str'), - ('instance_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'destination_id', - 'topic_id', 'instance_guid', 'description', + 'destination_id', + 'name', + 'topic_id', ] # Params for Data source @@ -126,19 +126,19 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + instance_guid=dict( required=False, type='str'), - destination_id=dict( + description=dict( required=False, type='str'), - topic_id=dict( + destination_id=dict( required=False, type='str'), - instance_guid=dict( + name=dict( required=False, type='str'), - description=dict( + topic_id=dict( required=False, type='str'), id=dict( @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_en_subscription_chrome', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_en_subscription_chrome', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_chrome_info.py b/plugins/modules/ibm_en_subscription_chrome_info.py index 3d0a9cc8b..181bf92a5 100644 --- a/plugins/modules/ibm_en_subscription_chrome_info.py +++ b/plugins/modules/ibm_en_subscription_chrome_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_chrome' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_chrome', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_email.py b/plugins/modules/ibm_en_subscription_email.py index 83918d833..e09acae95 100644 --- a/plugins/modules/ibm_en_subscription_email.py +++ b/plugins/modules/ibm_en_subscription_email.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_email' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -32,11 +32,6 @@ - Subscription description. required: False type: str - destination_id: - description: - - (Required for new resource) Destination ID. - required: True - type: str topic_id: description: - (Required for new resource) Topic ID. @@ -53,6 +48,11 @@ - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str + destination_id: + description: + - (Required for new resource) Destination ID. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -100,30 +100,30 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('name', 'str'), - ('destination_id', 'str'), ('topic_id', 'str'), ('instance_guid', 'str'), + ('destination_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'name', 'description', - 'destination_id', 'topic_id', 'attributes', 'instance_guid', + 'destination_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('subscription_id', 'str'), ('instance_guid', 'str'), + ('subscription_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'subscription_id', 'instance_guid', + 'subscription_id', ] TL_CONFLICTS_MAP = { @@ -139,9 +139,6 @@ description=dict( required=False, type='str'), - destination_id=dict( - required=False, - type='str'), topic_id=dict( required=False, type='str'), @@ -152,6 +149,9 @@ instance_guid=dict( required=False, type='str'), + destination_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_en_subscription_email', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_en_subscription_email', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_email_info.py b/plugins/modules/ibm_en_subscription_email_info.py index e0524d31d..9c6f01889 100644 --- a/plugins/modules/ibm_en_subscription_email_info.py +++ b/plugins/modules/ibm_en_subscription_email_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_email' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - subscription_id: + instance_guid: description: - - Unique identifier for result. + - Unique identifier for IBM Cloud Event Notifications instance. required: True type: str - instance_guid: + subscription_id: description: - - Unique identifier for IBM Cloud Event Notifications instance. + - Unique identifier for result. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('subscription_id', 'str'), ('instance_guid', 'str'), + ('subscription_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'subscription_id', 'instance_guid', + 'subscription_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - subscription_id=dict( + instance_guid=dict( required=True, type='str'), - instance_guid=dict( + subscription_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_email', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_firefox.py b/plugins/modules/ibm_en_subscription_firefox.py index 03c0bf9fd..eeea0b8f9 100644 --- a/plugins/modules/ibm_en_subscription_firefox.py +++ b/plugins/modules/ibm_en_subscription_firefox.py @@ -18,18 +18,23 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_firefox' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - destination_id: + instance_guid: description: - - (Required for new resource) Destination ID. + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str - instance_guid: + description: description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + - Subscription description. + required: False + type: str + destination_id: + description: + - (Required for new resource) Destination ID. required: True type: str name: @@ -37,11 +42,6 @@ - (Required for new resource) Subscription name. required: True type: str - description: - description: - - Subscription description. - required: False - type: str topic_id: description: - (Required for new resource) Topic ID. @@ -93,30 +93,30 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('destination_id', 'str'), ('instance_guid', 'str'), + ('destination_id', 'str'), ('name', 'str'), ('topic_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'destination_id', 'instance_guid', - 'name', 'description', + 'destination_id', + 'name', 'topic_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('subscription_id', 'str'), ('instance_guid', 'str'), + ('subscription_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'subscription_id', 'instance_guid', + 'subscription_id', ] TL_CONFLICTS_MAP = { @@ -126,16 +126,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - destination_id=dict( + instance_guid=dict( required=False, type='str'), - instance_guid=dict( + description=dict( required=False, type='str'), - name=dict( + destination_id=dict( required=False, type='str'), - description=dict( + name=dict( required=False, type='str'), topic_id=dict( @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_en_subscription_firefox', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_en_subscription_firefox', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_firefox_info.py b/plugins/modules/ibm_en_subscription_firefox_info.py index 52a874d74..d06c8e3b9 100644 --- a/plugins/modules/ibm_en_subscription_firefox_info.py +++ b/plugins/modules/ibm_en_subscription_firefox_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_firefox' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - subscription_id: + instance_guid: description: - - Unique identifier for result. + - Unique identifier for IBM Cloud Event Notifications instance. required: True type: str - instance_guid: + subscription_id: description: - - Unique identifier for IBM Cloud Event Notifications instance. + - Unique identifier for result. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('subscription_id', 'str'), ('instance_guid', 'str'), + ('subscription_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'subscription_id', 'instance_guid', + 'subscription_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - subscription_id=dict( + instance_guid=dict( required=True, type='str'), - instance_guid=dict( + subscription_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_firefox', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_info.py b/plugins/modules/ibm_en_subscription_info.py index 487cd135d..66d0223db 100644 --- a/plugins/modules/ibm_en_subscription_info.py +++ b/plugins/modules/ibm_en_subscription_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - instance_guid: + subscription_id: description: - - Unique identifier for IBM Cloud Event Notifications instance. + - Unique identifier for result. required: True type: str - subscription_id: + instance_guid: description: - - Unique identifier for result. + - Unique identifier for IBM Cloud Event Notifications instance. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_guid', 'str'), ('subscription_id', 'str'), + ('instance_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_guid', 'subscription_id', + 'instance_guid', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_guid=dict( + subscription_id=dict( required=True, type='str'), - subscription_id=dict( + instance_guid=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_ios.py b/plugins/modules/ibm_en_subscription_ios.py index 40bf0bf53..0f2e78f89 100644 --- a/plugins/modules/ibm_en_subscription_ios.py +++ b/plugins/modules/ibm_en_subscription_ios.py @@ -18,18 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_ios' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - destination_id: - description: - - (Required for new resource) Destination ID. - required: True - type: str - topic_id: + instance_guid: description: - - (Required for new resource) Topic ID. + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str name: @@ -42,9 +37,14 @@ - Subscription description. required: False type: str - instance_guid: + topic_id: description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + - (Required for new resource) Topic ID. + required: True + type: str + destination_id: + description: + - (Required for new resource) Destination ID. required: True type: str id: @@ -93,19 +93,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('destination_id', 'str'), - ('topic_id', 'str'), - ('name', 'str'), ('instance_guid', 'str'), + ('name', 'str'), + ('topic_id', 'str'), + ('destination_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'destination_id', - 'topic_id', + 'instance_guid', 'name', 'description', - 'instance_guid', + 'topic_id', + 'destination_id', ] # Params for Data source @@ -126,10 +126,7 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - destination_id=dict( - required=False, - type='str'), - topic_id=dict( + instance_guid=dict( required=False, type='str'), name=dict( @@ -138,7 +135,10 @@ description=dict( required=False, type='str'), - instance_guid=dict( + topic_id=dict( + required=False, + type='str'), + destination_id=dict( required=False, type='str'), id=dict( @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_en_subscription_ios', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_en_subscription_ios', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_ios_info.py b/plugins/modules/ibm_en_subscription_ios_info.py index 90e50560d..9a1372cd7 100644 --- a/plugins/modules/ibm_en_subscription_ios_info.py +++ b/plugins/modules/ibm_en_subscription_ios_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_ios' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_ios', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_safari.py b/plugins/modules/ibm_en_subscription_safari.py index 8b089341a..465ef7d2e 100644 --- a/plugins/modules/ibm_en_subscription_safari.py +++ b/plugins/modules/ibm_en_subscription_safari.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_safari' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - description: - description: - - Subscription description. - required: False - type: str topic_id: description: - (Required for new resource) Topic ID. @@ -42,6 +37,11 @@ - (Required for new resource) Subscription name. required: True type: str + description: + description: + - Subscription description. + required: False + type: str destination_id: description: - (Required for new resource) Destination ID. @@ -101,10 +101,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'description', 'topic_id', 'instance_guid', 'name', + 'description', 'destination_id', ] @@ -126,9 +126,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - description=dict( - required=False, - type='str'), topic_id=dict( required=False, type='str'), @@ -138,6 +135,9 @@ name=dict( required=False, type='str'), + description=dict( + required=False, + type='str'), destination_id=dict( required=False, type='str'), @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_en_subscription_safari', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_en_subscription_safari', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_safari_info.py b/plugins/modules/ibm_en_subscription_safari_info.py index 598fbc6f9..5aeac9ac1 100644 --- a/plugins/modules/ibm_en_subscription_safari_info.py +++ b/plugins/modules/ibm_en_subscription_safari_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_safari' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_safari', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_slack.py b/plugins/modules/ibm_en_subscription_slack.py index 92991eeca..00c5a922b 100644 --- a/plugins/modules/ibm_en_subscription_slack.py +++ b/plugins/modules/ibm_en_subscription_slack.py @@ -18,18 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_slack' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - description: - description: - - Subscription description. - required: False - type: str - topic_id: + name: description: - - (Required for new resource) Topic ID. + - (Required for new resource) Subscription name. required: True type: str attributes: @@ -43,14 +38,19 @@ - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str + description: + description: + - Subscription description. + required: False + type: str destination_id: description: - (Required for new resource) Destination ID. required: True type: str - name: + topic_id: description: - - (Required for new resource) Subscription name. + - (Required for new resource) Topic ID. required: True type: str id: @@ -99,20 +99,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('topic_id', 'str'), + ('name', 'str'), ('instance_guid', 'str'), ('destination_id', 'str'), - ('name', 'str'), + ('topic_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'description', - 'topic_id', + 'name', 'attributes', 'instance_guid', + 'description', 'destination_id', - 'name', + 'topic_id', ] # Params for Data source @@ -133,10 +133,7 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - description=dict( - required=False, - type='str'), - topic_id=dict( + name=dict( required=False, type='str'), attributes=dict( @@ -146,10 +143,13 @@ instance_guid=dict( required=False, type='str'), + description=dict( + required=False, + type='str'), destination_id=dict( required=False, type='str'), - name=dict( + topic_id=dict( required=False, type='str'), id=dict( @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_en_subscription_slack', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_en_subscription_slack', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_slack_info.py b/plugins/modules/ibm_en_subscription_slack_info.py index 7a74f6f6f..fa843b84f 100644 --- a/plugins/modules/ibm_en_subscription_slack_info.py +++ b/plugins/modules/ibm_en_subscription_slack_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_slack' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_slack', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_sms.py b/plugins/modules/ibm_en_subscription_sms.py index c76301085..b40d9ce36 100644 --- a/plugins/modules/ibm_en_subscription_sms.py +++ b/plugins/modules/ibm_en_subscription_sms.py @@ -18,16 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_sms' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - attributes: - description: - - None - required: False - type: list - elements: dict instance_guid: description: - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. @@ -43,16 +37,22 @@ - (Required for new resource) Destination ID. required: True type: str + topic_id: + description: + - (Required for new resource) Topic ID. + required: True + type: str description: description: - Subscription description. required: False type: str - topic_id: + attributes: description: - - (Required for new resource) Topic ID. - required: True - type: str + - None + required: False + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -107,23 +107,23 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'attributes', 'instance_guid', 'name', 'destination_id', - 'description', 'topic_id', + 'description', + 'attributes', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('subscription_id', 'str'), ('instance_guid', 'str'), + ('subscription_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'subscription_id', 'instance_guid', + 'subscription_id', ] TL_CONFLICTS_MAP = { @@ -133,10 +133,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - attributes=dict( - required=False, - elements='', - type='list'), instance_guid=dict( required=False, type='str'), @@ -146,12 +142,16 @@ destination_id=dict( required=False, type='str'), - description=dict( + topic_id=dict( required=False, type='str'), - topic_id=dict( + description=dict( required=False, type='str'), + attributes=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_en_subscription_sms', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_en_subscription_sms', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_sms_info.py b/plugins/modules/ibm_en_subscription_sms_info.py index efb1731b2..39b49c412 100644 --- a/plugins/modules/ibm_en_subscription_sms_info.py +++ b/plugins/modules/ibm_en_subscription_sms_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_sms' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - subscription_id: + instance_guid: description: - - Unique identifier for result. + - Unique identifier for IBM Cloud Event Notifications instance. required: True type: str - instance_guid: + subscription_id: description: - - Unique identifier for IBM Cloud Event Notifications instance. + - Unique identifier for result. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('subscription_id', 'str'), ('instance_guid', 'str'), + ('subscription_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'subscription_id', 'instance_guid', + 'subscription_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - subscription_id=dict( + instance_guid=dict( required=True, type='str'), - instance_guid=dict( + subscription_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_sms', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_webhook.py b/plugins/modules/ibm_en_subscription_webhook.py index c70abfdc4..b5bbf13b2 100644 --- a/plugins/modules/ibm_en_subscription_webhook.py +++ b/plugins/modules/ibm_en_subscription_webhook.py @@ -18,21 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_webhook' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - attributes: - description: - - None - required: False - type: list - elements: dict - name: - description: - - (Required for new resource) Subscription name. - required: True - type: str description: description: - Subscription description. @@ -43,9 +32,9 @@ - (Required for new resource) Topic ID. required: True type: str - instance_guid: + name: description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + - (Required for new resource) Subscription name. required: True type: str destination_id: @@ -53,6 +42,17 @@ - (Required for new resource) Destination ID. required: True type: str + attributes: + description: + - None + required: False + type: list + elements: dict + instance_guid: + description: + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,20 +99,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('topic_id', 'str'), - ('instance_guid', 'str'), + ('name', 'str'), ('destination_id', 'str'), + ('instance_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'attributes', - 'name', 'description', 'topic_id', - 'instance_guid', + 'name', 'destination_id', + 'attributes', + 'instance_guid', ] # Params for Data source @@ -133,25 +133,25 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - attributes=dict( - required=False, - elements='', - type='list'), - name=dict( - required=False, - type='str'), description=dict( required=False, type='str'), topic_id=dict( required=False, type='str'), - instance_guid=dict( + name=dict( required=False, type='str'), destination_id=dict( required=False, type='str'), + attributes=dict( + required=False, + elements='', + type='list'), + instance_guid=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_en_subscription_webhook', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_en_subscription_webhook', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_subscription_webhook_info.py b/plugins/modules/ibm_en_subscription_webhook_info.py index be620d312..d26b83a3b 100644 --- a/plugins/modules/ibm_en_subscription_webhook_info.py +++ b/plugins/modules/ibm_en_subscription_webhook_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_webhook' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_webhook', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscriptions_info.py b/plugins/modules/ibm_en_subscriptions_info.py index 82be14d5c..786f54a23 100644 --- a/plugins/modules/ibm_en_subscriptions_info.py +++ b/plugins/modules/ibm_en_subscriptions_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscriptions' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_en_subscriptions', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_topic.py b/plugins/modules/ibm_en_topic.py index a6b4bdc7b..7cc283843 100644 --- a/plugins/modules/ibm_en_topic.py +++ b/plugins/modules/ibm_en_topic.py @@ -18,31 +18,31 @@ - Create, update or destroy an IBM Cloud 'ibm_en_topic' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - instance_guid: - description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - required: True - type: str description: description: - Description of the topic. required: False type: str - name: - description: - - (Required for new resource) Name of the topic. - required: True - type: str sources: description: - List of sources. required: False type: list elements: dict + instance_guid: + description: + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str + name: + description: + - (Required for new resource) Name of the topic. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -95,21 +95,21 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_guid', 'description', - 'name', 'sources', + 'instance_guid', + 'name', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('topic_id', 'str'), ('instance_guid', 'str'), + ('topic_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'topic_id', 'instance_guid', + 'topic_id', ] TL_CONFLICTS_MAP = { @@ -119,19 +119,19 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_guid=dict( - required=False, - type='str'), description=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), sources=dict( required=False, elements='', type='list'), + instance_guid=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_en_topic', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_en_topic', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_en_topic_info.py b/plugins/modules/ibm_en_topic_info.py index c6fad50ca..d960c4525 100644 --- a/plugins/modules/ibm_en_topic_info.py +++ b/plugins/modules/ibm_en_topic_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_en_topic' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - topic_id: + instance_guid: description: - - Unique identifier for Topic. + - Unique identifier for IBM Cloud Event Notifications instance. required: True type: str - instance_guid: + topic_id: description: - - Unique identifier for IBM Cloud Event Notifications instance. + - Unique identifier for Topic. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('topic_id', 'str'), ('instance_guid', 'str'), + ('topic_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'topic_id', 'instance_guid', + 'topic_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - topic_id=dict( + instance_guid=dict( required=True, type='str'), - instance_guid=dict( + topic_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_topic', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_topics_info.py b/plugins/modules/ibm_en_topics_info.py index e7fd78de6..aec9e8d3d 100644 --- a/plugins/modules/ibm_en_topics_info.py +++ b/plugins/modules/ibm_en_topics_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_en_topics' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - instance_guid: - description: - - Unique identifier for IBM Cloud Event Notifications instance. - required: True - type: str search_key: description: - Filter the topic by name required: False type: str + instance_guid: + description: + - Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -69,8 +69,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_guid', 'search_key', + 'instance_guid', ] @@ -81,12 +81,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_guid=dict( - required=True, - type='str'), search_key=dict( required=False, type='str'), + instance_guid=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_en_topics', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_enterprise.py b/plugins/modules/ibm_enterprise.py index 72c817596..1dacc723d 100644 --- a/plugins/modules/ibm_enterprise.py +++ b/plugins/modules/ibm_enterprise.py @@ -18,13 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_enterprise' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - source_account_id: + name: description: - - (Required for new resource) The ID of the account that is used to create the enterprise. + - (Required for new resource) The name of the enterprise. This field must have 3 - 60 characters. + required: True + type: str + primary_contact_iam_id: + description: + - (Required for new resource) The IAM ID of the enterprise primary contact, such as `IBMid-0123ABC`. The IAM ID must already exist. required: True type: str domain: @@ -32,14 +37,9 @@ - A domain or subdomain for the enterprise, such as `example.com` or `my.example.com`. required: False type: str - name: - description: - - (Required for new resource) The name of the enterprise. This field must have 3 - 60 characters. - required: True - type: str - primary_contact_iam_id: + source_account_id: description: - - (Required for new resource) The IAM ID of the enterprise primary contact, such as `IBMid-0123ABC`. The IAM ID must already exist. + - (Required for new resource) The ID of the account that is used to create the enterprise. required: True type: str id: @@ -88,17 +88,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('source_account_id', 'str'), ('name', 'str'), ('primary_contact_iam_id', 'str'), + ('source_account_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'source_account_id', - 'domain', 'name', 'primary_contact_iam_id', + 'domain', + 'source_account_id', ] # Params for Data source @@ -115,16 +115,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - source_account_id=dict( + name=dict( required=False, type='str'), - domain=dict( + primary_contact_iam_id=dict( required=False, type='str'), - name=dict( + domain=dict( required=False, type='str'), - primary_contact_iam_id=dict( + source_account_id=dict( required=False, type='str'), id=dict( @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_enterprise', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_enterprise_account.py b/plugins/modules/ibm_enterprise_account.py index 65629ca8c..7a2c61f32 100644 --- a/plugins/modules/ibm_enterprise_account.py +++ b/plugins/modules/ibm_enterprise_account.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_enterprise_account' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - enterprise_id: + name: description: - - The enterprise ID that the account is a part of. + - The name of the account. This field must have 3 - 60 characters. required: False type: str parent: @@ -32,19 +32,19 @@ - (Required for new resource) The CRN of the parent under which the account will be created. The parent can be an existing account group or the enterprise itself. required: True type: str - name: + account_id: description: - - The name of the account. This field must have 3 - 60 characters. + - The source account id of account to be imported required: False type: str - owner_iam_id: + enterprise_id: description: - - The IAM ID of the account owner, such as `IBMid-0123ABC`. The IAM ID must already exist. + - The enterprise ID that the account is a part of. required: False type: str - account_id: + owner_iam_id: description: - - The source account id of account to be imported + - The IAM ID of the account owner, such as `IBMid-0123ABC`. The IAM ID must already exist. required: False type: str enterprise_account_id: @@ -103,11 +103,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'enterprise_id', - 'parent', 'name', - 'owner_iam_id', + 'parent', 'account_id', + 'enterprise_id', + 'owner_iam_id', 'enterprise_account_id', ] @@ -125,19 +125,19 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - enterprise_id=dict( + name=dict( required=False, type='str'), parent=dict( required=False, type='str'), - name=dict( + account_id=dict( required=False, type='str'), - owner_iam_id=dict( + enterprise_id=dict( required=False, type='str'), - account_id=dict( + owner_iam_id=dict( required=False, type='str'), enterprise_account_id=dict( @@ -208,7 +208,7 @@ def run_module(): resource_type='ibm_enterprise_account', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_enterprise_account_group.py b/plugins/modules/ibm_enterprise_account_group.py index 1116b243b..3da1a5bbf 100644 --- a/plugins/modules/ibm_enterprise_account_group.py +++ b/plugins/modules/ibm_enterprise_account_group.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_enterprise_account_group' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_enterprise_account_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_enterprise_account_groups_info.py b/plugins/modules/ibm_enterprise_account_groups_info.py index d428eab52..520dc5904 100644 --- a/plugins/modules/ibm_enterprise_account_groups_info.py +++ b/plugins/modules/ibm_enterprise_account_groups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_enterprise_account_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_enterprise_account_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_enterprise_accounts_info.py b/plugins/modules/ibm_enterprise_accounts_info.py index 4efa2f681..81d2d1738 100644 --- a/plugins/modules/ibm_enterprise_accounts_info.py +++ b/plugins/modules/ibm_enterprise_accounts_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_enterprise_accounts' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_enterprise_accounts', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_enterprises_info.py b/plugins/modules/ibm_enterprises_info.py index 91515cdb1..e1e079933 100644 --- a/plugins/modules/ibm_enterprises_info.py +++ b/plugins/modules/ibm_enterprises_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_enterprises' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_enterprises', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_event_streams_schema.py b/plugins/modules/ibm_event_streams_schema.py index f353e30e4..d1f035544 100644 --- a/plugins/modules/ibm_event_streams_schema.py +++ b/plugins/modules/ibm_event_streams_schema.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_event_streams_schema' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - schema_id: - description: - - The ID to be assigned to schema, which must be unique. If this value is not specified, a generated UUID is assigned. - required: False - type: str resource_instance_id: description: - (Required for new resource) The ID or the CRN of the Event Streams service instance @@ -37,6 +32,11 @@ - (Required for new resource) The schema in JSON format required: True type: str + schema_id: + description: + - The ID to be assigned to schema, which must be unique. If this value is not specified, a generated UUID is assigned. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,20 +89,20 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'schema_id', 'resource_instance_id', 'schema', + 'schema_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('resource_instance_id', 'str'), ('schema_id', 'str'), + ('resource_instance_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'resource_instance_id', 'schema_id', + 'resource_instance_id', ] TL_CONFLICTS_MAP = { @@ -112,15 +112,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - schema_id=dict( - required=False, - type='str'), resource_instance_id=dict( required=False, type='str'), schema=dict( required=False, type='str'), + schema_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_event_streams_schema', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_event_streams_schema', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_event_streams_schema_info.py b/plugins/modules/ibm_event_streams_schema_info.py index b8ada73c9..c3dbd48d8 100644 --- a/plugins/modules/ibm_event_streams_schema_info.py +++ b/plugins/modules/ibm_event_streams_schema_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_event_streams_schema' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - resource_instance_id: + schema_id: description: - - The ID or CRN of the Event Streams service instance + - The unique ID to be assigned to the schema. required: True type: str - schema_id: + resource_instance_id: description: - - The unique ID to be assigned to the schema. + - The ID or CRN of the Event Streams service instance required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('resource_instance_id', 'str'), ('schema_id', 'str'), + ('resource_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_instance_id', 'schema_id', + 'resource_instance_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_instance_id=dict( + schema_id=dict( required=True, type='str'), - schema_id=dict( + resource_instance_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_event_streams_schema', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_event_streams_topic.py b/plugins/modules/ibm_event_streams_topic.py index e3fc1c667..bac882ca6 100644 --- a/plugins/modules/ibm_event_streams_topic.py +++ b/plugins/modules/ibm_event_streams_topic.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_event_streams_topic' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) The name of the topic - required: True - type: str partitions: description: - The number of partitions @@ -43,6 +38,11 @@ - (Required for new resource) The CRN of the Event Streams instance required: True type: str + name: + description: + - (Required for new resource) The name of the topic + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,16 +89,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('resource_instance_id', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'partitions', 'config', 'resource_instance_id', + 'name', ] # Params for Data source @@ -119,9 +119,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), partitions=dict( required=False, type='int'), @@ -131,6 +128,9 @@ resource_instance_id=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_event_streams_topic', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -205,7 +205,7 @@ def run_module(): resource_type='ibm_event_streams_topic', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_event_streams_topic_info.py b/plugins/modules/ibm_event_streams_topic_info.py index 7c366f27c..dbf58cbd9 100644 --- a/plugins/modules/ibm_event_streams_topic_info.py +++ b/plugins/modules/ibm_event_streams_topic_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_event_streams_topic' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_event_streams_topic', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_firewall.py b/plugins/modules/ibm_firewall.py index bbbe3cb9e..2d2bfacc3 100644 --- a/plugins/modules/ibm_firewall.py +++ b/plugins/modules/ibm_firewall.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_firewall' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -194,7 +194,7 @@ def run_module(): resource_type='ibm_firewall', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_firewall_policy.py b/plugins/modules/ibm_firewall_policy.py index cecbcc49d..ae4e1f5fd 100644 --- a/plugins/modules/ibm_firewall_policy.py +++ b/plugins/modules/ibm_firewall_policy.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_firewall_policy' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_firewall_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_function_action.py b/plugins/modules/ibm_function_action.py index a0d1b7833..e4b0a0634 100644 --- a/plugins/modules/ibm_function_action.py +++ b/plugins/modules/ibm_function_action.py @@ -18,33 +18,27 @@ - Create, update or destroy an IBM Cloud 'ibm_function_action' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) Name of action. - required: True - type: str exec: description: - (Required for new resource) Execution info required: True type: list elements: dict - user_defined_parameters: - description: - - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the action. - required: False - type: str - default: [] user_defined_annotations: description: - Annotation values in KEY VALUE format. required: False type: str default: [] + name: + description: + - (Required for new resource) Name of action. + required: True + type: str namespace: description: - (Required for new resource) IBM Cloud function namespace. @@ -61,6 +55,12 @@ - Action visibilty. required: False type: bool + user_defined_parameters: + description: + - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the action. + required: False + type: str + default: [] id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -93,20 +93,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('exec', 'list'), + ('name', 'str'), ('namespace', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'exec', - 'user_defined_parameters', 'user_defined_annotations', + 'name', 'namespace', 'limits', 'publish', + 'user_defined_parameters', ] # Params for Data source @@ -127,17 +127,14 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), exec=dict( required=False, elements='', type='list'), - user_defined_parameters=dict( + user_defined_annotations=dict( required=False, type='str'), - user_defined_annotations=dict( + name=dict( required=False, type='str'), namespace=dict( @@ -150,6 +147,9 @@ publish=dict( required=False, type='bool'), + user_defined_parameters=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -205,7 +205,7 @@ def run_module(): resource_type='ibm_function_action', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -214,7 +214,7 @@ def run_module(): resource_type='ibm_function_action', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_function_action_info.py b/plugins/modules/ibm_function_action_info.py index 5c654344d..48480ba18 100644 --- a/plugins/modules/ibm_function_action_info.py +++ b/plugins/modules/ibm_function_action_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_function_action' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -98,7 +98,7 @@ def run_module(): resource_type='ibm_function_action', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_function_namespace.py b/plugins/modules/ibm_function_namespace.py index feb2f0eba..4016f70c8 100644 --- a/plugins/modules/ibm_function_namespace.py +++ b/plugins/modules/ibm_function_namespace.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_function_namespace' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) Name of namespace. - required: True - type: str description: description: - Namespace Description. @@ -37,6 +32,11 @@ - (Required for new resource) Resource Group ID. required: True type: str + name: + description: + - (Required for new resource) Name of namespace. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -69,15 +69,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('resource_group_id', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'description', 'resource_group_id', + 'name', ] # Params for Data source @@ -96,15 +96,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), description=dict( required=False, type='str'), resource_group_id=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -160,7 +160,7 @@ def run_module(): resource_type='ibm_function_namespace', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -169,7 +169,7 @@ def run_module(): resource_type='ibm_function_namespace', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_function_namespace_info.py b/plugins/modules/ibm_function_namespace_info.py index ee4974af5..bcc649a4e 100644 --- a/plugins/modules/ibm_function_namespace_info.py +++ b/plugins/modules/ibm_function_namespace_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_function_namespace' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -88,7 +88,7 @@ def run_module(): resource_type='ibm_function_namespace', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_function_package.py b/plugins/modules/ibm_function_package.py index d3a0a0e04..a58be4fe7 100644 --- a/plugins/modules/ibm_function_package.py +++ b/plugins/modules/ibm_function_package.py @@ -18,22 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_function_package' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - user_defined_annotations: - description: - - Annotation values in KEY VALUE format. - required: False - type: str - default: [] - user_defined_parameters: - description: - - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the package. - required: False - type: str - default: [] namespace: description: - (Required for new resource) IBM Cloud function namespace. @@ -50,11 +38,23 @@ required: False type: bool default: False + user_defined_annotations: + description: + - Annotation values in KEY VALUE format. + required: False + type: str + default: [] bind_package_name: description: - Name of package to be binded. required: False type: str + user_defined_parameters: + description: + - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the package. + required: False + type: str + default: [] id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -93,12 +93,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'user_defined_annotations', - 'user_defined_parameters', 'namespace', 'name', 'publish', + 'user_defined_annotations', 'bind_package_name', + 'user_defined_parameters', ] # Params for Data source @@ -119,12 +119,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - user_defined_annotations=dict( - required=False, - type='str'), - user_defined_parameters=dict( - required=False, - type='str'), namespace=dict( required=False, type='str'), @@ -134,9 +128,15 @@ publish=dict( required=False, type='bool'), + user_defined_annotations=dict( + required=False, + type='str'), bind_package_name=dict( required=False, type='str'), + user_defined_parameters=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_function_package', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -201,7 +201,7 @@ def run_module(): resource_type='ibm_function_package', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_function_package_info.py b/plugins/modules/ibm_function_package_info.py index 5f0855f7b..c277a92b0 100644 --- a/plugins/modules/ibm_function_package_info.py +++ b/plugins/modules/ibm_function_package_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_function_package' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -98,7 +98,7 @@ def run_module(): resource_type='ibm_function_package', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_function_rule.py b/plugins/modules/ibm_function_rule.py index 09b021d71..866902af2 100644 --- a/plugins/modules/ibm_function_rule.py +++ b/plugins/modules/ibm_function_rule.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_function_rule' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -173,7 +173,7 @@ def run_module(): resource_type='ibm_function_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -182,7 +182,7 @@ def run_module(): resource_type='ibm_function_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_function_rule_info.py b/plugins/modules/ibm_function_rule_info.py index 21c4ce982..42f77b4f1 100644 --- a/plugins/modules/ibm_function_rule_info.py +++ b/plugins/modules/ibm_function_rule_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_function_rule' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -98,7 +98,7 @@ def run_module(): resource_type='ibm_function_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_function_trigger.py b/plugins/modules/ibm_function_trigger.py index f6e930cfc..7184465f9 100644 --- a/plugins/modules/ibm_function_trigger.py +++ b/plugins/modules/ibm_function_trigger.py @@ -18,33 +18,33 @@ - Create, update or destroy an IBM Cloud 'ibm_function_trigger' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - feed: + user_defined_parameters: description: - - Trigger feed + - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the trigger. required: False - type: list - elements: dict + type: str + default: [] user_defined_annotations: description: - Annotation values in KEY VALUE format. required: False type: str default: [] + feed: + description: + - Trigger feed + required: False + type: list + elements: dict namespace: description: - (Required for new resource) IBM Cloud function namespace. required: True type: str - user_defined_parameters: - description: - - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the trigger. - required: False - type: str - default: [] name: description: - (Required for new resource) Name of Trigger. @@ -88,10 +88,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'feed', + 'user_defined_parameters', 'user_defined_annotations', + 'feed', 'namespace', - 'user_defined_parameters', 'name', ] @@ -113,17 +113,17 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - feed=dict( + user_defined_parameters=dict( required=False, - elements='', - type='list'), + type='str'), user_defined_annotations=dict( required=False, type='str'), - namespace=dict( + feed=dict( required=False, - type='str'), - user_defined_parameters=dict( + elements='', + type='list'), + namespace=dict( required=False, type='str'), name=dict( @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_function_trigger', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_function_trigger', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_function_trigger_info.py b/plugins/modules/ibm_function_trigger_info.py index 07e7ca433..d2fb28d2c 100644 --- a/plugins/modules/ibm_function_trigger_info.py +++ b/plugins/modules/ibm_function_trigger_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_function_trigger' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -98,7 +98,7 @@ def run_module(): resource_type='ibm_function_trigger', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_hardware_firewall_shared.py b/plugins/modules/ibm_hardware_firewall_shared.py index 179cb95d0..d00e2c3b6 100644 --- a/plugins/modules/ibm_hardware_firewall_shared.py +++ b/plugins/modules/ibm_hardware_firewall_shared.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_hardware_firewall_shared' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_hardware_firewall_shared', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_hpcs.py b/plugins/modules/ibm_hpcs.py index 466cb94c4..c148dd6e4 100644 --- a/plugins/modules/ibm_hpcs.py +++ b/plugins/modules/ibm_hpcs.py @@ -18,41 +18,36 @@ - Create, update or destroy an IBM Cloud 'ibm_hpcs' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - location: + service_endpoints: description: - - (Required for new resource) The location where the HPCS instance available - required: True + - Types of the service endpoints. Possible values are `public-and-private`, `private-only`. + required: False type: str revocation_threshold: description: - (Required for new resource) Revocation Threshold Value required: True type: int - failover_units: + admins: description: - - The number of failover crypto units for your service instance - required: False - type: int - service: + - (Required for new resource) Crypto Unit Administrators + required: True + type: list + elements: dict + location: description: - - The name of the service offering `hs-crypto` - required: False + - (Required for new resource) The location where the HPCS instance available + required: True type: str - default: hs-crypto - signature_threshold: + units: description: - - (Required for new resource) Signature Threshold Value + - (Required for new resource) The number of operational crypto units for your service instance required: True type: int - plan: - description: - - (Required for new resource) The plan type of the HPCS Instance - required: True - type: str resource_group_id: description: - The resource group id @@ -68,28 +63,33 @@ - (Required for new resource) A name for the HPCS instance required: True type: str - units: + tags: description: - - (Required for new resource) The number of operational crypto units for your service instance + - None + required: False + type: list + elements: str + plan: + description: + - (Required for new resource) The plan type of the HPCS Instance required: True - type: int - service_endpoints: + type: str + service: description: - - Types of the service endpoints. Possible values are `public-and-private`, `private-only`. + - The name of the service offering `hs-crypto` required: False type: str - tags: + default: hs-crypto + failover_units: description: - - None + - The number of failover crypto units for your service instance required: False - type: list - elements: str - admins: + type: int + signature_threshold: description: - - (Required for new resource) Crypto Unit Administrators + - (Required for new resource) Signature Threshold Value required: True - type: list - elements: dict + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -136,30 +136,30 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('location', 'str'), ('revocation_threshold', 'int'), - ('signature_threshold', 'int'), - ('plan', 'str'), - ('name', 'str'), - ('units', 'int'), ('admins', 'list'), + ('location', 'str'), + ('units', 'int'), + ('name', 'str'), + ('plan', 'str'), + ('signature_threshold', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'location', + 'service_endpoints', 'revocation_threshold', - 'failover_units', - 'service', - 'signature_threshold', - 'plan', + 'admins', + 'location', + 'units', 'resource_group_id', 'signature_server_url', 'name', - 'units', - 'service_endpoints', 'tags', - 'admins', + 'plan', + 'service', + 'failover_units', + 'signature_threshold', ] # Params for Data source @@ -169,9 +169,9 @@ TL_ALL_PARAMETERS_DS = [ 'resource_group_id', - 'name', 'location', 'service', + 'name', ] TL_CONFLICTS_MAP = { @@ -181,24 +181,22 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - location=dict( + service_endpoints=dict( required=False, type='str'), revocation_threshold=dict( required=False, type='int'), - failover_units=dict( + admins=dict( required=False, - type='int'), - service=dict( + elements='', + type='list'), + location=dict( required=False, type='str'), - signature_threshold=dict( + units=dict( required=False, type='int'), - plan=dict( - required=False, - type='str'), resource_group_id=dict( required=False, type='str'), @@ -208,20 +206,22 @@ name=dict( required=False, type='str'), - units=dict( - required=False, - type='int'), - service_endpoints=dict( - required=False, - type='str'), tags=dict( required=False, elements='', type='list'), - admins=dict( + plan=dict( required=False, - elements='', - type='list'), + type='str'), + service=dict( + required=False, + type='str'), + failover_units=dict( + required=False, + type='int'), + signature_threshold=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -287,7 +287,7 @@ def run_module(): resource_type='ibm_hpcs', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -296,7 +296,7 @@ def run_module(): resource_type='ibm_hpcs', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_hpcs_info.py b/plugins/modules/ibm_hpcs_info.py index 71425fb0e..f066439cd 100644 --- a/plugins/modules/ibm_hpcs_info.py +++ b/plugins/modules/ibm_hpcs_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_hpcs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -26,11 +26,6 @@ - The id of the resource group in which the instance is present required: False type: str - name: - description: - - Resource instance name for example, myobjectstorage - required: True - type: str location: description: - The location or the environment in which instance exists @@ -42,6 +37,11 @@ required: False type: str default: hs-crypto + name: + description: + - Resource instance name for example, myobjectstorage + required: True + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -81,9 +81,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'resource_group_id', - 'name', 'location', 'service', + 'name', ] @@ -97,15 +97,15 @@ resource_group_id=dict( required=False, type='str'), - name=dict( - required=True, - type='str'), location=dict( required=False, type='str'), service=dict( required=False, type='str'), + name=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -140,7 +140,7 @@ def run_module(): resource_type='ibm_hpcs', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_hpcs_key_template.py b/plugins/modules/ibm_hpcs_key_template.py index fbc4240e6..f64968f01 100644 --- a/plugins/modules/ibm_hpcs_key_template.py +++ b/plugins/modules/ibm_hpcs_key_template.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_hpcs_key_template' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,17 +27,6 @@ - (Required for new resource) The UUID of the Vault in which the update is to take place. required: True type: str - name: - description: - - (Required for new resource) Name of the template, it will be referenced when creating managed keys. - required: True - type: str - key: - description: - - (Required for new resource) Properties describing the properties of the managed key. - required: True - type: list - elements: dict keystores: description: - (Required for new resource) An array describing the type and group of target keystores the managed key is to be installed in. @@ -49,14 +38,19 @@ - Description of the key template. required: False type: str - instance_id: + region: description: - - (Required for new resource) The ID of the UKO instance this resource exists in. + - (Required for new resource) The region of the UKO instance this resource exists in. required: True type: str - region: + name: description: - - (Required for new resource) The region of the UKO instance this resource exists in. + - (Required for new resource) Name of the template, it will be referenced when creating managed keys. + required: True + type: str + instance_id: + description: + - (Required for new resource) The ID of the UKO instance this resource exists in. required: True type: str vault: @@ -65,6 +59,12 @@ required: True type: list elements: dict + key: + description: + - (Required for new resource) Properties describing the properties of the managed key. + required: True + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -112,39 +112,39 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('uko_vault', 'str'), - ('name', 'str'), - ('key', 'list'), ('keystores', 'list'), - ('instance_id', 'str'), ('region', 'str'), + ('name', 'str'), + ('instance_id', 'str'), ('vault', 'list'), + ('key', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'uko_vault', - 'name', - 'key', 'keystores', 'description', - 'instance_id', 'region', + 'name', + 'instance_id', 'vault', + 'key', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('region', 'str'), + ('uko_vault', 'str'), ('instance_id', 'str'), ('template_id', 'str'), - ('uko_vault', 'str'), + ('region', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'region', + 'uko_vault', 'instance_id', 'template_id', - 'uko_vault', + 'region', ] TL_CONFLICTS_MAP = { @@ -157,13 +157,6 @@ uko_vault=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), - key=dict( - required=False, - elements='', - type='list'), keystores=dict( required=False, elements='', @@ -171,16 +164,23 @@ description=dict( required=False, type='str'), - instance_id=dict( + region=dict( required=False, type='str'), - region=dict( + name=dict( + required=False, + type='str'), + instance_id=dict( required=False, type='str'), vault=dict( required=False, elements='', type='list'), + key=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -246,7 +246,7 @@ def run_module(): resource_type='ibm_hpcs_key_template', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -255,7 +255,7 @@ def run_module(): resource_type='ibm_hpcs_key_template', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_hpcs_key_template_info.py b/plugins/modules/ibm_hpcs_key_template_info.py index 75743870b..230535a6b 100644 --- a/plugins/modules/ibm_hpcs_key_template_info.py +++ b/plugins/modules/ibm_hpcs_key_template_info.py @@ -17,13 +17,13 @@ description: - Retrieve an IBM Cloud 'ibm_hpcs_key_template' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - region: + uko_vault: description: - - The region of the UKO instance this resource exists in. + - The UUID of the Vault in which the update is to take place. required: True type: str instance_id: @@ -36,9 +36,9 @@ - UUID of the template. required: True type: str - uko_vault: + region: description: - - The UUID of the Vault in which the update is to take place. + - The region of the UKO instance this resource exists in. required: True type: str iaas_classic_username: @@ -74,18 +74,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('region', 'str'), + ('uko_vault', 'str'), ('instance_id', 'str'), ('template_id', 'str'), - ('uko_vault', 'str'), + ('region', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'region', + 'uko_vault', 'instance_id', 'template_id', - 'uko_vault', + 'region', ] @@ -96,7 +96,7 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - region=dict( + uko_vault=dict( required=True, type='str'), instance_id=dict( @@ -105,7 +105,7 @@ template_id=dict( required=True, type='str'), - uko_vault=dict( + region=dict( required=True, type='str'), iaas_classic_username=dict( @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_hpcs_key_template', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_hpcs_keystore.py b/plugins/modules/ibm_hpcs_keystore.py index 8827953d1..7b975bad7 100644 --- a/plugins/modules/ibm_hpcs_keystore.py +++ b/plugins/modules/ibm_hpcs_keystore.py @@ -18,33 +18,44 @@ - Create, update or destroy an IBM Cloud 'ibm_hpcs_keystore' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - aws_access_key_id: + ibm_key_ring: description: - - The access key id used for connecting to this instance of AWS KMS. + - The key ring of an IBM Cloud KMS Keystore. required: False type: str - azure_service_name: + description: description: - - Service name of the key vault instance from the Azure portal. + - Description of the keystore. required: False type: str - azure_resource_group: + groups: description: - - Resource group in Azure. + - List of groups that this keystore belongs to. + required: False + type: list + elements: str + aws_secret_access_key: + description: + - The secret access key used for connecting to this instance of AWS KMS. required: False type: str - ibm_api_endpoint: + azure_tenant: description: - - API endpoint of the IBM Cloud keystore. + - Azure tenant that the Key Vault is associated with,. required: False type: str - ibm_key_ring: + ibm_variant: description: - - The key ring of an IBM Cloud KMS Keystore. + - Possible IBM Cloud KMS variants. + required: False + type: str + aws_region: + description: + - AWS Region. required: False type: str vault: @@ -53,60 +64,59 @@ required: True type: list elements: dict - aws_region: + region: description: - - AWS Region. - required: False + - (Required for new resource) The region of the UKO instance this resource exists in. + required: True type: str - ibm_api_key: + uko_vault: description: - - The IBM Cloud API key to be used for connecting to this IBM Cloud keystore. - required: False + - (Required for new resource) The UUID of the Vault in which the update is to take place. + required: True type: str - groups: + azure_resource_group: description: - - List of groups that this keystore belongs to. + - Resource group in Azure. required: False - type: list - elements: str - azure_service_principal_password: + type: str + ibm_api_endpoint: description: - - Azure service principal password. + - API endpoint of the IBM Cloud keystore. required: False type: str - azure_environment: + type: description: - - Azure environment, usually 'Azure'. - required: False + - (Required for new resource) Type of keystore. + required: True type: str instance_id: description: - (Required for new resource) The ID of the UKO instance this resource exists in. required: True type: str - region: + azure_location: description: - - (Required for new resource) The region of the UKO instance this resource exists in. - required: True + - Location of the Azure Key Vault. + required: False type: str - ibm_iam_endpoint: + azure_subscription_id: description: - - Endpoint of the IAM service for this IBM Cloud keystore. + - Subscription ID in Azure. required: False type: str - description: + azure_environment: description: - - Description of the keystore. + - Azure environment, usually 'Azure'. required: False type: str - azure_service_principal_client_id: + ibm_iam_endpoint: description: - - Azure service principal client ID. + - Endpoint of the IAM service for this IBM Cloud keystore. required: False type: str - azure_subscription_id: + ibm_api_key: description: - - Subscription ID in Azure. + - The IBM Cloud API key to be used for connecting to this IBM Cloud keystore. required: False type: str name: @@ -114,39 +124,29 @@ - Name of the target keystore. It can be changed in the future. required: False type: str - type: - description: - - (Required for new resource) Type of keystore. - required: True - type: str - uko_vault: - description: - - (Required for new resource) The UUID of the Vault in which the update is to take place. - required: True - type: str - aws_secret_access_key: + azure_service_name: description: - - The secret access key used for connecting to this instance of AWS KMS. + - Service name of the key vault instance from the Azure portal. required: False type: str - azure_location: + ibm_instance_id: description: - - Location of the Azure Key Vault. + - The instance ID of the IBM Cloud keystore. required: False type: str - ibm_variant: + azure_service_principal_client_id: description: - - Possible IBM Cloud KMS variants. + - Azure service principal client ID. required: False type: str - ibm_instance_id: + aws_access_key_id: description: - - The instance ID of the IBM Cloud keystore. + - The access key id used for connecting to this instance of AWS KMS. required: False type: str - azure_tenant: + azure_service_principal_password: description: - - Azure tenant that the Key Vault is associated with,. + - Azure service principal password. required: False type: str id: @@ -196,39 +196,39 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('vault', 'list'), - ('instance_id', 'str'), ('region', 'str'), - ('type', 'str'), ('uko_vault', 'str'), + ('type', 'str'), + ('instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'aws_access_key_id', - 'azure_service_name', - 'azure_resource_group', - 'ibm_api_endpoint', 'ibm_key_ring', - 'vault', - 'aws_region', - 'ibm_api_key', + 'description', 'groups', - 'azure_service_principal_password', - 'azure_environment', - 'instance_id', + 'aws_secret_access_key', + 'azure_tenant', + 'ibm_variant', + 'aws_region', + 'vault', 'region', - 'ibm_iam_endpoint', - 'description', - 'azure_service_principal_client_id', - 'azure_subscription_id', - 'name', - 'type', 'uko_vault', - 'aws_secret_access_key', + 'azure_resource_group', + 'ibm_api_endpoint', + 'type', + 'instance_id', 'azure_location', - 'ibm_variant', + 'azure_subscription_id', + 'azure_environment', + 'ibm_iam_endpoint', + 'ibm_api_key', + 'name', + 'azure_service_name', 'ibm_instance_id', - 'azure_tenant', + 'azure_service_principal_client_id', + 'aws_access_key_id', + 'azure_service_principal_password', ] # Params for Data source @@ -253,81 +253,81 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - aws_access_key_id=dict( + ibm_key_ring=dict( required=False, type='str'), - azure_service_name=dict( + description=dict( required=False, type='str'), - azure_resource_group=dict( + groups=dict( required=False, - type='str'), - ibm_api_endpoint=dict( + elements='', + type='list'), + aws_secret_access_key=dict( required=False, type='str'), - ibm_key_ring=dict( + azure_tenant=dict( required=False, type='str'), - vault=dict( - required=False, - elements='', - type='list'), - aws_region=dict( + ibm_variant=dict( required=False, type='str'), - ibm_api_key=dict( + aws_region=dict( required=False, type='str'), - groups=dict( + vault=dict( required=False, elements='', type='list'), - azure_service_principal_password=dict( + region=dict( required=False, type='str'), - azure_environment=dict( + uko_vault=dict( required=False, type='str'), - instance_id=dict( + azure_resource_group=dict( required=False, type='str'), - region=dict( + ibm_api_endpoint=dict( required=False, type='str'), - ibm_iam_endpoint=dict( + type=dict( required=False, type='str'), - description=dict( + instance_id=dict( required=False, type='str'), - azure_service_principal_client_id=dict( + azure_location=dict( required=False, type='str'), azure_subscription_id=dict( required=False, type='str'), - name=dict( + azure_environment=dict( required=False, type='str'), - type=dict( + ibm_iam_endpoint=dict( required=False, type='str'), - uko_vault=dict( + ibm_api_key=dict( required=False, type='str'), - aws_secret_access_key=dict( + name=dict( required=False, type='str'), - azure_location=dict( + azure_service_name=dict( required=False, type='str'), - ibm_variant=dict( + ibm_instance_id=dict( required=False, type='str'), - ibm_instance_id=dict( + azure_service_principal_client_id=dict( required=False, type='str'), - azure_tenant=dict( + aws_access_key_id=dict( + required=False, + type='str'), + azure_service_principal_password=dict( required=False, type='str'), id=dict( @@ -395,7 +395,7 @@ def run_module(): resource_type='ibm_hpcs_keystore', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -404,7 +404,7 @@ def run_module(): resource_type='ibm_hpcs_keystore', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_hpcs_keystore_info.py b/plugins/modules/ibm_hpcs_keystore_info.py index a448be161..be955b09d 100644 --- a/plugins/modules/ibm_hpcs_keystore_info.py +++ b/plugins/modules/ibm_hpcs_keystore_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_hpcs_keystore' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_hpcs_keystore', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_hpcs_managed_key.py b/plugins/modules/ibm_hpcs_managed_key.py index fdb8a122e..c4543ebbc 100644 --- a/plugins/modules/ibm_hpcs_managed_key.py +++ b/plugins/modules/ibm_hpcs_managed_key.py @@ -18,34 +18,23 @@ - Create, update or destroy an IBM Cloud 'ibm_hpcs_managed_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - region: - description: - - (Required for new resource) The region of the UKO instance this resource exists in. - required: True - type: str - tags: - description: - - Key-value pairs associated with the key. - required: False - type: list - elements: dict - description: + state_: description: - - Description of the managed key. + - The state of the key. required: False type: str - instance_id: + uko_vault: description: - - (Required for new resource) The ID of the UKO instance this resource exists in. + - (Required for new resource) The UUID of the Vault in which the update is to take place. required: True type: str - uko_vault: + instance_id: description: - - (Required for new resource) The UUID of the Vault in which the update is to take place. + - (Required for new resource) The ID of the UKO instance this resource exists in. required: True type: str template_name: @@ -59,14 +48,25 @@ required: True type: list elements: dict + tags: + description: + - Key-value pairs associated with the key. + required: False + type: list + elements: dict + region: + description: + - (Required for new resource) The region of the UKO instance this resource exists in. + required: True + type: str label: description: - (Required for new resource) The label of the key. required: True type: str - state_: + description: description: - - The state of the key. + - Description of the managed key. required: False type: str id: @@ -115,39 +115,39 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('region', 'str'), - ('instance_id', 'str'), ('uko_vault', 'str'), + ('instance_id', 'str'), ('vault', 'list'), + ('region', 'str'), ('label', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'region', - 'tags', - 'description', - 'instance_id', + 'state_', 'uko_vault', + 'instance_id', 'template_name', 'vault', + 'tags', + 'region', 'label', - 'state_', + 'description', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('region', 'str'), + ('instance_id', 'str'), ('uko_vault', 'str'), + ('region', 'str'), ('key_id', 'str'), - ('instance_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'region', + 'instance_id', 'uko_vault', + 'region', 'key_id', - 'instance_id', ] TL_CONFLICTS_MAP = { @@ -157,22 +157,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - region=dict( + state_=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), - description=dict( + uko_vault=dict( required=False, type='str'), instance_id=dict( required=False, type='str'), - uko_vault=dict( - required=False, - type='str'), template_name=dict( required=False, type='str'), @@ -180,10 +173,17 @@ required=False, elements='', type='list'), + tags=dict( + required=False, + elements='', + type='list'), + region=dict( + required=False, + type='str'), label=dict( required=False, type='str'), - state_=dict( + description=dict( required=False, type='str'), id=dict( @@ -251,7 +251,7 @@ def run_module(): resource_type='ibm_hpcs_managed_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -260,7 +260,7 @@ def run_module(): resource_type='ibm_hpcs_managed_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_hpcs_managed_key_info.py b/plugins/modules/ibm_hpcs_managed_key_info.py index 7f9b84e4d..c0d8e2808 100644 --- a/plugins/modules/ibm_hpcs_managed_key_info.py +++ b/plugins/modules/ibm_hpcs_managed_key_info.py @@ -17,13 +17,13 @@ description: - Retrieve an IBM Cloud 'ibm_hpcs_managed_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - region: + instance_id: description: - - The region of the UKO instance this resource exists in. + - The ID of the UKO instance this resource exists in. required: True type: str uko_vault: @@ -31,14 +31,14 @@ - The UUID of the Vault in which the update is to take place. required: True type: str - key_id: + region: description: - - UUID of the key. + - The region of the UKO instance this resource exists in. required: True type: str - instance_id: + key_id: description: - - The ID of the UKO instance this resource exists in. + - UUID of the key. required: True type: str iaas_classic_username: @@ -74,18 +74,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('region', 'str'), + ('instance_id', 'str'), ('uko_vault', 'str'), + ('region', 'str'), ('key_id', 'str'), - ('instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'region', + 'instance_id', 'uko_vault', + 'region', 'key_id', - 'instance_id', ] @@ -96,16 +96,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - region=dict( + instance_id=dict( required=True, type='str'), uko_vault=dict( required=True, type='str'), - key_id=dict( + region=dict( required=True, type='str'), - instance_id=dict( + key_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_hpcs_managed_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_hpcs_vault.py b/plugins/modules/ibm_hpcs_vault.py index 7b0cae8aa..bb1d02777 100644 --- a/plugins/modules/ibm_hpcs_vault.py +++ b/plugins/modules/ibm_hpcs_vault.py @@ -18,18 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_hpcs_vault' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - instance_id: - description: - - (Required for new resource) The ID of the UKO instance this resource exists in. - required: True - type: str - name: + region: description: - - (Required for new resource) A human-readable name to assign to your vault. To protect your privacy, do not use personal data, such as your name or location. + - (Required for new resource) The region of the UKO instance this resource exists in. required: True type: str description: @@ -37,9 +32,14 @@ - Description of the vault. required: False type: str - region: + instance_id: description: - - (Required for new resource) The region of the UKO instance this resource exists in. + - (Required for new resource) The ID of the UKO instance this resource exists in. + required: True + type: str + name: + description: + - (Required for new resource) A human-readable name to assign to your vault. To protect your privacy, do not use personal data, such as your name or location. required: True type: str id: @@ -88,30 +88,30 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('region', 'str'), ('instance_id', 'str'), ('name', 'str'), - ('region', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'region', + 'description', 'instance_id', 'name', - 'description', - 'region', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('vault_id', 'str'), ('instance_id', 'str'), ('region', 'str'), + ('vault_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'vault_id', 'instance_id', 'region', + 'vault_id', ] TL_CONFLICTS_MAP = { @@ -121,16 +121,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_id=dict( + region=dict( required=False, type='str'), - name=dict( + description=dict( required=False, type='str'), - description=dict( + instance_id=dict( required=False, type='str'), - region=dict( + name=dict( required=False, type='str'), id=dict( @@ -198,7 +198,7 @@ def run_module(): resource_type='ibm_hpcs_vault', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_hpcs_vault', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_hpcs_vault_info.py b/plugins/modules/ibm_hpcs_vault_info.py index ed4a3f2a9..e6331a110 100644 --- a/plugins/modules/ibm_hpcs_vault_info.py +++ b/plugins/modules/ibm_hpcs_vault_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_hpcs_vault' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - vault_id: - description: - - UUID of the vault. - required: True - type: str instance_id: description: - The ID of the UKO instance this resource exists in. @@ -36,6 +31,11 @@ - The region of the UKO instance this resource exists in. required: True type: str + vault_id: + description: + - UUID of the vault. + required: True + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -69,16 +69,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('vault_id', 'str'), ('instance_id', 'str'), ('region', 'str'), + ('vault_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'vault_id', 'instance_id', 'region', + 'vault_id', ] @@ -89,15 +89,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - vault_id=dict( - required=True, - type='str'), instance_id=dict( required=True, type='str'), region=dict( required=True, type='str'), + vault_id=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_hpcs_vault', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_access_group.py b/plugins/modules/ibm_iam_access_group.py index 29fe69bba..bacf807cf 100644 --- a/plugins/modules/ibm_iam_access_group.py +++ b/plugins/modules/ibm_iam_access_group.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_access_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_iam_access_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_iam_access_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_access_group_account_settings.py b/plugins/modules/ibm_iam_access_group_account_settings.py index 5071071b0..b6d2344a9 100644 --- a/plugins/modules/ibm_iam_access_group_account_settings.py +++ b/plugins/modules/ibm_iam_access_group_account_settings.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_access_group_account_settings' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -163,7 +163,7 @@ def run_module(): resource_type='ibm_iam_access_group_account_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_access_group_dynamic_rule.py b/plugins/modules/ibm_iam_access_group_dynamic_rule.py index cea3cf7cd..ad9589738 100644 --- a/plugins/modules/ibm_iam_access_group_dynamic_rule.py +++ b/plugins/modules/ibm_iam_access_group_dynamic_rule.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_access_group_dynamic_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -205,7 +205,7 @@ def run_module(): resource_type='ibm_iam_access_group_dynamic_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_access_group_info.py b/plugins/modules/ibm_iam_access_group_info.py index 937adf94c..ec47aa1a3 100644 --- a/plugins/modules/ibm_iam_access_group_info.py +++ b/plugins/modules/ibm_iam_access_group_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_access_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_iam_access_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_access_group_members.py b/plugins/modules/ibm_iam_access_group_members.py index 378360d53..195cc1333 100644 --- a/plugins/modules/ibm_iam_access_group_members.py +++ b/plugins/modules/ibm_iam_access_group_members.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_access_group_members' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_iam_access_group_members', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_access_group_policy.py b/plugins/modules/ibm_iam_access_group_policy.py index 35db35f21..7d78a7c10 100644 --- a/plugins/modules/ibm_iam_access_group_policy.py +++ b/plugins/modules/ibm_iam_access_group_policy.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_access_group_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,12 +27,6 @@ - (Required for new resource) ID of access group required: True type: str - roles: - description: - - (Required for new resource) Role names of the policy definition - required: True - type: list - elements: str resources: description: - None @@ -45,11 +39,18 @@ required: False type: list elements: str - description: + resource_tags: description: - - Description of the Policy + - Set access management tags. required: False - type: str + type: list + elements: dict + roles: + description: + - (Required for new resource) Role names of the policy definition + required: True + type: list + elements: str resource_attributes: description: - Set resource attributes. @@ -62,12 +63,11 @@ required: False type: bool default: False - resource_tags: + description: description: - - Set access management tags. + - Description of the Policy required: False - type: list - elements: dict + type: str transaction_id: description: - Set transactionID for debug @@ -126,13 +126,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'access_group_id', - 'roles', 'resources', 'tags', - 'description', + 'resource_tags', + 'roles', 'resource_attributes', 'account_management', - 'resource_tags', + 'description', 'transaction_id', ] @@ -160,21 +160,22 @@ access_group_id=dict( required=False, type='str'), - roles=dict( + resources=dict( required=False, elements='', type='list'), - resources=dict( + tags=dict( required=False, elements='', type='list'), - tags=dict( + resource_tags=dict( required=False, elements='', type='list'), - description=dict( + roles=dict( required=False, - type='str'), + elements='', + type='list'), resource_attributes=dict( required=False, elements='', @@ -182,10 +183,9 @@ account_management=dict( required=False, type='bool'), - resource_tags=dict( + description=dict( required=False, - elements='', - type='list'), + type='str'), transaction_id=dict( required=False, type='str'), @@ -254,7 +254,7 @@ def run_module(): resource_type='ibm_iam_access_group_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -263,7 +263,7 @@ def run_module(): resource_type='ibm_iam_access_group_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_access_group_policy_info.py b/plugins/modules/ibm_iam_access_group_policy_info.py index deee99077..5d12d4c5e 100644 --- a/plugins/modules/ibm_iam_access_group_policy_info.py +++ b/plugins/modules/ibm_iam_access_group_policy_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_access_group_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -130,7 +130,7 @@ def run_module(): resource_type='ibm_iam_access_group_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_account_settings.py b/plugins/modules/ibm_iam_account_settings.py index ca2c53b3f..35244daf0 100644 --- a/plugins/modules/ibm_iam_account_settings.py +++ b/plugins/modules/ibm_iam_account_settings.py @@ -18,28 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_account_settings' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - restrict_create_service_id: - description: - - Defines whether or not creating a Service Id is access controlled. Valid values: * RESTRICTED - to apply access control * NOT_RESTRICTED - to remove access control * NOT_SET - to 'unset' a previous set value. - required: False - type: str - entity_tag: - description: - - Version of the account settings. - required: False - type: str - max_sessions_per_identity: - description: - - Defines the max allowed sessions per identity required by the account. Value values: * Any whole number greater than '0' * NOT_SET - To unset account setting and use service default. - required: False - type: str - session_expiration_in_seconds: + allowed_ip_addresses: description: - - Defines the session expiration in seconds for the account. Valid values: * Any whole number between between '900' and '86400' * NOT_SET - To unset account setting and use service default. + - Defines the IP addresses and subnets from which IAM tokens can be created for the account. required: False type: str session_invalidation_in_seconds: @@ -58,9 +43,9 @@ - Defines whether or not creating platform API keys is access controlled. Valid values: * RESTRICTED - to apply access control * NOT_RESTRICTED - to remove access control * NOT_SET - to 'unset' a previous set value. required: False type: str - allowed_ip_addresses: + entity_tag: description: - - Defines the IP addresses and subnets from which IAM tokens can be created for the account. + - Version of the account settings. required: False type: str mfa: @@ -74,6 +59,21 @@ required: False type: str default: * + session_expiration_in_seconds: + description: + - Defines the session expiration in seconds for the account. Valid values: * Any whole number between between '900' and '86400' * NOT_SET - To unset account setting and use service default. + required: False + type: str + max_sessions_per_identity: + description: + - Defines the max allowed sessions per identity required by the account. Value values: * Any whole number greater than '0' * NOT_SET - To unset account setting and use service default. + required: False + type: str + restrict_create_service_id: + description: + - Defines whether or not creating a Service Id is access controlled. Valid values: * RESTRICTED - to apply access control * NOT_RESTRICTED - to remove access control * NOT_SET - to 'unset' a previous set value. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -124,16 +124,16 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'restrict_create_service_id', - 'entity_tag', - 'max_sessions_per_identity', - 'session_expiration_in_seconds', + 'allowed_ip_addresses', 'session_invalidation_in_seconds', 'include_history', 'restrict_create_platform_apikey', - 'allowed_ip_addresses', + 'entity_tag', 'mfa', 'if_match', + 'session_expiration_in_seconds', + 'max_sessions_per_identity', + 'restrict_create_service_id', ] # Params for Data source @@ -151,16 +151,7 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - restrict_create_service_id=dict( - required=False, - type='str'), - entity_tag=dict( - required=False, - type='str'), - max_sessions_per_identity=dict( - required=False, - type='str'), - session_expiration_in_seconds=dict( + allowed_ip_addresses=dict( required=False, type='str'), session_invalidation_in_seconds=dict( @@ -172,7 +163,7 @@ restrict_create_platform_apikey=dict( required=False, type='str'), - allowed_ip_addresses=dict( + entity_tag=dict( required=False, type='str'), mfa=dict( @@ -181,6 +172,15 @@ if_match=dict( required=False, type='str'), + session_expiration_in_seconds=dict( + required=False, + type='str'), + max_sessions_per_identity=dict( + required=False, + type='str'), + restrict_create_service_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -246,7 +246,7 @@ def run_module(): resource_type='ibm_iam_account_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -255,7 +255,7 @@ def run_module(): resource_type='ibm_iam_account_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_account_settings_info.py b/plugins/modules/ibm_iam_account_settings_info.py index 326e9a988..d1a6dd1b0 100644 --- a/plugins/modules/ibm_iam_account_settings_info.py +++ b/plugins/modules/ibm_iam_account_settings_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_account_settings' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_iam_account_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_api_key.py b/plugins/modules/ibm_iam_api_key.py index 6586085e5..4f4eca868 100644 --- a/plugins/modules/ibm_iam_api_key.py +++ b/plugins/modules/ibm_iam_api_key.py @@ -18,23 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_api_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - description: - description: - - The optional description of the API key. The 'description' property is only available if a description was provided during a create of an API key. - required: False - type: str store_value: description: - Send true or false to set whether the API key value is retrievable in the future by using the Get details of an API key request. If you create an API key for a user, you must specify `false` or omit the value. We don't allow storing of API keys for users. required: False type: bool - file: + description: description: - - File where api key is to be stored + - The optional description of the API key. The 'description' property is only available if a description was provided during a create of an API key. required: False type: str name: @@ -42,17 +37,22 @@ - (Required for new resource) Name of the API key. The name is not checked for uniqueness. Therefore multiple names with the same value can exist. Access is done via the UUID of the API key. required: True type: str - entity_lock: + apikey: description: - - Indicates if the API key is locked for further write operations. False by default. + - You can optionally passthrough the API key value for this API key. If passed, NO validation of that apiKey value is done, i.e. the value can be non-URL safe. If omitted, the API key management will create an URL safe opaque API key value. The value of the API key is checked for uniqueness. Please ensure enough variations when passing in this value. required: False type: str - default: false - apikey: + file: description: - - You can optionally passthrough the API key value for this API key. If passed, NO validation of that apiKey value is done, i.e. the value can be non-URL safe. If omitted, the API key management will create an URL safe opaque API key value. The value of the API key is checked for uniqueness. Please ensure enough variations when passing in this value. + - File where api key is to be stored + required: False + type: str + entity_lock: + description: + - Indicates if the API key is locked for further write operations. False by default. required: False type: str + default: false id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -104,12 +104,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'description', 'store_value', - 'file', + 'description', 'name', - 'entity_lock', 'apikey', + 'file', + 'entity_lock', ] # Params for Data source @@ -128,22 +128,22 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - description=dict( - required=False, - type='str'), store_value=dict( required=False, type='bool'), - file=dict( + description=dict( required=False, type='str'), name=dict( required=False, type='str'), - entity_lock=dict( + apikey=dict( required=False, type='str'), - apikey=dict( + file=dict( + required=False, + type='str'), + entity_lock=dict( required=False, type='str'), id=dict( @@ -211,7 +211,7 @@ def run_module(): resource_type='ibm_iam_api_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -220,7 +220,7 @@ def run_module(): resource_type='ibm_iam_api_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_api_key_info.py b/plugins/modules/ibm_iam_api_key_info.py index 17338469e..5ed38e389 100644 --- a/plugins/modules/ibm_iam_api_key_info.py +++ b/plugins/modules/ibm_iam_api_key_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_api_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_iam_api_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_auth_token_info.py b/plugins/modules/ibm_iam_auth_token_info.py index f4e909dc3..6912f9864 100644 --- a/plugins/modules/ibm_iam_auth_token_info.py +++ b/plugins/modules/ibm_iam_auth_token_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_auth_token' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_iam_auth_token', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_authorization_policies_info.py b/plugins/modules/ibm_iam_authorization_policies_info.py index 266fa0073..353bff293 100644 --- a/plugins/modules/ibm_iam_authorization_policies_info.py +++ b/plugins/modules/ibm_iam_authorization_policies_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_authorization_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -129,7 +129,7 @@ def run_module(): resource_type='ibm_iam_authorization_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_authorization_policy.py b/plugins/modules/ibm_iam_authorization_policy.py index 22d42889e..f40d4c75c 100644 --- a/plugins/modules/ibm_iam_authorization_policy.py +++ b/plugins/modules/ibm_iam_authorization_policy.py @@ -18,81 +18,81 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_authorization_policy' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - target_service_name: + source_resource_group_id: description: - - The target service name + - The source resource group Id required: False type: str - target_resource_instance_id: + target_resource_group_id: description: - - The target resource instance Id + - The target resource group Id required: False type: str - source_resource_type: + source_service_account: description: - - Resource type of source service + - Account GUID of source service required: False type: str - target_resource_type: + description: description: - - Resource type of target service + - Description of the Policy required: False type: str - subject_attributes: + roles: description: - - Set subject attributes. - required: False + - (Required for new resource) Role names of the policy definition + required: True type: list - elements: dict - description: + elements: str + source_resource_type: description: - - Description of the Policy + - Resource type of source service required: False type: str - transaction_id: + resource_attributes: description: - - Set transactionID for debug + - Set resource attributes. required: False - type: str - source_service_name: + type: list + elements: dict + target_service_name: description: - - The source service name + - The target service name required: False type: str - roles: - description: - - (Required for new resource) Role names of the policy definition - required: True - type: list - elements: str - source_resource_group_id: + source_resource_instance_id: description: - - The source resource group Id + - The source resource instance Id required: False type: str - source_service_account: + target_resource_type: description: - - Account GUID of source service + - Resource type of target service required: False type: str - resource_attributes: + subject_attributes: description: - - Set resource attributes. + - Set subject attributes. required: False type: list elements: dict - source_resource_instance_id: + source_service_name: description: - - The source resource instance Id + - The source service name required: False type: str - target_resource_group_id: + target_resource_instance_id: description: - - The target resource group Id + - The target resource instance Id + required: False + type: str + transaction_id: + description: + - Set transactionID for debug required: False type: str id: @@ -146,20 +146,20 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'target_service_name', - 'target_resource_instance_id', - 'source_resource_type', - 'target_resource_type', - 'subject_attributes', - 'description', - 'transaction_id', - 'source_service_name', - 'roles', 'source_resource_group_id', + 'target_resource_group_id', 'source_service_account', + 'description', + 'roles', + 'source_resource_type', 'resource_attributes', + 'target_service_name', 'source_resource_instance_id', - 'target_resource_group_id', + 'target_resource_type', + 'subject_attributes', + 'source_service_name', + 'target_resource_instance_id', + 'transaction_id', ] # Params for Data source @@ -170,64 +170,64 @@ ] TL_CONFLICTS_MAP = { - 'target_resource_instance_id': ['resource_attributes'], - 'source_resource_type': ['subject_attributes'], - 'target_resource_type': ['resource_attributes'], - 'subject_attributes': ['source_resource_instance_id', 'source_resource_group_id', 'source_resource_type', 'source_service_account'], 'source_resource_group_id': ['subject_attributes'], + 'target_resource_group_id': ['resource_attributes'], 'source_service_account': ['subject_attributes'], + 'source_resource_type': ['subject_attributes'], 'resource_attributes': ['target_resource_instance_id', 'target_resource_group_id', 'target_resource_type'], 'source_resource_instance_id': ['subject_attributes'], - 'target_resource_group_id': ['resource_attributes'], + 'target_resource_type': ['resource_attributes'], + 'subject_attributes': ['source_resource_instance_id', 'source_resource_group_id', 'source_resource_type', 'source_service_account'], + 'target_resource_instance_id': ['resource_attributes'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - target_service_name=dict( + source_resource_group_id=dict( required=False, type='str'), - target_resource_instance_id=dict( + target_resource_group_id=dict( required=False, type='str'), - source_resource_type=dict( + source_service_account=dict( required=False, type='str'), - target_resource_type=dict( + description=dict( required=False, type='str'), - subject_attributes=dict( + roles=dict( required=False, elements='', type='list'), - description=dict( - required=False, - type='str'), - transaction_id=dict( - required=False, - type='str'), - source_service_name=dict( + source_resource_type=dict( required=False, type='str'), - roles=dict( + resource_attributes=dict( required=False, elements='', type='list'), - source_resource_group_id=dict( + target_service_name=dict( required=False, type='str'), - source_service_account=dict( + source_resource_instance_id=dict( required=False, type='str'), - resource_attributes=dict( + target_resource_type=dict( + required=False, + type='str'), + subject_attributes=dict( required=False, elements='', type='list'), - source_resource_instance_id=dict( + source_service_name=dict( required=False, type='str'), - target_resource_group_id=dict( + target_resource_instance_id=dict( + required=False, + type='str'), + transaction_id=dict( required=False, type='str'), id=dict( @@ -295,7 +295,7 @@ def run_module(): resource_type='ibm_iam_authorization_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_authorization_policy_detach.py b/plugins/modules/ibm_iam_authorization_policy_detach.py index 2f0ef21ef..eb566ed5a 100644 --- a/plugins/modules/ibm_iam_authorization_policy_detach.py +++ b/plugins/modules/ibm_iam_authorization_policy_detach.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_authorization_policy_detach' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -163,7 +163,7 @@ def run_module(): resource_type='ibm_iam_authorization_policy_detach', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_custom_role.py b/plugins/modules/ibm_iam_custom_role.py index 6b29b3767..f0db2d352 100644 --- a/plugins/modules/ibm_iam_custom_role.py +++ b/plugins/modules/ibm_iam_custom_role.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_custom_role' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - service: - description: - - (Required for new resource) The Service Name - required: True - type: str name: description: - (Required for new resource) The name of the custom Role @@ -37,17 +32,22 @@ - The description of the role required: False type: str - actions: + service: description: - - (Required for new resource) The actions of the role + - (Required for new resource) The Service Name required: True - type: list - elements: str + type: str display_name: description: - (Required for new resource) Display Name of the Custom Role required: True type: str + actions: + description: + - (Required for new resource) The actions of the role + required: True + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,19 +94,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('service', 'str'), ('name', 'str'), - ('actions', 'list'), + ('service', 'str'), ('display_name', 'str'), + ('actions', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'service', 'name', 'description', - 'actions', + 'service', 'display_name', + 'actions', ] # Params for Data source @@ -123,22 +123,22 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - service=dict( - required=False, - type='str'), name=dict( required=False, type='str'), description=dict( required=False, type='str'), - actions=dict( + service=dict( required=False, - elements='', - type='list'), + type='str'), display_name=dict( required=False, type='str'), + actions=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -204,7 +204,7 @@ def run_module(): resource_type='ibm_iam_custom_role', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_role_actions_info.py b/plugins/modules/ibm_iam_role_actions_info.py index b062add59..8e641abc5 100644 --- a/plugins/modules/ibm_iam_role_actions_info.py +++ b/plugins/modules/ibm_iam_role_actions_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_role_actions' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_iam_role_actions', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_roles_info.py b/plugins/modules/ibm_iam_roles_info.py index 5b48088fa..8e7a03420 100644 --- a/plugins/modules/ibm_iam_roles_info.py +++ b/plugins/modules/ibm_iam_roles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_roles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_iam_roles', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_service_api_key.py b/plugins/modules/ibm_iam_service_api_key.py index 02d25d14f..9b30c9abc 100644 --- a/plugins/modules/ibm_iam_service_api_key.py +++ b/plugins/modules/ibm_iam_service_api_key.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_service_api_key' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + name: + description: + - (Required for new resource) Name of the Service API key + required: True + type: str locked: description: - The API key cannot be changed if set to true @@ -32,10 +37,10 @@ - Boolean value deciding whether API key value is retrievable in the future required: False type: bool - name: + file: description: - - (Required for new resource) Name of the Service API key - required: True + - File where api key is to be stored + required: False type: str description: description: @@ -52,11 +57,6 @@ - API key value for this API key required: False type: str - file: - description: - - File where api key is to be stored - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -109,13 +109,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'locked', 'store_value', - 'name', + 'file', 'description', 'iam_service_id', 'apikey', - 'file', ] # Params for Data source @@ -132,13 +132,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + name=dict( + required=False, + type='str'), locked=dict( required=False, type='bool'), store_value=dict( required=False, type='bool'), - name=dict( + file=dict( required=False, type='str'), description=dict( @@ -150,9 +153,6 @@ apikey=dict( required=False, type='str'), - file=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -218,7 +218,7 @@ def run_module(): resource_type='ibm_iam_service_api_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_service_id.py b/plugins/modules/ibm_iam_service_id.py index 8cdfb86da..9505743ce 100644 --- a/plugins/modules/ibm_iam_service_id.py +++ b/plugins/modules/ibm_iam_service_id.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_service_id' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - description: - description: - - Description of the serviceID - required: False - type: str tags: description: - None @@ -38,6 +33,11 @@ - (Required for new resource) Name of the serviceID required: True type: str + description: + description: + - Description of the serviceID + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,9 +89,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'description', 'tags', 'name', + 'description', ] # Params for Data source @@ -110,9 +110,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - description=dict( - required=False, - type='str'), tags=dict( required=False, elements='', @@ -120,6 +117,9 @@ name=dict( required=False, type='str'), + description=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_iam_service_id', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -194,7 +194,7 @@ def run_module(): resource_type='ibm_iam_service_id', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_service_id_info.py b/plugins/modules/ibm_iam_service_id_info.py index 21851f4af..c721fbbda 100644 --- a/plugins/modules/ibm_iam_service_id_info.py +++ b/plugins/modules/ibm_iam_service_id_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_service_id' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_iam_service_id', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_service_policy.py b/plugins/modules/ibm_iam_service_policy.py index f399062a5..ba86d629e 100644 --- a/plugins/modules/ibm_iam_service_policy.py +++ b/plugins/modules/ibm_iam_service_policy.py @@ -18,21 +18,26 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_service_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - iam_id: + resource_tags: description: - - IAM ID of ServiceID + - Set access management tags. + required: False + type: list + elements: dict + transaction_id: + description: + - Set transactionID for debug required: False type: str - roles: + iam_service_id: description: - - (Required for new resource) Role names of the policy definition - required: True - type: list - elements: str + - UUID of ServiceID + required: False + type: str resources: description: - None @@ -51,31 +56,26 @@ required: False type: bool default: False - description: + tags: description: - - Description of the Policy + - None required: False - type: str - transaction_id: + type: list + elements: str + description: description: - - Set transactionID for debug + - Description of the Policy required: False type: str - iam_service_id: + iam_id: description: - - UUID of ServiceID + - IAM ID of ServiceID required: False type: str - resource_tags: - description: - - Set access management tags. - required: False - type: list - elements: dict - tags: + roles: description: - - None - required: False + - (Required for new resource) Role names of the policy definition + required: True type: list elements: str id: @@ -129,16 +129,16 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'iam_id', - 'roles', + 'resource_tags', + 'transaction_id', + 'iam_service_id', 'resources', 'resource_attributes', 'account_management', - 'description', - 'transaction_id', - 'iam_service_id', - 'resource_tags', 'tags', + 'description', + 'iam_id', + 'roles', ] # Params for Data source @@ -146,10 +146,10 @@ ] TL_ALL_PARAMETERS_DS = [ - 'transaction_id', 'iam_service_id', 'iam_id', 'sort', + 'transaction_id', ] TL_CONFLICTS_MAP = { @@ -162,13 +162,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - iam_id=dict( - required=False, - type='str'), - roles=dict( + resource_tags=dict( required=False, elements='', type='list'), + transaction_id=dict( + required=False, + type='str'), + iam_service_id=dict( + required=False, + type='str'), resources=dict( required=False, elements='', @@ -180,20 +183,17 @@ account_management=dict( required=False, type='bool'), - description=dict( + tags=dict( required=False, - type='str'), - transaction_id=dict( + elements='', + type='list'), + description=dict( required=False, type='str'), - iam_service_id=dict( + iam_id=dict( required=False, type='str'), - resource_tags=dict( - required=False, - elements='', - type='list'), - tags=dict( + roles=dict( required=False, elements='', type='list'), @@ -262,7 +262,7 @@ def run_module(): resource_type='ibm_iam_service_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -271,7 +271,7 @@ def run_module(): resource_type='ibm_iam_service_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_service_policy_info.py b/plugins/modules/ibm_iam_service_policy_info.py index e668ac31f..8c66fe8bb 100644 --- a/plugins/modules/ibm_iam_service_policy_info.py +++ b/plugins/modules/ibm_iam_service_policy_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_iam_service_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - transaction_id: - description: - - Set transactionID for debug - required: False - type: str iam_service_id: description: - UUID of ServiceID @@ -41,6 +36,11 @@ - Sort query for policies required: False type: str + transaction_id: + description: + - Set transactionID for debug + required: False + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -78,10 +78,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'transaction_id', 'iam_service_id', 'iam_id', 'sort', + 'transaction_id', ] @@ -92,9 +92,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - transaction_id=dict( - required=False, - type='str'), iam_service_id=dict( required=False, type='str'), @@ -104,6 +101,9 @@ sort=dict( required=False, type='str'), + transaction_id=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -138,7 +138,7 @@ def run_module(): resource_type='ibm_iam_service_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_trusted_profile.py b/plugins/modules/ibm_iam_trusted_profile.py index f41c4d3b2..ec4b2268e 100644 --- a/plugins/modules/ibm_iam_trusted_profile.py +++ b/plugins/modules/ibm_iam_trusted_profile.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_trusted_profile' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -174,7 +174,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_trusted_profile_claim_rule.py b/plugins/modules/ibm_iam_trusted_profile_claim_rule.py index b03a3a0cb..0e34cfe57 100644 --- a/plugins/modules/ibm_iam_trusted_profile_claim_rule.py +++ b/plugins/modules/ibm_iam_trusted_profile_claim_rule.py @@ -18,46 +18,46 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_trusted_profile_claim_rule' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - profile_id: + conditions: description: - - (Required for new resource) ID of the trusted profile to create a claim rule. + - (Required for new resource) Conditions of this claim rule. required: True + type: list + elements: dict + name: + description: + - Name of the claim rule to be created or updated. + required: False type: str realm_name: description: - The realm name of the Idp this claim rule applies to. This field is required only if the type is specified as 'Profile-SAML'. required: False type: str - expiration: - description: - - Session expiration in seconds, only required if type is 'Profile-SAML'. - required: False - type: int - type: + profile_id: description: - - (Required for new resource) Type of the calim rule, either 'Profile-SAML' or 'Profile-CR'. + - (Required for new resource) ID of the trusted profile to create a claim rule. required: True type: str - conditions: + type: description: - - (Required for new resource) Conditions of this claim rule. + - (Required for new resource) Type of the calim rule, either 'Profile-SAML' or 'Profile-CR'. required: True - type: list - elements: dict - name: - description: - - Name of the claim rule to be created or updated. - required: False type: str cr_type: description: - The compute resource type the rule applies to, required only if type is specified as 'Profile-CR'. Valid values are VSI, IKS_SA, ROKS_SA. required: False type: str + expiration: + description: + - Session expiration in seconds, only required if type is 'Profile-SAML'. + required: False + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -104,31 +104,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('conditions', 'list'), ('profile_id', 'str'), ('type', 'str'), - ('conditions', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'profile_id', - 'realm_name', - 'expiration', - 'type', 'conditions', 'name', + 'realm_name', + 'profile_id', + 'type', 'cr_type', + 'expiration', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('rule_id', 'str'), ('profile_id', 'str'), + ('rule_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'rule_id', 'profile_id', + 'rule_id', ] TL_CONFLICTS_MAP = { @@ -138,28 +138,28 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - profile_id=dict( + conditions=dict( + required=False, + elements='', + type='list'), + name=dict( required=False, type='str'), realm_name=dict( required=False, type='str'), - expiration=dict( - required=False, - type='int'), - type=dict( + profile_id=dict( required=False, type='str'), - conditions=dict( - required=False, - elements='', - type='list'), - name=dict( + type=dict( required=False, type='str'), cr_type=dict( required=False, type='str'), + expiration=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -225,7 +225,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_claim_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -234,7 +234,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_claim_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_trusted_profile_claim_rule_info.py b/plugins/modules/ibm_iam_trusted_profile_claim_rule_info.py index 1f589cb7a..8ffed7fcb 100644 --- a/plugins/modules/ibm_iam_trusted_profile_claim_rule_info.py +++ b/plugins/modules/ibm_iam_trusted_profile_claim_rule_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_iam_trusted_profile_claim_rule' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - rule_id: + profile_id: description: - - ID of the claim rule to get. + - ID of the trusted profile. required: True type: str - profile_id: + rule_id: description: - - ID of the trusted profile. + - ID of the claim rule to get. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('rule_id', 'str'), ('profile_id', 'str'), + ('rule_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'rule_id', 'profile_id', + 'rule_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - rule_id=dict( + profile_id=dict( required=True, type='str'), - profile_id=dict( + rule_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_claim_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_trusted_profile_claim_rules_info.py b/plugins/modules/ibm_iam_trusted_profile_claim_rules_info.py index b6d09692f..610d79817 100644 --- a/plugins/modules/ibm_iam_trusted_profile_claim_rules_info.py +++ b/plugins/modules/ibm_iam_trusted_profile_claim_rules_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_trusted_profile_claim_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_claim_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_trusted_profile_info.py b/plugins/modules/ibm_iam_trusted_profile_info.py index 4498f6402..21cca115b 100644 --- a/plugins/modules/ibm_iam_trusted_profile_info.py +++ b/plugins/modules/ibm_iam_trusted_profile_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_trusted_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_trusted_profile_link.py b/plugins/modules/ibm_iam_trusted_profile_link.py index 51023e550..a6006e3ee 100644 --- a/plugins/modules/ibm_iam_trusted_profile_link.py +++ b/plugins/modules/ibm_iam_trusted_profile_link.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_trusted_profile_link' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -198,7 +198,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_link', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_link', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_trusted_profile_link_info.py b/plugins/modules/ibm_iam_trusted_profile_link_info.py index 508e19d53..76801f0ba 100644 --- a/plugins/modules/ibm_iam_trusted_profile_link_info.py +++ b/plugins/modules/ibm_iam_trusted_profile_link_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_trusted_profile_link' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_link', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_trusted_profile_links_info.py b/plugins/modules/ibm_iam_trusted_profile_links_info.py index 41a345fbf..461c4ebd4 100644 --- a/plugins/modules/ibm_iam_trusted_profile_links_info.py +++ b/plugins/modules/ibm_iam_trusted_profile_links_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_trusted_profile_links' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_links', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_trusted_profile_policy.py b/plugins/modules/ibm_iam_trusted_profile_policy.py index fd52128c6..35c43e4af 100644 --- a/plugins/modules/ibm_iam_trusted_profile_policy.py +++ b/plugins/modules/ibm_iam_trusted_profile_policy.py @@ -18,66 +18,66 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_trusted_profile_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - iam_id: + tags: description: - - IAM ID of Trusted Profile + - None required: False - type: str - roles: - description: - - (Required for new resource) Role names of the policy definition - required: True type: list elements: str - resources: + resource_tags: description: - - None + - Set access management tags. required: False type: list elements: dict - resource_attributes: + description: description: - - Set resource attributes. + - Description of the Policy required: False - type: list - elements: dict - tags: + type: str + profile_id: description: - - None + - UUID of Trusted Profile required: False + type: str + roles: + description: + - (Required for new resource) Role names of the policy definition + required: True type: list elements: str - description: + resource_attributes: description: - - Description of the Policy + - Set resource attributes. required: False - type: str + type: list + elements: dict transaction_id: description: - Set transactionID for debug required: False type: str - profile_id: + iam_id: description: - - UUID of Trusted Profile + - IAM ID of Trusted Profile required: False type: str + resources: + description: + - None + required: False + type: list + elements: dict account_management: description: - Give access to all account management services required: False type: bool default: False - resource_tags: - description: - - Set access management tags. - required: False - type: list - elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -129,16 +129,16 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'iam_id', - 'roles', - 'resources', - 'resource_attributes', 'tags', + 'resource_tags', 'description', - 'transaction_id', 'profile_id', + 'roles', + 'resource_attributes', + 'transaction_id', + 'iam_id', + 'resources', 'account_management', - 'resource_tags', ] # Params for Data source @@ -153,8 +153,8 @@ ] TL_CONFLICTS_MAP = { - 'resources': ['account_management', 'resource_attributes'], 'resource_attributes': ['resources', 'account_management'], + 'resources': ['account_management', 'resource_attributes'], 'account_management': ['resources', 'resource_attributes'], } @@ -162,41 +162,41 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - iam_id=dict( - required=False, - type='str'), - roles=dict( + tags=dict( required=False, elements='', type='list'), - resources=dict( + resource_tags=dict( required=False, elements='', type='list'), - resource_attributes=dict( + description=dict( + required=False, + type='str'), + profile_id=dict( + required=False, + type='str'), + roles=dict( required=False, elements='', type='list'), - tags=dict( + resource_attributes=dict( required=False, elements='', type='list'), - description=dict( - required=False, - type='str'), transaction_id=dict( required=False, type='str'), - profile_id=dict( + iam_id=dict( required=False, type='str'), - account_management=dict( - required=False, - type='bool'), - resource_tags=dict( + resources=dict( required=False, elements='', type='list'), + account_management=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -262,7 +262,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -271,7 +271,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_trusted_profile_policy_info.py b/plugins/modules/ibm_iam_trusted_profile_policy_info.py index 6475fe629..1fbb87ee7 100644 --- a/plugins/modules/ibm_iam_trusted_profile_policy_info.py +++ b/plugins/modules/ibm_iam_trusted_profile_policy_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_trusted_profile_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -138,7 +138,7 @@ def run_module(): resource_type='ibm_iam_trusted_profile_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_trusted_profiles_info.py b/plugins/modules/ibm_iam_trusted_profiles_info.py index d2569f1e4..f1d11e630 100644 --- a/plugins/modules/ibm_iam_trusted_profiles_info.py +++ b/plugins/modules/ibm_iam_trusted_profiles_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_iam_trusted_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - include_history: - description: - - Defines if the entity history is included in the response. Default is false - required: False - type: bool account_id: description: - Account ID to query for trusted profiles. @@ -36,6 +31,11 @@ - Name of the profile required: False type: str + include_history: + description: + - Defines if the entity history is included in the response. Default is false + required: False + type: bool iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -73,9 +73,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'include_history', 'account_id', 'name', + 'include_history', ] @@ -86,15 +86,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - include_history=dict( - required=False, - type='bool'), account_id=dict( required=False, type='str'), name=dict( required=False, type='str'), + include_history=dict( + required=False, + type='bool'), iaas_classic_username=dict( type='str', no_log=True, @@ -129,7 +129,7 @@ def run_module(): resource_type='ibm_iam_trusted_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_user_invite.py b/plugins/modules/ibm_iam_user_invite.py index ad0e03ca7..a1344de9a 100644 --- a/plugins/modules/ibm_iam_user_invite.py +++ b/plugins/modules/ibm_iam_user_invite.py @@ -18,22 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_user_invite' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - classic_infra_roles: - description: - - None - required: False - type: list - elements: dict - cloud_foundry_roles: - description: - - None - required: False - type: list - elements: dict users: description: - (Required for new resource) List of ibm id or email of user @@ -52,6 +40,18 @@ required: False type: list elements: dict + classic_infra_roles: + description: + - None + required: False + type: list + elements: dict + cloud_foundry_roles: + description: + - None + required: False + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -103,11 +103,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'classic_infra_roles', - 'cloud_foundry_roles', 'users', 'access_groups', 'iam_policy', + 'classic_infra_roles', + 'cloud_foundry_roles', ] # Params for Data source @@ -124,23 +124,23 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - classic_infra_roles=dict( + users=dict( required=False, elements='', type='list'), - cloud_foundry_roles=dict( + access_groups=dict( required=False, elements='', type='list'), - users=dict( + iam_policy=dict( required=False, elements='', type='list'), - access_groups=dict( + classic_infra_roles=dict( required=False, elements='', type='list'), - iam_policy=dict( + cloud_foundry_roles=dict( required=False, elements='', type='list'), @@ -209,7 +209,7 @@ def run_module(): resource_type='ibm_iam_user_invite', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_user_policy.py b/plugins/modules/ibm_iam_user_policy.py index 862ba0033..bb689a264 100644 --- a/plugins/modules/ibm_iam_user_policy.py +++ b/plugins/modules/ibm_iam_user_policy.py @@ -18,22 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_user_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - resource_attributes: - description: - - Set resource attributes. - required: False - type: list - elements: dict tags: description: - None required: False type: list elements: str + description: + description: + - Description of the Policy + required: False + type: str transaction_id: description: - Set transactionID for debug @@ -44,12 +43,24 @@ - (Required for new resource) The ibm id or email of user required: True type: str + roles: + description: + - (Required for new resource) Role names of the policy definition + required: True + type: list + elements: str resources: description: - None required: False type: list elements: dict + resource_attributes: + description: + - Set resource attributes. + required: False + type: list + elements: dict account_management: description: - Give access to all account management services @@ -62,17 +73,6 @@ required: False type: list elements: dict - description: - description: - - Description of the Policy - required: False - type: str - roles: - description: - - (Required for new resource) Role names of the policy definition - required: True - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -125,15 +125,15 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_attributes', 'tags', + 'description', 'transaction_id', 'ibm_id', + 'roles', 'resources', + 'resource_attributes', 'account_management', 'resource_tags', - 'description', - 'roles', ] # Params for Data source @@ -148,8 +148,8 @@ ] TL_CONFLICTS_MAP = { - 'resource_attributes': ['resources', 'account_management'], 'resources': ['account_management', 'resource_attributes'], + 'resource_attributes': ['resources', 'account_management'], 'account_management': ['resources', 'resource_attributes'], } @@ -157,35 +157,35 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_attributes=dict( - required=False, - elements='', - type='list'), tags=dict( required=False, elements='', type='list'), + description=dict( + required=False, + type='str'), transaction_id=dict( required=False, type='str'), ibm_id=dict( required=False, type='str'), - resources=dict( + roles=dict( required=False, elements='', type='list'), - account_management=dict( + resources=dict( required=False, - type='bool'), - resource_tags=dict( + elements='', + type='list'), + resource_attributes=dict( required=False, elements='', type='list'), - description=dict( + account_management=dict( required=False, - type='str'), - roles=dict( + type='bool'), + resource_tags=dict( required=False, elements='', type='list'), @@ -254,7 +254,7 @@ def run_module(): resource_type='ibm_iam_user_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -263,7 +263,7 @@ def run_module(): resource_type='ibm_iam_user_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_iam_user_policy_info.py b/plugins/modules/ibm_iam_user_policy_info.py index cec11eb1d..b09f94b60 100644 --- a/plugins/modules/ibm_iam_user_policy_info.py +++ b/plugins/modules/ibm_iam_user_policy_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_user_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -130,7 +130,7 @@ def run_module(): resource_type='ibm_iam_user_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_user_profile_info.py b/plugins/modules/ibm_iam_user_profile_info.py index 7569c9bc7..eb370a1f8 100644 --- a/plugins/modules/ibm_iam_user_profile_info.py +++ b/plugins/modules/ibm_iam_user_profile_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_user_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_iam_user_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_user_settings.py b/plugins/modules/ibm_iam_user_settings.py index f6e2644f5..fd4034442 100644 --- a/plugins/modules/ibm_iam_user_settings.py +++ b/plugins/modules/ibm_iam_user_settings.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_user_settings' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -174,7 +174,7 @@ def run_module(): resource_type='ibm_iam_user_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_iam_users_info.py b/plugins/modules/ibm_iam_users_info.py index cd946b0b4..94e1e2ee9 100644 --- a/plugins/modules/ibm_iam_users_info.py +++ b/plugins/modules/ibm_iam_users_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_users' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_iam_users', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_ipsec_vpn.py b/plugins/modules/ibm_ipsec_vpn.py index 26c87e239..091f7239c 100644 --- a/plugins/modules/ibm_ipsec_vpn.py +++ b/plugins/modules/ibm_ipsec_vpn.py @@ -18,21 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_ipsec_vpn' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - datacenter: - description: - - (Required for new resource) Datacenter name - required: True - type: str - phase_two: - description: - - None - required: False - type: list - elements: dict address_translation: description: - None @@ -44,22 +33,39 @@ - Preshared Key data required: False type: str - customer_peer_ip: - description: - - Customer Peer IP Address - required: False - type: str service_subnet_id: description: - Service subnet ID value required: False type: int + datacenter: + description: + - (Required for new resource) Datacenter name + required: True + type: str phase_one: description: - None required: False type: list elements: dict + phase_two: + description: + - None + required: False + type: list + elements: dict + remote_subnet: + description: + - None + required: False + type: list + elements: dict + customer_peer_ip: + description: + - Customer Peer IP Address + required: False + type: str internal_subnet_id: description: - Internal subnet ID value @@ -70,12 +76,6 @@ - Remote subnet ID value required: False type: int - remote_subnet: - description: - - None - required: False - type: list - elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -127,16 +127,16 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'datacenter', - 'phase_two', 'address_translation', 'preshared_key', - 'customer_peer_ip', 'service_subnet_id', + 'datacenter', 'phase_one', + 'phase_two', + 'remote_subnet', + 'customer_peer_ip', 'internal_subnet_id', 'remote_subnet_id', - 'remote_subnet', ] # Params for Data source @@ -147,21 +147,14 @@ ] TL_CONFLICTS_MAP = { - 'remote_subnet_id': ['remote_subnet'], 'remote_subnet': ['remote_subnet_id'], + 'remote_subnet_id': ['remote_subnet'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - datacenter=dict( - required=False, - type='str'), - phase_two=dict( - required=False, - elements='', - type='list'), address_translation=dict( required=False, elements='', @@ -169,26 +162,33 @@ preshared_key=dict( required=False, type='str'), - customer_peer_ip=dict( - required=False, - type='str'), service_subnet_id=dict( required=False, type='int'), + datacenter=dict( + required=False, + type='str'), phase_one=dict( required=False, elements='', type='list'), + phase_two=dict( + required=False, + elements='', + type='list'), + remote_subnet=dict( + required=False, + elements='', + type='list'), + customer_peer_ip=dict( + required=False, + type='str'), internal_subnet_id=dict( required=False, type='int'), remote_subnet_id=dict( required=False, type='int'), - remote_subnet=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -254,7 +254,7 @@ def run_module(): resource_type='ibm_ipsec_vpn', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_backup_policies_info.py b/plugins/modules/ibm_is_backup_policies_info.py index a5f10c4ad..6e63af1b7 100644 --- a/plugins/modules/ibm_is_backup_policies_info.py +++ b/plugins/modules/ibm_is_backup_policies_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_is_backup_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - resource_group: - description: - - Filters the collection to resources in the resource group with the specified identifier - required: False - type: str name: description: - Filters the collection to resources with the exact specified name @@ -36,6 +31,11 @@ - Filters the collection to resources with the exact tag value required: False type: str + resource_group: + description: + - Filters the collection to resources in the resource group with the specified identifier + required: False + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -73,9 +73,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group', 'name', 'tag', + 'resource_group', ] @@ -86,15 +86,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group=dict( - required=False, - type='str'), name=dict( required=False, type='str'), tag=dict( required=False, type='str'), + resource_group=dict( + required=False, + type='str'), generation=dict( type='int', required=False, @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_is_backup_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_backup_policy.py b/plugins/modules/ibm_is_backup_policy.py index 1530b8e21..ca5170c68 100644 --- a/plugins/modules/ibm_is_backup_policy.py +++ b/plugins/modules/ibm_is_backup_policy.py @@ -18,32 +18,32 @@ - Create, update or destroy an IBM Cloud 'ibm_is_backup_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - match_user_tags: - description: - - (Required for new resource) The user tags this backup policy applies to. Resources that have both a matching user tag and a matching type will be subject to the backup policy. - required: True - type: list - elements: str - resource_group: - description: - - The unique identifier of the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. - required: False - type: str match_resource_types: description: - A resource type this backup policy applies to. Resources that have both a matching type and a matching user tag will be subject to the backup policy. required: False type: list elements: str + match_user_tags: + description: + - (Required for new resource) The user tags this backup policy applies to. Resources that have both a matching user tag and a matching type will be subject to the backup policy. + required: True + type: list + elements: str name: description: - (Required for new resource) The user-defined name for this backup policy. Names must be unique within the region this backup policy resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. required: True type: str + resource_group: + description: + - The unique identifier of the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -96,10 +96,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'match_user_tags', - 'resource_group', 'match_resource_types', + 'match_user_tags', 'name', + 'resource_group', ] # Params for Data source @@ -118,20 +118,20 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - match_user_tags=dict( + match_resource_types=dict( required=False, elements='', type='list'), - resource_group=dict( - required=False, - type='str'), - match_resource_types=dict( + match_user_tags=dict( required=False, elements='', type='list'), name=dict( required=False, type='str'), + resource_group=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -209,7 +209,7 @@ def run_module(): resource_type='ibm_is_backup_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -218,7 +218,7 @@ def run_module(): resource_type='ibm_is_backup_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_backup_policy_info.py b/plugins/modules/ibm_is_backup_policy_info.py index 7355c6e0c..c3459027a 100644 --- a/plugins/modules/ibm_is_backup_policy_info.py +++ b/plugins/modules/ibm_is_backup_policy_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_backup_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_backup_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_backup_policy_plan.py b/plugins/modules/ibm_is_backup_policy_plan.py index 90c32a800..a67ea14b5 100644 --- a/plugins/modules/ibm_is_backup_policy_plan.py +++ b/plugins/modules/ibm_is_backup_policy_plan.py @@ -18,26 +18,31 @@ - Create, update or destroy an IBM Cloud 'ibm_is_backup_policy_plan' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + backup_policy_id: + description: + - (Required for new resource) The backup policy identifier. + required: True + type: str attach_user_tags: description: - User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached. required: False type: list elements: str - deletion_trigger: + copy_user_tags: description: - - None + - Indicates whether to copy the source's user tags to the created backups (snapshots). required: False - type: list - elements: dict - backup_policy_id: + type: bool + default: True + name: description: - - (Required for new resource) The backup policy identifier. - required: True + - The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. + required: False type: str cron_spec: description: @@ -49,17 +54,12 @@ - Indicates whether the plan is active. required: False type: bool - copy_user_tags: - description: - - Indicates whether to copy the source's user tags to the created backups (snapshots). - required: False - type: bool - default: True - name: + deletion_trigger: description: - - The user-defined name for this backup policy plan. Names must be unique within the backup policy this plan resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. + - None required: False - type: str + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -112,13 +112,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'attach_user_tags', - 'deletion_trigger', 'backup_policy_id', - 'cron_spec', - 'active', + 'attach_user_tags', 'copy_user_tags', 'name', + 'cron_spec', + 'active', + 'deletion_trigger', ] # Params for Data source @@ -139,15 +139,17 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + backup_policy_id=dict( + required=False, + type='str'), attach_user_tags=dict( required=False, elements='', type='list'), - deletion_trigger=dict( + copy_user_tags=dict( required=False, - elements='', - type='list'), - backup_policy_id=dict( + type='bool'), + name=dict( required=False, type='str'), cron_spec=dict( @@ -156,12 +158,10 @@ active=dict( required=False, type='bool'), - copy_user_tags=dict( - required=False, - type='bool'), - name=dict( + deletion_trigger=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -239,7 +239,7 @@ def run_module(): resource_type='ibm_is_backup_policy_plan', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -248,7 +248,7 @@ def run_module(): resource_type='ibm_is_backup_policy_plan', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_backup_policy_plan_info.py b/plugins/modules/ibm_is_backup_policy_plan_info.py index e2858b92d..670b5f37c 100644 --- a/plugins/modules/ibm_is_backup_policy_plan_info.py +++ b/plugins/modules/ibm_is_backup_policy_plan_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_backup_policy_plan' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_is_backup_policy_plan', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_backup_policy_plans_info.py b/plugins/modules/ibm_is_backup_policy_plans_info.py index d04540b5f..9e26f90d4 100644 --- a/plugins/modules/ibm_is_backup_policy_plans_info.py +++ b/plugins/modules/ibm_is_backup_policy_plans_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_backup_policy_plans' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_backup_policy_plans', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server.py b/plugins/modules/ibm_is_bare_metal_server.py index bd6ac0c0a..2eb0d8a9b 100644 --- a/plugins/modules/ibm_is_bare_metal_server.py +++ b/plugins/modules/ibm_is_bare_metal_server.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_bare_metal_server' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -28,30 +28,37 @@ required: True type: list elements: str - profile: + name: description: - - (Required for new resource) profile name - required: True + - Bare metal server name + required: False type: str - zone: + primary_network_interface: description: - - (Required for new resource) Zone name + - (Required for new resource) Primary Network interface info + required: True + type: list + elements: dict + profile: + description: + - (Required for new resource) profile name required: True type: str - name: + vpc: description: - - Bare metal server name + - The VPC the bare metal server is to be a part of required: False type: str - action: + delete_type: description: - - This restart/start/stops a bare metal server. + - Enables stopping type of the bare metal server before deleting required: False type: str - primary_network_interface: + default: hard + network_interfaces: description: - - (Required for new resource) Primary Network interface info - required: True + - None + required: False type: list elements: dict tags: @@ -60,38 +67,31 @@ required: False type: list elements: str - network_interfaces: - description: - - None - required: False - type: list - elements: dict image: description: - (Required for new resource) image id required: True type: str - resource_group: - description: - - Resource group name - required: False - type: str user_data: description: - User data given for the bare metal server required: False type: str - vpc: + zone: description: - - The VPC the bare metal server is to be a part of + - (Required for new resource) Zone name + required: True + type: str + resource_group: + description: + - Resource group name required: False type: str - delete_type: + action: description: - - Enables stopping type of the bare metal server before deleting + - This restart/start/stops a bare metal server. required: False type: str - default: hard id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -139,27 +139,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('keys', 'list'), - ('profile', 'str'), - ('zone', 'str'), ('primary_network_interface', 'list'), + ('profile', 'str'), ('image', 'str'), + ('zone', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'keys', - 'profile', - 'zone', 'name', - 'action', 'primary_network_interface', - 'tags', + 'profile', + 'vpc', + 'delete_type', 'network_interfaces', + 'tags', 'image', - 'resource_group', 'user_data', - 'vpc', - 'delete_type', + 'zone', + 'resource_group', + 'action', ] # Params for Data source @@ -182,19 +182,23 @@ required=False, elements='', type='list'), - profile=dict( + name=dict( required=False, type='str'), - zone=dict( + primary_network_interface=dict( + required=False, + elements='', + type='list'), + profile=dict( required=False, type='str'), - name=dict( + vpc=dict( required=False, type='str'), - action=dict( + delete_type=dict( required=False, type='str'), - primary_network_interface=dict( + network_interfaces=dict( required=False, elements='', type='list'), @@ -202,23 +206,19 @@ required=False, elements='', type='list'), - network_interfaces=dict( - required=False, - elements='', - type='list'), image=dict( required=False, type='str'), - resource_group=dict( + user_data=dict( required=False, type='str'), - user_data=dict( + zone=dict( required=False, type='str'), - vpc=dict( + resource_group=dict( required=False, type='str'), - delete_type=dict( + action=dict( required=False, type='str'), id=dict( @@ -298,7 +298,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -307,7 +307,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_bare_metal_server_action.py b/plugins/modules/ibm_is_bare_metal_server_action.py index 8ebf90c0c..6a186fb43 100644 --- a/plugins/modules/ibm_is_bare_metal_server_action.py +++ b/plugins/modules/ibm_is_bare_metal_server_action.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_bare_metal_server_action' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_action', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_disk.py b/plugins/modules/ibm_is_bare_metal_server_disk.py index d185d6339..b0200c5ee 100644 --- a/plugins/modules/ibm_is_bare_metal_server_disk.py +++ b/plugins/modules/ibm_is_bare_metal_server_disk.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_bare_metal_server_disk' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -198,7 +198,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_disk', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_disk', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_bare_metal_server_disk_info.py b/plugins/modules/ibm_is_bare_metal_server_disk_info.py index 9715588bb..5e4d59cd8 100644 --- a/plugins/modules/ibm_is_bare_metal_server_disk_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_disk_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_disk' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_disk', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_disks_info.py b/plugins/modules/ibm_is_bare_metal_server_disks_info.py index 21dcad430..0229430ef 100644 --- a/plugins/modules/ibm_is_bare_metal_server_disks_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_disks_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_disks' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_disks', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_info.py b/plugins/modules/ibm_is_bare_metal_server_info.py index 409775130..3eac5996b 100644 --- a/plugins/modules/ibm_is_bare_metal_server_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_initialization_info.py b/plugins/modules/ibm_is_bare_metal_server_initialization_info.py index b2bb43d35..3e75646c0 100644 --- a/plugins/modules/ibm_is_bare_metal_server_initialization_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_initialization_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_initialization' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_initialization', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_network_interface.py b/plugins/modules/ibm_is_bare_metal_server_network_interface.py index 56ca2ddfe..1adf9846b 100644 --- a/plugins/modules/ibm_is_bare_metal_server_network_interface.py +++ b/plugins/modules/ibm_is_bare_metal_server_network_interface.py @@ -18,42 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_is_bare_metal_server_network_interface' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: - description: - - The user-defined name for this network interface - required: False - type: str - subnet: - description: - - (Required for new resource) The id of the associated subnet - required: True - type: str - allow_interface_to_float: + primary_ip: description: - - Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces. + - title: IPv4, The IP address. required: False - type: bool + type: list + elements: dict vlan: description: - Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface required: False type: int - hard_stop: - description: - - Only used for PCI network interfaces, whether to hard/immediately stop server - required: False - type: bool - default: True - security_groups: - description: - - Collection of security groups ids - required: False - type: list - elements: str bare_metal_server: description: - (Required for new resource) Bare metal server identifier @@ -65,22 +44,43 @@ required: False type: list elements: int - allow_ip_spoofing: + allow_interface_to_float: description: - - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface. + - Indicates if the interface can float to any other server within the same resource_group. The interface will float automatically if the network detects a GARP or RARP on another bare metal server in the resource group. Applies only to vlan type interfaces. required: False type: bool + name: + description: + - The user-defined name for this network interface + required: False + type: str + security_groups: + description: + - Collection of security groups ids + required: False + type: list + elements: str + hard_stop: + description: + - Only used for PCI network interfaces, whether to hard/immediately stop server + required: False + type: bool + default: True enable_infrastructure_nat: description: - If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. required: False type: bool - primary_ip: + subnet: description: - - title: IPv4, The IP address. + - (Required for new resource) The id of the associated subnet + required: True + type: str + allow_ip_spoofing: + description: + - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface. required: False - type: list - elements: dict + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -127,82 +127,82 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('subnet', 'str'), ('bare_metal_server', 'str'), + ('subnet', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'subnet', - 'allow_interface_to_float', + 'primary_ip', 'vlan', - 'hard_stop', - 'security_groups', 'bare_metal_server', 'allowed_vlans', - 'allow_ip_spoofing', + 'allow_interface_to_float', + 'name', + 'security_groups', + 'hard_stop', 'enable_infrastructure_nat', - 'primary_ip', + 'subnet', + 'allow_ip_spoofing', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('bare_metal_server', 'str'), ('network_interface', 'str'), + ('bare_metal_server', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'bare_metal_server', 'network_interface', + 'bare_metal_server', ] TL_CONFLICTS_MAP = { - 'allow_interface_to_float': ['allowed_vlans'], 'vlan': ['allowed_vlans'], 'allowed_vlans': ['allow_interface_to_float', 'vlan'], + 'allow_interface_to_float': ['allowed_vlans'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), - subnet=dict( - required=False, - type='str'), - allow_interface_to_float=dict( + primary_ip=dict( required=False, - type='bool'), + elements='', + type='list'), vlan=dict( required=False, type='int'), - hard_stop=dict( + bare_metal_server=dict( required=False, - type='bool'), - security_groups=dict( + type='str'), + allowed_vlans=dict( required=False, elements='', type='list'), - bare_metal_server=dict( + allow_interface_to_float=dict( + required=False, + type='bool'), + name=dict( required=False, type='str'), - allowed_vlans=dict( + security_groups=dict( required=False, elements='', type='list'), - allow_ip_spoofing=dict( + hard_stop=dict( required=False, type='bool'), enable_infrastructure_nat=dict( required=False, type='bool'), - primary_ip=dict( + subnet=dict( required=False, - elements='', - type='list'), + type='str'), + allow_ip_spoofing=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -280,7 +280,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -289,7 +289,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_bare_metal_server_network_interface_allow_float.py b/plugins/modules/ibm_is_bare_metal_server_network_interface_allow_float.py index 9e40bde11..0d5cdbceb 100644 --- a/plugins/modules/ibm_is_bare_metal_server_network_interface_allow_float.py +++ b/plugins/modules/ibm_is_bare_metal_server_network_interface_allow_float.py @@ -18,52 +18,52 @@ - Create, update or destroy an IBM Cloud 'ibm_is_bare_metal_server_network_interface_allow_float' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - bare_metal_server: - description: - - (Required for new resource) Bare metal server identifier - required: True - type: str - enable_infrastructure_nat: + primary_ip: description: - - If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. + - title: IPv4, The IP address. required: False - type: bool + type: list + elements: dict + vlan: + description: + - (Required for new resource) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface + required: True + type: int allow_ip_spoofing: description: - Indicates whether source IP spoofing is allowed on this interface. If false, source IP spoofing is prevented on this interface. If true, source IP spoofing is allowed on this interface. required: False type: bool - name: + bare_metal_server: description: - - The user-defined name for this network interface - required: False + - (Required for new resource) Bare metal server identifier + required: True type: str - primary_ip: - description: - - title: IPv4, The IP address. - required: False - type: list - elements: dict security_groups: description: - Collection of security groups ids required: False type: list elements: str + name: + description: + - The user-defined name for this network interface + required: False + type: str + enable_infrastructure_nat: + description: + - If true, the VPC infrastructure performs any needed NAT operations. If false, the packet is passed unmodified to/from the network interface, allowing the workload to perform any needed NAT operations. + required: False + type: bool subnet: description: - (Required for new resource) The id of the associated subnet required: True type: str - vlan: - description: - - (Required for new resource) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface - required: True - type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -110,21 +110,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('vlan', 'int'), ('bare_metal_server', 'str'), ('subnet', 'str'), - ('vlan', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'bare_metal_server', - 'enable_infrastructure_nat', - 'allow_ip_spoofing', - 'name', 'primary_ip', + 'vlan', + 'allow_ip_spoofing', + 'bare_metal_server', 'security_groups', + 'name', + 'enable_infrastructure_nat', 'subnet', - 'vlan', ] # Params for Data source @@ -141,32 +141,32 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - bare_metal_server=dict( + primary_ip=dict( required=False, - type='str'), - enable_infrastructure_nat=dict( + elements='', + type='list'), + vlan=dict( required=False, - type='bool'), + type='int'), allow_ip_spoofing=dict( required=False, type='bool'), - name=dict( + bare_metal_server=dict( required=False, type='str'), - primary_ip=dict( - required=False, - elements='', - type='list'), security_groups=dict( required=False, elements='', type='list'), - subnet=dict( + name=dict( required=False, type='str'), - vlan=dict( + enable_infrastructure_nat=dict( required=False, - type='int'), + type='bool'), + subnet=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -244,7 +244,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface_allow_float', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ip.py b/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ip.py index 0ed3abb0e..a07b8ce1b 100644 --- a/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ip.py +++ b/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ip.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_is_bare_metal_server_network_interface_floating_ip' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + floating_ip: + description: + - (Required for new resource) The floating ip identifier of the network interface associated with the bare metal server + required: True + type: str bare_metal_server: description: - (Required for new resource) Bare metal server identifier @@ -32,11 +37,6 @@ - (Required for new resource) Bare metal server network interface identifier required: True type: str - floating_ip: - description: - - (Required for new resource) The floating ip identifier of the network interface associated with the bare metal server - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -83,16 +83,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('floating_ip', 'str'), ('bare_metal_server', 'str'), ('network_interface', 'str'), - ('floating_ip', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'floating_ip', 'bare_metal_server', 'network_interface', - 'floating_ip', ] # Params for Data source @@ -115,13 +115,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - bare_metal_server=dict( + floating_ip=dict( required=False, type='str'), - network_interface=dict( + bare_metal_server=dict( required=False, type='str'), - floating_ip=dict( + network_interface=dict( required=False, type='str'), id=dict( @@ -201,7 +201,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface_floating_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -210,7 +210,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface_floating_ip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ip_info.py b/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ip_info.py index 0402be791..b17a14cd6 100644 --- a/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ip_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ip_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_network_interface_floating_ip' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface_floating_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ips_info.py b/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ips_info.py index efadca76b..d2e1fe956 100644 --- a/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ips_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_network_interface_floating_ips_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_network_interface_floating_ips' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface_floating_ips', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_network_interface_info.py b/plugins/modules/ibm_is_bare_metal_server_network_interface_info.py index 8ba275f1a..d9fc644bb 100644 --- a/plugins/modules/ibm_is_bare_metal_server_network_interface_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_network_interface_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_network_interface' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - bare_metal_server: + network_interface: description: - - The bare metal server identifier + - The bare metal server network interface identifier required: True type: str - network_interface: + bare_metal_server: description: - - The bare metal server network interface identifier + - The bare metal server identifier required: True type: str generation: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('bare_metal_server', 'str'), ('network_interface', 'str'), + ('bare_metal_server', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'bare_metal_server', 'network_interface', + 'bare_metal_server', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - bare_metal_server=dict( + network_interface=dict( required=True, type='str'), - network_interface=dict( + bare_metal_server=dict( required=True, type='str'), generation=dict( @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_network_interface_reserved_ip_info.py b/plugins/modules/ibm_is_bare_metal_server_network_interface_reserved_ip_info.py index bb13d8181..44453aff0 100644 --- a/plugins/modules/ibm_is_bare_metal_server_network_interface_reserved_ip_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_network_interface_reserved_ip_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_network_interface_reserved_ip' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface_reserved_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_network_interface_reserved_ips_info.py b/plugins/modules/ibm_is_bare_metal_server_network_interface_reserved_ips_info.py index 2d2b07237..9e9ecee9a 100644 --- a/plugins/modules/ibm_is_bare_metal_server_network_interface_reserved_ips_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_network_interface_reserved_ips_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_network_interface_reserved_ips' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface_reserved_ips', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_network_interfaces_info.py b/plugins/modules/ibm_is_bare_metal_server_network_interfaces_info.py index 1d7c39cf4..0606f3951 100644 --- a/plugins/modules/ibm_is_bare_metal_server_network_interfaces_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_network_interfaces_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_network_interfaces' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interfaces', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_profile_info.py b/plugins/modules/ibm_is_bare_metal_server_profile_info.py index 3f1aac3b0..257db27c7 100644 --- a/plugins/modules/ibm_is_bare_metal_server_profile_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_profile_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_server_profiles_info.py b/plugins/modules/ibm_is_bare_metal_server_profiles_info.py index ce86560d0..d56c5f9a1 100644 --- a/plugins/modules/ibm_is_bare_metal_server_profiles_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_profiles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_bare_metal_servers_info.py b/plugins/modules/ibm_is_bare_metal_servers_info.py index 84f787968..a370d59b6 100644 --- a/plugins/modules/ibm_is_bare_metal_servers_info.py +++ b/plugins/modules/ibm_is_bare_metal_servers_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_servers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_bare_metal_servers', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_dedicated_host.py b/plugins/modules/ibm_is_dedicated_host.py index 17ba188e0..ce213d4da 100644 --- a/plugins/modules/ibm_is_dedicated_host.py +++ b/plugins/modules/ibm_is_dedicated_host.py @@ -18,24 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_is_dedicated_host' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - resource_group: + name: description: - - The unique identifier for the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. + - The unique user-defined name for this dedicated host. If unspecified, the name will be a hyphenated list of randomly-selected words. required: False type: str - instance_placement_enabled: - description: - - If set to true, instances can be placed on this dedicated host. - required: False - type: bool - default: True - name: + resource_group: description: - - The unique user-defined name for this dedicated host. If unspecified, the name will be a hyphenated list of randomly-selected words. + - The unique identifier for the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. required: False type: str profile: @@ -48,6 +42,12 @@ - (Required for new resource) The unique identifier of the dedicated host group for this dedicated host. required: True type: str + instance_placement_enabled: + description: + - If set to true, instances can be placed on this dedicated host. + required: False + type: bool + default: True id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -100,11 +100,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group', - 'instance_placement_enabled', 'name', + 'resource_group', 'profile', 'host_group', + 'instance_placement_enabled', ] # Params for Data source @@ -115,8 +115,8 @@ TL_ALL_PARAMETERS_DS = [ 'name', - 'host_group', 'resource_group', + 'host_group', ] TL_CONFLICTS_MAP = { @@ -126,13 +126,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group=dict( + name=dict( required=False, type='str'), - instance_placement_enabled=dict( - required=False, - type='bool'), - name=dict( + resource_group=dict( required=False, type='str'), profile=dict( @@ -141,6 +138,9 @@ host_group=dict( required=False, type='str'), + instance_placement_enabled=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -218,7 +218,7 @@ def run_module(): resource_type='ibm_is_dedicated_host', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_is_dedicated_host', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_dedicated_host_disk_info.py b/plugins/modules/ibm_is_dedicated_host_disk_info.py index fa95a6a4f..2716bcbb6 100644 --- a/plugins/modules/ibm_is_dedicated_host_disk_info.py +++ b/plugins/modules/ibm_is_dedicated_host_disk_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_dedicated_host_disk' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_dedicated_host_disk', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_dedicated_host_disk_management.py b/plugins/modules/ibm_is_dedicated_host_disk_management.py index 3e2b54f26..5a966c638 100644 --- a/plugins/modules/ibm_is_dedicated_host_disk_management.py +++ b/plugins/modules/ibm_is_dedicated_host_disk_management.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_dedicated_host_disk_management' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -187,7 +187,7 @@ def run_module(): resource_type='ibm_is_dedicated_host_disk_management', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_dedicated_host_disks_info.py b/plugins/modules/ibm_is_dedicated_host_disks_info.py index de73a100a..1adfc63dc 100644 --- a/plugins/modules/ibm_is_dedicated_host_disks_info.py +++ b/plugins/modules/ibm_is_dedicated_host_disks_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_dedicated_host_disks' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_dedicated_host_disks', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_dedicated_host_group.py b/plugins/modules/ibm_is_dedicated_host_group.py index f6a4ebe54..252fa931e 100644 --- a/plugins/modules/ibm_is_dedicated_host_group.py +++ b/plugins/modules/ibm_is_dedicated_host_group.py @@ -18,34 +18,34 @@ - Create, update or destroy an IBM Cloud 'ibm_is_dedicated_host_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - family: + zone: description: - - (Required for new resource) The dedicated host profile family for hosts in this group. + - (Required for new resource) The globally unique name of the zone this dedicated host group will reside in. required: True type: str - class_: + name: description: - - (Required for new resource) The dedicated host profile class for hosts in this group. - required: True + - The unique user-defined name for this dedicated host group. If unspecified, the name will be a hyphenated list of randomly-selected words. + required: False type: str resource_group: description: - The unique identifier of the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. required: False type: str - zone: + class_: description: - - (Required for new resource) The globally unique name of the zone this dedicated host group will reside in. + - (Required for new resource) The dedicated host profile class for hosts in this group. required: True type: str - name: + family: description: - - The unique user-defined name for this dedicated host group. If unspecified, the name will be a hyphenated list of randomly-selected words. - required: False + - (Required for new resource) The dedicated host profile family for hosts in this group. + required: True type: str id: description: @@ -93,18 +93,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('family', 'str'), - ('class_', 'str'), ('zone', 'str'), + ('class_', 'str'), + ('family', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'family', - 'class_', - 'resource_group', 'zone', 'name', + 'resource_group', + 'class_', + 'family', ] # Params for Data source @@ -123,19 +123,19 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - family=dict( + zone=dict( required=False, type='str'), - class_=dict( + name=dict( required=False, type='str'), resource_group=dict( required=False, type='str'), - zone=dict( + class_=dict( required=False, type='str'), - name=dict( + family=dict( required=False, type='str'), id=dict( @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_is_dedicated_host_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -224,7 +224,7 @@ def run_module(): resource_type='ibm_is_dedicated_host_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_dedicated_host_group_info.py b/plugins/modules/ibm_is_dedicated_host_group_info.py index 00797f90b..628d4c910 100644 --- a/plugins/modules/ibm_is_dedicated_host_group_info.py +++ b/plugins/modules/ibm_is_dedicated_host_group_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_dedicated_host_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_dedicated_host_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_dedicated_host_groups_info.py b/plugins/modules/ibm_is_dedicated_host_groups_info.py index c2dcacbd7..8fcc96a51 100644 --- a/plugins/modules/ibm_is_dedicated_host_groups_info.py +++ b/plugins/modules/ibm_is_dedicated_host_groups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_dedicated_host_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_dedicated_host_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_dedicated_host_info.py b/plugins/modules/ibm_is_dedicated_host_info.py index ff874aba1..62cd59499 100644 --- a/plugins/modules/ibm_is_dedicated_host_info.py +++ b/plugins/modules/ibm_is_dedicated_host_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_dedicated_host' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -26,16 +26,16 @@ - The unique name of this dedicated host required: True type: str - host_group: - description: - - The unique identifier of the dedicated host group this dedicated host belongs to - required: True - type: str resource_group: description: - The unique identifier of the resource group this dedicated host belongs to required: False type: str + host_group: + description: + - The unique identifier of the dedicated host group this dedicated host belongs to + required: True + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -76,8 +76,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'name', - 'host_group', 'resource_group', + 'host_group', ] @@ -91,12 +91,12 @@ name=dict( required=True, type='str'), - host_group=dict( - required=True, - type='str'), resource_group=dict( required=False, type='str'), + host_group=dict( + required=True, + type='str'), generation=dict( type='int', required=False, @@ -143,7 +143,7 @@ def run_module(): resource_type='ibm_is_dedicated_host', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_dedicated_host_profile_info.py b/plugins/modules/ibm_is_dedicated_host_profile_info.py index 17b0d5d29..0a6ffcf8d 100644 --- a/plugins/modules/ibm_is_dedicated_host_profile_info.py +++ b/plugins/modules/ibm_is_dedicated_host_profile_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_dedicated_host_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -123,7 +123,7 @@ def run_module(): resource_type='ibm_is_dedicated_host_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_dedicated_host_profiles_info.py b/plugins/modules/ibm_is_dedicated_host_profiles_info.py index b9c44a99f..5c965798f 100644 --- a/plugins/modules/ibm_is_dedicated_host_profiles_info.py +++ b/plugins/modules/ibm_is_dedicated_host_profiles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_dedicated_host_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_dedicated_host_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_dedicated_hosts_info.py b/plugins/modules/ibm_is_dedicated_hosts_info.py index 358be6671..0a5c6b2e9 100644 --- a/plugins/modules/ibm_is_dedicated_hosts_info.py +++ b/plugins/modules/ibm_is_dedicated_hosts_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_dedicated_hosts' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -123,7 +123,7 @@ def run_module(): resource_type='ibm_is_dedicated_hosts', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_endpoint_gateway_targets_info.py b/plugins/modules/ibm_is_endpoint_gateway_targets_info.py index c9087e256..c4a495c2b 100644 --- a/plugins/modules/ibm_is_endpoint_gateway_targets_info.py +++ b/plugins/modules/ibm_is_endpoint_gateway_targets_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_endpoint_gateway_targets' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_endpoint_gateway_targets', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_floating_ip.py b/plugins/modules/ibm_is_floating_ip.py index fab470947..d527644b8 100644 --- a/plugins/modules/ibm_is_floating_ip.py +++ b/plugins/modules/ibm_is_floating_ip.py @@ -18,29 +18,29 @@ - Create, update or destroy an IBM Cloud 'ibm_is_floating_ip' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - resource_group: + name: description: - - Resource group info - required: False + - (Required for new resource) Name of the floating IP + required: True type: str - zone: + target: description: - - Zone name + - Target info required: False type: str - target: + resource_group: description: - - Target info + - Resource group info required: False type: str - name: + zone: description: - - (Required for new resource) Name of the floating IP - required: True + - Zone name + required: False type: str tags: description: @@ -99,10 +99,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', + 'target', 'resource_group', 'zone', - 'target', - 'name', 'tags', ] @@ -116,24 +116,24 @@ ] TL_CONFLICTS_MAP = { - 'zone': ['target'], 'target': ['zone'], + 'zone': ['target'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group=dict( + name=dict( required=False, type='str'), - zone=dict( + target=dict( required=False, type='str'), - target=dict( + resource_group=dict( required=False, type='str'), - name=dict( + zone=dict( required=False, type='str'), tags=dict( @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_is_floating_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_is_floating_ip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_floating_ip_info.py b/plugins/modules/ibm_is_floating_ip_info.py index 82cf14013..5c6de3ebd 100644 --- a/plugins/modules/ibm_is_floating_ip_info.py +++ b/plugins/modules/ibm_is_floating_ip_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_floating_ip' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_floating_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_floating_ips_info.py b/plugins/modules/ibm_is_floating_ips_info.py index 20946450c..4da738082 100644 --- a/plugins/modules/ibm_is_floating_ips_info.py +++ b/plugins/modules/ibm_is_floating_ips_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_floating_ips' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -123,7 +123,7 @@ def run_module(): resource_type='ibm_is_floating_ips', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_flow_log.py b/plugins/modules/ibm_is_flow_log.py index f5913b2c2..a652bd9e2 100644 --- a/plugins/modules/ibm_is_flow_log.py +++ b/plugins/modules/ibm_is_flow_log.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_flow_log' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -120,8 +120,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'identifier', + 'name', ] TL_CONFLICTS_MAP = { @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_is_flow_log', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -236,7 +236,7 @@ def run_module(): resource_type='ibm_is_flow_log', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_flow_log_info.py b/plugins/modules/ibm_is_flow_log_info.py index a99310d79..2a6af9a28 100644 --- a/plugins/modules/ibm_is_flow_log_info.py +++ b/plugins/modules/ibm_is_flow_log_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_flow_log' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: + identifier: description: - - The unique user-defined name for this flow log collector. + - The flow log collector identifier. required: False type: str - identifier: + name: description: - - The flow log collector identifier. + - The unique user-defined name for this flow log collector. required: False type: str generation: @@ -68,8 +68,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'identifier', + 'name', ] @@ -80,10 +80,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + identifier=dict( required=False, type='str'), - identifier=dict( + name=dict( required=False, type='str'), generation=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_flow_log', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_flow_logs_info.py b/plugins/modules/ibm_is_flow_logs_info.py index 298c48f07..e6d592c72 100644 --- a/plugins/modules/ibm_is_flow_logs_info.py +++ b/plugins/modules/ibm_is_flow_logs_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_flow_logs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_flow_logs', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_ike_policies_info.py b/plugins/modules/ibm_is_ike_policies_info.py index 77b69c48a..c6bcd83d7 100644 --- a/plugins/modules/ibm_is_ike_policies_info.py +++ b/plugins/modules/ibm_is_ike_policies_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_ike_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_ike_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_ike_policy.py b/plugins/modules/ibm_is_ike_policy.py index b7cb4c8e4..dd08120cb 100644 --- a/plugins/modules/ibm_is_ike_policy.py +++ b/plugins/modules/ibm_is_ike_policy.py @@ -18,46 +18,46 @@ - Create, update or destroy an IBM Cloud 'ibm_is_ike_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - key_lifetime: - description: - - IKE Key lifetime - required: False - type: int - default: 28800 - name: + encryption_algorithm: description: - - (Required for new resource) IKE name + - (Required for new resource) Encryption alogorithm type required: True type: str - dh_group: - description: - - (Required for new resource) IKE DH group - required: True - type: int resource_group: description: - IKE resource group ID required: False type: str + key_lifetime: + description: + - IKE Key lifetime + required: False + type: int + default: 28800 ike_version: description: - IKE version required: False type: int + name: + description: + - (Required for new resource) IKE name + required: True + type: str authentication_algorithm: description: - (Required for new resource) Authentication algorithm type required: True type: str - encryption_algorithm: + dh_group: description: - - (Required for new resource) Encryption alogorithm type + - (Required for new resource) IKE DH group required: True - type: str + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -104,21 +104,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('encryption_algorithm', 'str'), ('name', 'str'), - ('dh_group', 'int'), ('authentication_algorithm', 'str'), - ('encryption_algorithm', 'str'), + ('dh_group', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'key_lifetime', - 'name', - 'dh_group', + 'encryption_algorithm', 'resource_group', + 'key_lifetime', 'ike_version', + 'name', 'authentication_algorithm', - 'encryption_algorithm', + 'dh_group', ] # Params for Data source @@ -126,8 +126,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'ike_policy', 'name', + 'ike_policy', ] TL_CONFLICTS_MAP = { @@ -137,27 +137,27 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - key_lifetime=dict( - required=False, - type='int'), - name=dict( + encryption_algorithm=dict( required=False, type='str'), - dh_group=dict( - required=False, - type='int'), resource_group=dict( required=False, type='str'), + key_lifetime=dict( + required=False, + type='int'), ike_version=dict( required=False, type='int'), - authentication_algorithm=dict( + name=dict( required=False, type='str'), - encryption_algorithm=dict( + authentication_algorithm=dict( required=False, type='str'), + dh_group=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -235,7 +235,7 @@ def run_module(): resource_type='ibm_is_ike_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -244,7 +244,7 @@ def run_module(): resource_type='ibm_is_ike_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_ike_policy_info.py b/plugins/modules/ibm_is_ike_policy_info.py index c5bbb896e..c2050fea7 100644 --- a/plugins/modules/ibm_is_ike_policy_info.py +++ b/plugins/modules/ibm_is_ike_policy_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_ike_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - ike_policy: + name: description: - - The IKE policy identifier. + - The IKE policy name. required: False type: str - name: + ike_policy: description: - - The IKE policy name. + - The IKE policy identifier. required: False type: str generation: @@ -68,8 +68,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'ike_policy', 'name', + 'ike_policy', ] @@ -80,10 +80,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - ike_policy=dict( + name=dict( required=False, type='str'), - name=dict( + ike_policy=dict( required=False, type='str'), generation=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_ike_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_image.py b/plugins/modules/ibm_is_image.py index a82381df7..d79aa5381 100644 --- a/plugins/modules/ibm_is_image.py +++ b/plugins/modules/ibm_is_image.py @@ -18,44 +18,39 @@ - Create, update or destroy an IBM Cloud 'ibm_is_image' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - operating_system: + encrypted_data_key: description: - - Image Operating system + - A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image required: False type: str - tags: - description: - - Tags for the image - required: False - type: list - elements: str source_volume: description: - Image volume id required: False type: str - encrypted_data_key: + resource_group: description: - - A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image + - The resource group for this image required: False type: str - encryption_key: + operating_system: description: - - The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource + - Image Operating system required: False type: str - resource_group: + tags: description: - - The resource group for this image + - Tags for the image required: False - type: str - href: + type: list + elements: str + encryption_key: description: - - Image Href value + - The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource required: False type: str name: @@ -63,6 +58,11 @@ - (Required for new resource) Image name required: True type: str + href: + description: + - Image Href value + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -114,14 +114,14 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'encrypted_data_key', + 'source_volume', + 'resource_group', 'operating_system', 'tags', - 'source_volume', - 'encrypted_data_key', 'encryption_key', - 'resource_group', - 'href', 'name', + 'href', ] # Params for Data source @@ -141,31 +141,31 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - operating_system=dict( + encrypted_data_key=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), source_volume=dict( required=False, type='str'), - encrypted_data_key=dict( + resource_group=dict( required=False, type='str'), - encryption_key=dict( + operating_system=dict( required=False, type='str'), - resource_group=dict( + tags=dict( required=False, - type='str'), - href=dict( + elements='', + type='list'), + encryption_key=dict( required=False, type='str'), name=dict( required=False, type='str'), + href=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -243,7 +243,7 @@ def run_module(): resource_type='ibm_is_image', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -252,7 +252,7 @@ def run_module(): resource_type='ibm_is_image', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_image_info.py b/plugins/modules/ibm_is_image_info.py index ba289b44a..510ff0e62 100644 --- a/plugins/modules/ibm_is_image_info.py +++ b/plugins/modules/ibm_is_image_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_image' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_is_image', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_images_info.py b/plugins/modules/ibm_is_images_info.py index 450a623da..40369e3b9 100644 --- a/plugins/modules/ibm_is_images_info.py +++ b/plugins/modules/ibm_is_images_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_images' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -26,6 +26,11 @@ - The id of the resource group required: False type: str + catalog_managed: + description: + - Lists images managed as part of a catalog offering. If an image is managed, accounts in the same enterprise with access to that catalog can specify the image's catalog offering version CRN to provision virtual server instances using the image + required: False + type: bool name: description: - The name of the image @@ -79,6 +84,7 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'resource_group', + 'catalog_managed', 'name', 'status', 'visibility', @@ -95,6 +101,9 @@ resource_group=dict( required=False, type='str'), + catalog_managed=dict( + required=False, + type='bool'), name=dict( required=False, type='str'), @@ -150,7 +159,7 @@ def run_module(): resource_type='ibm_is_images', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance.py b/plugins/modules/ibm_is_instance.py index 5e4836968..d934d3e97 100644 --- a/plugins/modules/ibm_is_instance.py +++ b/plugins/modules/ibm_is_instance.py @@ -18,78 +18,79 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - instance_template: + vpc: description: - - Id of the instance template + - VPC id required: False type: str - placement_group: + profile: description: - - Unique Identifier of the Placement Group for restricting the placement of the instance + - Profile info required: False type: str - force_action: + wait_before_delete: description: - - If set to true, the action will be forced immediately, and all queued actions deleted. Ignored for the start action. + - Enables stopping of instance before deleting and waits till deletion is complete required: False type: bool - default: False + default: True boot_volume: description: - None required: False type: list elements: dict - name: + metadata_service_enabled: description: - - (Required for new resource) Instance name - required: True + - Indicates whether the metadata service endpoint is available to the virtual server instance + required: False + type: bool + default_trusted_profile_target: + description: + - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance. + required: False type: str - total_volume_bandwidth: + dedicated_host_group: description: - - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes + - Unique Identifier of the Dedicated Host Group where the instance will be placed required: False - type: int + type: str keys: description: - SSH key Ids for the instance required: False type: list elements: str - primary_network_interface: + network_interfaces: description: - - Primary Network interface info + - None required: False type: list elements: dict - volumes: + tags: description: - - List of volumes + - list of tags for the instance required: False type: list elements: str - dedicated_host: - description: - - Unique Identifier of the Dedicated Host where the instance will be placed - required: False - type: str - auto_delete_volume: + force_action: description: - - Auto delete volume along with instance + - If set to true, the action will be forced immediately, and all queued actions deleted. Ignored for the start action. required: False type: bool - metadata_service_enabled: + default: False + image: description: - - Indicates whether the metadata service endpoint is available to the virtual server instance + - image id required: False - type: bool - vpc: + type: str + instance_template: description: - - VPC id + - Id of the instance template required: False type: str zone: @@ -97,74 +98,79 @@ - Zone name required: False type: str - image: - description: - - image id - required: False - type: str - resource_group: + total_volume_bandwidth: description: - - Instance resource group + - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes required: False - type: str - default_trusted_profile_target: + type: int + force_recovery_time: description: - - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance. + - Define timeout to force the instances to start/stop in minutes. required: False - type: str - wait_before_delete: + type: int + auto_delete_volume: description: - - Enables stopping of instance before deleting and waits till deletion is complete + - Auto delete volume along with instance required: False type: bool - default: True - action: + resource_group: description: - - Enables stopping of instance before deleting and waits till deletion is complete + - Instance resource group required: False type: str - user_data: + placement_group: description: - - User data given for the instance + - Unique Identifier of the Placement Group for restricting the placement of the instance required: False type: str - force_recovery_time: + catalog_offering: description: - - Define timeout to force the instances to start/stop in minutes. + - The catalog offering or offering version to use when provisioning this virtual server instance. If an offering is specified, the latest version of that offering will be used. The specified offering or offering version may be in a different account in the same enterprise, subject to IAM policies. required: False - type: int - availability_policy_host_failure: + type: list + elements: dict + user_data: description: - - The availability policy to use for this virtual server instance + - User data given for the instance required: False type: str - profile: + volumes: description: - - Profile info + - List of volumes required: False - type: str + type: list + elements: str default_trusted_profile_auto_link: description: - If set to `true`, the system will create a link to the specified `target` trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. required: False type: bool - dedicated_host_group: + action: description: - - Unique Identifier of the Dedicated Host Group where the instance will be placed + - Enables stopping of instance before deleting and waits till deletion is complete required: False type: str - tags: + primary_network_interface: description: - - list of tags for the instance + - Primary Network interface info required: False type: list - elements: str - network_interfaces: + elements: dict + availability_policy_host_failure: description: - - None + - The availability policy to use for this virtual server instance required: False - type: list - elements: dict + type: str + name: + description: + - (Required for new resource) Instance name + required: True + type: str + dedicated_host: + description: + - Unique Identifier of the Dedicated Host where the instance will be placed + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -216,33 +222,34 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_template', - 'placement_group', - 'force_action', + 'vpc', + 'profile', + 'wait_before_delete', 'boot_volume', - 'name', - 'total_volume_bandwidth', - 'keys', - 'primary_network_interface', - 'volumes', - 'dedicated_host', - 'auto_delete_volume', 'metadata_service_enabled', - 'vpc', - 'zone', + 'default_trusted_profile_target', + 'dedicated_host_group', + 'keys', + 'network_interfaces', + 'tags', + 'force_action', 'image', + 'instance_template', + 'zone', + 'total_volume_bandwidth', + 'force_recovery_time', + 'auto_delete_volume', 'resource_group', - 'default_trusted_profile_target', - 'wait_before_delete', - 'action', + 'placement_group', + 'catalog_offering', 'user_data', - 'force_recovery_time', - 'availability_policy_host_failure', - 'profile', + 'volumes', 'default_trusted_profile_auto_link', - 'dedicated_host_group', - 'tags', - 'network_interfaces', + 'action', + 'primary_network_interface', + 'availability_policy_host_failure', + 'name', + 'dedicated_host', ] # Params for Data source @@ -257,104 +264,108 @@ ] TL_CONFLICTS_MAP = { + 'dedicated_host_group': ['dedicated_host', 'placement_group'], + 'image': ['boot_volume.0.snapshot', 'catalog_offering.0.offering_crn', 'catalog_offering.0.version_crn'], 'instance_template': ['boot_volume.0.snapshot'], 'placement_group': ['dedicated_host', 'dedicated_host_group'], 'dedicated_host': ['dedicated_host_group', 'placement_group'], - 'image': ['boot_volume.0.snapshot'], - 'dedicated_host_group': ['dedicated_host', 'placement_group'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_template=dict( + vpc=dict( required=False, type='str'), - placement_group=dict( + profile=dict( required=False, type='str'), - force_action=dict( + wait_before_delete=dict( required=False, type='bool'), boot_volume=dict( required=False, elements='', type='list'), - name=dict( + metadata_service_enabled=dict( + required=False, + type='bool'), + default_trusted_profile_target=dict( required=False, type='str'), - total_volume_bandwidth=dict( + dedicated_host_group=dict( required=False, - type='int'), + type='str'), keys=dict( required=False, elements='', type='list'), - primary_network_interface=dict( + network_interfaces=dict( required=False, elements='', type='list'), - volumes=dict( + tags=dict( required=False, elements='', type='list'), - dedicated_host=dict( - required=False, - type='str'), - auto_delete_volume=dict( - required=False, - type='bool'), - metadata_service_enabled=dict( + force_action=dict( required=False, type='bool'), - vpc=dict( + image=dict( required=False, type='str'), - zone=dict( + instance_template=dict( required=False, type='str'), - image=dict( + zone=dict( required=False, type='str'), - resource_group=dict( + total_volume_bandwidth=dict( required=False, - type='str'), - default_trusted_profile_target=dict( + type='int'), + force_recovery_time=dict( required=False, - type='str'), - wait_before_delete=dict( + type='int'), + auto_delete_volume=dict( required=False, type='bool'), - action=dict( + resource_group=dict( required=False, type='str'), - user_data=dict( + placement_group=dict( required=False, type='str'), - force_recovery_time=dict( + catalog_offering=dict( required=False, - type='int'), - availability_policy_host_failure=dict( + elements='', + type='list'), + user_data=dict( required=False, type='str'), - profile=dict( + volumes=dict( required=False, - type='str'), + elements='', + type='list'), default_trusted_profile_auto_link=dict( required=False, type='bool'), - dedicated_host_group=dict( + action=dict( required=False, type='str'), - tags=dict( + primary_network_interface=dict( required=False, elements='', type='list'), - network_interfaces=dict( + availability_policy_host_failure=dict( required=False, - elements='', - type='list'), + type='str'), + name=dict( + required=False, + type='str'), + dedicated_host=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -432,7 +443,7 @@ def run_module(): resource_type='ibm_is_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -441,7 +452,7 @@ def run_module(): resource_type='ibm_is_instance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_instance_action.py b/plugins/modules/ibm_is_instance_action.py index 4f4f3f8df..3f69d857b 100644 --- a/plugins/modules/ibm_is_instance_action.py +++ b/plugins/modules/ibm_is_instance_action.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_action' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + instance: + description: + - (Required for new resource) Instance identifier + required: True + type: str action: description: - (Required for new resource) This restart/start/stops an instance. @@ -33,11 +38,6 @@ required: False type: bool default: False - instance: - description: - - (Required for new resource) Instance identifier - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,15 +84,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('action', 'str'), ('instance', 'str'), + ('action', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'instance', 'action', 'force_action', - 'instance', ] # Params for Data source @@ -109,15 +109,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + instance=dict( + required=False, + type='str'), action=dict( required=False, type='str'), force_action=dict( required=False, type='bool'), - instance=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_is_instance_action', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_disk_info.py b/plugins/modules/ibm_is_instance_disk_info.py index 9fc524091..ed47a1f3e 100644 --- a/plugins/modules/ibm_is_instance_disk_info.py +++ b/plugins/modules/ibm_is_instance_disk_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_disk' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_instance_disk', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_disk_management.py b/plugins/modules/ibm_is_instance_disk_management.py index e4ed961b2..132347937 100644 --- a/plugins/modules/ibm_is_instance_disk_management.py +++ b/plugins/modules/ibm_is_instance_disk_management.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_disk_management' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -187,7 +187,7 @@ def run_module(): resource_type='ibm_is_instance_disk_management', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_disks_info.py b/plugins/modules/ibm_is_instance_disks_info.py index 1d9d32600..82edc44d3 100644 --- a/plugins/modules/ibm_is_instance_disks_info.py +++ b/plugins/modules/ibm_is_instance_disks_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_disks' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_instance_disks', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_group.py b/plugins/modules/ibm_is_instance_group.py index 61a68a05c..559954310 100644 --- a/plugins/modules/ibm_is_instance_group.py +++ b/plugins/modules/ibm_is_instance_group.py @@ -18,16 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - subnets: - description: - - (Required for new resource) list of subnet IDs - required: True - type: list - elements: str load_balancer: description: - load balancer ID @@ -38,11 +32,12 @@ - load balancer pool ID required: False type: str - resource_group: + tags: description: - - Resource group ID + - List of tags for instance group required: False - type: str + type: list + elements: str instance_template: description: - (Required for new resource) instance template ID @@ -54,15 +49,10 @@ required: False type: int default: 0 - application_port: - description: - - Used by the instance group when scaling up instances to supply the port for the load balancer pool member. - required: False - type: int - tags: + subnets: description: - - List of tags for instance group - required: False + - (Required for new resource) list of subnet IDs + required: True type: list elements: str name: @@ -70,6 +60,16 @@ - (Required for new resource) The user-defined name for this instance group required: True type: str + resource_group: + description: + - Resource group ID + required: False + type: str + application_port: + description: + - Used by the instance group when scaling up instances to supply the port for the load balancer pool member. + required: False + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -116,22 +116,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('subnets', 'list'), ('instance_template', 'str'), + ('subnets', 'list'), ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'subnets', 'load_balancer', 'load_balancer_pool', - 'resource_group', + 'tags', 'instance_template', 'instance_count', - 'application_port', - 'tags', + 'subnets', 'name', + 'resource_group', + 'application_port', ] # Params for Data source @@ -150,35 +150,35 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - subnets=dict( - required=False, - elements='', - type='list'), load_balancer=dict( required=False, type='str'), load_balancer_pool=dict( required=False, type='str'), - resource_group=dict( + tags=dict( required=False, - type='str'), + elements='', + type='list'), instance_template=dict( required=False, type='str'), instance_count=dict( required=False, type='int'), - application_port=dict( - required=False, - type='int'), - tags=dict( + subnets=dict( required=False, elements='', type='list'), name=dict( required=False, type='str'), + resource_group=dict( + required=False, + type='str'), + application_port=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -256,7 +256,7 @@ def run_module(): resource_type='ibm_is_instance_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -265,7 +265,7 @@ def run_module(): resource_type='ibm_is_instance_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_instance_group_info.py b/plugins/modules/ibm_is_instance_group_info.py index 062b16e95..222e45aa0 100644 --- a/plugins/modules/ibm_is_instance_group_info.py +++ b/plugins/modules/ibm_is_instance_group_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_instance_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_group_manager.py b/plugins/modules/ibm_is_instance_group_manager.py index a1444d433..fad43ace6 100644 --- a/plugins/modules/ibm_is_instance_group_manager.py +++ b/plugins/modules/ibm_is_instance_group_manager.py @@ -18,32 +18,37 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_group_manager' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - cooldown: + name: description: - - The duration of time in seconds to pause further scale actions after scaling has taken place + - instance group manager name required: False - type: int - default: 300 + type: str max_membership_count: description: - The maximum number of members in a managed instance group required: False type: int - instance_group: + min_membership_count: description: - - (Required for new resource) instance group ID - required: True - type: str + - The minimum number of members in a managed instance group + required: False + type: int + default: 1 enable_manager: description: - enable instance group manager required: False type: bool default: True + instance_group: + description: + - (Required for new resource) instance group ID + required: True + type: str manager_type: description: - The type of instance group manager. @@ -56,17 +61,12 @@ required: False type: int default: 90 - min_membership_count: + cooldown: description: - - The minimum number of members in a managed instance group + - The duration of time in seconds to pause further scale actions after scaling has taken place required: False type: int - default: 1 - name: - description: - - instance group manager name - required: False - type: str + default: 300 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -118,14 +118,14 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cooldown', + 'name', 'max_membership_count', - 'instance_group', + 'min_membership_count', 'enable_manager', + 'instance_group', 'manager_type', 'aggregation_window', - 'min_membership_count', - 'name', + 'cooldown', ] # Params for Data source @@ -146,30 +146,30 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - cooldown=dict( + name=dict( required=False, - type='int'), + type='str'), max_membership_count=dict( required=False, type='int'), - instance_group=dict( + min_membership_count=dict( required=False, - type='str'), + type='int'), enable_manager=dict( required=False, type='bool'), + instance_group=dict( + required=False, + type='str'), manager_type=dict( required=False, type='str'), aggregation_window=dict( required=False, type='int'), - min_membership_count=dict( + cooldown=dict( required=False, type='int'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -247,7 +247,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -256,7 +256,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_instance_group_manager_action.py b/plugins/modules/ibm_is_instance_group_manager_action.py index 070e0f02b..15fd45a4a 100644 --- a/plugins/modules/ibm_is_instance_group_manager_action.py +++ b/plugins/modules/ibm_is_instance_group_manager_action.py @@ -18,13 +18,23 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_group_manager_action' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - cron_spec: + instance_group: description: - - The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min period. + - (Required for new resource) instance group ID + required: True + type: str + name: + description: + - instance group manager action name + required: False + type: str + run_at: + description: + - The date and time the scheduled action will run. required: False type: str instance_group_manager: @@ -32,11 +42,16 @@ - (Required for new resource) Instance group manager ID of type scheduled required: True type: str - run_at: + cron_spec: description: - - The date and time the scheduled action will run. + - The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min period. required: False type: str + max_membership_count: + description: + - The maximum number of members in a managed instance group + required: False + type: int min_membership_count: description: - The minimum number of members in a managed instance group @@ -48,26 +63,11 @@ - The unique identifier for this instance group manager of type autoscale. required: False type: str - name: - description: - - instance group manager action name - required: False - type: str membership_count: description: - The number of members the instance group should have at the scheduled time. required: False type: int - instance_group: - description: - - (Required for new resource) instance group ID - required: True - type: str - max_membership_count: - description: - - The maximum number of members in a managed instance group - required: False - type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -114,74 +114,74 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_group_manager', 'str'), ('instance_group', 'str'), + ('instance_group_manager', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cron_spec', - 'instance_group_manager', + 'instance_group', + 'name', 'run_at', + 'instance_group_manager', + 'cron_spec', + 'max_membership_count', 'min_membership_count', 'target_manager', - 'name', 'membership_count', - 'instance_group', - 'max_membership_count', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ ('name', 'str'), - ('instance_group_manager', 'str'), ('instance_group', 'str'), + ('instance_group_manager', 'str'), ] TL_ALL_PARAMETERS_DS = [ 'name', - 'instance_group_manager', 'instance_group', + 'instance_group_manager', ] TL_CONFLICTS_MAP = { - 'cron_spec': ['run_at'], 'run_at': ['cron_spec'], + 'cron_spec': ['run_at'], + 'max_membership_count': ['membership_count'], 'min_membership_count': ['membership_count'], 'target_manager': ['membership_count'], 'membership_count': ['target_manager', 'max_membership_count', 'min_membership_count'], - 'max_membership_count': ['membership_count'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - cron_spec=dict( + instance_group=dict( required=False, type='str'), - instance_group_manager=dict( + name=dict( required=False, type='str'), run_at=dict( required=False, type='str'), - min_membership_count=dict( - required=False, - type='int'), - target_manager=dict( + instance_group_manager=dict( required=False, type='str'), - name=dict( + cron_spec=dict( required=False, type='str'), - membership_count=dict( + max_membership_count=dict( required=False, type='int'), - instance_group=dict( + min_membership_count=dict( + required=False, + type='int'), + target_manager=dict( required=False, type='str'), - max_membership_count=dict( + membership_count=dict( required=False, type='int'), id=dict( @@ -261,7 +261,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_action', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -270,7 +270,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_action', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_instance_group_manager_action_info.py b/plugins/modules/ibm_is_instance_group_manager_action_info.py index 4d88f8d62..37daa2962 100644 --- a/plugins/modules/ibm_is_instance_group_manager_action_info.py +++ b/plugins/modules/ibm_is_instance_group_manager_action_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_manager_action' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -26,14 +26,14 @@ - instance group manager action name required: True type: str - instance_group_manager: + instance_group: description: - - Instance group manager ID of type scheduled + - instance group ID required: True type: str - instance_group: + instance_group_manager: description: - - instance group ID + - Instance group manager ID of type scheduled required: True type: str generation: @@ -70,15 +70,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('name', 'str'), - ('instance_group_manager', 'str'), ('instance_group', 'str'), + ('instance_group_manager', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'name', - 'instance_group_manager', 'instance_group', + 'instance_group_manager', ] @@ -92,10 +92,10 @@ name=dict( required=True, type='str'), - instance_group_manager=dict( + instance_group=dict( required=True, type='str'), - instance_group=dict( + instance_group_manager=dict( required=True, type='str'), generation=dict( @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_action', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_group_manager_actions_info.py b/plugins/modules/ibm_is_instance_group_manager_actions_info.py index db4eb0b39..138e9334c 100644 --- a/plugins/modules/ibm_is_instance_group_manager_actions_info.py +++ b/plugins/modules/ibm_is_instance_group_manager_actions_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_manager_actions' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_actions', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_group_manager_info.py b/plugins/modules/ibm_is_instance_group_manager_info.py index a27587572..92eb6cb3c 100644 --- a/plugins/modules/ibm_is_instance_group_manager_info.py +++ b/plugins/modules/ibm_is_instance_group_manager_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_manager' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_group_manager_policies_info.py b/plugins/modules/ibm_is_instance_group_manager_policies_info.py index 98c6c22ff..905a190c2 100644 --- a/plugins/modules/ibm_is_instance_group_manager_policies_info.py +++ b/plugins/modules/ibm_is_instance_group_manager_policies_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_manager_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_group_manager_policy.py b/plugins/modules/ibm_is_instance_group_manager_policy.py index 8d508f44c..137f6242d 100644 --- a/plugins/modules/ibm_is_instance_group_manager_policy.py +++ b/plugins/modules/ibm_is_instance_group_manager_policy.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_group_manager_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: - description: - - instance group manager policy name - required: False - type: str instance_group: description: - (Required for new resource) instance group ID @@ -52,6 +47,11 @@ - (Required for new resource) The type of Policy for the Instance Group required: True type: str + name: + description: + - instance group manager policy name + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -107,25 +107,25 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'instance_group', 'instance_group_manager', 'metric_type', 'metric_value', 'policy_type', + 'name', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ + ('instance_group_manager', 'str'), ('name', 'str'), ('instance_group', 'str'), - ('instance_group_manager', 'str'), ] TL_ALL_PARAMETERS_DS = [ + 'instance_group_manager', 'name', 'instance_group', - 'instance_group_manager', ] TL_CONFLICTS_MAP = { @@ -135,9 +135,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), instance_group=dict( required=False, type='str'), @@ -153,6 +150,9 @@ policy_type=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -230,7 +230,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -239,7 +239,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_instance_group_manager_policy_info.py b/plugins/modules/ibm_is_instance_group_manager_policy_info.py index 34f95c2f6..b548277fe 100644 --- a/plugins/modules/ibm_is_instance_group_manager_policy_info.py +++ b/plugins/modules/ibm_is_instance_group_manager_policy_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_manager_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + instance_group_manager: + description: + - Instance group manager ID + required: True + type: str name: description: - The name of the instance group manager policy @@ -31,11 +36,6 @@ - instance group ID required: True type: str - instance_group_manager: - description: - - Instance group manager ID - required: True - type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -69,16 +69,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('instance_group_manager', 'str'), ('name', 'str'), ('instance_group', 'str'), - ('instance_group_manager', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'instance_group_manager', 'name', 'instance_group', - 'instance_group_manager', ] @@ -89,13 +89,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + instance_group_manager=dict( required=True, type='str'), - instance_group=dict( + name=dict( required=True, type='str'), - instance_group_manager=dict( + instance_group=dict( required=True, type='str'), generation=dict( @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_instance_group_manager_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_group_managers_info.py b/plugins/modules/ibm_is_instance_group_managers_info.py index 1c95cfb18..ac12213ca 100644 --- a/plugins/modules/ibm_is_instance_group_managers_info.py +++ b/plugins/modules/ibm_is_instance_group_managers_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_managers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_instance_group_managers', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_group_membership.py b/plugins/modules/ibm_is_instance_group_membership.py index 5763ebb0a..2667e6353 100644 --- a/plugins/modules/ibm_is_instance_group_membership.py +++ b/plugins/modules/ibm_is_instance_group_membership.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_group_membership' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,6 +27,11 @@ - The user-defined name for this instance group membership. Names must be unique within the instance group. required: False type: str + instance_group_membership: + description: + - (Required for new resource) The unique identifier for this instance group membership. + required: True + type: str action_delete: description: - The delete flag for this instance group membership. Must be set to true to delete instance group membership. @@ -38,11 +43,6 @@ - (Required for new resource) The instance group identifier. required: True type: str - instance_group_membership: - description: - - (Required for new resource) The unique identifier for this instance group membership. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,16 +89,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_group', 'str'), ('instance_group_membership', 'str'), + ('instance_group', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'name', + 'instance_group_membership', 'action_delete', 'instance_group', - 'instance_group_membership', ] # Params for Data source @@ -122,15 +122,15 @@ name=dict( required=False, type='str'), + instance_group_membership=dict( + required=False, + type='str'), action_delete=dict( required=False, type='bool'), instance_group=dict( required=False, type='str'), - instance_group_membership=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -208,7 +208,7 @@ def run_module(): resource_type='ibm_is_instance_group_membership', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_is_instance_group_membership', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_instance_group_membership_info.py b/plugins/modules/ibm_is_instance_group_membership_info.py index 880608d32..6b8d68f1c 100644 --- a/plugins/modules/ibm_is_instance_group_membership_info.py +++ b/plugins/modules/ibm_is_instance_group_membership_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_membership' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_instance_group_membership', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_group_memberships_info.py b/plugins/modules/ibm_is_instance_group_memberships_info.py index 349a146f4..a7a75f287 100644 --- a/plugins/modules/ibm_is_instance_group_memberships_info.py +++ b/plugins/modules/ibm_is_instance_group_memberships_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_memberships' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_instance_group_memberships', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_groups_info.py b/plugins/modules/ibm_is_instance_groups_info.py index 28a1bb9c9..939f31183 100644 --- a/plugins/modules/ibm_is_instance_groups_info.py +++ b/plugins/modules/ibm_is_instance_groups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_instance_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_info.py b/plugins/modules/ibm_is_instance_info.py index f5315566c..8167af8cf 100644 --- a/plugins/modules/ibm_is_instance_info.py +++ b/plugins/modules/ibm_is_instance_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_is_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_network_interface.py b/plugins/modules/ibm_is_instance_network_interface.py index dd4bda1bc..5e326fddf 100644 --- a/plugins/modules/ibm_is_instance_network_interface.py +++ b/plugins/modules/ibm_is_instance_network_interface.py @@ -18,18 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_network_interface' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - instance: - description: - - (Required for new resource) The unique identifier of the instance. - required: True - type: str - name: + subnet: description: - - (Required for new resource) The user-defined name for this network interface. If unspecified, the name will be a hyphenated list of randomly-selected words. + - (Required for new resource) The unique identifier of the subnet. required: True type: str allow_ip_spoofing: @@ -38,15 +33,14 @@ required: False type: bool default: False - security_groups: + name: description: - - None - required: False - type: list - elements: str - subnet: + - (Required for new resource) The user-defined name for this network interface. If unspecified, the name will be a hyphenated list of randomly-selected words. + required: True + type: str + instance: description: - - (Required for new resource) The unique identifier of the subnet. + - (Required for new resource) The unique identifier of the instance. required: True type: str primary_ip: @@ -55,6 +49,12 @@ required: False type: list elements: dict + security_groups: + description: + - None + required: False + type: list + elements: str floating_ip: description: - The ID of the floating IP to attach to this network interface @@ -106,31 +106,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance', 'str'), - ('name', 'str'), ('subnet', 'str'), + ('name', 'str'), + ('instance', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance', - 'name', - 'allow_ip_spoofing', - 'security_groups', 'subnet', + 'allow_ip_spoofing', + 'name', + 'instance', 'primary_ip', + 'security_groups', 'floating_ip', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('instance_name', 'str'), ('network_interface_name', 'str'), + ('instance_name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'instance_name', 'network_interface_name', + 'instance_name', ] TL_CONFLICTS_MAP = { @@ -140,26 +140,26 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance=dict( - required=False, - type='str'), - name=dict( + subnet=dict( required=False, type='str'), allow_ip_spoofing=dict( required=False, type='bool'), - security_groups=dict( + name=dict( required=False, - elements='', - type='list'), - subnet=dict( + type='str'), + instance=dict( required=False, type='str'), primary_ip=dict( required=False, elements='', type='list'), + security_groups=dict( + required=False, + elements='', + type='list'), floating_ip=dict( required=False, type='str'), @@ -240,7 +240,7 @@ def run_module(): resource_type='ibm_is_instance_network_interface', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -249,7 +249,7 @@ def run_module(): resource_type='ibm_is_instance_network_interface', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_instance_network_interface_info.py b/plugins/modules/ibm_is_instance_network_interface_info.py index 39b8c9d01..ece85de7a 100644 --- a/plugins/modules/ibm_is_instance_network_interface_info.py +++ b/plugins/modules/ibm_is_instance_network_interface_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_network_interface' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - instance_name: + network_interface_name: description: - - The instance name. + - The network interface name. required: True type: str - network_interface_name: + instance_name: description: - - The network interface name. + - The instance name. required: True type: str generation: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_name', 'str'), ('network_interface_name', 'str'), + ('instance_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_name', 'network_interface_name', + 'instance_name', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_name=dict( + network_interface_name=dict( required=True, type='str'), - network_interface_name=dict( + instance_name=dict( required=True, type='str'), generation=dict( @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_instance_network_interface', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_network_interface_reserved_ip_info.py b/plugins/modules/ibm_is_instance_network_interface_reserved_ip_info.py index ff8f6b14a..edde9a97f 100644 --- a/plugins/modules/ibm_is_instance_network_interface_reserved_ip_info.py +++ b/plugins/modules/ibm_is_instance_network_interface_reserved_ip_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_network_interface_reserved_ip' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_instance_network_interface_reserved_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_network_interface_reserved_ips_info.py b/plugins/modules/ibm_is_instance_network_interface_reserved_ips_info.py index 6be30dcd6..fbad69177 100644 --- a/plugins/modules/ibm_is_instance_network_interface_reserved_ips_info.py +++ b/plugins/modules/ibm_is_instance_network_interface_reserved_ips_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_network_interface_reserved_ips' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - instance: + network_interface: description: - - The instance identifier. + - The instance network interface identifier. required: True type: str - network_interface: + instance: description: - - The instance network interface identifier. + - The instance identifier. required: True type: str generation: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance', 'str'), ('network_interface', 'str'), + ('instance', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance', 'network_interface', + 'instance', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance=dict( + network_interface=dict( required=True, type='str'), - network_interface=dict( + instance=dict( required=True, type='str'), generation=dict( @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_instance_network_interface_reserved_ips', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_network_interfaces_info.py b/plugins/modules/ibm_is_instance_network_interfaces_info.py index 6ff6f2d86..667f61751 100644 --- a/plugins/modules/ibm_is_instance_network_interfaces_info.py +++ b/plugins/modules/ibm_is_instance_network_interfaces_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_network_interfaces' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_instance_network_interfaces', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_profile_info.py b/plugins/modules/ibm_is_instance_profile_info.py index 56185b452..89e4c0ec6 100644 --- a/plugins/modules/ibm_is_instance_profile_info.py +++ b/plugins/modules/ibm_is_instance_profile_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_instance_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_profiles_info.py b/plugins/modules/ibm_is_instance_profiles_info.py index 8c6ea31b8..75c4c795e 100644 --- a/plugins/modules/ibm_is_instance_profiles_info.py +++ b/plugins/modules/ibm_is_instance_profiles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_instance_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_template.py b/plugins/modules/ibm_is_instance_template.py index 06327f628..75833d66a 100644 --- a/plugins/modules/ibm_is_instance_template.py +++ b/plugins/modules/ibm_is_instance_template.py @@ -18,48 +18,57 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_template' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - total_volume_bandwidth: + dedicated_host_group: description: - - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes + - Unique Identifier of the Dedicated Host Group where the instance will be placed required: False - type: int - volume_attachments: + type: str + boot_volume: description: - None required: False type: list elements: dict - boot_volume: + default_trusted_profile_auto_link: description: - - None + - If set to `true`, the system will create a link to the specified `target` trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. required: False - type: list - elements: dict - name: + type: bool + total_volume_bandwidth: description: - - Instance Template name + - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes required: False - type: str - metadata_service_enabled: + type: int + dedicated_host: description: - - Indicates whether the metadata service endpoint is available to the virtual server instance + - Unique Identifier of the Dedicated Host where the instance will be placed required: False - type: bool - default: False - dedicated_host_group: + type: str + resource_group: description: - - Unique Identifier of the Dedicated Host Group where the instance will be placed + - Instance template resource group required: False type: str - placement_group: + name: description: - - Unique Identifier of the Placement Group for restricting the placement of the instance + - Instance Template name required: False type: str + zone: + description: + - (Required for new resource) Zone name + required: True + type: str + keys: + description: + - (Required for new resource) SSH key Ids for the instance template + required: True + type: list + elements: str primary_network_interface: description: - (Required for new resource) Primary Network interface info @@ -71,25 +80,25 @@ - (Required for new resource) image name required: True type: str - resource_group: + vpc: description: - - Instance template resource group - required: False + - (Required for new resource) VPC id + required: True type: str - availability_policy_host_failure: + default_trusted_profile_target: description: - - The availability policy to use for this virtual server instance + - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance. required: False type: str - keys: + volume_attachments: description: - - (Required for new resource) SSH key Ids for the instance template - required: True + - None + required: False type: list - elements: str - dedicated_host: + elements: dict + placement_group: description: - - Unique Identifier of the Dedicated Host where the instance will be placed + - Unique Identifier of the Placement Group for restricting the placement of the instance required: False type: str network_interfaces: @@ -103,29 +112,20 @@ - User data given for the instance required: False type: str - profile: - description: - - (Required for new resource) Profile info - required: True - type: str - default_trusted_profile_target: + availability_policy_host_failure: description: - - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance. + - The availability policy to use for this virtual server instance required: False type: str - default_trusted_profile_auto_link: + metadata_service_enabled: description: - - If set to `true`, the system will create a link to the specified `target` trusted profile during instance creation. Regardless of whether a link is created by the system or manually using the IAM Identity service, it will be automatically deleted when the instance is deleted. + - Indicates whether the metadata service endpoint is available to the virtual server instance required: False type: bool - vpc: - description: - - (Required for new resource) VPC id - required: True - type: str - zone: + default: False + profile: description: - - (Required for new resource) Zone name + - (Required for new resource) Profile info required: True type: str id: @@ -174,36 +174,36 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('zone', 'str'), + ('keys', 'list'), ('primary_network_interface', 'list'), ('image', 'str'), - ('keys', 'list'), - ('profile', 'str'), ('vpc', 'str'), - ('zone', 'str'), + ('profile', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'total_volume_bandwidth', - 'volume_attachments', + 'dedicated_host_group', 'boot_volume', + 'default_trusted_profile_auto_link', + 'total_volume_bandwidth', + 'dedicated_host', + 'resource_group', 'name', - 'metadata_service_enabled', - 'dedicated_host_group', - 'placement_group', + 'zone', + 'keys', 'primary_network_interface', 'image', - 'resource_group', - 'availability_policy_host_failure', - 'keys', - 'dedicated_host', + 'vpc', + 'default_trusted_profile_target', + 'volume_attachments', + 'placement_group', 'network_interfaces', 'user_data', + 'availability_policy_host_failure', + 'metadata_service_enabled', 'profile', - 'default_trusted_profile_target', - 'default_trusted_profile_auto_link', - 'vpc', - 'zone', ] # Params for Data source @@ -211,43 +211,49 @@ ] TL_ALL_PARAMETERS_DS = [ - 'identifier', 'name', + 'identifier', ] TL_CONFLICTS_MAP = { 'dedicated_host_group': ['dedicated_host', 'placement_group'], - 'placement_group': ['dedicated_host', 'dedicated_host_group'], 'dedicated_host': ['dedicated_host_group', 'placement_group'], + 'placement_group': ['dedicated_host', 'dedicated_host_group'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - total_volume_bandwidth=dict( - required=False, - type='int'), - volume_attachments=dict( + dedicated_host_group=dict( required=False, - elements='', - type='list'), + type='str'), boot_volume=dict( required=False, elements='', type='list'), - name=dict( + default_trusted_profile_auto_link=dict( + required=False, + type='bool'), + total_volume_bandwidth=dict( + required=False, + type='int'), + dedicated_host=dict( required=False, type='str'), - metadata_service_enabled=dict( + resource_group=dict( required=False, - type='bool'), - dedicated_host_group=dict( + type='str'), + name=dict( required=False, type='str'), - placement_group=dict( + zone=dict( required=False, type='str'), + keys=dict( + required=False, + elements='', + type='list'), primary_network_interface=dict( required=False, elements='', @@ -255,17 +261,17 @@ image=dict( required=False, type='str'), - resource_group=dict( + vpc=dict( required=False, type='str'), - availability_policy_host_failure=dict( + default_trusted_profile_target=dict( required=False, type='str'), - keys=dict( + volume_attachments=dict( required=False, elements='', type='list'), - dedicated_host=dict( + placement_group=dict( required=False, type='str'), network_interfaces=dict( @@ -275,19 +281,13 @@ user_data=dict( required=False, type='str'), - profile=dict( - required=False, - type='str'), - default_trusted_profile_target=dict( + availability_policy_host_failure=dict( required=False, type='str'), - default_trusted_profile_auto_link=dict( + metadata_service_enabled=dict( required=False, type='bool'), - vpc=dict( - required=False, - type='str'), - zone=dict( + profile=dict( required=False, type='str'), id=dict( @@ -367,7 +367,7 @@ def run_module(): resource_type='ibm_is_instance_template', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -376,7 +376,7 @@ def run_module(): resource_type='ibm_is_instance_template', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_instance_template_info.py b/plugins/modules/ibm_is_instance_template_info.py index 624c3e74a..e7109d6a2 100644 --- a/plugins/modules/ibm_is_instance_template_info.py +++ b/plugins/modules/ibm_is_instance_template_info.py @@ -17,16 +17,16 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_template' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - identifier: + name: description: - None required: False type: str - name: + identifier: description: - None required: False @@ -68,8 +68,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'identifier', 'name', + 'identifier', ] @@ -80,10 +80,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - identifier=dict( + name=dict( required=False, type='str'), - name=dict( + identifier=dict( required=False, type='str'), generation=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_instance_template', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_templates_info.py b/plugins/modules/ibm_is_instance_templates_info.py index bfcbd32d3..c0ddc533b 100644 --- a/plugins/modules/ibm_is_instance_templates_info.py +++ b/plugins/modules/ibm_is_instance_templates_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_templates' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_instance_templates', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_volume_attachment.py b/plugins/modules/ibm_is_instance_volume_attachment.py index dbec0a411..7359525a9 100644 --- a/plugins/modules/ibm_is_instance_volume_attachment.py +++ b/plugins/modules/ibm_is_instance_volume_attachment.py @@ -18,35 +18,36 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_volume_attachment' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: + encryption_key: description: - - The user-defined name for this volume attachment. + - The CRN of the [Key Protect Root Key](https://cloud.ibm.com/docs/key-protect?topic=key-protect-getting-started-tutorial) or [Hyper Protect Crypto Service Root Key](https://cloud.ibm.com/docs/hs-crypto?topic=hs-crypto-get-started) for this resource. required: False type: str - volume: + name: description: - - Instance id + - The user-defined name for this volume attachment. required: False type: str - iops: - description: - - The maximum I/O operations per second (IOPS) for the volume. - required: False - type: int - capacity: + tags: description: - - The capacity of the volume in gigabytes. The specified minimum and maximum capacity values for creating or updating volumes may expand in the future. + - UserTags for the volume instance required: False - type: int + type: list + elements: str profile: description: - The globally unique name for the volume profile to use for this volume. required: False type: str + instance: + description: + - (Required for new resource) Instance id + required: True + type: str delete_volume_on_instance_delete: description: - If set to true, when deleting the instance the volume will also be deleted. @@ -57,33 +58,32 @@ - The unique user-defined name for this volume required: False type: str - tags: + capacity: description: - - UserTags for the volume instance + - The capacity of the volume in gigabytes. The specified minimum and maximum capacity values for creating or updating volumes may expand in the future. required: False - type: list - elements: str - instance: - description: - - (Required for new resource) Instance id - required: True - type: str + type: int delete_volume_on_attachment_delete: description: - If set to true, when deleting the attachment, the volume will also be deleted. Default value for this true. required: False type: bool default: True - encryption_key: + iops: description: - - The CRN of the [Key Protect Root Key](https://cloud.ibm.com/docs/key-protect?topic=key-protect-getting-started-tutorial) or [Hyper Protect Crypto Service Root Key](https://cloud.ibm.com/docs/hs-crypto?topic=hs-crypto-get-started) for this resource. + - The maximum I/O operations per second (IOPS) for the volume. required: False - type: str + type: int snapshot: description: - The snapshot of the volume to be attached required: False type: str + volume: + description: + - Instance id + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -135,81 +135,81 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'encryption_key', 'name', - 'volume', - 'iops', - 'capacity', + 'tags', 'profile', + 'instance', 'delete_volume_on_instance_delete', 'volume_name', - 'tags', - 'instance', + 'capacity', 'delete_volume_on_attachment_delete', - 'encryption_key', + 'iops', 'snapshot', + 'volume', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('name', 'str'), ('instance', 'str'), + ('name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'name', 'instance', + 'name', ] TL_CONFLICTS_MAP = { - 'volume': ['iops', 'volume_name', 'profile', 'capacity', 'snapshot', 'tags'], - 'iops': ['volume'], - 'capacity': ['volume'], - 'profile': ['volume'], 'tags': ['volume'], + 'profile': ['volume'], + 'capacity': ['volume'], + 'iops': ['volume'], 'snapshot': ['volume'], + 'volume': ['iops', 'volume_name', 'profile', 'capacity', 'snapshot', 'tags'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + encryption_key=dict( required=False, type='str'), - volume=dict( + name=dict( required=False, type='str'), - iops=dict( - required=False, - type='int'), - capacity=dict( + tags=dict( required=False, - type='int'), + elements='', + type='list'), profile=dict( required=False, type='str'), + instance=dict( + required=False, + type='str'), delete_volume_on_instance_delete=dict( required=False, type='bool'), volume_name=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), - instance=dict( + capacity=dict( required=False, - type='str'), + type='int'), delete_volume_on_attachment_delete=dict( required=False, type='bool'), - encryption_key=dict( + iops=dict( required=False, - type='str'), + type='int'), snapshot=dict( required=False, type='str'), + volume=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -287,7 +287,7 @@ def run_module(): resource_type='ibm_is_instance_volume_attachment', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -296,7 +296,7 @@ def run_module(): resource_type='ibm_is_instance_volume_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_instance_volume_attachment_info.py b/plugins/modules/ibm_is_instance_volume_attachment_info.py index e73389c7a..019dcbcf1 100644 --- a/plugins/modules/ibm_is_instance_volume_attachment_info.py +++ b/plugins/modules/ibm_is_instance_volume_attachment_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_volume_attachment' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: + instance: description: - - The user-defined name for this volume attachment. + - Instance id required: True type: str - instance: + name: description: - - Instance id + - The user-defined name for this volume attachment. required: True type: str generation: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('instance', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'instance', + 'name', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + instance=dict( required=True, type='str'), - instance=dict( + name=dict( required=True, type='str'), generation=dict( @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_instance_volume_attachment', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_volume_attachments_info.py b/plugins/modules/ibm_is_instance_volume_attachments_info.py index a1bbf4028..23838f3c1 100644 --- a/plugins/modules/ibm_is_instance_volume_attachments_info.py +++ b/plugins/modules/ibm_is_instance_volume_attachments_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_volume_attachments' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_instance_volume_attachments', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instances_info.py b/plugins/modules/ibm_is_instances_info.py index b0d3e491f..edea8b37f 100644 --- a/plugins/modules/ibm_is_instances_info.py +++ b/plugins/modules/ibm_is_instances_info.py @@ -17,58 +17,58 @@ description: - Retrieve an IBM Cloud 'ibm_is_instances' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - vpc: + instance_group_name: description: - - VPC ID to filter the instances attached to it + - Instance group name to filter the instances attached to it required: False type: str - vpc_crn: + vpc_name: description: - - VPC CRN to filter the instances attached to it + - Name of the vpc to filter the instances attached to it required: False type: str - resource_group: + vpc: description: - - Instance resource group + - VPC ID to filter the instances attached to it required: False type: str - dedicated_host_name: + vpc_crn: description: - - Name of the dedicated host to filter the instances attached to it + - VPC CRN to filter the instances attached to it required: False type: str - dedicated_host: + placement_group_name: description: - - ID of the dedicated host to filter the instances attached to it + - Name of the placement group to filter the instances attached to it required: False type: str - placement_group: + instance_group: description: - - ID of the placement group to filter the instances attached to it + - Instance group ID to filter the instances attached to it required: False type: str - instance_group: + resource_group: description: - - Instance group ID to filter the instances attached to it + - Instance resource group required: False type: str - vpc_name: + dedicated_host_name: description: - - Name of the vpc to filter the instances attached to it + - Name of the dedicated host to filter the instances attached to it required: False type: str - instance_group_name: + dedicated_host: description: - - Instance group name to filter the instances attached to it + - ID of the dedicated host to filter the instances attached to it required: False type: str - placement_group_name: + placement_group: description: - - Name of the placement group to filter the instances attached to it + - ID of the placement group to filter the instances attached to it required: False type: str generation: @@ -108,63 +108,63 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'instance_group_name', + 'vpc_name', 'vpc', 'vpc_crn', + 'placement_group_name', + 'instance_group', 'resource_group', 'dedicated_host_name', 'dedicated_host', 'placement_group', - 'instance_group', - 'vpc_name', - 'instance_group_name', - 'placement_group_name', ] TL_CONFLICTS_MAP = { + 'instance_group_name': ['vpc', 'vpc_crn', 'vpc_name', 'instance_group'], + 'vpc_name': ['vpc', 'vpc_crn', 'instance_group'], 'vpc': ['vpc_name', 'vpc_crn', 'instance_group'], 'vpc_crn': ['vpc_name', 'vpc', 'instance_group'], + 'placement_group_name': ['placement_group'], + 'instance_group': ['vpc', 'vpc_crn', 'vpc_name', 'instance_group_name'], 'dedicated_host_name': ['dedicated_host'], 'dedicated_host': ['dedicated_host_name'], 'placement_group': ['placement_group_name'], - 'instance_group': ['vpc', 'vpc_crn', 'vpc_name', 'instance_group_name'], - 'vpc_name': ['vpc', 'vpc_crn', 'instance_group'], - 'instance_group_name': ['vpc', 'vpc_crn', 'vpc_name', 'instance_group'], - 'placement_group_name': ['placement_group'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - vpc=dict( + instance_group_name=dict( required=False, type='str'), - vpc_crn=dict( + vpc_name=dict( required=False, type='str'), - resource_group=dict( + vpc=dict( required=False, type='str'), - dedicated_host_name=dict( + vpc_crn=dict( required=False, type='str'), - dedicated_host=dict( + placement_group_name=dict( required=False, type='str'), - placement_group=dict( + instance_group=dict( required=False, type='str'), - instance_group=dict( + resource_group=dict( required=False, type='str'), - vpc_name=dict( + dedicated_host_name=dict( required=False, type='str'), - instance_group_name=dict( + dedicated_host=dict( required=False, type='str'), - placement_group_name=dict( + placement_group=dict( required=False, type='str'), generation=dict( @@ -213,7 +213,7 @@ def run_module(): resource_type='ibm_is_instances', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_ipsec_policies_info.py b/plugins/modules/ibm_is_ipsec_policies_info.py index cec2f7db6..8250b01a0 100644 --- a/plugins/modules/ibm_is_ipsec_policies_info.py +++ b/plugins/modules/ibm_is_ipsec_policies_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_ipsec_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_ipsec_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_ipsec_policy.py b/plugins/modules/ibm_is_ipsec_policy.py index af0d2ebaf..bf83c4e5a 100644 --- a/plugins/modules/ibm_is_ipsec_policy.py +++ b/plugins/modules/ibm_is_ipsec_policy.py @@ -18,13 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_is_ipsec_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - authentication_algorithm: + encryption_algorithm: description: - - (Required for new resource) Authentication alorothm + - (Required for new resource) Encryption algorithm + required: True + type: str + pfs: + description: + - (Required for new resource) PFS info required: True type: str resource_group: @@ -37,14 +42,9 @@ - (Required for new resource) IPSEC name required: True type: str - encryption_algorithm: - description: - - (Required for new resource) Encryption algorithm - required: True - type: str - pfs: + authentication_algorithm: description: - - (Required for new resource) PFS info + - (Required for new resource) Authentication alorothm required: True type: str key_lifetime: @@ -99,19 +99,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('authentication_algorithm', 'str'), - ('name', 'str'), ('encryption_algorithm', 'str'), ('pfs', 'str'), + ('name', 'str'), + ('authentication_algorithm', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'authentication_algorithm', - 'resource_group', - 'name', 'encryption_algorithm', 'pfs', + 'resource_group', + 'name', + 'authentication_algorithm', 'key_lifetime', ] @@ -120,8 +120,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'ipsec_policy', 'name', + 'ipsec_policy', ] TL_CONFLICTS_MAP = { @@ -131,19 +131,19 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - authentication_algorithm=dict( + encryption_algorithm=dict( required=False, type='str'), - resource_group=dict( + pfs=dict( required=False, type='str'), - name=dict( + resource_group=dict( required=False, type='str'), - encryption_algorithm=dict( + name=dict( required=False, type='str'), - pfs=dict( + authentication_algorithm=dict( required=False, type='str'), key_lifetime=dict( @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_is_ipsec_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -235,7 +235,7 @@ def run_module(): resource_type='ibm_is_ipsec_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_ipsec_policy_info.py b/plugins/modules/ibm_is_ipsec_policy_info.py index e491612c7..dcd44a6ff 100644 --- a/plugins/modules/ibm_is_ipsec_policy_info.py +++ b/plugins/modules/ibm_is_ipsec_policy_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_ipsec_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - ipsec_policy: + name: description: - - The IPsec policy identifier. + - The IPsec policy name. required: False type: str - name: + ipsec_policy: description: - - The IPsec policy name. + - The IPsec policy identifier. required: False type: str generation: @@ -68,8 +68,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'ipsec_policy', 'name', + 'ipsec_policy', ] @@ -80,10 +80,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - ipsec_policy=dict( + name=dict( required=False, type='str'), - name=dict( + ipsec_policy=dict( required=False, type='str'), generation=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_ipsec_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb.py b/plugins/modules/ibm_is_lb.py index 9fc22e7f7..24870d1a4 100644 --- a/plugins/modules/ibm_is_lb.py +++ b/plugins/modules/ibm_is_lb.py @@ -18,61 +18,61 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - logging: - description: - - Logging of Load Balancer - required: False - type: bool - default: False - type: + name: description: - - Load Balancer type - required: False + - (Required for new resource) Load Balancer name + required: True type: str - default: public - profile: + security_groups: description: - - The profile to use for this load balancer. + - Load Balancer securitygroups list required: False - type: str - route_mode: + type: list + elements: str + logging: description: - - Indicates whether route mode is enabled for this load balancer + - Logging of Load Balancer required: False type: bool default: False - name: - description: - - (Required for new resource) Load Balancer name - required: True - type: str subnets: description: - (Required for new resource) Load Balancer subnets list required: True type: list elements: str - security_groups: - description: - - Load Balancer securitygroups list - required: False - type: list - elements: str tags: description: - None required: False type: list elements: str + type: + description: + - Load Balancer type + required: False + type: str + default: public + profile: + description: + - The profile to use for this load balancer. + required: False + type: str resource_group: description: - None required: False type: str + route_mode: + description: + - Indicates whether route mode is enabled for this load balancer + required: False + type: bool + default: False id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -125,15 +125,15 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'logging', - 'type', - 'profile', - 'route_mode', 'name', - 'subnets', 'security_groups', + 'logging', + 'subnets', 'tags', + 'type', + 'profile', 'resource_group', + 'route_mode', ] # Params for Data source @@ -146,35 +146,26 @@ ] TL_CONFLICTS_MAP = { + 'security_groups': ['profile'], 'logging': ['profile'], 'profile': ['logging'], - 'security_groups': ['profile'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - logging=dict( - required=False, - type='bool'), - type=dict( - required=False, - type='str'), - profile=dict( - required=False, - type='str'), - route_mode=dict( - required=False, - type='bool'), name=dict( required=False, type='str'), - subnets=dict( + security_groups=dict( required=False, elements='', type='list'), - security_groups=dict( + logging=dict( + required=False, + type='bool'), + subnets=dict( required=False, elements='', type='list'), @@ -182,9 +173,18 @@ required=False, elements='', type='list'), + type=dict( + required=False, + type='str'), + profile=dict( + required=False, + type='str'), resource_group=dict( required=False, type='str'), + route_mode=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -262,7 +262,7 @@ def run_module(): resource_type='ibm_is_lb', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -271,7 +271,7 @@ def run_module(): resource_type='ibm_is_lb', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_lb_info.py b/plugins/modules/ibm_is_lb_info.py index f68d3d149..fc5f0d7dc 100644 --- a/plugins/modules/ibm_is_lb_info.py +++ b/plugins/modules/ibm_is_lb_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_lb', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_listener.py b/plugins/modules/ibm_is_lb_listener.py index aea53b58a..b573c8083 100644 --- a/plugins/modules/ibm_is_lb_listener.py +++ b/plugins/modules/ibm_is_lb_listener.py @@ -18,63 +18,63 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_listener' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - port_min: + protocol: description: - - The inclusive lower bound of the range of ports used by this listener. Only load balancers in the `network` family support more than one port per listener. - required: False - type: int - certificate_instance: + - (Required for new resource) Loadbalancer protocol + required: True + type: str + accept_proxy_protocol: description: - - certificate instance for the Loadbalancer + - Listener will forward proxy protocol required: False - type: str + type: bool https_redirect_status_code: description: - The HTTP status code to be returned in the redirect response required: False type: int - connection_limit: + https_redirect_uri: description: - - Connection limit for Loadbalancer + - Target URI where traffic will be redirected required: False - type: int - lb: - description: - - (Required for new resource) Loadbalancer listener ID - required: True type: str port: description: - Loadbalancer listener port required: False type: int - accept_proxy_protocol: + default_pool: description: - - Listener will forward proxy protocol + - Loadbalancer default pool info required: False - type: bool + type: str + lb: + description: + - (Required for new resource) Loadbalancer listener ID + required: True + type: str port_max: description: - The inclusive upper bound of the range of ports used by this listener. Only load balancers in the `network` family support more than one port per listener required: False type: int - protocol: + connection_limit: description: - - (Required for new resource) Loadbalancer protocol - required: True - type: str - default_pool: + - Connection limit for Loadbalancer + required: False + type: int + port_min: description: - - Loadbalancer default pool info + - The inclusive lower bound of the range of ports used by this listener. Only load balancers in the `network` family support more than one port per listener. required: False - type: str - https_redirect_uri: + type: int + certificate_instance: description: - - Target URI where traffic will be redirected + - certificate instance for the Loadbalancer required: False type: str https_redirect_listener: @@ -128,23 +128,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('lb', 'str'), ('protocol', 'str'), + ('lb', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'port_min', - 'certificate_instance', + 'protocol', + 'accept_proxy_protocol', 'https_redirect_status_code', - 'connection_limit', - 'lb', + 'https_redirect_uri', 'port', - 'accept_proxy_protocol', - 'port_max', - 'protocol', 'default_pool', - 'https_redirect_uri', + 'lb', + 'port_max', + 'connection_limit', + 'port_min', + 'certificate_instance', 'https_redirect_listener', ] @@ -166,37 +166,37 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - port_min=dict( - required=False, - type='int'), - certificate_instance=dict( + protocol=dict( required=False, type='str'), - https_redirect_status_code=dict( + accept_proxy_protocol=dict( required=False, - type='int'), - connection_limit=dict( + type='bool'), + https_redirect_status_code=dict( required=False, type='int'), - lb=dict( + https_redirect_uri=dict( required=False, type='str'), port=dict( required=False, type='int'), - accept_proxy_protocol=dict( + default_pool=dict( required=False, - type='bool'), + type='str'), + lb=dict( + required=False, + type='str'), port_max=dict( required=False, type='int'), - protocol=dict( + connection_limit=dict( required=False, - type='str'), - default_pool=dict( + type='int'), + port_min=dict( required=False, - type='str'), - https_redirect_uri=dict( + type='int'), + certificate_instance=dict( required=False, type='str'), https_redirect_listener=dict( @@ -279,7 +279,7 @@ def run_module(): resource_type='ibm_is_lb_listener', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -288,7 +288,7 @@ def run_module(): resource_type='ibm_is_lb_listener', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_lb_listener_info.py b/plugins/modules/ibm_is_lb_listener_info.py index b7a5bf79d..884678ace 100644 --- a/plugins/modules/ibm_is_lb_listener_info.py +++ b/plugins/modules/ibm_is_lb_listener_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_listener' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_lb_listener', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_listener_policies_info.py b/plugins/modules/ibm_is_lb_listener_policies_info.py index 748203fcf..814f51a93 100644 --- a/plugins/modules/ibm_is_lb_listener_policies_info.py +++ b/plugins/modules/ibm_is_lb_listener_policies_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_listener_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_listener_policy.py b/plugins/modules/ibm_is_lb_listener_policy.py index 8b0a2aeba..0b41784b6 100644 --- a/plugins/modules/ibm_is_lb_listener_policy.py +++ b/plugins/modules/ibm_is_lb_listener_policy.py @@ -18,46 +18,25 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_listener_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: + target_id: description: - - Policy name + - Listener Policy Target ID required: False type: str - lb: - description: - - (Required for new resource) Load Balancer Listener Policy - required: True - type: str listener: description: - (Required for new resource) Listener ID required: True type: str - target_https_redirect_uri: - description: - - Target URI where traffic will be redirected - required: False - type: str - target_https_redirect_listener: + name: description: - - ID of the listener that will be set as http redirect target + - Policy name required: False type: str - action: - description: - - (Required for new resource) Policy Action - required: True - type: str - rules: - description: - - Policy Rules - required: False - type: list - elements: dict target_http_status_code: description: - Listener Policy target HTTPS Status code. @@ -68,20 +47,41 @@ - Policy Target URL required: False type: str + lb: + description: + - (Required for new resource) Load Balancer Listener Policy + required: True + type: str target_https_redirect_status_code: description: - The HTTP status code to be returned in the redirect response required: False type: int + target_https_redirect_listener: + description: + - ID of the listener that will be set as http redirect target + required: False + type: str priority: description: - (Required for new resource) Listener Policy Priority required: True type: int - target_id: + rules: description: - - Listener Policy Target ID + - Policy Rules required: False + type: list + elements: dict + target_https_redirect_uri: + description: + - Target URI where traffic will be redirected + required: False + type: str + action: + description: + - (Required for new resource) Policy Action + required: True type: str id: description: @@ -129,39 +129,39 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('lb', 'str'), ('listener', 'str'), - ('action', 'str'), + ('lb', 'str'), ('priority', 'int'), + ('action', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'lb', + 'target_id', 'listener', - 'target_https_redirect_uri', - 'target_https_redirect_listener', - 'action', - 'rules', + 'name', 'target_http_status_code', 'target_url', + 'lb', 'target_https_redirect_status_code', + 'target_https_redirect_listener', 'priority', - 'target_id', + 'rules', + 'target_https_redirect_uri', + 'action', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ ('listener', 'str'), - ('lb', 'str'), ('policy_id', 'str'), + ('lb', 'str'), ] TL_ALL_PARAMETERS_DS = [ 'listener', - 'lb', 'policy_id', + 'lb', ] TL_CONFLICTS_MAP = { @@ -171,41 +171,41 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), - lb=dict( + target_id=dict( required=False, type='str'), listener=dict( required=False, type='str'), - target_https_redirect_uri=dict( - required=False, - type='str'), - target_https_redirect_listener=dict( - required=False, - type='str'), - action=dict( + name=dict( required=False, type='str'), - rules=dict( - required=False, - elements='', - type='list'), target_http_status_code=dict( required=False, type='int'), target_url=dict( required=False, type='str'), + lb=dict( + required=False, + type='str'), target_https_redirect_status_code=dict( required=False, type='int'), + target_https_redirect_listener=dict( + required=False, + type='str'), priority=dict( required=False, type='int'), - target_id=dict( + rules=dict( + required=False, + elements='', + type='list'), + target_https_redirect_uri=dict( + required=False, + type='str'), + action=dict( required=False, type='str'), id=dict( @@ -285,7 +285,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -294,7 +294,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_lb_listener_policy_info.py b/plugins/modules/ibm_is_lb_listener_policy_info.py index e31829c84..1a4e2fa89 100644 --- a/plugins/modules/ibm_is_lb_listener_policy_info.py +++ b/plugins/modules/ibm_is_lb_listener_policy_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_listener_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -26,14 +26,14 @@ - The listener identifier. required: True type: str - lb: + policy_id: description: - - The load balancer identifier. + - The policy identifier. required: True type: str - policy_id: + lb: description: - - The policy identifier. + - The load balancer identifier. required: True type: str generation: @@ -70,15 +70,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('listener', 'str'), - ('lb', 'str'), ('policy_id', 'str'), + ('lb', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'listener', - 'lb', 'policy_id', + 'lb', ] @@ -92,10 +92,10 @@ listener=dict( required=True, type='str'), - lb=dict( + policy_id=dict( required=True, type='str'), - policy_id=dict( + lb=dict( required=True, type='str'), generation=dict( @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_listener_policy_rule.py b/plugins/modules/ibm_is_lb_listener_policy_rule.py index 70ee38884..7cc18e528 100644 --- a/plugins/modules/ibm_is_lb_listener_policy_rule.py +++ b/plugins/modules/ibm_is_lb_listener_policy_rule.py @@ -18,39 +18,39 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_listener_policy_rule' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - type: + value: description: - - (Required for new resource) Policy rule type. + - (Required for new resource) policy rule value info required: True type: str - value: + policy: description: - - (Required for new resource) policy rule value info + - (Required for new resource) Listener Policy ID required: True type: str - field: + listener: description: - - None - required: False + - (Required for new resource) Listener ID. + required: True type: str condition: description: - (Required for new resource) Condition info of the rule. required: True type: str - listener: + type: description: - - (Required for new resource) Listener ID. + - (Required for new resource) Policy rule type. required: True type: str - policy: + field: description: - - (Required for new resource) Listener Policy ID - required: True + - None + required: False type: str lb: description: @@ -103,22 +103,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('type', 'str'), ('value', 'str'), - ('condition', 'str'), - ('listener', 'str'), ('policy', 'str'), + ('listener', 'str'), + ('condition', 'str'), + ('type', 'str'), ('lb', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'type', 'value', - 'field', - 'condition', - 'listener', 'policy', + 'listener', + 'condition', + 'type', + 'field', 'lb', ] @@ -144,22 +144,22 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - type=dict( + value=dict( required=False, type='str'), - value=dict( + policy=dict( required=False, type='str'), - field=dict( + listener=dict( required=False, type='str'), condition=dict( required=False, type='str'), - listener=dict( + type=dict( required=False, type='str'), - policy=dict( + field=dict( required=False, type='str'), lb=dict( @@ -242,7 +242,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policy_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -251,7 +251,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policy_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_lb_listener_policy_rule_info.py b/plugins/modules/ibm_is_lb_listener_policy_rule_info.py index 3d3f4f710..a2118aec0 100644 --- a/plugins/modules/ibm_is_lb_listener_policy_rule_info.py +++ b/plugins/modules/ibm_is_lb_listener_policy_rule_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_listener_policy_rule' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -154,7 +154,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policy_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_listener_policy_rules_info.py b/plugins/modules/ibm_is_lb_listener_policy_rules_info.py index 636461dab..d3d0f32f6 100644 --- a/plugins/modules/ibm_is_lb_listener_policy_rules_info.py +++ b/plugins/modules/ibm_is_lb_listener_policy_rules_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_listener_policy_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policy_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_listeners_info.py b/plugins/modules/ibm_is_lb_listeners_info.py index fcfd02940..daa88e077 100644 --- a/plugins/modules/ibm_is_lb_listeners_info.py +++ b/plugins/modules/ibm_is_lb_listeners_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_listeners' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_lb_listeners', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_pool.py b/plugins/modules/ibm_is_lb_pool.py index e9f1a335b..846013644 100644 --- a/plugins/modules/ibm_is_lb_pool.py +++ b/plugins/modules/ibm_is_lb_pool.py @@ -18,33 +18,23 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - health_timeout: - description: - - (Required for new resource) Load Balancer health timeout interval - required: True - type: int - health_monitor_port: - description: - - Health monitor Port the LB Pool - required: False - type: int - session_persistence_app_cookie_name: + proxy_protocol: description: - - Load Balancer Pool session persisence app cookie name. + - PROXY protocol setting for this pool required: False type: str - protocol: + lb: description: - - (Required for new resource) Load Balancer Protocol + - (Required for new resource) Load Balancer ID required: True type: str - health_retries: + health_timeout: description: - - (Required for new resource) Load Balancer health retry count + - (Required for new resource) Load Balancer health timeout interval required: True type: int health_monitor_url: @@ -57,35 +47,45 @@ - Load Balancer Pool session persisence type. required: False type: str + health_type: + description: + - (Required for new resource) Load Balancer health type + required: True + type: str name: description: - (Required for new resource) Load Balancer Pool name required: True type: str - algorithm: + health_delay: description: - - (Required for new resource) Load Balancer Pool algorithm + - (Required for new resource) Load Blancer health delay time period required: True - type: str - health_type: + type: int + health_retries: description: - - (Required for new resource) Load Balancer health type + - (Required for new resource) Load Balancer health retry count required: True - type: str - proxy_protocol: + type: int + session_persistence_app_cookie_name: description: - - PROXY protocol setting for this pool + - Load Balancer Pool session persisence app cookie name. required: False type: str - lb: + algorithm: description: - - (Required for new resource) Load Balancer ID + - (Required for new resource) Load Balancer Pool algorithm required: True type: str - health_delay: + protocol: description: - - (Required for new resource) Load Blancer health delay time period + - (Required for new resource) Load Balancer Protocol required: True + type: str + health_monitor_port: + description: + - Health monitor Port the LB Pool + required: False type: int id: description: @@ -133,31 +133,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('lb', 'str'), ('health_timeout', 'int'), - ('protocol', 'str'), - ('health_retries', 'int'), - ('name', 'str'), - ('algorithm', 'str'), ('health_type', 'str'), - ('lb', 'str'), + ('name', 'str'), ('health_delay', 'int'), + ('health_retries', 'int'), + ('algorithm', 'str'), + ('protocol', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'proxy_protocol', + 'lb', 'health_timeout', - 'health_monitor_port', - 'session_persistence_app_cookie_name', - 'protocol', - 'health_retries', 'health_monitor_url', 'session_persistence_type', - 'name', - 'algorithm', 'health_type', - 'proxy_protocol', - 'lb', + 'name', 'health_delay', + 'health_retries', + 'session_persistence_app_cookie_name', + 'algorithm', + 'protocol', + 'health_monitor_port', ] # Params for Data source @@ -166,9 +166,9 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', - 'lb', 'identifier', + 'lb', + 'name', ] TL_CONFLICTS_MAP = { @@ -178,19 +178,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - health_timeout=dict( - required=False, - type='int'), - health_monitor_port=dict( - required=False, - type='int'), - session_persistence_app_cookie_name=dict( + proxy_protocol=dict( required=False, type='str'), - protocol=dict( + lb=dict( required=False, type='str'), - health_retries=dict( + health_timeout=dict( required=False, type='int'), health_monitor_url=dict( @@ -199,22 +193,28 @@ session_persistence_type=dict( required=False, type='str'), - name=dict( + health_type=dict( required=False, type='str'), - algorithm=dict( + name=dict( required=False, type='str'), - health_type=dict( + health_delay=dict( + required=False, + type='int'), + health_retries=dict( + required=False, + type='int'), + session_persistence_app_cookie_name=dict( required=False, type='str'), - proxy_protocol=dict( + algorithm=dict( required=False, type='str'), - lb=dict( + protocol=dict( required=False, type='str'), - health_delay=dict( + health_monitor_port=dict( required=False, type='int'), id=dict( @@ -294,7 +294,7 @@ def run_module(): resource_type='ibm_is_lb_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -303,7 +303,7 @@ def run_module(): resource_type='ibm_is_lb_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_lb_pool_info.py b/plugins/modules/ibm_is_lb_pool_info.py index 2cc87cfdc..ba10b320f 100644 --- a/plugins/modules/ibm_is_lb_pool_info.py +++ b/plugins/modules/ibm_is_lb_pool_info.py @@ -17,13 +17,13 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: + identifier: description: - - The user-defined name for this load balancer pool. + - The pool identifier. required: False type: str lb: @@ -31,9 +31,9 @@ - The load balancer identifier. required: True type: str - identifier: + name: description: - - The pool identifier. + - The user-defined name for this load balancer pool. required: False type: str generation: @@ -74,9 +74,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'lb', 'identifier', + 'lb', + 'name', ] @@ -87,13 +87,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + identifier=dict( required=False, type='str'), lb=dict( required=True, type='str'), - identifier=dict( + name=dict( required=False, type='str'), generation=dict( @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_is_lb_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_pool_member.py b/plugins/modules/ibm_is_lb_pool_member.py index bc0cb9a96..bb3766c53 100644 --- a/plugins/modules/ibm_is_lb_pool_member.py +++ b/plugins/modules/ibm_is_lb_pool_member.py @@ -18,38 +18,38 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_pool_member' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - lb: + target_address: description: - - (Required for new resource) Load balancer ID - required: True + - Load balancer pool member target address + required: False type: str - port: + pool: description: - - (Required for new resource) Load Balancer Pool port + - (Required for new resource) Loadblancer Poold ID required: True - type: int - target_id: + type: str + lb: description: - - Load balancer pool member target id - required: False + - (Required for new resource) Load balancer ID + required: True type: str weight: description: - Load balcner pool member weight required: False type: int - pool: + port: description: - - (Required for new resource) Loadblancer Poold ID + - (Required for new resource) Load Balancer Pool port required: True - type: str - target_address: + type: int + target_id: description: - - Load balancer pool member target address + - Load balancer pool member target id required: False type: str id: @@ -98,31 +98,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('pool', 'str'), ('lb', 'str'), ('port', 'int'), - ('pool', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'target_address', + 'pool', 'lb', + 'weight', 'port', 'target_id', - 'weight', - 'pool', - 'target_address', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('lb', 'str'), ('member', 'str'), + ('lb', 'str'), ('pool', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'lb', 'member', + 'lb', 'pool', ] @@ -133,22 +133,22 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - lb=dict( + target_address=dict( required=False, type='str'), - port=dict( + pool=dict( required=False, - type='int'), - target_id=dict( + type='str'), + lb=dict( required=False, type='str'), weight=dict( required=False, type='int'), - pool=dict( + port=dict( required=False, - type='str'), - target_address=dict( + type='int'), + target_id=dict( required=False, type='str'), id=dict( @@ -228,7 +228,7 @@ def run_module(): resource_type='ibm_is_lb_pool_member', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -237,7 +237,7 @@ def run_module(): resource_type='ibm_is_lb_pool_member', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_lb_pool_member_info.py b/plugins/modules/ibm_is_lb_pool_member_info.py index e54452eaa..823ab5fba 100644 --- a/plugins/modules/ibm_is_lb_pool_member_info.py +++ b/plugins/modules/ibm_is_lb_pool_member_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_pool_member' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - lb: + member: description: - - The load balancer identifier. + - The member identifier. required: True type: str - member: + lb: description: - - The member identifier. + - The load balancer identifier. required: True type: str pool: @@ -69,15 +69,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('lb', 'str'), ('member', 'str'), + ('lb', 'str'), ('pool', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'lb', 'member', + 'lb', 'pool', ] @@ -89,10 +89,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - lb=dict( + member=dict( required=True, type='str'), - member=dict( + lb=dict( required=True, type='str'), pool=dict( @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_lb_pool_member', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_pool_members_info.py b/plugins/modules/ibm_is_lb_pool_members_info.py index b55c7976e..b7dbfc271 100644 --- a/plugins/modules/ibm_is_lb_pool_members_info.py +++ b/plugins/modules/ibm_is_lb_pool_members_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_pool_members' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_lb_pool_members', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_pools_info.py b/plugins/modules/ibm_is_lb_pools_info.py index 923331354..86a6d7f13 100644 --- a/plugins/modules/ibm_is_lb_pools_info.py +++ b/plugins/modules/ibm_is_lb_pools_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_pools' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_lb_pools', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lb_profiles_info.py b/plugins/modules/ibm_is_lb_profiles_info.py index 19b3c15c0..3d7379c44 100644 --- a/plugins/modules/ibm_is_lb_profiles_info.py +++ b/plugins/modules/ibm_is_lb_profiles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_lb_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_lbs_info.py b/plugins/modules/ibm_is_lbs_info.py index a32ad1a88..c05eb09d5 100644 --- a/plugins/modules/ibm_is_lbs_info.py +++ b/plugins/modules/ibm_is_lbs_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_lbs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_lbs', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_network_acl.py b/plugins/modules/ibm_is_network_acl.py index 4b4620a8f..d1cbb94b9 100644 --- a/plugins/modules/ibm_is_network_acl.py +++ b/plugins/modules/ibm_is_network_acl.py @@ -18,25 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_network_acl' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) Network ACL name - required: True - type: str - vpc: - description: - - Network ACL VPC name - required: False - type: str - resource_group: - description: - - Resource group ID for the network ACL - required: False - type: str tags: description: - List of tags @@ -49,6 +34,21 @@ required: False type: list elements: dict + name: + description: + - (Required for new resource) Network ACL name + required: True + type: str + resource_group: + description: + - Resource group ID for the network ACL + required: False + type: str + vpc: + description: + - Network ACL VPC name + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -100,11 +100,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'vpc', - 'resource_group', 'tags', 'rules', + 'name', + 'resource_group', + 'vpc', ] # Params for Data source @@ -112,9 +112,9 @@ ] TL_ALL_PARAMETERS_DS = [ + 'vpc_name', 'network_acl', 'name', - 'vpc_name', ] TL_CONFLICTS_MAP = { @@ -124,15 +124,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), - vpc=dict( - required=False, - type='str'), - resource_group=dict( - required=False, - type='str'), tags=dict( required=False, elements='', @@ -141,6 +132,15 @@ required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), + resource_group=dict( + required=False, + type='str'), + vpc=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -218,7 +218,7 @@ def run_module(): resource_type='ibm_is_network_acl', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_is_network_acl', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_network_acl_info.py b/plugins/modules/ibm_is_network_acl_info.py index ffca1e9a3..542b9be55 100644 --- a/plugins/modules/ibm_is_network_acl_info.py +++ b/plugins/modules/ibm_is_network_acl_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_is_network_acl' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + vpc_name: + description: + - The name of the vpc the network acl resides in. + required: False + type: str network_acl: description: - The network acl id. @@ -31,11 +36,6 @@ - The network acl name. required: False type: str - vpc_name: - description: - - The name of the vpc the network acl resides in. - required: False - type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -73,9 +73,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'vpc_name', 'network_acl', 'name', - 'vpc_name', ] @@ -86,13 +86,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - network_acl=dict( + vpc_name=dict( required=False, type='str'), - name=dict( + network_acl=dict( required=False, type='str'), - vpc_name=dict( + name=dict( required=False, type='str'), generation=dict( @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_is_network_acl', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_network_acl_rule.py b/plugins/modules/ibm_is_network_acl_rule.py index 2cccfa730..9cc7626f7 100644 --- a/plugins/modules/ibm_is_network_acl_rule.py +++ b/plugins/modules/ibm_is_network_acl_rule.py @@ -18,18 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_is_network_acl_rule' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - action: - description: - - (Required for new resource) Whether to allow or deny matching traffic - required: True - type: str - source: + network_acl: description: - - (Required for new resource) The source CIDR block. The CIDR block 0.0.0.0/0 applies to all addresses. + - (Required for new resource) Network ACL id required: True type: str direction: @@ -37,20 +32,26 @@ - (Required for new resource) Direction of traffic to enforce, either inbound or outbound required: True type: str - udp: + tcp: description: - None required: False type: list elements: dict - before: + udp: description: - - The rule that this rule is immediately before. If absent, this is the last rule. + - None required: False + type: list + elements: dict + action: + description: + - (Required for new resource) Whether to allow or deny matching traffic + required: True type: str - destination: + source: description: - - (Required for new resource) The destination CIDR block. The CIDR block 0.0.0.0/0 applies to all addresses. + - (Required for new resource) The source CIDR block. The CIDR block 0.0.0.0/0 applies to all addresses. required: True type: str icmp: @@ -59,22 +60,21 @@ required: False type: list elements: dict - name: + destination: description: - - The user-defined name for this rule. Names must be unique within the network ACL the rule resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. - required: False + - (Required for new resource) The destination CIDR block. The CIDR block 0.0.0.0/0 applies to all addresses. + required: True type: str - network_acl: + before: description: - - (Required for new resource) Network ACL id - required: True + - The rule that this rule is immediately before. If absent, this is the last rule. + required: False type: str - tcp: + name: description: - - None + - The user-defined name for this rule. Names must be unique within the network ACL the rule resides in. If unspecified, the name will be a hyphenated list of randomly-selected words. required: False - type: list - elements: dict + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -121,25 +121,25 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('network_acl', 'str'), + ('direction', 'str'), ('action', 'str'), ('source', 'str'), - ('direction', 'str'), ('destination', 'str'), - ('network_acl', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'action', - 'source', + 'network_acl', 'direction', + 'tcp', 'udp', - 'before', - 'destination', + 'action', + 'source', 'icmp', + 'destination', + 'before', 'name', - 'network_acl', - 'tcp', ] # Params for Data source @@ -154,48 +154,48 @@ ] TL_CONFLICTS_MAP = { + 'tcp': ['icmp', 'udp'], 'udp': ['icmp', 'tcp'], 'icmp': ['tcp', 'udp'], - 'tcp': ['icmp', 'udp'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - action=dict( - required=False, - type='str'), - source=dict( + network_acl=dict( required=False, type='str'), direction=dict( required=False, type='str'), + tcp=dict( + required=False, + elements='', + type='list'), udp=dict( required=False, elements='', type='list'), - before=dict( + action=dict( required=False, type='str'), - destination=dict( + source=dict( required=False, type='str'), icmp=dict( required=False, elements='', type='list'), - name=dict( + destination=dict( required=False, type='str'), - network_acl=dict( + before=dict( required=False, type='str'), - tcp=dict( + name=dict( required=False, - elements='', - type='list'), + type='str'), id=dict( required=False, type='str'), @@ -273,7 +273,7 @@ def run_module(): resource_type='ibm_is_network_acl_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -282,7 +282,7 @@ def run_module(): resource_type='ibm_is_network_acl_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_network_acl_rule_info.py b/plugins/modules/ibm_is_network_acl_rule_info.py index 702526f1f..bcee1138a 100644 --- a/plugins/modules/ibm_is_network_acl_rule_info.py +++ b/plugins/modules/ibm_is_network_acl_rule_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_network_acl_rule' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_network_acl_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_network_acl_rules_info.py b/plugins/modules/ibm_is_network_acl_rules_info.py index db42c1c54..c8b16f5c1 100644 --- a/plugins/modules/ibm_is_network_acl_rules_info.py +++ b/plugins/modules/ibm_is_network_acl_rules_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_network_acl_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_network_acl_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_network_acls_info.py b/plugins/modules/ibm_is_network_acls_info.py index c59b4fda7..c68052459 100644 --- a/plugins/modules/ibm_is_network_acls_info.py +++ b/plugins/modules/ibm_is_network_acls_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_network_acls' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -123,7 +123,7 @@ def run_module(): resource_type='ibm_is_network_acls', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_operating_system_info.py b/plugins/modules/ibm_is_operating_system_info.py index 5c83a498a..ab8cbda77 100644 --- a/plugins/modules/ibm_is_operating_system_info.py +++ b/plugins/modules/ibm_is_operating_system_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_operating_system' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_operating_system', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_operating_systems_info.py b/plugins/modules/ibm_is_operating_systems_info.py index fd50d8fdd..110a18e61 100644 --- a/plugins/modules/ibm_is_operating_systems_info.py +++ b/plugins/modules/ibm_is_operating_systems_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_operating_systems' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_operating_systems', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_placement_group.py b/plugins/modules/ibm_is_placement_group.py index 09fb35408..11746df64 100644 --- a/plugins/modules/ibm_is_placement_group.py +++ b/plugins/modules/ibm_is_placement_group.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_placement_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,11 +27,6 @@ - (Required for new resource) The strategy for this placement group- `host_spread`: place on different compute hosts- `power_spread`: place on compute hosts that use different power sourcesThe enumerated values for this property may expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the placement group on which the unexpected strategy was encountered. required: True type: str - name: - description: - - (Required for new resource) The unique user-defined name for this placement group. If unspecified, the name will be a hyphenated list of randomly-selected words. - required: True - type: str resource_group: description: - The unique identifier of the resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. @@ -43,6 +38,11 @@ required: False type: list elements: str + name: + description: + - (Required for new resource) The unique user-defined name for this placement group. If unspecified, the name will be a hyphenated list of randomly-selected words. + required: True + type: str access_tags: description: - List of access management tags @@ -102,9 +102,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'strategy', - 'name', 'resource_group', 'tags', + 'name', 'access_tags', ] @@ -127,9 +127,6 @@ strategy=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), resource_group=dict( required=False, type='str'), @@ -137,6 +134,9 @@ required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), access_tags=dict( required=False, elements='', @@ -218,7 +218,7 @@ def run_module(): resource_type='ibm_is_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_is_placement_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_placement_group_info.py b/plugins/modules/ibm_is_placement_group_info.py index de91f2030..8be593ce7 100644 --- a/plugins/modules/ibm_is_placement_group_info.py +++ b/plugins/modules/ibm_is_placement_group_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_placement_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_placement_groups_info.py b/plugins/modules/ibm_is_placement_groups_info.py index 03f6b494e..ef28383c5 100644 --- a/plugins/modules/ibm_is_placement_groups_info.py +++ b/plugins/modules/ibm_is_placement_groups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_placement_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_placement_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_public_gateway.py b/plugins/modules/ibm_is_public_gateway.py index f068a449c..3c9354b43 100644 --- a/plugins/modules/ibm_is_public_gateway.py +++ b/plugins/modules/ibm_is_public_gateway.py @@ -18,14 +18,14 @@ - Create, update or destroy an IBM Cloud 'ibm_is_public_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - zone: + resource_group: description: - - (Required for new resource) Public gateway zone info - required: True + - Public gateway resource group info + required: False type: str tags: description: @@ -33,6 +33,11 @@ required: False type: list elements: str + name: + description: + - (Required for new resource) Name of the Public gateway instance + required: True + type: str floating_ip: description: - None @@ -43,16 +48,11 @@ - (Required for new resource) Public gateway VPC info required: True type: str - name: + zone: description: - - (Required for new resource) Name of the Public gateway instance + - (Required for new resource) Public gateway zone info required: True type: str - resource_group: - description: - - Public gateway resource group info - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,19 +99,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('zone', 'str'), - ('vpc', 'str'), ('name', 'str'), + ('vpc', 'str'), + ('zone', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'zone', + 'resource_group', 'tags', + 'name', 'floating_ip', 'vpc', - 'name', - 'resource_group', + 'zone', ] # Params for Data source @@ -120,8 +120,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'resource_group', + 'name', ] TL_CONFLICTS_MAP = { @@ -131,23 +131,23 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - zone=dict( + resource_group=dict( required=False, type='str'), tags=dict( required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), floating_ip=dict( required=False, type='dict'), vpc=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), - resource_group=dict( + zone=dict( required=False, type='str'), id=dict( @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_is_public_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -236,7 +236,7 @@ def run_module(): resource_type='ibm_is_public_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_public_gateway_info.py b/plugins/modules/ibm_is_public_gateway_info.py index 27a6d069e..3a7c56fdf 100644 --- a/plugins/modules/ibm_is_public_gateway_info.py +++ b/plugins/modules/ibm_is_public_gateway_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_is_public_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: - description: - - Public gateway Name - required: True - type: str resource_group: description: - Public gateway resource group info required: False type: str + name: + description: + - Public gateway Name + required: True + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -69,8 +69,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'resource_group', + 'name', ] @@ -81,12 +81,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=True, - type='str'), resource_group=dict( required=False, type='str'), + name=dict( + required=True, + type='str'), generation=dict( type='int', required=False, @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_public_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_public_gateways_info.py b/plugins/modules/ibm_is_public_gateways_info.py index 6ffc03b8f..e28443904 100644 --- a/plugins/modules/ibm_is_public_gateways_info.py +++ b/plugins/modules/ibm_is_public_gateways_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_public_gateways' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_public_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_region_info.py b/plugins/modules/ibm_is_region_info.py index a8404c99a..ea5d44824 100644 --- a/plugins/modules/ibm_is_region_info.py +++ b/plugins/modules/ibm_is_region_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_region' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -123,7 +123,7 @@ def run_module(): resource_type='ibm_is_region', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_regions_info.py b/plugins/modules/ibm_is_regions_info.py index 583bc80cd..4e9caad91 100644 --- a/plugins/modules/ibm_is_regions_info.py +++ b/plugins/modules/ibm_is_regions_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_regions' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_regions', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_security_group.py b/plugins/modules/ibm_is_security_group.py index b18285d55..2cb1bd470 100644 --- a/plugins/modules/ibm_is_security_group.py +++ b/plugins/modules/ibm_is_security_group.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_security_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - resource_group: - description: - - Resource Group ID - required: False - type: str name: description: - Security group name @@ -37,6 +32,11 @@ - (Required for new resource) Security group's resource group id required: True type: str + resource_group: + description: + - Resource Group ID + required: False + type: str tags: description: - List of tags @@ -94,9 +94,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group', 'name', 'vpc', + 'resource_group', 'tags', ] @@ -116,15 +116,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group=dict( - required=False, - type='str'), name=dict( required=False, type='str'), vpc=dict( required=False, type='str'), + resource_group=dict( + required=False, + type='str'), tags=dict( required=False, elements='', @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_is_security_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_is_security_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_security_group_info.py b/plugins/modules/ibm_is_security_group_info.py index cb89bfef3..5e48ce8f9 100644 --- a/plugins/modules/ibm_is_security_group_info.py +++ b/plugins/modules/ibm_is_security_group_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_security_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_security_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_security_group_network_interface_attachment.py b/plugins/modules/ibm_is_security_group_network_interface_attachment.py index 3454f0857..0e87976ef 100644 --- a/plugins/modules/ibm_is_security_group_network_interface_attachment.py +++ b/plugins/modules/ibm_is_security_group_network_interface_attachment.py @@ -18,18 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_is_security_group_network_interface_attachment' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - security_group: + network_interface: description: - - (Required for new resource) security group network interface attachment group ID + - (Required for new resource) security group network interface attachment NIC ID required: True type: str - network_interface: + security_group: description: - - (Required for new resource) security group network interface attachment NIC ID + - (Required for new resource) security group network interface attachment group ID required: True type: str id: @@ -78,14 +78,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('security_group', 'str'), ('network_interface', 'str'), + ('security_group', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'security_group', 'network_interface', + 'security_group', ] # Params for Data source @@ -102,10 +102,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - security_group=dict( + network_interface=dict( required=False, type='str'), - network_interface=dict( + security_group=dict( required=False, type='str'), id=dict( @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_is_security_group_network_interface_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_security_group_rule.py b/plugins/modules/ibm_is_security_group_rule.py index 8c7cf5c2d..daccf77d6 100644 --- a/plugins/modules/ibm_is_security_group_rule.py +++ b/plugins/modules/ibm_is_security_group_rule.py @@ -18,25 +18,27 @@ - Create, update or destroy an IBM Cloud 'ibm_is_security_group_rule' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - group: - description: - - (Required for new resource) Security group id - required: True - type: str direction: description: - (Required for new resource) Direction of traffic to enforce, either inbound or outbound required: True type: str - remote: + ip_version: description: - - Security group id: an IP address, a CIDR block, or a single security group identifier + - IP version: ipv4 required: False type: str + default: ipv4 + icmp: + description: + - protocol=icmp + required: False + type: list + elements: dict tcp: description: - protocol=tcp @@ -49,18 +51,16 @@ required: False type: list elements: dict - ip_version: + group: description: - - IP version: ipv4 - required: False + - (Required for new resource) Security group id + required: True type: str - default: ipv4 - icmp: + remote: description: - - protocol=icmp + - Security group id: an IP address, a CIDR block, or a single security group identifier required: False - type: list - elements: dict + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -107,19 +107,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('group', 'str'), ('direction', 'str'), + ('group', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'group', 'direction', - 'remote', - 'tcp', - 'udp', 'ip_version', 'icmp', + 'tcp', + 'udp', + 'group', + 'remote', ] # Params for Data source @@ -134,24 +134,25 @@ ] TL_CONFLICTS_MAP = { + 'icmp': ['tcp', 'udp'], 'tcp': ['udp', 'icmp'], 'udp': ['tcp', 'icmp'], - 'icmp': ['tcp', 'udp'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - group=dict( - required=False, - type='str'), direction=dict( required=False, type='str'), - remote=dict( + ip_version=dict( required=False, type='str'), + icmp=dict( + required=False, + elements='', + type='list'), tcp=dict( required=False, elements='', @@ -160,13 +161,12 @@ required=False, elements='', type='list'), - ip_version=dict( + group=dict( required=False, type='str'), - icmp=dict( + remote=dict( required=False, - elements='', - type='list'), + type='str'), id=dict( required=False, type='str'), @@ -244,7 +244,7 @@ def run_module(): resource_type='ibm_is_security_group_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -253,7 +253,7 @@ def run_module(): resource_type='ibm_is_security_group_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_security_group_rule_info.py b/plugins/modules/ibm_is_security_group_rule_info.py index a88fcce58..9cbf18385 100644 --- a/plugins/modules/ibm_is_security_group_rule_info.py +++ b/plugins/modules/ibm_is_security_group_rule_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_security_group_rule' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_security_group_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_security_group_rules_info.py b/plugins/modules/ibm_is_security_group_rules_info.py index 8ddb84fb8..7b31c31b4 100644 --- a/plugins/modules/ibm_is_security_group_rules_info.py +++ b/plugins/modules/ibm_is_security_group_rules_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_security_group_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_security_group_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_security_group_target.py b/plugins/modules/ibm_is_security_group_target.py index 13bd643c9..65bb1fd03 100644 --- a/plugins/modules/ibm_is_security_group_target.py +++ b/plugins/modules/ibm_is_security_group_target.py @@ -18,18 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_is_security_group_target' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - security_group: + target: description: - - (Required for new resource) Security group id + - (Required for new resource) security group target identifier required: True type: str - target: + security_group: description: - - (Required for new resource) security group target identifier + - (Required for new resource) Security group id required: True type: str id: @@ -78,14 +78,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('security_group', 'str'), ('target', 'str'), + ('security_group', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'security_group', 'target', + 'security_group', ] # Params for Data source @@ -106,10 +106,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - security_group=dict( + target=dict( required=False, type='str'), - target=dict( + security_group=dict( required=False, type='str'), id=dict( @@ -189,7 +189,7 @@ def run_module(): resource_type='ibm_is_security_group_target', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -198,7 +198,7 @@ def run_module(): resource_type='ibm_is_security_group_target', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_security_group_target_info.py b/plugins/modules/ibm_is_security_group_target_info.py index 22f33d1f6..32f9883bd 100644 --- a/plugins/modules/ibm_is_security_group_target_info.py +++ b/plugins/modules/ibm_is_security_group_target_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_security_group_target' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_security_group_target', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_security_group_targets_info.py b/plugins/modules/ibm_is_security_group_targets_info.py index 82420f8c4..647a02c04 100644 --- a/plugins/modules/ibm_is_security_group_targets_info.py +++ b/plugins/modules/ibm_is_security_group_targets_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_security_group_targets' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_security_group_targets', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_security_groups_info.py b/plugins/modules/ibm_is_security_groups_info.py index 11982394f..f64408919 100644 --- a/plugins/modules/ibm_is_security_groups_info.py +++ b/plugins/modules/ibm_is_security_groups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_security_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -150,7 +150,7 @@ def run_module(): resource_type='ibm_is_security_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_snapshot.py b/plugins/modules/ibm_is_snapshot.py index 76bbbbe37..87f79b5a8 100644 --- a/plugins/modules/ibm_is_snapshot.py +++ b/plugins/modules/ibm_is_snapshot.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_snapshot' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,22 +27,22 @@ - Resource group info required: False type: str - source_volume: + tags: description: - - (Required for new resource) Snapshot source volume - required: True - type: str + - User Tags for the snapshot + required: False + type: list + elements: str name: description: - Snapshot name required: False type: str - tags: + source_volume: description: - - User Tags for the snapshot - required: False - type: list - elements: str + - (Required for new resource) Snapshot source volume + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -95,9 +95,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'resource_group', - 'source_volume', - 'name', 'tags', + 'name', + 'source_volume', ] # Params for Data source @@ -105,8 +105,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'identifier', + 'name', ] TL_CONFLICTS_MAP = { @@ -119,16 +119,16 @@ resource_group=dict( required=False, type='str'), - source_volume=dict( + tags=dict( required=False, - type='str'), + elements='', + type='list'), name=dict( required=False, type='str'), - tags=dict( + source_volume=dict( required=False, - elements='', - type='list'), + type='str'), id=dict( required=False, type='str'), @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_is_snapshot', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_is_snapshot', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_snapshot_info.py b/plugins/modules/ibm_is_snapshot_info.py index 454e230f3..cd490b7ac 100644 --- a/plugins/modules/ibm_is_snapshot_info.py +++ b/plugins/modules/ibm_is_snapshot_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_snapshot' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: + identifier: description: - - Snapshot name + - Snapshot identifier required: False type: str - identifier: + name: description: - - Snapshot identifier + - Snapshot name required: False type: str generation: @@ -68,8 +68,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'identifier', + 'name', ] @@ -80,10 +80,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + identifier=dict( required=False, type='str'), - identifier=dict( + name=dict( required=False, type='str'), generation=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_snapshot', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_snapshots_info.py b/plugins/modules/ibm_is_snapshots_info.py index 9fa59aa9a..3295a45e9 100644 --- a/plugins/modules/ibm_is_snapshots_info.py +++ b/plugins/modules/ibm_is_snapshots_info.py @@ -17,10 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_is_snapshots' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + backup_policy_plan_id: + description: + - Filters the collection to backup policy jobs with the backup plan with the specified identifier + required: False + type: str + tag: + description: + - Filters the collection to resources with the exact tag value + required: False + type: str resource_group: description: - Filters the snapshot collection by resources group id @@ -41,16 +51,6 @@ - Filters the snapshot collection by source volume id required: False type: str - backup_policy_plan_id: - description: - - Filters the collection to backup policy jobs with the backup plan with the specified identifier - required: False - type: str - tag: - description: - - Filters the collection to resources with the exact tag value - required: False - type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -88,12 +88,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'backup_policy_plan_id', + 'tag', 'resource_group', 'name', 'source_image', 'source_volume', - 'backup_policy_plan_id', - 'tag', ] @@ -104,22 +104,22 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group=dict( + backup_policy_plan_id=dict( required=False, type='str'), - name=dict( + tag=dict( required=False, type='str'), - source_image=dict( + resource_group=dict( required=False, type='str'), - source_volume=dict( + name=dict( required=False, type='str'), - backup_policy_plan_id=dict( + source_image=dict( required=False, type='str'), - tag=dict( + source_volume=dict( required=False, type='str'), generation=dict( @@ -168,7 +168,7 @@ def run_module(): resource_type='ibm_is_snapshots', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_ssh_key.py b/plugins/modules/ibm_is_ssh_key.py index 9075eca05..27cbf2e58 100644 --- a/plugins/modules/ibm_is_ssh_key.py +++ b/plugins/modules/ibm_is_ssh_key.py @@ -18,26 +18,26 @@ - Create, update or destroy an IBM Cloud 'ibm_is_ssh_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - tags: + public_key: description: - - List of tags for SSH key - required: False - type: list - elements: str + - (Required for new resource) SSH Public key data + required: True + type: str name: description: - (Required for new resource) SSH Key name required: True type: str - public_key: + tags: description: - - (Required for new resource) SSH Public key data - required: True - type: str + - List of tags for SSH key + required: False + type: list + elements: str resource_group: description: - Resource group ID @@ -89,15 +89,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('public_key', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', - 'name', 'public_key', + 'name', + 'tags', 'resource_group', ] @@ -107,8 +107,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'resource_group', + 'name', ] TL_CONFLICTS_MAP = { @@ -118,16 +118,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tags=dict( + public_key=dict( required=False, - elements='', - type='list'), + type='str'), name=dict( required=False, type='str'), - public_key=dict( + tags=dict( required=False, - type='str'), + elements='', + type='list'), resource_group=dict( required=False, type='str'), @@ -208,7 +208,7 @@ def run_module(): resource_type='ibm_is_ssh_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_is_ssh_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_ssh_key_info.py b/plugins/modules/ibm_is_ssh_key_info.py index 70c52d826..8e8614357 100644 --- a/plugins/modules/ibm_is_ssh_key_info.py +++ b/plugins/modules/ibm_is_ssh_key_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_is_ssh_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: - description: - - The name of the ssh key - required: True - type: str resource_group: description: - Resource group ID required: False type: str + name: + description: + - The name of the ssh key + required: True + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -69,8 +69,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'resource_group', + 'name', ] @@ -81,12 +81,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=True, - type='str'), resource_group=dict( required=False, type='str'), + name=dict( + required=True, + type='str'), generation=dict( type='int', required=False, @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_ssh_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_ssh_keys_info.py b/plugins/modules/ibm_is_ssh_keys_info.py index 3ab45f036..f7b81d666 100644 --- a/plugins/modules/ibm_is_ssh_keys_info.py +++ b/plugins/modules/ibm_is_ssh_keys_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_ssh_keys' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_ssh_keys', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_subnet.py b/plugins/modules/ibm_is_subnet.py index e205e983f..2c3db7968 100644 --- a/plugins/modules/ibm_is_subnet.py +++ b/plugins/modules/ibm_is_subnet.py @@ -18,36 +18,36 @@ - Create, update or destroy an IBM Cloud 'ibm_is_subnet' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) Subnet name - required: True - type: str vpc: description: - (Required for new resource) VPC instance ID required: True type: str - total_ipv4_address_count: - description: - - The total number of IPv4 addresses in this subnet. - required: False - type: int - ip_version: + zone: description: - - The IP version(s) to support for this subnet. - required: False + - (Required for new resource) Subnet zone info + required: True type: str - default: ipv4 network_acl: description: - The network ACL for this subnet required: False type: str + name: + description: + - (Required for new resource) Subnet name + required: True + type: str + access_tags: + description: + - List of access management tags + required: False + type: list + elements: str routing_table: description: - routing table id that is associated with the subnet @@ -58,23 +58,17 @@ - IPV4 subnet - CIDR block required: False type: str - zone: + total_ipv4_address_count: description: - - (Required for new resource) Subnet zone info - required: True - type: str + - The total number of IPv4 addresses in this subnet. + required: False + type: int tags: description: - List of tags required: False type: list elements: str - access_tags: - description: - - List of access management tags - required: False - type: list - elements: str public_gateway: description: - Public Gateway of the subnet @@ -85,6 +79,12 @@ - The resource group for this subnet required: False type: str + ip_version: + description: + - The IP version(s) to support for this subnet. + required: False + type: str + default: ipv4 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -131,25 +131,25 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('vpc', 'str'), ('zone', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'vpc', - 'total_ipv4_address_count', - 'ip_version', + 'zone', 'network_acl', + 'name', + 'access_tags', 'routing_table', 'ipv4_cidr_block', - 'zone', + 'total_ipv4_address_count', 'tags', - 'access_tags', 'public_gateway', 'resource_group', + 'ip_version', ] # Params for Data source @@ -162,52 +162,52 @@ ] TL_CONFLICTS_MAP = { - 'total_ipv4_address_count': ['ipv4_cidr_block'], 'ipv4_cidr_block': ['total_ipv4_address_count'], + 'total_ipv4_address_count': ['ipv4_cidr_block'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), vpc=dict( required=False, type='str'), - total_ipv4_address_count=dict( - required=False, - type='int'), - ip_version=dict( + zone=dict( required=False, type='str'), network_acl=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), + access_tags=dict( + required=False, + elements='', + type='list'), routing_table=dict( required=False, type='str'), ipv4_cidr_block=dict( required=False, type='str'), - zone=dict( + total_ipv4_address_count=dict( required=False, - type='str'), + type='int'), tags=dict( required=False, elements='', type='list'), - access_tags=dict( - required=False, - elements='', - type='list'), public_gateway=dict( required=False, type='str'), resource_group=dict( required=False, type='str'), + ip_version=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -285,7 +285,7 @@ def run_module(): resource_type='ibm_is_subnet', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -294,7 +294,7 @@ def run_module(): resource_type='ibm_is_subnet', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_subnet_info.py b/plugins/modules/ibm_is_subnet_info.py index 4aa33e7f5..c96d3a81e 100644 --- a/plugins/modules/ibm_is_subnet_info.py +++ b/plugins/modules/ibm_is_subnet_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_subnet' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_subnet', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_subnet_network_acl_attachment.py b/plugins/modules/ibm_is_subnet_network_acl_attachment.py index 1ac20693b..9e761c792 100644 --- a/plugins/modules/ibm_is_subnet_network_acl_attachment.py +++ b/plugins/modules/ibm_is_subnet_network_acl_attachment.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_subnet_network_acl_attachment' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_is_subnet_network_acl_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_subnet_public_gateway_attachment.py b/plugins/modules/ibm_is_subnet_public_gateway_attachment.py index a07f80ae6..a4fee64dd 100644 --- a/plugins/modules/ibm_is_subnet_public_gateway_attachment.py +++ b/plugins/modules/ibm_is_subnet_public_gateway_attachment.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_subnet_public_gateway_attachment' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_is_subnet_public_gateway_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_subnet_reserved_ip.py b/plugins/modules/ibm_is_subnet_reserved_ip.py index 19a3c5c32..5684c7c74 100644 --- a/plugins/modules/ibm_is_subnet_reserved_ip.py +++ b/plugins/modules/ibm_is_subnet_reserved_ip.py @@ -18,34 +18,34 @@ - Create, update or destroy an IBM Cloud 'ibm_is_subnet_reserved_ip' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - address: + subnet: description: - - The address for this reserved IP. - required: False + - (Required for new resource) The subnet identifier. + required: True type: str auto_delete: description: - If set to true, this reserved IP will be automatically deleted required: False type: bool - name: + target: description: - - The user-defined or system-provided name for this reserved IP. + - The unique identifier for target. required: False type: str - target: + address: description: - - The unique identifier for target. + - The address for this reserved IP. required: False type: str - subnet: + name: description: - - (Required for new resource) The subnet identifier. - required: True + - The user-defined or system-provided name for this reserved IP. + required: False type: str id: description: @@ -98,22 +98,22 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'address', + 'subnet', 'auto_delete', - 'name', 'target', - 'subnet', + 'address', + 'name', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('subnet', 'str'), ('reserved_ip', 'str'), + ('subnet', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'subnet', 'reserved_ip', + 'subnet', ] TL_CONFLICTS_MAP = { @@ -123,19 +123,19 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - address=dict( + subnet=dict( required=False, type='str'), auto_delete=dict( required=False, type='bool'), - name=dict( + target=dict( required=False, type='str'), - target=dict( + address=dict( required=False, type='str'), - subnet=dict( + name=dict( required=False, type='str'), id=dict( @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_is_subnet_reserved_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -224,7 +224,7 @@ def run_module(): resource_type='ibm_is_subnet_reserved_ip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_subnet_reserved_ip_info.py b/plugins/modules/ibm_is_subnet_reserved_ip_info.py index 19eb9e59f..d768fe7f3 100644 --- a/plugins/modules/ibm_is_subnet_reserved_ip_info.py +++ b/plugins/modules/ibm_is_subnet_reserved_ip_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_subnet_reserved_ip' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - subnet: + reserved_ip: description: - - The subnet identifier. + - The reserved IP identifier. required: True type: str - reserved_ip: + subnet: description: - - The reserved IP identifier. + - The subnet identifier. required: True type: str generation: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('subnet', 'str'), ('reserved_ip', 'str'), + ('subnet', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'subnet', 'reserved_ip', + 'subnet', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - subnet=dict( + reserved_ip=dict( required=True, type='str'), - reserved_ip=dict( + subnet=dict( required=True, type='str'), generation=dict( @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_subnet_reserved_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_subnet_reserved_ips_info.py b/plugins/modules/ibm_is_subnet_reserved_ips_info.py index 50e92c739..5851155f7 100644 --- a/plugins/modules/ibm_is_subnet_reserved_ips_info.py +++ b/plugins/modules/ibm_is_subnet_reserved_ips_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_subnet_reserved_ips' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_subnet_reserved_ips', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_subnet_routing_table_attachment.py b/plugins/modules/ibm_is_subnet_routing_table_attachment.py index c83713b37..7cd2a8de6 100644 --- a/plugins/modules/ibm_is_subnet_routing_table_attachment.py +++ b/plugins/modules/ibm_is_subnet_routing_table_attachment.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_subnet_routing_table_attachment' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_is_subnet_routing_table_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_subnets_info.py b/plugins/modules/ibm_is_subnets_info.py index 9b309c83f..3cb615c01 100644 --- a/plugins/modules/ibm_is_subnets_info.py +++ b/plugins/modules/ibm_is_subnets_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_is_subnets' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - resource_group: - description: - - Resource Group ID - required: False - type: str routing_table_name: description: - Name of the routing table @@ -36,6 +31,11 @@ - ID of the routing table required: False type: str + resource_group: + description: + - Resource Group ID + required: False + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -73,9 +73,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group', 'routing_table_name', 'routing_table', + 'resource_group', ] @@ -86,15 +86,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group=dict( - required=False, - type='str'), routing_table_name=dict( required=False, type='str'), routing_table=dict( required=False, type='str'), + resource_group=dict( + required=False, + type='str'), generation=dict( type='int', required=False, @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_is_subnets', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_virtual_endpoint_gateway.py b/plugins/modules/ibm_is_virtual_endpoint_gateway.py index 706a5af60..9b5c109d1 100644 --- a/plugins/modules/ibm_is_virtual_endpoint_gateway.py +++ b/plugins/modules/ibm_is_virtual_endpoint_gateway.py @@ -18,27 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_virtual_endpoint_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - resource_group: - description: - - The resource group id - required: False - type: str - ips: - description: - - Endpoint gateway IPs - required: False - type: list - elements: dict - target: - description: - - (Required for new resource) Endpoint gateway target - required: True - type: list - elements: dict vpc: description: - (Required for new resource) The VPC id @@ -50,17 +33,34 @@ required: False type: list elements: str + name: + description: + - (Required for new resource) Endpoint gateway name + required: True + type: str + resource_group: + description: + - The resource group id + required: False + type: str security_groups: description: - Endpoint gateway securitygroups list required: False type: list elements: str - name: + ips: description: - - (Required for new resource) Endpoint gateway name + - Endpoint gateway IPs + required: False + type: list + elements: dict + target: + description: + - (Required for new resource) Endpoint gateway target required: True - type: str + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -107,20 +107,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('target', 'list'), ('vpc', 'str'), ('name', 'str'), + ('target', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group', - 'ips', - 'target', 'vpc', 'tags', - 'security_groups', 'name', + 'resource_group', + 'security_groups', + 'ips', + 'target', ] # Params for Data source @@ -139,31 +139,31 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group=dict( + vpc=dict( required=False, type='str'), - ips=dict( + tags=dict( required=False, elements='', type='list'), - target=dict( + name=dict( required=False, - elements='', - type='list'), - vpc=dict( + type='str'), + resource_group=dict( required=False, type='str'), - tags=dict( + security_groups=dict( required=False, elements='', type='list'), - security_groups=dict( + ips=dict( required=False, elements='', type='list'), - name=dict( + target=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -241,7 +241,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -250,7 +250,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_virtual_endpoint_gateway_info.py b/plugins/modules/ibm_is_virtual_endpoint_gateway_info.py index 7ce09ee33..8267b9d4a 100644 --- a/plugins/modules/ibm_is_virtual_endpoint_gateway_info.py +++ b/plugins/modules/ibm_is_virtual_endpoint_gateway_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_virtual_endpoint_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_virtual_endpoint_gateway_ip.py b/plugins/modules/ibm_is_virtual_endpoint_gateway_ip.py index a0545b2b7..597654c80 100644 --- a/plugins/modules/ibm_is_virtual_endpoint_gateway_ip.py +++ b/plugins/modules/ibm_is_virtual_endpoint_gateway_ip.py @@ -18,18 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_is_virtual_endpoint_gateway_ip' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - gateway: + reserved_ip: description: - - (Required for new resource) Endpoint gateway ID + - (Required for new resource) Endpoint gateway IP id required: True type: str - reserved_ip: + gateway: description: - - (Required for new resource) Endpoint gateway IP id + - (Required for new resource) Endpoint gateway ID required: True type: str id: @@ -78,14 +78,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('gateway', 'str'), ('reserved_ip', 'str'), + ('gateway', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'gateway', 'reserved_ip', + 'gateway', ] # Params for Data source @@ -102,10 +102,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - gateway=dict( + reserved_ip=dict( required=False, type='str'), - reserved_ip=dict( + gateway=dict( required=False, type='str'), id=dict( @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateway_ip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_virtual_endpoint_gateway_ips_info.py b/plugins/modules/ibm_is_virtual_endpoint_gateway_ips_info.py index e9cab346f..4303bf80d 100644 --- a/plugins/modules/ibm_is_virtual_endpoint_gateway_ips_info.py +++ b/plugins/modules/ibm_is_virtual_endpoint_gateway_ips_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_virtual_endpoint_gateway_ips' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateway_ips', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_virtual_endpoint_gateways_info.py b/plugins/modules/ibm_is_virtual_endpoint_gateways_info.py index 88a55bb89..50b72746b 100644 --- a/plugins/modules/ibm_is_virtual_endpoint_gateways_info.py +++ b/plugins/modules/ibm_is_virtual_endpoint_gateways_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_virtual_endpoint_gateways' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_volume.py b/plugins/modules/ibm_is_volume.py index 60f646ce7..8643cc8a7 100644 --- a/plugins/modules/ibm_is_volume.py +++ b/plugins/modules/ibm_is_volume.py @@ -18,28 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_is_volume' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - profile: - description: - - (Required for new resource) Volume profile name - required: True - type: str - iops: - description: - - IOPS value for the Volume - required: False - type: int - name: + zone: description: - - (Required for new resource) Volume name + - (Required for new resource) Zone name required: True type: str - encryption_key: + resource_group: description: - - Volume encryption key info + - Resource group name required: False type: str delete_all_snapshots: @@ -53,9 +43,9 @@ required: False type: list elements: str - zone: + name: description: - - (Required for new resource) Zone name + - (Required for new resource) Volume name required: True type: str capacity: @@ -64,10 +54,20 @@ required: False type: int default: 100 - resource_group: + encryption_key: description: - - Resource group name + - Volume encryption key info + required: False + type: str + iops: + description: + - IOPS value for the Volume required: False + type: int + profile: + description: + - (Required for new resource) Volume profile name + required: True type: str id: description: @@ -115,22 +115,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('profile', 'str'), - ('name', 'str'), ('zone', 'str'), + ('name', 'str'), + ('profile', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'profile', - 'iops', - 'name', - 'encryption_key', + 'zone', + 'resource_group', 'delete_all_snapshots', 'tags', - 'zone', + 'name', 'capacity', - 'resource_group', + 'encryption_key', + 'iops', + 'profile', ] # Params for Data source @@ -139,8 +139,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'zone', 'name', + 'zone', ] TL_CONFLICTS_MAP = { @@ -150,16 +150,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - profile=dict( - required=False, - type='str'), - iops=dict( - required=False, - type='int'), - name=dict( + zone=dict( required=False, type='str'), - encryption_key=dict( + resource_group=dict( required=False, type='str'), delete_all_snapshots=dict( @@ -169,13 +163,19 @@ required=False, elements='', type='list'), - zone=dict( + name=dict( required=False, type='str'), capacity=dict( required=False, type='int'), - resource_group=dict( + encryption_key=dict( + required=False, + type='str'), + iops=dict( + required=False, + type='int'), + profile=dict( required=False, type='str'), id=dict( @@ -255,7 +255,7 @@ def run_module(): resource_type='ibm_is_volume', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -264,7 +264,7 @@ def run_module(): resource_type='ibm_is_volume', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_volume_info.py b/plugins/modules/ibm_is_volume_info.py index 82db7f35b..b34e37a18 100644 --- a/plugins/modules/ibm_is_volume_info.py +++ b/plugins/modules/ibm_is_volume_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_is_volume' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - zone: - description: - - Zone name - required: False - type: str name: description: - Volume name required: True type: str + zone: + description: + - Zone name + required: False + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -69,8 +69,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'zone', 'name', + 'zone', ] @@ -81,12 +81,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - zone=dict( - required=False, - type='str'), name=dict( required=True, type='str'), + zone=dict( + required=False, + type='str'), generation=dict( type='int', required=False, @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_volume', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_volume_profile_info.py b/plugins/modules/ibm_is_volume_profile_info.py index 47a975c1d..30e8eeadc 100644 --- a/plugins/modules/ibm_is_volume_profile_info.py +++ b/plugins/modules/ibm_is_volume_profile_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_volume_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_volume_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_volume_profiles_info.py b/plugins/modules/ibm_is_volume_profiles_info.py index b0a4fdc05..2bb07255e 100644 --- a/plugins/modules/ibm_is_volume_profiles_info.py +++ b/plugins/modules/ibm_is_volume_profiles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_volume_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_volume_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_volumes_info.py b/plugins/modules/ibm_is_volumes_info.py index 850b9d7f9..c99e98b54 100644 --- a/plugins/modules/ibm_is_volumes_info.py +++ b/plugins/modules/ibm_is_volumes_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_volumes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_volumes', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpc.py b/plugins/modules/ibm_is_vpc.py index 78b5d1f01..cc3f74509 100644 --- a/plugins/modules/ibm_is_vpc.py +++ b/plugins/modules/ibm_is_vpc.py @@ -18,27 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpc' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - tags: - description: - - List of tags - required: False - type: list - elements: str - default_security_group_name: - description: - - Default security group name - required: False - type: str - address_prefix_management: + classic_access: description: - - Address Prefix management value + - Set to true if classic access needs to enabled to VPC required: False - type: str - default: auto + type: bool + default: False name: description: - (Required for new resource) VPC name @@ -49,12 +38,17 @@ - Default Network ACL name required: False type: str - classic_access: + default_security_group_name: description: - - Set to true if classic access needs to enabled to VPC + - Default security group name required: False - type: bool - default: False + type: str + address_prefix_management: + description: + - Address Prefix management value + required: False + type: str + default: auto default_routing_table_name: description: - Default routing table name @@ -65,6 +59,12 @@ - Resource group info required: False type: str + tags: + description: + - List of tags + required: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -116,14 +116,14 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', - 'default_security_group_name', - 'address_prefix_management', + 'classic_access', 'name', 'default_network_acl_name', - 'classic_access', + 'default_security_group_name', + 'address_prefix_management', 'default_routing_table_name', 'resource_group', + 'tags', ] # Params for Data source @@ -131,8 +131,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'identifier', + 'name', ] TL_CONFLICTS_MAP = { @@ -142,31 +142,31 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tags=dict( + classic_access=dict( required=False, - elements='', - type='list'), - default_security_group_name=dict( + type='bool'), + name=dict( required=False, type='str'), - address_prefix_management=dict( + default_network_acl_name=dict( required=False, type='str'), - name=dict( + default_security_group_name=dict( required=False, type='str'), - default_network_acl_name=dict( + address_prefix_management=dict( required=False, type='str'), - classic_access=dict( - required=False, - type='bool'), default_routing_table_name=dict( required=False, type='str'), resource_group=dict( required=False, type='str'), + tags=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -244,7 +244,7 @@ def run_module(): resource_type='ibm_is_vpc', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -253,7 +253,7 @@ def run_module(): resource_type='ibm_is_vpc', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_vpc_address_prefix.py b/plugins/modules/ibm_is_vpc_address_prefix.py index 4afaf7fe3..c5e4dd27b 100644 --- a/plugins/modules/ibm_is_vpc_address_prefix.py +++ b/plugins/modules/ibm_is_vpc_address_prefix.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpc_address_prefix' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,10 +114,10 @@ ] TL_ALL_PARAMETERS_DS = [ - 'vpc', - 'address_prefix_name', 'vpc_name', 'address_prefix', + 'vpc', + 'address_prefix_name', ] TL_CONFLICTS_MAP = { @@ -219,7 +219,7 @@ def run_module(): resource_type='ibm_is_vpc_address_prefix', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -228,7 +228,7 @@ def run_module(): resource_type='ibm_is_vpc_address_prefix', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_vpc_address_prefix_info.py b/plugins/modules/ibm_is_vpc_address_prefix_info.py index 9462819f2..9d34790aa 100644 --- a/plugins/modules/ibm_is_vpc_address_prefix_info.py +++ b/plugins/modules/ibm_is_vpc_address_prefix_info.py @@ -17,28 +17,28 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_address_prefix' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - vpc: + vpc_name: description: - - The VPC identifier. + - The VPC name. required: False type: str - address_prefix_name: + address_prefix: description: - - The address prefix name. + - The address prefix identifier. required: False type: str - vpc_name: + vpc: description: - - The VPC name. + - The VPC identifier. required: False type: str - address_prefix: + address_prefix_name: description: - - The address prefix identifier. + - The address prefix name. required: False type: str generation: @@ -78,10 +78,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'vpc', - 'address_prefix_name', 'vpc_name', 'address_prefix', + 'vpc', + 'address_prefix_name', ] @@ -92,16 +92,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - vpc=dict( + vpc_name=dict( required=False, type='str'), - address_prefix_name=dict( + address_prefix=dict( required=False, type='str'), - vpc_name=dict( + vpc=dict( required=False, type='str'), - address_prefix=dict( + address_prefix_name=dict( required=False, type='str'), generation=dict( @@ -150,7 +150,7 @@ def run_module(): resource_type='ibm_is_vpc_address_prefix', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpc_address_prefixes_info.py b/plugins/modules/ibm_is_vpc_address_prefixes_info.py index 90b1a0966..c382f7c84 100644 --- a/plugins/modules/ibm_is_vpc_address_prefixes_info.py +++ b/plugins/modules/ibm_is_vpc_address_prefixes_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_address_prefixes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_vpc_address_prefixes', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpc_default_routing_table_info.py b/plugins/modules/ibm_is_vpc_default_routing_table_info.py index 2b7cac7b4..0826b4776 100644 --- a/plugins/modules/ibm_is_vpc_default_routing_table_info.py +++ b/plugins/modules/ibm_is_vpc_default_routing_table_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_default_routing_table' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_vpc_default_routing_table', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpc_info.py b/plugins/modules/ibm_is_vpc_info.py index e1a4eb389..b9b957623 100644 --- a/plugins/modules/ibm_is_vpc_info.py +++ b/plugins/modules/ibm_is_vpc_info.py @@ -17,16 +17,16 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: + identifier: description: - None required: False type: str - identifier: + name: description: - None required: False @@ -68,8 +68,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'identifier', + 'name', ] @@ -80,10 +80,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + identifier=dict( required=False, type='str'), - identifier=dict( + name=dict( required=False, type='str'), generation=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_vpc', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpc_route.py b/plugins/modules/ibm_is_vpc_route.py index 4f1811fc4..62f8130d6 100644 --- a/plugins/modules/ibm_is_vpc_route.py +++ b/plugins/modules/ibm_is_vpc_route.py @@ -18,33 +18,33 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpc_route' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - destination: + name: description: - - (Required for new resource) VPC route destination CIDR value + - (Required for new resource) VPC route name required: True type: str - vpc: + zone: description: - - (Required for new resource) VPC instance ID + - (Required for new resource) VPC route location required: True type: str - next_hop: + destination: description: - - (Required for new resource) VPC route next hop value + - (Required for new resource) VPC route destination CIDR value required: True type: str - name: + vpc: description: - - (Required for new resource) VPC route name + - (Required for new resource) VPC instance ID required: True type: str - zone: + next_hop: description: - - (Required for new resource) VPC route location + - (Required for new resource) VPC route next hop value required: True type: str id: @@ -93,20 +93,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('name', 'str'), + ('zone', 'str'), ('destination', 'str'), ('vpc', 'str'), ('next_hop', 'str'), - ('name', 'str'), - ('zone', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', + 'zone', 'destination', 'vpc', 'next_hop', - 'name', - 'zone', ] # Params for Data source @@ -123,19 +123,19 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - destination=dict( + name=dict( required=False, type='str'), - vpc=dict( + zone=dict( required=False, type='str'), - next_hop=dict( + destination=dict( required=False, type='str'), - name=dict( + vpc=dict( required=False, type='str'), - zone=dict( + next_hop=dict( required=False, type='str'), id=dict( @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_is_vpc_route', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpc_routing_table.py b/plugins/modules/ibm_is_vpc_routing_table.py index 9e3b42e2b..78cef4b89 100644 --- a/plugins/modules/ibm_is_vpc_routing_table.py +++ b/plugins/modules/ibm_is_vpc_routing_table.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpc_routing_table' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,35 +27,35 @@ - (Required for new resource) The VPC identifier. required: True type: str + route_direct_link_ingress: + description: + - If set to true, this routing table will be used to route traffic that originates from Direct Link to this VPC. + required: False + type: bool + default: False route_vpc_zone_ingress: description: - If set to true, this routing table will be used to route traffic that originates from subnets in other zones in this VPC. required: False type: bool default: False + name: + description: + - The user-defined name for this routing table. + required: False + type: str accept_routes_from_resource_type: description: - The filters specifying the resources that may create routes in this routing table, The resource type: vpn_gateway or vpn_server required: False type: list elements: str - route_direct_link_ingress: - description: - - If set to true, this routing table will be used to route traffic that originates from Direct Link to this VPC. - required: False - type: bool - default: False route_transit_gateway_ingress: description: - If set to true, this routing table will be used to route traffic that originates from Transit Gateway to this VPC. required: False type: bool default: False - name: - description: - - The user-defined name for this routing table. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -108,11 +108,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'vpc', + 'route_direct_link_ingress', 'route_vpc_zone_ingress', + 'name', 'accept_routes_from_resource_type', - 'route_direct_link_ingress', 'route_transit_gateway_ingress', - 'name', ] # Params for Data source @@ -122,8 +122,8 @@ TL_ALL_PARAMETERS_DS = [ 'name', - 'vpc', 'routing_table', + 'vpc', ] TL_CONFLICTS_MAP = { @@ -136,22 +136,22 @@ vpc=dict( required=False, type='str'), + route_direct_link_ingress=dict( + required=False, + type='bool'), route_vpc_zone_ingress=dict( required=False, type='bool'), + name=dict( + required=False, + type='str'), accept_routes_from_resource_type=dict( required=False, elements='', type='list'), - route_direct_link_ingress=dict( - required=False, - type='bool'), route_transit_gateway_ingress=dict( required=False, type='bool'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -229,7 +229,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_table', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -238,7 +238,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_table', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_vpc_routing_table_info.py b/plugins/modules/ibm_is_vpc_routing_table_info.py index 10f7b9feb..30232774c 100644 --- a/plugins/modules/ibm_is_vpc_routing_table_info.py +++ b/plugins/modules/ibm_is_vpc_routing_table_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_routing_table' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -26,16 +26,16 @@ - The user-defined name for this routing table. required: False type: str - vpc: - description: - - The VPC identifier. - required: True - type: str routing_table: description: - The routing table identifier. required: False type: str + vpc: + description: + - The VPC identifier. + required: True + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -75,8 +75,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'name', - 'vpc', 'routing_table', + 'vpc', ] @@ -92,12 +92,12 @@ name=dict( required=False, type='str'), - vpc=dict( - required=True, - type='str'), routing_table=dict( required=False, type='str'), + vpc=dict( + required=True, + type='str'), generation=dict( type='int', required=False, @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_table', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpc_routing_table_route.py b/plugins/modules/ibm_is_vpc_routing_table_route.py index 4dff1b8a9..d76bc3184 100644 --- a/plugins/modules/ibm_is_vpc_routing_table_route.py +++ b/plugins/modules/ibm_is_vpc_routing_table_route.py @@ -18,29 +18,34 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpc_routing_table_route' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - routing_table: + vpc: description: - - (Required for new resource) The routing table identifier. + - (Required for new resource) The VPC identifier. required: True type: str + action: + description: + - The action to perform with a packet matching the route. + required: False + type: str + default: deliver next_hop: description: - (Required for new resource) If action is deliver, the next hop that packets will be delivered to. For other action values, its address will be 0.0.0.0. required: True type: str - action: + name: description: - - The action to perform with a packet matching the route. + - The user-defined name for this route. required: False type: str - default: deliver - vpc: + routing_table: description: - - (Required for new resource) The VPC identifier. + - (Required for new resource) The routing table identifier. required: True type: str destination: @@ -53,11 +58,6 @@ - (Required for new resource) The zone to apply the route to. Traffic from subnets in this zone will be subject to this route. required: True type: str - name: - description: - - The user-defined name for this route. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -104,35 +104,35 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('routing_table', 'str'), - ('next_hop', 'str'), ('vpc', 'str'), + ('next_hop', 'str'), + ('routing_table', 'str'), ('destination', 'str'), ('zone', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'routing_table', - 'next_hop', - 'action', 'vpc', + 'action', + 'next_hop', + 'name', + 'routing_table', 'destination', 'zone', - 'name', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('vpc', 'str'), ('routing_table', 'str'), + ('vpc', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'name', + 'routing_table', 'route_id', 'vpc', - 'routing_table', + 'name', ] TL_CONFLICTS_MAP = { @@ -142,16 +142,19 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - routing_table=dict( + vpc=dict( + required=False, + type='str'), + action=dict( required=False, type='str'), next_hop=dict( required=False, type='str'), - action=dict( + name=dict( required=False, type='str'), - vpc=dict( + routing_table=dict( required=False, type='str'), destination=dict( @@ -160,9 +163,6 @@ zone=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -240,7 +240,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_table_route', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -249,7 +249,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_table_route', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_vpc_routing_table_route_info.py b/plugins/modules/ibm_is_vpc_routing_table_route_info.py index 084d23729..5616edbff 100644 --- a/plugins/modules/ibm_is_vpc_routing_table_route_info.py +++ b/plugins/modules/ibm_is_vpc_routing_table_route_info.py @@ -17,14 +17,14 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_routing_table_route' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: + routing_table: description: - - The user-defined name for this route. - required: False + - The routing table identifier. + required: True type: str route_id: description: @@ -36,10 +36,10 @@ - The VPC identifier. required: True type: str - routing_table: + name: description: - - The routing table identifier. - required: True + - The user-defined name for this route. + required: False type: str generation: description: @@ -74,30 +74,30 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('vpc', 'str'), ('routing_table', 'str'), + ('vpc', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', + 'routing_table', 'route_id', 'vpc', - 'routing_table', + 'name', ] TL_CONFLICTS_MAP = { - 'name': ['route_id'], 'route_id': ['name'], + 'name': ['route_id'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, + routing_table=dict( + required=True, type='str'), route_id=dict( required=False, @@ -105,8 +105,8 @@ vpc=dict( required=True, type='str'), - routing_table=dict( - required=True, + name=dict( + required=False, type='str'), generation=dict( type='int', @@ -154,7 +154,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_table_route', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpc_routing_table_routes_info.py b/plugins/modules/ibm_is_vpc_routing_table_routes_info.py index 0d85cf32f..0adb6f58d 100644 --- a/plugins/modules/ibm_is_vpc_routing_table_routes_info.py +++ b/plugins/modules/ibm_is_vpc_routing_table_routes_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_routing_table_routes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_table_routes', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpc_routing_tables_info.py b/plugins/modules/ibm_is_vpc_routing_tables_info.py index ba8d3cf74..85152852a 100644 --- a/plugins/modules/ibm_is_vpc_routing_tables_info.py +++ b/plugins/modules/ibm_is_vpc_routing_tables_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_routing_tables' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_tables', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpcs_info.py b/plugins/modules/ibm_is_vpcs_info.py index 973549686..0eee0797e 100644 --- a/plugins/modules/ibm_is_vpcs_info.py +++ b/plugins/modules/ibm_is_vpcs_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpcs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_vpcs', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_gateway.py b/plugins/modules/ibm_is_vpn_gateway.py index 7e3559117..26468b796 100644 --- a/plugins/modules/ibm_is_vpn_gateway.py +++ b/plugins/modules/ibm_is_vpn_gateway.py @@ -18,36 +18,36 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpn_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - mode: + subnet: description: - - mode in VPN gateway(route/policy) - required: False + - (Required for new resource) VPNGateway subnet info + required: True type: str - default: route - name: + resource_group: description: - - (Required for new resource) VPN Gateway instance name - required: True + - The resource group for this VPN gateway + required: False type: str - subnet: + mode: description: - - (Required for new resource) VPNGateway subnet info - required: True + - mode in VPN gateway(route/policy) + required: False type: str + default: route tags: description: - VPN Gateway tags list required: False type: list elements: str - resource_group: + name: description: - - The resource group for this VPN gateway - required: False + - (Required for new resource) VPN Gateway instance name + required: True type: str id: description: @@ -95,17 +95,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('subnet', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'mode', - 'name', 'subnet', - 'tags', 'resource_group', + 'mode', + 'tags', + 'name', ] # Params for Data source @@ -124,20 +124,20 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - mode=dict( + subnet=dict( required=False, type='str'), - name=dict( + resource_group=dict( required=False, type='str'), - subnet=dict( + mode=dict( required=False, type='str'), tags=dict( required=False, elements='', type='list'), - resource_group=dict( + name=dict( required=False, type='str'), id=dict( @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_vpn_gateway_connection.py b/plugins/modules/ibm_is_vpn_gateway_connection.py index f91a72fc1..7427d6d30 100644 --- a/plugins/modules/ibm_is_vpn_gateway_connection.py +++ b/plugins/modules/ibm_is_vpn_gateway_connection.py @@ -18,37 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpn_gateway_connection' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - peer_address: + name: description: - - (Required for new resource) VPN gateway connection peer address + - (Required for new resource) VPN Gateway connection name required: True type: str - peer_cidrs: - description: - - VPN gateway connection peer CIDRs - required: False - type: list - elements: str - ike_policy: - description: - - VPN gateway connection IKE Policy - required: False - type: str - preshared_key: + vpn_gateway: description: - - (Required for new resource) vpn gateway + - (Required for new resource) VPN Gateway info required: True type: str - admin_state_up: - description: - - VPN gateway connection admin state - required: False - type: bool - default: False action: description: - Action detection for dead peer detection action @@ -61,6 +44,17 @@ required: False type: int default: 2 + preshared_key: + description: + - (Required for new resource) vpn gateway + required: True + type: str + local_cidrs: + description: + - VPN gateway connection local CIDRs + required: False + type: list + elements: str timeout: description: - Timeout for dead peer detection @@ -72,19 +66,25 @@ - IP security policy for vpn gateway connection required: False type: str - name: + ike_policy: description: - - (Required for new resource) VPN Gateway connection name - required: True + - VPN gateway connection IKE Policy + required: False type: str - vpn_gateway: + admin_state_up: description: - - (Required for new resource) VPN Gateway info + - VPN gateway connection admin state + required: False + type: bool + default: False + peer_address: + description: + - (Required for new resource) VPN gateway connection peer address required: True type: str - local_cidrs: + peer_cidrs: description: - - VPN gateway connection local CIDRs + - VPN gateway connection peer CIDRs required: False type: list elements: str @@ -134,26 +134,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('peer_address', 'str'), - ('preshared_key', 'str'), ('name', 'str'), ('vpn_gateway', 'str'), + ('preshared_key', 'str'), + ('peer_address', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'peer_address', - 'peer_cidrs', - 'ike_policy', - 'preshared_key', - 'admin_state_up', + 'name', + 'vpn_gateway', 'action', 'interval', + 'preshared_key', + 'local_cidrs', 'timeout', 'ipsec_policy', - 'name', - 'vpn_gateway', - 'local_cidrs', + 'ike_policy', + 'admin_state_up', + 'peer_address', + 'peer_cidrs', ] # Params for Data source @@ -161,10 +161,10 @@ ] TL_ALL_PARAMETERS_DS = [ - 'vpn_gateway_name', - 'vpn_gateway_connection', 'vpn_gateway', 'vpn_gateway_connection_name', + 'vpn_gateway_connection', + 'vpn_gateway_name', ] TL_CONFLICTS_MAP = { @@ -174,41 +174,41 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - peer_address=dict( - required=False, - type='str'), - peer_cidrs=dict( - required=False, - elements='', - type='list'), - ike_policy=dict( + name=dict( required=False, type='str'), - preshared_key=dict( + vpn_gateway=dict( required=False, type='str'), - admin_state_up=dict( - required=False, - type='bool'), action=dict( required=False, type='str'), interval=dict( required=False, type='int'), + preshared_key=dict( + required=False, + type='str'), + local_cidrs=dict( + required=False, + elements='', + type='list'), timeout=dict( required=False, type='int'), ipsec_policy=dict( required=False, type='str'), - name=dict( + ike_policy=dict( required=False, type='str'), - vpn_gateway=dict( + admin_state_up=dict( + required=False, + type='bool'), + peer_address=dict( required=False, type='str'), - local_cidrs=dict( + peer_cidrs=dict( required=False, elements='', type='list'), @@ -289,7 +289,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway_connection', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -298,7 +298,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway_connection', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_vpn_gateway_connection_info.py b/plugins/modules/ibm_is_vpn_gateway_connection_info.py index 43c3cdfa1..0fef22bf1 100644 --- a/plugins/modules/ibm_is_vpn_gateway_connection_info.py +++ b/plugins/modules/ibm_is_vpn_gateway_connection_info.py @@ -17,28 +17,28 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_gateway_connection' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - vpn_gateway_name: + vpn_gateway: description: - - The VPN gateway name. + - The VPN gateway identifier. required: False type: str - vpn_gateway_connection: + vpn_gateway_connection_name: description: - - The VPN gateway connection identifier. + - The VPN gateway connection name. required: False type: str - vpn_gateway: + vpn_gateway_connection: description: - - The VPN gateway identifier. + - The VPN gateway connection identifier. required: False type: str - vpn_gateway_connection_name: + vpn_gateway_name: description: - - The VPN gateway connection name. + - The VPN gateway name. required: False type: str generation: @@ -78,10 +78,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'vpn_gateway_name', - 'vpn_gateway_connection', 'vpn_gateway', 'vpn_gateway_connection_name', + 'vpn_gateway_connection', + 'vpn_gateway_name', ] @@ -92,16 +92,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - vpn_gateway_name=dict( + vpn_gateway=dict( required=False, type='str'), - vpn_gateway_connection=dict( + vpn_gateway_connection_name=dict( required=False, type='str'), - vpn_gateway=dict( + vpn_gateway_connection=dict( required=False, type='str'), - vpn_gateway_connection_name=dict( + vpn_gateway_name=dict( required=False, type='str'), generation=dict( @@ -150,7 +150,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway_connection', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_gateway_connections_info.py b/plugins/modules/ibm_is_vpn_gateway_connections_info.py index 8ea441773..3028852fc 100644 --- a/plugins/modules/ibm_is_vpn_gateway_connections_info.py +++ b/plugins/modules/ibm_is_vpn_gateway_connections_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_gateway_connections' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway_connections', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_gateway_info.py b/plugins/modules/ibm_is_vpn_gateway_info.py index fcf4ff753..165c491ae 100644 --- a/plugins/modules/ibm_is_vpn_gateway_info.py +++ b/plugins/modules/ibm_is_vpn_gateway_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_gateways_info.py b/plugins/modules/ibm_is_vpn_gateways_info.py index d7fd6f8fa..890d26797 100644 --- a/plugins/modules/ibm_is_vpn_gateways_info.py +++ b/plugins/modules/ibm_is_vpn_gateways_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_gateways' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -114,7 +114,7 @@ def run_module(): resource_type='ibm_is_vpn_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_server.py b/plugins/modules/ibm_is_vpn_server.py index cce418d12..63fdad4b4 100644 --- a/plugins/modules/ibm_is_vpn_server.py +++ b/plugins/modules/ibm_is_vpn_server.py @@ -18,44 +18,68 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpn_server' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - resource_type: + security_groups: description: - - The type of resource referenced. + - The unique identifier for this security group. The security groups to use for this VPN server. If unspecified, the VPC's default security group is used. required: False - type: str - default: vpn_server - certificate_crn: + type: list + elements: str + client_authentication: description: - - (Required for new resource) The crn of certificate instance for this VPN server. + - (Required for new resource) The methods used to authenticate VPN clients to this VPN server. VPN clients must authenticate against all provided methods. + required: True + type: list + elements: dict + client_ip_pool: + description: + - (Required for new resource) The VPN client IPv4 address pool, expressed in CIDR format. The request must not overlap with any existing address prefixes in the VPC or any of the following reserved address ranges: - `127.0.0.0/8` (IPv4 loopback addresses) - `161.26.0.0/16` (IBM services) - `166.8.0.0/14` (Cloud Service Endpoints) - `169.254.0.0/16` (IPv4 link-local addresses) - `224.0.0.0/4` (IPv4 multicast addresses)The prefix length of the client IP address pool's CIDR must be between`/9` (8,388,608 addresses) and `/22` (1024 addresses). A CIDR block that contains twice the number of IP addresses that are required to enable the maximum number of concurrent connections is recommended. required: True type: str + protocol: + description: + - The transport protocol to use for this VPN server. + required: False + type: str + default: udp enable_split_tunneling: description: - Indicates whether the split tunneling is enabled on this VPN server. required: False type: bool default: False + subnets: + description: + - (Required for new resource) The unique identifier for this subnet. The subnets to provision this VPN server in. Use subnets in different zones for high availability. + required: True + type: list + elements: str + certificate_crn: + description: + - (Required for new resource) The crn of certificate instance for this VPN server. + required: True + type: str client_dns_server_ips: description: - The DNS server addresses that will be provided to VPN clients connected to this VPN server. The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered. required: False type: list elements: str - resource_group: + port: description: - - The unique identifier for this resource group. The resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. + - The port number to use for this VPN server. required: False - type: str - security_groups: + type: int + default: 443 + resource_type: description: - - The unique identifier for this security group. The security groups to use for this VPN server. If unspecified, the VPC's default security group is used. + - The type of resource referenced. required: False - type: list - elements: str + type: str + default: vpn_server name: description: - The user-defined name for this VPN server. If unspecified, the name will be a hyphenated list of randomly-selected words. Names must be unique within the VPC this VPN server is serving. @@ -67,35 +91,11 @@ required: False type: int default: 600 - client_ip_pool: - description: - - (Required for new resource) The VPN client IPv4 address pool, expressed in CIDR format. The request must not overlap with any existing address prefixes in the VPC or any of the following reserved address ranges: - `127.0.0.0/8` (IPv4 loopback addresses) - `161.26.0.0/16` (IBM services) - `166.8.0.0/14` (Cloud Service Endpoints) - `169.254.0.0/16` (IPv4 link-local addresses) - `224.0.0.0/4` (IPv4 multicast addresses)The prefix length of the client IP address pool's CIDR must be between`/9` (8,388,608 addresses) and `/22` (1024 addresses). A CIDR block that contains twice the number of IP addresses that are required to enable the maximum number of concurrent connections is recommended. - required: True - type: str - port: - description: - - The port number to use for this VPN server. - required: False - type: int - default: 443 - protocol: + resource_group: description: - - The transport protocol to use for this VPN server. + - The unique identifier for this resource group. The resource group to use. If unspecified, the account's [default resourcegroup](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used. required: False type: str - default: udp - subnets: - description: - - (Required for new resource) The unique identifier for this subnet. The subnets to provision this VPN server in. Use subnets in different zones for high availability. - required: True - type: list - elements: str - client_authentication: - description: - - (Required for new resource) The methods used to authenticate VPN clients to this VPN server. VPN clients must authenticate against all provided methods. - required: True - type: list - elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -142,27 +142,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('certificate_crn', 'str'), + ('client_authentication', 'list'), ('client_ip_pool', 'str'), ('subnets', 'list'), - ('client_authentication', 'list'), + ('certificate_crn', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_type', - 'certificate_crn', - 'enable_split_tunneling', - 'client_dns_server_ips', - 'resource_group', 'security_groups', - 'name', - 'client_idle_timeout', + 'client_authentication', 'client_ip_pool', - 'port', 'protocol', + 'enable_split_tunneling', 'subnets', - 'client_authentication', + 'certificate_crn', + 'client_dns_server_ips', + 'port', + 'resource_type', + 'name', + 'client_idle_timeout', + 'resource_group', ] # Params for Data source @@ -170,8 +170,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'identifier', 'name', + 'identifier', ] TL_CONFLICTS_MAP = { @@ -181,49 +181,49 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_type=dict( + security_groups=dict( + required=False, + elements='', + type='list'), + client_authentication=dict( + required=False, + elements='', + type='list'), + client_ip_pool=dict( required=False, type='str'), - certificate_crn=dict( + protocol=dict( required=False, type='str'), enable_split_tunneling=dict( required=False, type='bool'), - client_dns_server_ips=dict( + subnets=dict( required=False, elements='', type='list'), - resource_group=dict( + certificate_crn=dict( required=False, type='str'), - security_groups=dict( + client_dns_server_ips=dict( required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), - client_idle_timeout=dict( + port=dict( required=False, type='int'), - client_ip_pool=dict( + resource_type=dict( required=False, type='str'), - port=dict( - required=False, - type='int'), - protocol=dict( + name=dict( required=False, type='str'), - subnets=dict( + client_idle_timeout=dict( required=False, - elements='', - type='list'), - client_authentication=dict( + type='int'), + resource_group=dict( required=False, - elements='', - type='list'), + type='str'), id=dict( required=False, type='str'), @@ -301,7 +301,7 @@ def run_module(): resource_type='ibm_is_vpn_server', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -310,7 +310,7 @@ def run_module(): resource_type='ibm_is_vpn_server', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_vpn_server_client.py b/plugins/modules/ibm_is_vpn_server_client.py index 595769f23..57635e4ff 100644 --- a/plugins/modules/ibm_is_vpn_server_client.py +++ b/plugins/modules/ibm_is_vpn_server_client.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpn_server_client' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -199,7 +199,7 @@ def run_module(): resource_type='ibm_is_vpn_server_client', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -208,7 +208,7 @@ def run_module(): resource_type='ibm_is_vpn_server_client', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_vpn_server_client_configuration_info.py b/plugins/modules/ibm_is_vpn_server_client_configuration_info.py index 6bd7eb862..bae6a116b 100644 --- a/plugins/modules/ibm_is_vpn_server_client_configuration_info.py +++ b/plugins/modules/ibm_is_vpn_server_client_configuration_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_server_client_configuration' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_vpn_server_client_configuration', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_server_client_info.py b/plugins/modules/ibm_is_vpn_server_client_info.py index 8768a69bf..42635f61f 100644 --- a/plugins/modules/ibm_is_vpn_server_client_info.py +++ b/plugins/modules/ibm_is_vpn_server_client_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_server_client' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_vpn_server_client', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_server_clients_info.py b/plugins/modules/ibm_is_vpn_server_clients_info.py index 82903a3b8..c126739ac 100644 --- a/plugins/modules/ibm_is_vpn_server_clients_info.py +++ b/plugins/modules/ibm_is_vpn_server_clients_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_server_clients' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_vpn_server_clients', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_server_info.py b/plugins/modules/ibm_is_vpn_server_info.py index 890547b4d..cb5438b5f 100644 --- a/plugins/modules/ibm_is_vpn_server_info.py +++ b/plugins/modules/ibm_is_vpn_server_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_server' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - identifier: + name: description: - - The unique identifier for this VPN server + - The unique user-defined name for this VPN server required: False type: str - name: + identifier: description: - - The unique user-defined name for this VPN server + - The unique identifier for this VPN server required: False type: str generation: @@ -68,8 +68,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'identifier', 'name', + 'identifier', ] @@ -80,10 +80,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - identifier=dict( + name=dict( required=False, type='str'), - name=dict( + identifier=dict( required=False, type='str'), generation=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_vpn_server', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_server_route.py b/plugins/modules/ibm_is_vpn_server_route.py index 4d2443c2c..af4708dc1 100644 --- a/plugins/modules/ibm_is_vpn_server_route.py +++ b/plugins/modules/ibm_is_vpn_server_route.py @@ -18,31 +18,31 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpn_server_route' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - destination: - description: - - (Required for new resource) The destination to use for this VPN route in the VPN server. Must be unique within the VPN server. If an incoming packet does not match any destination, it will be dropped. - required: True - type: str - action: + name: description: - - The action to perform with a packet matching the VPN route:- `translate`: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target.- `deliver`: deliver the packet to the target.- `drop`: drop the packetThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the VPN route on which the unexpected property value was encountered. + - The user-defined name for this VPN route. If unspecified, the name will be a hyphenated list of randomly-selected words. Names must be unique within the VPN server the VPN route resides in. required: False type: str - default: deliver vpn_server: description: - (Required for new resource) The VPN server identifier. required: True type: str - name: + destination: description: - - The user-defined name for this VPN route. If unspecified, the name will be a hyphenated list of randomly-selected words. Names must be unique within the VPN server the VPN route resides in. + - (Required for new resource) The destination to use for this VPN route in the VPN server. Must be unique within the VPN server. If an incoming packet does not match any destination, it will be dropped. + required: True + type: str + action: + description: + - The action to perform with a packet matching the VPN route:- `translate`: translate the source IP address to one of the private IP addresses of the VPN server, then deliver the packet to target.- `deliver`: deliver the packet to the target.- `drop`: drop the packetThe enumerated values for this property are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the VPN route on which the unexpected property value was encountered. required: False type: str + default: deliver id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,16 +89,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('destination', 'str'), ('vpn_server', 'str'), + ('destination', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', + 'vpn_server', 'destination', 'action', - 'vpn_server', - 'name', ] # Params for Data source @@ -107,9 +107,9 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'vpn_server', 'identifier', + 'name', ] TL_CONFLICTS_MAP = { @@ -119,16 +119,16 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - destination=dict( + name=dict( required=False, type='str'), - action=dict( + vpn_server=dict( required=False, type='str'), - vpn_server=dict( + destination=dict( required=False, type='str'), - name=dict( + action=dict( required=False, type='str'), id=dict( @@ -208,7 +208,7 @@ def run_module(): resource_type='ibm_is_vpn_server_route', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_is_vpn_server_route', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_vpn_server_route_info.py b/plugins/modules/ibm_is_vpn_server_route_info.py index 7fa2c6011..656a1e58f 100644 --- a/plugins/modules/ibm_is_vpn_server_route_info.py +++ b/plugins/modules/ibm_is_vpn_server_route_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_server_route' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: - description: - - The unique user-defined name for this VPN server route - required: False - type: str vpn_server: description: - The VPN server identifier. @@ -36,6 +31,11 @@ - The unique identifier for this VPN server route required: False type: str + name: + description: + - The unique user-defined name for this VPN server route + required: False + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -74,9 +74,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'vpn_server', 'identifier', + 'name', ] @@ -87,15 +87,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), vpn_server=dict( required=True, type='str'), identifier=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), generation=dict( type='int', required=False, @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_is_vpn_server_route', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_server_routes_info.py b/plugins/modules/ibm_is_vpn_server_routes_info.py index 51363f252..8677e7061 100644 --- a/plugins/modules/ibm_is_vpn_server_routes_info.py +++ b/plugins/modules/ibm_is_vpn_server_routes_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_server_routes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -124,7 +124,7 @@ def run_module(): resource_type='ibm_is_vpn_server_routes', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_vpn_servers_info.py b/plugins/modules/ibm_is_vpn_servers_info.py index adeb5c8f7..5e694dc7c 100644 --- a/plugins/modules/ibm_is_vpn_servers_info.py +++ b/plugins/modules/ibm_is_vpn_servers_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_servers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -123,7 +123,7 @@ def run_module(): resource_type='ibm_is_vpn_servers', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_zone_info.py b/plugins/modules/ibm_is_zone_info.py index d033fe26a..c2a9c128c 100644 --- a/plugins/modules/ibm_is_zone_info.py +++ b/plugins/modules/ibm_is_zone_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_zone' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_zone', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_zones_info.py b/plugins/modules/ibm_is_zones_info.py index 20d36dcdf..7b771636c 100644 --- a/plugins/modules/ibm_is_zones_info.py +++ b/plugins/modules/ibm_is_zones_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_zones' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_zones', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_kms_key.py b/plugins/modules/ibm_kms_key.py index 0001c99c9..12506a643 100644 --- a/plugins/modules/ibm_kms_key.py +++ b/plugins/modules/ibm_kms_key.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_kms_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -28,17 +28,16 @@ required: False type: bool default: False + expiration_date: + description: + - The date the key material expires. The date format follows RFC 3339. You can set an expiration date on any key on its creation. A key moves into the Deactivated state within one hour past its expiration date, if one is assigned. If you create a key without specifying an expiration date, the key does not expire + required: False + type: str instance_id: description: - (Required for new resource) Key protect or hpcs instance GUID or CRN required: True type: str - key_ring_id: - description: - - Key Ring for the Key - required: False - type: str - default: default key_name: description: - (Required for new resource) Key name @@ -49,17 +48,23 @@ - public or private required: False type: str + standard_key: + description: + - Standard key type + required: False + type: bool + default: False payload: description: - None required: False type: str - standard_key: + key_ring_id: description: - - Standard key type + - Key Ring for the Key required: False - type: bool - default: False + type: str + default: default encrypted_nonce: description: - Only for imported root key @@ -70,11 +75,6 @@ - Only for imported root key required: False type: str - expiration_date: - description: - - The date the key material expires. The date format follows RFC 3339. You can set an expiration date on any key on its creation. A key moves into the Deactivated state within one hour past its expiration date, if one is assigned. If you create a key without specifying an expiration date, the key does not expire - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -128,15 +128,15 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'force_delete', + 'expiration_date', 'instance_id', - 'key_ring_id', 'key_name', 'endpoint_type', - 'payload', 'standard_key', + 'payload', + 'key_ring_id', 'encrypted_nonce', 'iv_value', - 'expiration_date', ] # Params for Data source @@ -145,12 +145,12 @@ ] TL_ALL_PARAMETERS_DS = [ - 'instance_id', - 'limit', - 'key_id', 'key_name', 'alias', 'endpoint_type', + 'instance_id', + 'limit', + 'key_id', ] TL_CONFLICTS_MAP = { @@ -163,10 +163,10 @@ force_delete=dict( required=False, type='bool'), - instance_id=dict( + expiration_date=dict( required=False, type='str'), - key_ring_id=dict( + instance_id=dict( required=False, type='str'), key_name=dict( @@ -175,21 +175,21 @@ endpoint_type=dict( required=False, type='str'), + standard_key=dict( + required=False, + type='bool'), payload=dict( required=False, type='str'), - standard_key=dict( + key_ring_id=dict( required=False, - type='bool'), + type='str'), encrypted_nonce=dict( required=False, type='str'), iv_value=dict( required=False, type='str'), - expiration_date=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -255,7 +255,7 @@ def run_module(): resource_type='ibm_kms_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -264,7 +264,7 @@ def run_module(): resource_type='ibm_kms_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_kms_key_alias.py b/plugins/modules/ibm_kms_key_alias.py index f32c1a8ed..684effe17 100644 --- a/plugins/modules/ibm_kms_key_alias.py +++ b/plugins/modules/ibm_kms_key_alias.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_kms_key_alias' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + instance_id: + description: + - (Required for new resource) Key ID + required: True + type: str alias: description: - (Required for new resource) Key protect or hpcs key alias name @@ -42,11 +47,6 @@ - public or private required: False type: str - instance_id: - description: - - (Required for new resource) Key ID - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -93,17 +93,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('alias', 'str'), ('instance_id', 'str'), + ('alias', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'instance_id', 'alias', 'key_id', 'existing_alias', 'endpoint_type', - 'instance_id', ] # Params for Data source @@ -120,6 +120,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + instance_id=dict( + required=False, + type='str'), alias=dict( required=False, type='str'), @@ -132,9 +135,6 @@ endpoint_type=dict( required=False, type='str'), - instance_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_kms_key_alias', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_kms_key_info.py b/plugins/modules/ibm_kms_key_info.py index 9bd33f998..05cba03cd 100644 --- a/plugins/modules/ibm_kms_key_info.py +++ b/plugins/modules/ibm_kms_key_info.py @@ -17,25 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_kms_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - instance_id: - description: - - Key protect or hpcs instance GUID - required: True - type: str - limit: - description: - - Limit till the keys to be fetched - required: False - type: int - key_id: - description: - - None - required: False - type: str key_name: description: - The name of the key to be fetched @@ -52,6 +37,21 @@ required: False type: str default: public + instance_id: + description: + - Key protect or hpcs instance GUID + required: True + type: str + limit: + description: + - Limit till the keys to be fetched + required: False + type: int + key_id: + description: + - None + required: False + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -90,12 +90,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_id', - 'limit', - 'key_id', 'key_name', 'alias', 'endpoint_type', + 'instance_id', + 'limit', + 'key_id', ] @@ -106,15 +106,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_id=dict( - required=True, - type='str'), - limit=dict( - required=False, - type='int'), - key_id=dict( - required=False, - type='str'), key_name=dict( required=False, type='str'), @@ -124,6 +115,15 @@ endpoint_type=dict( required=False, type='str'), + instance_id=dict( + required=True, + type='str'), + limit=dict( + required=False, + type='int'), + key_id=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -158,7 +158,7 @@ def run_module(): resource_type='ibm_kms_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_kms_key_policies.py b/plugins/modules/ibm_kms_key_policies.py index bd028674b..760cbcc9a 100644 --- a/plugins/modules/ibm_kms_key_policies.py +++ b/plugins/modules/ibm_kms_key_policies.py @@ -18,10 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_kms_key_policies' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + alias: + description: + - None + required: False + type: str + endpoint_type: + description: + - public or private + required: False + type: str + default: public instance_id: description: - (Required for new resource) Key protect or hpcs instance GUID @@ -32,26 +43,15 @@ - Key ID required: False type: str - dual_auth_delete: + rotation: description: - - Data associated with the dual authorization delete policy. + - Specifies the key rotation time interval in months, with a minimum of 1, and a maximum of 12 required: False type: list elements: dict - alias: - description: - - None - required: False - type: str - endpoint_type: - description: - - public or private - required: False - type: str - default: public - rotation: + dual_auth_delete: description: - - Specifies the key rotation time interval in months, with a minimum of 1, and a maximum of 12 + - Data associated with the dual authorization delete policy. required: False type: list elements: dict @@ -106,12 +106,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_id', - 'key_id', - 'dual_auth_delete', 'alias', 'endpoint_type', + 'instance_id', + 'key_id', 'rotation', + 'dual_auth_delete', ] # Params for Data source @@ -120,11 +120,11 @@ ] TL_ALL_PARAMETERS_DS = [ + 'alias', + 'policies', 'instance_id', 'endpoint_type', 'key_id', - 'alias', - 'policies', ] TL_CONFLICTS_MAP = { @@ -134,26 +134,26 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_id=dict( + alias=dict( required=False, type='str'), - key_id=dict( + endpoint_type=dict( required=False, type='str'), - dual_auth_delete=dict( - required=False, - elements='', - type='list'), - alias=dict( + instance_id=dict( required=False, type='str'), - endpoint_type=dict( + key_id=dict( required=False, type='str'), rotation=dict( required=False, elements='', type='list'), + dual_auth_delete=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -219,7 +219,7 @@ def run_module(): resource_type='ibm_kms_key_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -228,7 +228,7 @@ def run_module(): resource_type='ibm_kms_key_policies', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_kms_key_policies_info.py b/plugins/modules/ibm_kms_key_policies_info.py index 11e413e33..23a924f5a 100644 --- a/plugins/modules/ibm_kms_key_policies_info.py +++ b/plugins/modules/ibm_kms_key_policies_info.py @@ -17,10 +17,21 @@ description: - Retrieve an IBM Cloud 'ibm_kms_key_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + alias: + description: + - Alias of the Key + required: False + type: str + policies: + description: + - Creates or updates one or more policies for the specified key + required: False + type: list + elements: dict instance_id: description: - Key protect or hpcs instance GUID @@ -37,17 +48,6 @@ - Key ID of the Key required: False type: str - alias: - description: - - Alias of the Key - required: False - type: str - policies: - description: - - Creates or updates one or more policies for the specified key - required: False - type: list - elements: dict iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -86,11 +86,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'alias', + 'policies', 'instance_id', 'endpoint_type', 'key_id', - 'alias', - 'policies', ] @@ -101,6 +101,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + alias=dict( + required=False, + type='str'), + policies=dict( + required=False, + elements='', + type='list'), instance_id=dict( required=True, type='str'), @@ -110,13 +117,6 @@ key_id=dict( required=False, type='str'), - alias=dict( - required=False, - type='str'), - policies=dict( - required=False, - elements='', - type='list'), iaas_classic_username=dict( type='str', no_log=True, @@ -151,7 +151,7 @@ def run_module(): resource_type='ibm_kms_key_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_kms_key_rings.py b/plugins/modules/ibm_kms_key_rings.py index 8a8542d53..751c1a300 100644 --- a/plugins/modules/ibm_kms_key_rings.py +++ b/plugins/modules/ibm_kms_key_rings.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_kms_key_rings' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -100,8 +100,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'instance_id', 'endpoint_type', + 'instance_id', ] TL_CONFLICTS_MAP = { @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_kms_key_rings', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -194,7 +194,7 @@ def run_module(): resource_type='ibm_kms_key_rings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_kms_key_rings_info.py b/plugins/modules/ibm_kms_key_rings_info.py index 815847b5f..045f511e6 100644 --- a/plugins/modules/ibm_kms_key_rings_info.py +++ b/plugins/modules/ibm_kms_key_rings_info.py @@ -17,21 +17,21 @@ description: - Retrieve an IBM Cloud 'ibm_kms_key_rings' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - instance_id: - description: - - Key protect or hpcs instance GUID - required: True - type: str endpoint_type: description: - public or private required: False type: str default: public + instance_id: + description: + - Key protect or hpcs instance GUID + required: True + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -70,8 +70,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_id', 'endpoint_type', + 'instance_id', ] @@ -82,12 +82,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - instance_id=dict( - required=True, - type='str'), endpoint_type=dict( required=False, type='str'), + instance_id=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_kms_key_rings', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_kms_keys_info.py b/plugins/modules/ibm_kms_keys_info.py index ac419452c..fa52a74ad 100644 --- a/plugins/modules/ibm_kms_keys_info.py +++ b/plugins/modules/ibm_kms_keys_info.py @@ -17,10 +17,21 @@ description: - Retrieve an IBM Cloud 'ibm_kms_keys' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + endpoint_type: + description: + - public or private + required: False + type: str + default: public + instance_id: + description: + - Key protect or hpcs instance GUID + required: True + type: str key_name: description: - The name of the key to be fetched @@ -41,17 +52,6 @@ - None required: False type: str - endpoint_type: - description: - - public or private - required: False - type: str - default: public - instance_id: - description: - - Key protect or hpcs instance GUID - required: True - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -90,12 +90,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'endpoint_type', + 'instance_id', 'key_name', 'limit', 'alias', 'key_id', - 'endpoint_type', - 'instance_id', ] @@ -109,6 +109,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + endpoint_type=dict( + required=False, + type='str'), + instance_id=dict( + required=True, + type='str'), key_name=dict( required=False, type='str'), @@ -121,12 +127,6 @@ key_id=dict( required=False, type='str'), - endpoint_type=dict( - required=False, - type='str'), - instance_id=dict( - required=True, - type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -161,7 +161,7 @@ def run_module(): resource_type='ibm_kms_keys', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_kp_key.py b/plugins/modules/ibm_kp_key.py index 6b72a688a..1338e67dd 100644 --- a/plugins/modules/ibm_kp_key.py +++ b/plugins/modules/ibm_kp_key.py @@ -18,47 +18,47 @@ - Create, update or destroy an IBM Cloud 'ibm_kp_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - standard_key: + payload: description: - - Standard key type + - None required: False - type: bool - default: False - iv_value: + type: str + encrypted_nonce: description: - Only for imported root key required: False type: str - payload: + iv_value: description: - - None + - Only for imported root key required: False type: str - key_name: + key_protect_id: description: - - (Required for new resource) Key name + - (Required for new resource) Key protect instance ID required: True type: str - key_protect_id: + key_name: description: - - (Required for new resource) Key protect instance ID + - (Required for new resource) Key name required: True type: str - force_delete: + standard_key: description: - - set to true to force delete the key + - Standard key type required: False type: bool default: False - encrypted_nonce: + force_delete: description: - - Only for imported root key + - set to true to force delete the key required: False - type: str + type: bool + default: False id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -105,19 +105,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('key_name', 'str'), ('key_protect_id', 'str'), + ('key_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'standard_key', - 'iv_value', 'payload', - 'key_name', + 'encrypted_nonce', + 'iv_value', 'key_protect_id', + 'key_name', + 'standard_key', 'force_delete', - 'encrypted_nonce', ] # Params for Data source @@ -137,27 +137,27 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - standard_key=dict( + payload=dict( required=False, - type='bool'), + type='str'), + encrypted_nonce=dict( + required=False, + type='str'), iv_value=dict( required=False, type='str'), - payload=dict( + key_protect_id=dict( required=False, type='str'), key_name=dict( required=False, type='str'), - key_protect_id=dict( + standard_key=dict( required=False, - type='str'), + type='bool'), force_delete=dict( required=False, type='bool'), - encrypted_nonce=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -223,7 +223,7 @@ def run_module(): resource_type='ibm_kp_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -232,7 +232,7 @@ def run_module(): resource_type='ibm_kp_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_kp_key_info.py b/plugins/modules/ibm_kp_key_info.py index 5b9b0ae5e..90a37cc8e 100644 --- a/plugins/modules/ibm_kp_key_info.py +++ b/plugins/modules/ibm_kp_key_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_kp_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_kp_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lb.py b/plugins/modules/ibm_lb.py index 64336b509..4386fe310 100644 --- a/plugins/modules/ibm_lb.py +++ b/plugins/modules/ibm_lb.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_lb' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - connections: - description: - - (Required for new resource) Connections value - required: True - type: int datacenter: description: - (Required for new resource) Datacenter name info @@ -37,18 +32,6 @@ - Security certificate ID required: False type: int - tags: - description: - - Tags associated with resource - required: False - type: list - elements: str - ha_enabled: - description: - - true if High availability is enabled - required: False - type: bool - default: False dedicated: description: - Boolena value true if Load balncer is dedicated type @@ -61,6 +44,23 @@ required: False type: bool default: False + connections: + description: + - (Required for new resource) Connections value + required: True + type: int + ha_enabled: + description: + - true if High availability is enabled + required: False + type: bool + default: False + tags: + description: + - Tags associated with resource + required: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -107,19 +107,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('connections', 'int'), ('datacenter', 'str'), + ('connections', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'connections', 'datacenter', 'security_certificate_id', - 'tags', - 'ha_enabled', 'dedicated', 'ssl_offload', + 'connections', + 'ha_enabled', + 'tags', ] # Params for Data source @@ -136,28 +136,28 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - connections=dict( - required=False, - type='int'), datacenter=dict( required=False, type='str'), security_certificate_id=dict( required=False, type='int'), - tags=dict( - required=False, - elements='', - type='list'), - ha_enabled=dict( - required=False, - type='bool'), dedicated=dict( required=False, type='bool'), ssl_offload=dict( required=False, type='bool'), + connections=dict( + required=False, + type='int'), + ha_enabled=dict( + required=False, + type='bool'), + tags=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -223,7 +223,7 @@ def run_module(): resource_type='ibm_lb', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lb_service.py b/plugins/modules/ibm_lb_service.py index d86942001..09bfe2798 100644 --- a/plugins/modules/ibm_lb_service.py +++ b/plugins/modules/ibm_lb_service.py @@ -18,25 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_lb_service' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - enabled: - description: - - (Required for new resource) Boolean value true, if enabled else false - required: True - type: bool - health_check_type: - description: - - (Required for new resource) health check type - required: True - type: str - weight: - description: - - (Required for new resource) Weight value - required: True - type: int tags: description: - Tags for the resource @@ -58,6 +43,21 @@ - (Required for new resource) Port number required: True type: int + enabled: + description: + - (Required for new resource) Boolean value true, if enabled else false + required: True + type: bool + health_check_type: + description: + - (Required for new resource) health check type + required: True + type: str + weight: + description: + - (Required for new resource) Weight value + required: True + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -104,23 +104,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('enabled', 'bool'), - ('health_check_type', 'str'), - ('weight', 'int'), ('service_group_id', 'int'), ('ip_address_id', 'int'), ('port', 'int'), + ('enabled', 'bool'), + ('health_check_type', 'str'), + ('weight', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'enabled', - 'health_check_type', - 'weight', 'tags', 'service_group_id', 'ip_address_id', 'port', + 'enabled', + 'health_check_type', + 'weight', ] # Params for Data source @@ -137,15 +137,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - enabled=dict( - required=False, - type='bool'), - health_check_type=dict( - required=False, - type='str'), - weight=dict( - required=False, - type='int'), tags=dict( required=False, elements='', @@ -159,6 +150,15 @@ port=dict( required=False, type='int'), + enabled=dict( + required=False, + type='bool'), + health_check_type=dict( + required=False, + type='str'), + weight=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -224,7 +224,7 @@ def run_module(): resource_type='ibm_lb_service', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lb_service_group.py b/plugins/modules/ibm_lb_service_group.py index faecc95aa..fa536558f 100644 --- a/plugins/modules/ibm_lb_service_group.py +++ b/plugins/modules/ibm_lb_service_group.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_lb_service_group' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - load_balancer_id: - description: - - (Required for new resource) Loadbalancer ID - required: True - type: int - allocation: - description: - - (Required for new resource) Allocation type - required: True - type: int routing_type: description: - (Required for new resource) Routing type @@ -43,6 +33,11 @@ required: False type: list elements: str + allocation: + description: + - (Required for new resource) Allocation type + required: True + type: int port: description: - (Required for new resource) Port number @@ -58,6 +53,11 @@ - Timeout value required: False type: int + load_balancer_id: + description: + - (Required for new resource) Loadbalancer ID + required: True + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -104,22 +104,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('load_balancer_id', 'int'), - ('allocation', 'int'), ('routing_type', 'str'), + ('allocation', 'int'), ('port', 'int'), ('routing_method', 'str'), + ('load_balancer_id', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'load_balancer_id', - 'allocation', 'routing_type', 'tags', + 'allocation', 'port', 'routing_method', 'timeout', + 'load_balancer_id', ] # Params for Data source @@ -136,12 +136,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - load_balancer_id=dict( - required=False, - type='int'), - allocation=dict( - required=False, - type='int'), routing_type=dict( required=False, type='str'), @@ -149,6 +143,9 @@ required=False, elements='', type='list'), + allocation=dict( + required=False, + type='int'), port=dict( required=False, type='int'), @@ -158,6 +155,9 @@ timeout=dict( required=False, type='int'), + load_balancer_id=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -223,7 +223,7 @@ def run_module(): resource_type='ibm_lb_service_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lb_vpx.py b/plugins/modules/ibm_lb_vpx.py index 0e779f92e..578cb2f9a 100644 --- a/plugins/modules/ibm_lb_vpx.py +++ b/plugins/modules/ibm_lb_vpx.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_lb_vpx' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,52 +27,52 @@ - (Required for new resource) version info required: True type: str - ip_count: + public_vlan_id: description: - - (Required for new resource) IP address count - required: True + - Piblic VLAN id + required: False type: int - datacenter: + private_subnet: description: - - (Required for new resource) Datacenter name - required: True + - Private subnet + required: False type: str + tags: + description: + - List of the tags + required: False + type: list + elements: str speed: description: - (Required for new resource) Speed value required: True type: int - public_vlan_id: - description: - - Piblic VLAN id - required: False - type: int public_subnet: description: - Public subnet required: False type: str - plan: - description: - - (Required for new resource) Plan info - required: True - type: str private_vlan_id: description: - Private VLAN id required: False type: int - private_subnet: + plan: description: - - Private subnet - required: False + - (Required for new resource) Plan info + required: True type: str - tags: + datacenter: description: - - List of the tags - required: False - type: list - elements: str + - (Required for new resource) Datacenter name + required: True + type: str + ip_count: + description: + - (Required for new resource) IP address count + required: True + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -120,24 +120,24 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('version', 'str'), - ('ip_count', 'int'), - ('datacenter', 'str'), ('speed', 'int'), ('plan', 'str'), + ('datacenter', 'str'), + ('ip_count', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'version', - 'ip_count', - 'datacenter', - 'speed', 'public_vlan_id', - 'public_subnet', - 'plan', - 'private_vlan_id', 'private_subnet', 'tags', + 'speed', + 'public_subnet', + 'private_vlan_id', + 'plan', + 'datacenter', + 'ip_count', ] # Params for Data source @@ -157,34 +157,34 @@ version=dict( required=False, type='str'), - ip_count=dict( + public_vlan_id=dict( required=False, type='int'), - datacenter=dict( + private_subnet=dict( required=False, type='str'), - speed=dict( + tags=dict( required=False, - type='int'), - public_vlan_id=dict( + elements='', + type='list'), + speed=dict( required=False, type='int'), public_subnet=dict( required=False, type='str'), - plan=dict( - required=False, - type='str'), private_vlan_id=dict( required=False, type='int'), - private_subnet=dict( + plan=dict( required=False, type='str'), - tags=dict( + datacenter=dict( required=False, - elements='', - type='list'), + type='str'), + ip_count=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -250,7 +250,7 @@ def run_module(): resource_type='ibm_lb_vpx', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lb_vpx_ha.py b/plugins/modules/ibm_lb_vpx_ha.py index d30e3e294..4371eb181 100644 --- a/plugins/modules/ibm_lb_vpx_ha.py +++ b/plugins/modules/ibm_lb_vpx_ha.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_lb_vpx_ha' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - primary_id: - description: - - (Required for new resource) primary ID - required: True - type: int - secondary_id: - description: - - (Required for new resource) Secondary ID - required: True - type: int stay_secondary: description: - Boolean value for stay secondary @@ -43,6 +33,16 @@ required: False type: list elements: str + primary_id: + description: + - (Required for new resource) primary ID + required: True + type: int + secondary_id: + description: + - (Required for new resource) Secondary ID + required: True + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -95,10 +95,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'primary_id', - 'secondary_id', 'stay_secondary', 'tags', + 'primary_id', + 'secondary_id', ] # Params for Data source @@ -115,12 +115,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - primary_id=dict( - required=False, - type='int'), - secondary_id=dict( - required=False, - type='int'), stay_secondary=dict( required=False, type='bool'), @@ -128,6 +122,12 @@ required=False, elements='', type='list'), + primary_id=dict( + required=False, + type='int'), + secondary_id=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_lb_vpx_ha', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lb_vpx_service.py b/plugins/modules/ibm_lb_vpx_service.py index e86249039..d77fdcef2 100644 --- a/plugins/modules/ibm_lb_vpx_service.py +++ b/plugins/modules/ibm_lb_vpx_service.py @@ -18,18 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_lb_vpx_service' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - vip_id: - description: - - (Required for new resource) VIP id - required: True - type: str - weight: + destination_port: description: - - (Required for new resource) Weight value + - (Required for new resource) Destination Port number required: True type: int connection_limit: @@ -37,36 +32,41 @@ - (Required for new resource) Number of connections limit required: True type: int + health_check: + description: + - (Required for new resource) Health check info + required: True + type: str usip: description: - usip info required: False type: str default: NO - tags: - description: - - list of tags associated with the resource - required: False - type: list - elements: str - name: + destination_ip_address: description: - - (Required for new resource) name + - (Required for new resource) Destination IP Address required: True type: str - destination_ip_address: + name: description: - - (Required for new resource) Destination IP Address + - (Required for new resource) name required: True type: str - destination_port: + weight: description: - - (Required for new resource) Destination Port number + - (Required for new resource) Weight value required: True type: int - health_check: + tags: description: - - (Required for new resource) Health check info + - list of tags associated with the resource + required: False + type: list + elements: str + vip_id: + description: + - (Required for new resource) VIP id required: True type: str id: @@ -115,26 +115,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('vip_id', 'str'), - ('weight', 'int'), - ('connection_limit', 'int'), - ('name', 'str'), - ('destination_ip_address', 'str'), ('destination_port', 'int'), + ('connection_limit', 'int'), ('health_check', 'str'), + ('destination_ip_address', 'str'), + ('name', 'str'), + ('weight', 'int'), + ('vip_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'vip_id', - 'weight', + 'destination_port', 'connection_limit', + 'health_check', 'usip', - 'tags', - 'name', 'destination_ip_address', - 'destination_port', - 'health_check', + 'name', + 'weight', + 'tags', + 'vip_id', ] # Params for Data source @@ -151,32 +151,32 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - vip_id=dict( - required=False, - type='str'), - weight=dict( + destination_port=dict( required=False, type='int'), connection_limit=dict( required=False, type='int'), - usip=dict( + health_check=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), - name=dict( + usip=dict( required=False, type='str'), destination_ip_address=dict( required=False, type='str'), - destination_port=dict( + name=dict( + required=False, + type='str'), + weight=dict( required=False, type='int'), - health_check=dict( + tags=dict( + required=False, + elements='', + type='list'), + vip_id=dict( required=False, type='str'), id=dict( @@ -244,7 +244,7 @@ def run_module(): resource_type='ibm_lb_vpx_service', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lb_vpx_vip.py b/plugins/modules/ibm_lb_vpx_vip.py index 9d2cde796..118da0925 100644 --- a/plugins/modules/ibm_lb_vpx_vip.py +++ b/plugins/modules/ibm_lb_vpx_vip.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_lb_vpx_vip' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,21 +27,11 @@ - (Required for new resource) Load balancing method required: True type: str - name: - description: - - (Required for new resource) Name - required: True - type: str - source_port: - description: - - (Required for new resource) Source Port number - required: True - type: int - security_certificate_id: + persistence: description: - - security certificate ID + - Persistance value required: False - type: int + type: str virtual_ip_address: description: - (Required for new resource) Virtual IP address @@ -58,16 +48,26 @@ - (Required for new resource) NAD controller ID required: True type: int - persistence: + name: description: - - Persistance value - required: False + - (Required for new resource) Name + required: True type: str + source_port: + description: + - (Required for new resource) Source Port number + required: True + type: int type: description: - (Required for new resource) Type required: True type: str + security_certificate_id: + description: + - security certificate ID + required: False + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -115,24 +115,24 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('load_balancing_method', 'str'), - ('name', 'str'), - ('source_port', 'int'), ('virtual_ip_address', 'str'), ('nad_controller_id', 'int'), + ('name', 'str'), + ('source_port', 'int'), ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'load_balancing_method', - 'name', - 'source_port', - 'security_certificate_id', + 'persistence', 'virtual_ip_address', 'tags', 'nad_controller_id', - 'persistence', + 'name', + 'source_port', 'type', + 'security_certificate_id', ] # Params for Data source @@ -152,15 +152,9 @@ load_balancing_method=dict( required=False, type='str'), - name=dict( + persistence=dict( required=False, type='str'), - source_port=dict( - required=False, - type='int'), - security_certificate_id=dict( - required=False, - type='int'), virtual_ip_address=dict( required=False, type='str'), @@ -171,12 +165,18 @@ nad_controller_id=dict( required=False, type='int'), - persistence=dict( + name=dict( required=False, type='str'), + source_port=dict( + required=False, + type='int'), type=dict( required=False, type='str'), + security_certificate_id=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -242,7 +242,7 @@ def run_module(): resource_type='ibm_lb_vpx_vip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lbaas.py b/plugins/modules/ibm_lbaas.py index ae074a8b7..5bb9369b2 100644 --- a/plugins/modules/ibm_lbaas.py +++ b/plugins/modules/ibm_lbaas.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_lbaas' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -33,12 +33,23 @@ - "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet." required: False type: bool + protocols: + description: + - Protocols to be assigned to this load balancer. + required: False + type: list + elements: dict type: description: - Specifies if a load balancer is public or private required: False type: str default: PUBLIC + description: + description: + - Description of a load balancer. + required: False + type: str ssl_ciphers: description: - None @@ -50,17 +61,6 @@ - (Required for new resource) The load balancer's name. required: True type: str - description: - description: - - Description of a load balancer. - required: False - type: str - protocols: - description: - - Protocols to be assigned to this load balancer. - required: False - type: list - elements: dict wait_time_minutes: description: - None @@ -121,11 +121,11 @@ TL_ALL_PARAMETERS = [ 'subnets', 'use_system_public_ip_pool', + 'protocols', 'type', + 'description', 'ssl_ciphers', 'name', - 'description', - 'protocols', 'wait_time_minutes', ] @@ -152,23 +152,23 @@ use_system_public_ip_pool=dict( required=False, type='bool'), - type=dict( - required=False, - type='str'), - ssl_ciphers=dict( + protocols=dict( required=False, elements='', type='list'), - name=dict( + type=dict( required=False, type='str'), description=dict( required=False, type='str'), - protocols=dict( + ssl_ciphers=dict( required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), wait_time_minutes=dict( required=False, type='int'), @@ -237,7 +237,7 @@ def run_module(): resource_type='ibm_lbaas', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -246,7 +246,7 @@ def run_module(): resource_type='ibm_lbaas', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_lbaas_health_monitor.py b/plugins/modules/ibm_lbaas_health_monitor.py index fc50973f8..b67a98dc4 100644 --- a/plugins/modules/ibm_lbaas_health_monitor.py +++ b/plugins/modules/ibm_lbaas_health_monitor.py @@ -18,10 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_lbaas_health_monitor' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + max_retries: + description: + - Maximum retry counts + required: False + type: int + default: 2 timeout: description: - Timeout in seconds @@ -60,12 +66,6 @@ required: False type: int default: 5 - max_retries: - description: - - Maximum retry counts - required: False - type: int - default: 2 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -120,6 +120,7 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'max_retries', 'timeout', 'url_path', 'monitor_id', @@ -127,7 +128,6 @@ 'protocol', 'port', 'interval', - 'max_retries', ] # Params for Data source @@ -144,6 +144,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + max_retries=dict( + required=False, + type='int'), timeout=dict( required=False, type='int'), @@ -165,9 +168,6 @@ interval=dict( required=False, type='int'), - max_retries=dict( - required=False, - type='int'), id=dict( required=False, type='str'), @@ -233,7 +233,7 @@ def run_module(): resource_type='ibm_lbaas_health_monitor', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lbaas_info.py b/plugins/modules/ibm_lbaas_info.py index d88f7a5f4..ae9a53bdb 100644 --- a/plugins/modules/ibm_lbaas_info.py +++ b/plugins/modules/ibm_lbaas_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_lbaas' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_lbaas', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_lbaas_server_instance_attachment.py b/plugins/modules/ibm_lbaas_server_instance_attachment.py index 0738c79f1..212778171 100644 --- a/plugins/modules/ibm_lbaas_server_instance_attachment.py +++ b/plugins/modules/ibm_lbaas_server_instance_attachment.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_lbaas_server_instance_attachment' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -182,7 +182,7 @@ def run_module(): resource_type='ibm_lbaas_server_instance_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_multi_vlan_firewall.py b/plugins/modules/ibm_multi_vlan_firewall.py index 6e1558f65..fea77f1f1 100644 --- a/plugins/modules/ibm_multi_vlan_firewall.py +++ b/plugins/modules/ibm_multi_vlan_firewall.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_multi_vlan_firewall' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - datacenter: + pod: description: - - (Required for new resource) Datacenter name + - (Required for new resource) POD name required: True type: str addon_configuration: @@ -33,19 +33,19 @@ required: False type: list elements: str - firewall_type: + datacenter: description: - - (Required for new resource) Firewall type + - (Required for new resource) Datacenter name required: True type: str - pod: + name: description: - - (Required for new resource) POD name + - (Required for new resource) name required: True type: str - name: + firewall_type: description: - - (Required for new resource) name + - (Required for new resource) Firewall type required: True type: str id: @@ -94,19 +94,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('datacenter', 'str'), - ('firewall_type', 'str'), ('pod', 'str'), + ('datacenter', 'str'), ('name', 'str'), + ('firewall_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'datacenter', - 'addon_configuration', - 'firewall_type', 'pod', + 'addon_configuration', + 'datacenter', 'name', + 'firewall_type', ] # Params for Data source @@ -123,20 +123,20 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - datacenter=dict( + pod=dict( required=False, type='str'), addon_configuration=dict( required=False, elements='', type='list'), - firewall_type=dict( + datacenter=dict( required=False, type='str'), - pod=dict( + name=dict( required=False, type='str'), - name=dict( + firewall_type=dict( required=False, type='str'), id=dict( @@ -204,7 +204,7 @@ def run_module(): resource_type='ibm_multi_vlan_firewall', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_network_gateway.py b/plugins/modules/ibm_network_gateway.py index 84ff99603..5b9864d46 100644 --- a/plugins/modules/ibm_network_gateway.py +++ b/plugins/modules/ibm_network_gateway.py @@ -18,32 +18,32 @@ - Create, update or destroy an IBM Cloud 'ibm_network_gateway' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - members: - description: - - (Required for new resource) The hardware members of this network Gateway - required: True - type: list - elements: dict ssh_key_ids: description: - None required: False type: list elements: int - post_install_script_uri: - description: - - None - required: False - type: str name: description: - (Required for new resource) The name of the gateway required: True type: str + members: + description: + - (Required for new resource) The hardware members of this network Gateway + required: True + type: list + elements: dict + post_install_script_uri: + description: + - None + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,16 +90,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('members', 'list'), ('name', 'str'), + ('members', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'members', 'ssh_key_ids', - 'post_install_script_uri', 'name', + 'members', + 'post_install_script_uri', ] # Params for Data source @@ -116,20 +116,20 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - members=dict( + ssh_key_ids=dict( required=False, elements='', type='list'), - ssh_key_ids=dict( + name=dict( + required=False, + type='str'), + members=dict( required=False, elements='', type='list'), post_install_script_uri=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_network_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_network_gateway_vlan_association.py b/plugins/modules/ibm_network_gateway_vlan_association.py index 52cb94cb6..e85d360c8 100644 --- a/plugins/modules/ibm_network_gateway_vlan_association.py +++ b/plugins/modules/ibm_network_gateway_vlan_association.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_network_gateway_vlan_association' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + gateway_id: + description: + - (Required for new resource) Gateway instance ID + required: True + type: int network_vlan_id: description: - (Required for new resource) The Identifier of the VLAN to be associated @@ -33,11 +38,6 @@ required: False type: bool default: True - gateway_id: - description: - - (Required for new resource) Gateway instance ID - required: True - type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,15 +84,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('network_vlan_id', 'int'), ('gateway_id', 'int'), + ('network_vlan_id', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'gateway_id', 'network_vlan_id', 'bypass', - 'gateway_id', ] # Params for Data source @@ -109,15 +109,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + gateway_id=dict( + required=False, + type='int'), network_vlan_id=dict( required=False, type='int'), bypass=dict( required=False, type='bool'), - gateway_id=dict( - required=False, - type='int'), id=dict( required=False, type='str'), @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_network_gateway_vlan_association', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_network_interface_sg_attachment.py b/plugins/modules/ibm_network_interface_sg_attachment.py index 167243038..2810d0e45 100644 --- a/plugins/modules/ibm_network_interface_sg_attachment.py +++ b/plugins/modules/ibm_network_interface_sg_attachment.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_network_interface_sg_attachment' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - security_group_id: - description: - - (Required for new resource) Security group ID - required: True - type: int network_interface_id: description: - (Required for new resource) Network interface ID @@ -38,6 +33,11 @@ required: False type: bool default: True + security_group_id: + description: + - (Required for new resource) Security group ID + required: True + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,15 +84,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('security_group_id', 'int'), ('network_interface_id', 'int'), + ('security_group_id', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'security_group_id', 'network_interface_id', 'soft_reboot', + 'security_group_id', ] # Params for Data source @@ -109,15 +109,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - security_group_id=dict( - required=False, - type='int'), network_interface_id=dict( required=False, type='int'), soft_reboot=dict( required=False, type='bool'), + security_group_id=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_network_interface_sg_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_network_public_ip.py b/plugins/modules/ibm_network_public_ip.py index 900deec31..0184e360d 100644 --- a/plugins/modules/ibm_network_public_ip.py +++ b/plugins/modules/ibm_network_public_ip.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_network_public_ip' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - routes_to: - description: - - (Required for new resource) Route info - required: True - type: str tags: description: - List of tags @@ -38,6 +33,11 @@ - Additional notes required: False type: str + routes_to: + description: + - (Required for new resource) Route info + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,9 +89,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'routes_to', 'tags', 'notes', + 'routes_to', ] # Params for Data source @@ -108,9 +108,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - routes_to=dict( - required=False, - type='str'), tags=dict( required=False, elements='', @@ -118,6 +115,9 @@ notes=dict( required=False, type='str'), + routes_to=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_network_public_ip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_network_vlan.py b/plugins/modules/ibm_network_vlan.py index 0ea799c3b..fe70d360a 100644 --- a/plugins/modules/ibm_network_vlan.py +++ b/plugins/modules/ibm_network_vlan.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_network_vlan' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,9 +112,9 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'number', 'router_hostname', + 'name', ] TL_CONFLICTS_MAP = { @@ -205,7 +205,7 @@ def run_module(): resource_type='ibm_network_vlan', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -214,7 +214,7 @@ def run_module(): resource_type='ibm_network_vlan', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_network_vlan_info.py b/plugins/modules/ibm_network_vlan_info.py index 3601b3d61..2a4f44119 100644 --- a/plugins/modules/ibm_network_vlan_info.py +++ b/plugins/modules/ibm_network_vlan_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_network_vlan' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: - description: - - None - required: False - type: str number: description: - None @@ -36,6 +31,11 @@ - None required: False type: str + name: + description: + - None + required: False + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -73,9 +73,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'number', 'router_hostname', + 'name', ] @@ -86,15 +86,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), number=dict( required=False, type='int'), router_hostname=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -129,7 +129,7 @@ def run_module(): resource_type='ibm_network_vlan', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_network_vlan_spanning.py b/plugins/modules/ibm_network_vlan_spanning.py index a0fb84568..cc308b868 100644 --- a/plugins/modules/ibm_network_vlan_spanning.py +++ b/plugins/modules/ibm_network_vlan_spanning.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_network_vlan_spanning' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -163,7 +163,7 @@ def run_module(): resource_type='ibm_network_vlan_spanning', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_ob_logging.py b/plugins/modules/ibm_ob_logging.py index 4d32172d6..71366487c 100644 --- a/plugins/modules/ibm_ob_logging.py +++ b/plugins/modules/ibm_ob_logging.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_ob_logging' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_ob_logging', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_ob_monitoring.py b/plugins/modules/ibm_ob_monitoring.py index f4e1deec6..5d966809a 100644 --- a/plugins/modules/ibm_ob_monitoring.py +++ b/plugins/modules/ibm_ob_monitoring.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_ob_monitoring' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_ob_monitoring', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_object_storage_account.py b/plugins/modules/ibm_object_storage_account.py index 220a3c83c..e5b6af7a1 100644 --- a/plugins/modules/ibm_object_storage_account.py +++ b/plugins/modules/ibm_object_storage_account.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_object_storage_account' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -173,7 +173,7 @@ def run_module(): resource_type='ibm_object_storage_account', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_org.py b/plugins/modules/ibm_org.py index 8d9b94816..748777fe7 100644 --- a/plugins/modules/ibm_org.py +++ b/plugins/modules/ibm_org.py @@ -18,10 +18,22 @@ - Create, update or destroy an IBM Cloud 'ibm_org' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + managers: + description: + - The IBMID of the users who will have manager role in this org, ex - user@example.com + required: False + type: list + elements: str + auditors: + description: + - The IBMID of the users who will have auditor role in this org, ex - user@example.com + required: False + type: list + elements: str users: description: - The IBMID of the users who will have user role in this org, ex - user@example.com @@ -50,18 +62,6 @@ required: False type: list elements: str - managers: - description: - - The IBMID of the users who will have manager role in this org, ex - user@example.com - required: False - type: list - elements: str - auditors: - description: - - The IBMID of the users who will have auditor role in this org, ex - user@example.com - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -113,13 +113,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'managers', + 'auditors', 'users', 'tags', 'name', 'org_quota_definition_guid', 'billing_managers', - 'managers', - 'auditors', ] # Params for Data source @@ -138,6 +138,14 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + managers=dict( + required=False, + elements='', + type='list'), + auditors=dict( + required=False, + elements='', + type='list'), users=dict( required=False, elements='', @@ -156,14 +164,6 @@ required=False, elements='', type='list'), - managers=dict( - required=False, - elements='', - type='list'), - auditors=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -229,7 +229,7 @@ def run_module(): resource_type='ibm_org', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -238,7 +238,7 @@ def run_module(): resource_type='ibm_org', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_org_info.py b/plugins/modules/ibm_org_info.py index e4046631a..196cef562 100644 --- a/plugins/modules/ibm_org_info.py +++ b/plugins/modules/ibm_org_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_org' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_org', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_org_quota_info.py b/plugins/modules/ibm_org_quota_info.py index 665ec29aa..0f627a4ef 100644 --- a/plugins/modules/ibm_org_quota_info.py +++ b/plugins/modules/ibm_org_quota_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_org_quota' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_org_quota', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_capture.py b/plugins/modules/ibm_pi_capture.py index 9540399ee..234d947df 100644 --- a/plugins/modules/ibm_pi_capture.py +++ b/plugins/modules/ibm_pi_capture.py @@ -18,26 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_capture' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pi_capture_name: - description: - - (Required for new resource) Name of the capture to create. Note : this must be unique - required: True - type: str pi_capture_destination: description: - (Required for new resource) Destination for the deployable image required: True type: str - pi_capture_volume_ids: - description: - - List of Data volume IDs - required: False - type: list - elements: str pi_capture_cloud_storage_access_key: description: - Name of Cloud Storage Access Key @@ -48,14 +37,19 @@ - Name of the Cloud Storage Secret Key required: False type: str + pi_capture_storage_image_path: + description: + - Cloud Storage Image Path (bucket-name [/folder/../..]) + required: False + type: str pi_cloud_instance_id: description: - (Required for new resource) Cloud Instance ID - This is the service_instance_id. required: True type: str - pi_instance_name: + pi_capture_name: description: - - (Required for new resource) Instance Name of the Power VM + - (Required for new resource) Name of the capture to create. Note : this must be unique required: True type: str pi_capture_cloud_storage_region: @@ -63,11 +57,17 @@ - List of Regions to use required: False type: str - pi_capture_storage_image_path: + pi_instance_name: description: - - Cloud Storage Image Path (bucket-name [/folder/../..]) - required: False + - (Required for new resource) Instance Name of the Power VM + required: True type: str + pi_capture_volume_ids: + description: + - List of Data volume IDs + required: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -110,23 +110,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_capture_name', 'str'), ('pi_capture_destination', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_capture_name', 'str'), ('pi_instance_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_capture_name', 'pi_capture_destination', - 'pi_capture_volume_ids', 'pi_capture_cloud_storage_access_key', 'pi_capture_cloud_storage_secret_key', + 'pi_capture_storage_image_path', 'pi_cloud_instance_id', - 'pi_instance_name', + 'pi_capture_name', 'pi_capture_cloud_storage_region', - 'pi_capture_storage_image_path', + 'pi_instance_name', + 'pi_capture_volume_ids', ] # Params for Data source @@ -143,34 +143,34 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_capture_name=dict( - required=False, - type='str'), pi_capture_destination=dict( required=False, type='str'), - pi_capture_volume_ids=dict( - required=False, - elements='', - type='list'), pi_capture_cloud_storage_access_key=dict( required=False, type='str'), pi_capture_cloud_storage_secret_key=dict( required=False, type='str'), + pi_capture_storage_image_path=dict( + required=False, + type='str'), pi_cloud_instance_id=dict( required=False, type='str'), - pi_instance_name=dict( + pi_capture_name=dict( required=False, type='str'), pi_capture_cloud_storage_region=dict( required=False, type='str'), - pi_capture_storage_image_path=dict( + pi_instance_name=dict( required=False, type='str'), + pi_capture_volume_ids=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -229,7 +229,7 @@ def run_module(): resource_type='ibm_pi_capture', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_catalog_images_info.py b/plugins/modules/ibm_pi_catalog_images_info.py index d01d2e914..05f23258f 100644 --- a/plugins/modules/ibm_pi_catalog_images_info.py +++ b/plugins/modules/ibm_pi_catalog_images_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_catalog_images' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -119,7 +119,7 @@ def run_module(): resource_type='ibm_pi_catalog_images', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_cloud_connection.py b/plugins/modules/ibm_pi_cloud_connection.py index 16275450c..a48fddd8f 100644 --- a/plugins/modules/ibm_pi_cloud_connection.py +++ b/plugins/modules/ibm_pi_cloud_connection.py @@ -18,33 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_cloud_connection' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pi_cloud_connection_global_routing: - description: - - Enable global routing for this cloud connection - required: False - type: bool - default: False - pi_cloud_connection_gre_cidr: - description: - - GRE network in CIDR notation - required: False - type: str - pi_cloud_connection_classic_enabled: - description: - - Enable classic endpoint destination - required: False - type: bool - default: False - pi_cloud_connection_transit_enabled: + pi_cloud_connection_speed: description: - - Enable transit gateway for this cloud connection - required: False - type: bool - default: False + - (Required for new resource) Speed of the cloud connection (speed in megabits per second) + required: True + type: int pi_cloud_connection_networks: description: - Set of Networks to attach to this cloud connection @@ -56,36 +38,54 @@ - GRE destination IP address required: False type: str - pi_cloud_connection_vpc_crns: - description: - - Set of VPCs to attach to this cloud connection - required: False - type: list - elements: str pi_cloud_instance_id: description: - (Required for new resource) PI cloud instance ID required: True type: str - pi_cloud_connection_speed: + pi_cloud_connection_name: description: - - (Required for new resource) Speed of the cloud connection (speed in megabits per second) + - (Required for new resource) Name of the cloud connection required: True - type: int + type: str + pi_cloud_connection_vpc_enabled: + description: + - Enable VPC for this cloud connection + required: False + type: bool + default: False + pi_cloud_connection_vpc_crns: + description: + - Set of VPCs to attach to this cloud connection + required: False + type: list + elements: str pi_cloud_connection_metered: description: - Enable metered for this cloud connection required: False type: bool default: False - pi_cloud_connection_name: + pi_cloud_connection_gre_cidr: description: - - (Required for new resource) Name of the cloud connection - required: True + - GRE network in CIDR notation + required: False type: str - pi_cloud_connection_vpc_enabled: + pi_cloud_connection_global_routing: description: - - Enable VPC for this cloud connection + - Enable global routing for this cloud connection + required: False + type: bool + default: False + pi_cloud_connection_classic_enabled: + description: + - Enable classic endpoint destination + required: False + type: bool + default: False + pi_cloud_connection_transit_enabled: + description: + - Enable transit gateway for this cloud connection required: False type: bool default: False @@ -131,36 +131,36 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_cloud_instance_id', 'str'), ('pi_cloud_connection_speed', 'int'), + ('pi_cloud_instance_id', 'str'), ('pi_cloud_connection_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_cloud_connection_global_routing', - 'pi_cloud_connection_gre_cidr', - 'pi_cloud_connection_classic_enabled', - 'pi_cloud_connection_transit_enabled', + 'pi_cloud_connection_speed', 'pi_cloud_connection_networks', 'pi_cloud_connection_gre_destination_address', - 'pi_cloud_connection_vpc_crns', 'pi_cloud_instance_id', - 'pi_cloud_connection_speed', - 'pi_cloud_connection_metered', 'pi_cloud_connection_name', 'pi_cloud_connection_vpc_enabled', + 'pi_cloud_connection_vpc_crns', + 'pi_cloud_connection_metered', + 'pi_cloud_connection_gre_cidr', + 'pi_cloud_connection_global_routing', + 'pi_cloud_connection_classic_enabled', + 'pi_cloud_connection_transit_enabled', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('pi_cloud_connection_name', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_cloud_connection_name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'pi_cloud_connection_name', 'pi_cloud_instance_id', + 'pi_cloud_connection_name', ] TL_CONFLICTS_MAP = { @@ -170,18 +170,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_cloud_connection_global_routing=dict( - required=False, - type='bool'), - pi_cloud_connection_gre_cidr=dict( - required=False, - type='str'), - pi_cloud_connection_classic_enabled=dict( - required=False, - type='bool'), - pi_cloud_connection_transit_enabled=dict( + pi_cloud_connection_speed=dict( required=False, - type='bool'), + type='int'), pi_cloud_connection_networks=dict( required=False, elements='', @@ -189,23 +180,32 @@ pi_cloud_connection_gre_destination_address=dict( required=False, type='str'), - pi_cloud_connection_vpc_crns=dict( - required=False, - elements='', - type='list'), pi_cloud_instance_id=dict( required=False, type='str'), - pi_cloud_connection_speed=dict( + pi_cloud_connection_name=dict( required=False, - type='int'), + type='str'), + pi_cloud_connection_vpc_enabled=dict( + required=False, + type='bool'), + pi_cloud_connection_vpc_crns=dict( + required=False, + elements='', + type='list'), pi_cloud_connection_metered=dict( required=False, type='bool'), - pi_cloud_connection_name=dict( + pi_cloud_connection_gre_cidr=dict( required=False, type='str'), - pi_cloud_connection_vpc_enabled=dict( + pi_cloud_connection_global_routing=dict( + required=False, + type='bool'), + pi_cloud_connection_classic_enabled=dict( + required=False, + type='bool'), + pi_cloud_connection_transit_enabled=dict( required=False, type='bool'), id=dict( @@ -266,7 +266,7 @@ def run_module(): resource_type='ibm_pi_cloud_connection', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -275,7 +275,7 @@ def run_module(): resource_type='ibm_pi_cloud_connection', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_cloud_connection_info.py b/plugins/modules/ibm_pi_cloud_connection_info.py index 4351ae6f4..b5462d311 100644 --- a/plugins/modules/ibm_pi_cloud_connection_info.py +++ b/plugins/modules/ibm_pi_cloud_connection_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_pi_cloud_connection' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pi_cloud_connection_name: + pi_cloud_instance_id: description: - - Cloud Connection Name to be used + - None required: True type: str - pi_cloud_instance_id: + pi_cloud_connection_name: description: - - None + - Cloud Connection Name to be used required: True type: str zone: @@ -60,14 +60,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_cloud_connection_name', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_cloud_connection_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_cloud_connection_name', 'pi_cloud_instance_id', + 'pi_cloud_connection_name', ] @@ -78,10 +78,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_cloud_connection_name=dict( + pi_cloud_instance_id=dict( required=True, type='str'), - pi_cloud_instance_id=dict( + pi_cloud_connection_name=dict( required=True, type='str'), zone=dict( @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_cloud_connection', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_cloud_connection_network_attach.py b/plugins/modules/ibm_pi_cloud_connection_network_attach.py index 2225998cb..c3728e4a0 100644 --- a/plugins/modules/ibm_pi_cloud_connection_network_attach.py +++ b/plugins/modules/ibm_pi_cloud_connection_network_attach.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_cloud_connection_network_attach' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -172,7 +172,7 @@ def run_module(): resource_type='ibm_pi_cloud_connection_network_attach', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_cloud_connections_info.py b/plugins/modules/ibm_pi_cloud_connections_info.py index 014f32433..d787dd732 100644 --- a/plugins/modules/ibm_pi_cloud_connections_info.py +++ b/plugins/modules/ibm_pi_cloud_connections_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_cloud_connections' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_cloud_connections', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_cloud_instance_info.py b/plugins/modules/ibm_pi_cloud_instance_info.py index 7a7542df2..2851472d8 100644 --- a/plugins/modules/ibm_pi_cloud_instance_info.py +++ b/plugins/modules/ibm_pi_cloud_instance_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_cloud_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_cloud_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_console_language.py b/plugins/modules/ibm_pi_console_language.py index caf857778..7bcdd8665 100644 --- a/plugins/modules/ibm_pi_console_language.py +++ b/plugins/modules/ibm_pi_console_language.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_console_language' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pi_cloud_instance_id: - description: - - (Required for new resource) PI cloud instance ID - required: True - type: str pi_instance_name: description: - (Required for new resource) The unique identifier or name of the instance @@ -37,6 +32,11 @@ - (Required for new resource) Language code required: True type: str + pi_cloud_instance_id: + description: + - (Required for new resource) PI cloud instance ID + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -79,16 +79,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_cloud_instance_id', 'str'), ('pi_instance_name', 'str'), ('pi_language_code', 'str'), + ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_cloud_instance_id', 'pi_instance_name', 'pi_language_code', + 'pi_cloud_instance_id', ] # Params for Data source @@ -105,15 +105,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_cloud_instance_id=dict( - required=False, - type='str'), pi_instance_name=dict( required=False, type='str'), pi_language_code=dict( required=False, type='str'), + pi_cloud_instance_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -172,7 +172,7 @@ def run_module(): resource_type='ibm_pi_console_language', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_console_languages_info.py b/plugins/modules/ibm_pi_console_languages_info.py index 3def73371..d6ae128ad 100644 --- a/plugins/modules/ibm_pi_console_languages_info.py +++ b/plugins/modules/ibm_pi_console_languages_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_console_languages' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_console_languages', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_dhcp.py b/plugins/modules/ibm_pi_dhcp.py index 90c679fe6..991f3f3f9 100644 --- a/plugins/modules/ibm_pi_dhcp.py +++ b/plugins/modules/ibm_pi_dhcp.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_dhcp' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pi_cloud_connection_id: - description: - - Optional cloud connection uuid to connect with DHCP private network - required: False - type: str - pi_dns_server: - description: - - Optional DNS Server for DHCP service - required: False - type: str pi_dhcp_name: description: - Optional name of DHCP Service (will be prefixed by DHCP identifier) @@ -43,16 +33,26 @@ required: False type: bool default: True - pi_cloud_instance_id: + pi_dns_server: description: - - (Required for new resource) PI cloud instance ID - required: True + - Optional DNS Server for DHCP service + required: False type: str pi_cidr: description: - Optional cidr for DHCP private network required: False type: str + pi_cloud_connection_id: + description: + - Optional cloud connection uuid to connect with DHCP private network + required: False + type: str + pi_cloud_instance_id: + description: + - (Required for new resource) PI cloud instance ID + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -100,12 +100,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_cloud_connection_id', - 'pi_dns_server', 'pi_dhcp_name', 'pi_dhcp_snat_enabled', - 'pi_cloud_instance_id', + 'pi_dns_server', 'pi_cidr', + 'pi_cloud_connection_id', + 'pi_cloud_instance_id', ] # Params for Data source @@ -126,24 +126,24 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_cloud_connection_id=dict( - required=False, - type='str'), - pi_dns_server=dict( - required=False, - type='str'), pi_dhcp_name=dict( required=False, type='str'), pi_dhcp_snat_enabled=dict( required=False, type='bool'), - pi_cloud_instance_id=dict( + pi_dns_server=dict( required=False, type='str'), pi_cidr=dict( required=False, type='str'), + pi_cloud_connection_id=dict( + required=False, + type='str'), + pi_cloud_instance_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -202,7 +202,7 @@ def run_module(): resource_type='ibm_pi_dhcp', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -211,7 +211,7 @@ def run_module(): resource_type='ibm_pi_dhcp', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_dhcp_info.py b/plugins/modules/ibm_pi_dhcp_info.py index 297ab3097..3f5f1bb46 100644 --- a/plugins/modules/ibm_pi_dhcp_info.py +++ b/plugins/modules/ibm_pi_dhcp_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_dhcp' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_dhcp', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_dhcps_info.py b/plugins/modules/ibm_pi_dhcps_info.py index e57222799..c8cb31649 100644 --- a/plugins/modules/ibm_pi_dhcps_info.py +++ b/plugins/modules/ibm_pi_dhcps_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_dhcps' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_dhcps', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_ike_policy.py b/plugins/modules/ibm_pi_ike_policy.py index 8feea09b4..6938c73ac 100644 --- a/plugins/modules/ibm_pi_ike_policy.py +++ b/plugins/modules/ibm_pi_ike_policy.py @@ -18,20 +18,31 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_ike_policy' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pi_cloud_instance_id: - description: - - (Required for new resource) PI cloud instance ID - required: True - type: str pi_policy_key_lifetime: description: - (Required for new resource) Policy key lifetime required: True type: int + pi_policy_preshared_key: + description: + - (Required for new resource) Preshared key used in this IKE Policy (length of preshared key must be even) + required: True + type: str + pi_policy_authentication: + description: + - Authentication for the IKE Policy + required: False + type: str + default: none + pi_cloud_instance_id: + description: + - (Required for new resource) PI cloud instance ID + required: True + type: str pi_policy_name: description: - (Required for new resource) Name of the IKE Policy @@ -52,17 +63,6 @@ - (Required for new resource) Version of the IKE Policy required: True type: int - pi_policy_preshared_key: - description: - - (Required for new resource) Preshared key used in this IKE Policy (length of preshared key must be even) - required: True - type: str - pi_policy_authentication: - description: - - Authentication for the IKE Policy - required: False - type: str - default: none id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -105,25 +105,25 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_cloud_instance_id', 'str'), ('pi_policy_key_lifetime', 'int'), + ('pi_policy_preshared_key', 'str'), + ('pi_cloud_instance_id', 'str'), ('pi_policy_name', 'str'), ('pi_policy_dh_group', 'int'), ('pi_policy_encryption', 'str'), ('pi_policy_version', 'int'), - ('pi_policy_preshared_key', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_cloud_instance_id', 'pi_policy_key_lifetime', + 'pi_policy_preshared_key', + 'pi_policy_authentication', + 'pi_cloud_instance_id', 'pi_policy_name', 'pi_policy_dh_group', 'pi_policy_encryption', 'pi_policy_version', - 'pi_policy_preshared_key', - 'pi_policy_authentication', ] # Params for Data source @@ -140,12 +140,18 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_cloud_instance_id=dict( - required=False, - type='str'), pi_policy_key_lifetime=dict( required=False, type='int'), + pi_policy_preshared_key=dict( + required=False, + type='str'), + pi_policy_authentication=dict( + required=False, + type='str'), + pi_cloud_instance_id=dict( + required=False, + type='str'), pi_policy_name=dict( required=False, type='str'), @@ -158,12 +164,6 @@ pi_policy_version=dict( required=False, type='int'), - pi_policy_preshared_key=dict( - required=False, - type='str'), - pi_policy_authentication=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -222,7 +222,7 @@ def run_module(): resource_type='ibm_pi_ike_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_image.py b/plugins/modules/ibm_pi_image.py index 1330f1918..30a1baa7c 100644 --- a/plugins/modules/ibm_pi_image.py +++ b/plugins/modules/ibm_pi_image.py @@ -18,43 +18,38 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_image' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pi_affinity_volume: - description: - - Volume (ID or Name) to base storage affinity policy against; required if requesting affinity and pi_affinity_instance is not provided - required: False - type: str pi_affinity_instance: description: - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting storage affinity and pi_affinity_volume is not provided required: False type: str - pi_image_id: + pi_image_bucket_region: description: - - Instance image id + - Cloud Object Storage region required: False type: str - pi_image_bucket_name: + pi_image_bucket_file_name: description: - - Cloud Object Storage bucket name; bucket-name[/optional/folder] + - Cloud Object Storage image filename required: False type: str - pi_image_bucket_region: + pi_image_storage_type: description: - - Cloud Object Storage region + - Type of storage required: False type: str - pi_image_access_key: + pi_affinity_policy: description: - - Cloud Object Storage access key; required for buckets with private access + - Affinity policy for image; ignored if pi_image_storage_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified required: False type: str - pi_image_storage_type: + pi_image_bucket_name: description: - - Type of storage + - Cloud Object Storage bucket name; bucket-name[/optional/folder] required: False type: str pi_image_storage_pool: @@ -62,19 +57,40 @@ - Storage pool where the image will be loaded, if provided then pi_image_storage_type and pi_affinity_policy will be ignored required: False type: str + pi_affinity_volume: + description: + - Volume (ID or Name) to base storage affinity policy against; required if requesting affinity and pi_affinity_instance is not provided + required: False + type: str + pi_cloud_instance_id: + description: + - (Required for new resource) PI cloud instance ID + required: True + type: str + pi_image_name: + description: + - (Required for new resource) Image name + required: True + type: str + pi_image_id: + description: + - Instance image id + required: False + type: str pi_image_secret_key: description: - Cloud Object Storage secret key; required for buckets with private access required: False type: str - pi_image_bucket_file_name: + pi_image_bucket_access: description: - - Cloud Object Storage image filename + - Indicates if the bucket has public or private access required: False type: str - pi_affinity_policy: + default: public + pi_image_access_key: description: - - Affinity policy for image; ignored if pi_image_storage_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified + - Cloud Object Storage access key; required for buckets with private access required: False type: str pi_anti_affinity_volumes: @@ -89,22 +105,6 @@ required: False type: list elements: str - pi_cloud_instance_id: - description: - - (Required for new resource) PI cloud instance ID - required: True - type: str - pi_image_name: - description: - - (Required for new resource) Image name - required: True - type: str - pi_image_bucket_access: - description: - - Indicates if the bucket has public or private access - required: False - type: str - default: public id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -153,22 +153,22 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_affinity_volume', 'pi_affinity_instance', - 'pi_image_id', - 'pi_image_bucket_name', 'pi_image_bucket_region', - 'pi_image_access_key', - 'pi_image_storage_type', - 'pi_image_storage_pool', - 'pi_image_secret_key', 'pi_image_bucket_file_name', + 'pi_image_storage_type', 'pi_affinity_policy', - 'pi_anti_affinity_volumes', - 'pi_anti_affinity_instances', + 'pi_image_bucket_name', + 'pi_image_storage_pool', + 'pi_affinity_volume', 'pi_cloud_instance_id', 'pi_image_name', + 'pi_image_id', + 'pi_image_secret_key', 'pi_image_bucket_access', + 'pi_image_access_key', + 'pi_anti_affinity_volumes', + 'pi_anti_affinity_instances', ] # Params for Data source @@ -183,52 +183,61 @@ ] TL_CONFLICTS_MAP = { - 'pi_affinity_volume': ['pi_affinity_instance'], 'pi_affinity_instance': ['pi_affinity_volume'], - 'pi_image_id': ['pi_image_bucket_name'], - 'pi_image_bucket_name': ['pi_image_id'], 'pi_image_bucket_region': ['pi_image_id'], 'pi_image_bucket_file_name': ['pi_image_id'], + 'pi_image_bucket_name': ['pi_image_id'], + 'pi_affinity_volume': ['pi_affinity_instance'], + 'pi_image_id': ['pi_image_bucket_name'], + 'pi_image_bucket_access': ['pi_image_id'], 'pi_anti_affinity_volumes': ['pi_anti_affinity_instances'], 'pi_anti_affinity_instances': ['pi_anti_affinity_volumes'], - 'pi_image_bucket_access': ['pi_image_id'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_affinity_volume=dict( + pi_affinity_instance=dict( required=False, type='str'), - pi_affinity_instance=dict( + pi_image_bucket_region=dict( required=False, type='str'), - pi_image_id=dict( + pi_image_bucket_file_name=dict( + required=False, + type='str'), + pi_image_storage_type=dict( + required=False, + type='str'), + pi_affinity_policy=dict( required=False, type='str'), pi_image_bucket_name=dict( required=False, type='str'), - pi_image_bucket_region=dict( + pi_image_storage_pool=dict( required=False, type='str'), - pi_image_access_key=dict( + pi_affinity_volume=dict( required=False, type='str'), - pi_image_storage_type=dict( + pi_cloud_instance_id=dict( required=False, type='str'), - pi_image_storage_pool=dict( + pi_image_name=dict( + required=False, + type='str'), + pi_image_id=dict( required=False, type='str'), pi_image_secret_key=dict( required=False, type='str'), - pi_image_bucket_file_name=dict( + pi_image_bucket_access=dict( required=False, type='str'), - pi_affinity_policy=dict( + pi_image_access_key=dict( required=False, type='str'), pi_anti_affinity_volumes=dict( @@ -239,15 +248,6 @@ required=False, elements='', type='list'), - pi_cloud_instance_id=dict( - required=False, - type='str'), - pi_image_name=dict( - required=False, - type='str'), - pi_image_bucket_access=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -306,7 +306,7 @@ def run_module(): resource_type='ibm_pi_image', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -315,7 +315,7 @@ def run_module(): resource_type='ibm_pi_image', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_image_export.py b/plugins/modules/ibm_pi_image_export.py index 9958389d1..890469c95 100644 --- a/plugins/modules/ibm_pi_image_export.py +++ b/plugins/modules/ibm_pi_image_export.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_image_export' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + pi_cloud_instance_id: + description: + - (Required for new resource) PI cloud instance ID + required: True + type: str pi_image_id: description: - (Required for new resource) Instance image id @@ -47,11 +52,6 @@ - (Required for new resource) Cloud Object Storage region required: True type: str - pi_cloud_instance_id: - description: - - (Required for new resource) PI cloud instance ID - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,22 +94,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('pi_cloud_instance_id', 'str'), ('pi_image_id', 'str'), ('pi_image_bucket_name', 'str'), ('pi_image_access_key', 'str'), ('pi_image_secret_key', 'str'), ('pi_image_bucket_region', 'str'), - ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'pi_cloud_instance_id', 'pi_image_id', 'pi_image_bucket_name', 'pi_image_access_key', 'pi_image_secret_key', 'pi_image_bucket_region', - 'pi_cloud_instance_id', ] # Params for Data source @@ -126,6 +126,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + pi_cloud_instance_id=dict( + required=False, + type='str'), pi_image_id=dict( required=False, type='str'), @@ -141,9 +144,6 @@ pi_image_bucket_region=dict( required=False, type='str'), - pi_cloud_instance_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -202,7 +202,7 @@ def run_module(): resource_type='ibm_pi_image_export', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_image_info.py b/plugins/modules/ibm_pi_image_info.py index c6f59f610..0c82f1dda 100644 --- a/plugins/modules/ibm_pi_image_info.py +++ b/plugins/modules/ibm_pi_image_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_image' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_image', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_images_info.py b/plugins/modules/ibm_pi_images_info.py index 6cf413b7f..5e2831f19 100644 --- a/plugins/modules/ibm_pi_images_info.py +++ b/plugins/modules/ibm_pi_images_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_images' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_images', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_instance.py b/plugins/modules/ibm_pi_instance.py index 2c8006b4c..67075f022 100644 --- a/plugins/modules/ibm_pi_instance.py +++ b/plugins/modules/ibm_pi_instance.py @@ -18,183 +18,183 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pi_processors: - description: - - Processors count - required: False - type: float - pi_proc_type: - description: - - Instance processor type - required: False - type: str - pi_replicants: - description: - - PI Instance replicas count - required: False - type: int - default: 1 - pi_cloud_instance_id: + pi_image_id: description: - - (Required for new resource) This is the Power Instance id that is assigned to the account + - (Required for new resource) PI instance image id required: True type: str - pi_storage_pool: + pi_pin_policy: description: - - Storage Pool for server deployment; if provided then pi_affinity_policy and pi_storage_type will be ignored + - Pin Policy of the instance required: False type: str - pi_placement_group_id: + default: none + pi_deployment_type: description: - - Placement group ID + - Custom Deployment Type Information required: False type: str - pi_sys_type: + pi_migratable: description: - - PI Instance system type + - set to true to enable migration of the PI instance required: False - type: str - pi_replication_policy: + type: bool + pi_user_data: description: - - Replication policy for the PI Instance + - Base64 encoded data to be passed in for invoking a cloud init script required: False type: str - default: none - pi_pin_policy: + pi_key_pair_name: description: - - Pin Policy of the instance + - SSH key name required: False type: str - default: none - pi_image_id: - description: - - (Required for new resource) PI instance image id - required: True - type: str pi_memory: description: - Memory size required: False type: float - pi_sap_profile_id: + pi_proc_type: description: - - SAP Profile ID for the amount of cores and memory + - Instance processor type required: False type: str - pi_storage_type: + pi_volume_ids: description: - - Storage type for server deployment + - List of PI volumes required: False - type: str - pi_affinity_volume: + type: list + elements: str + pi_anti_affinity_volumes: description: - - Volume (ID or Name) to base storage affinity policy against; required if requesting affinity and pi_affinity_instance is not provided + - List of volumes to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided required: False - type: str - pi_deployment_type: + type: list + elements: str + pi_anti_affinity_instances: description: - - Custom Deployment Type Information + - List of pvmInstances to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided required: False - type: str - pi_replication_scheme: + type: list + elements: str + pi_storage_pool_affinity: description: - - Replication scheme + - Indicates if all volumes attached to the server must reside in the same storage pool + required: False + type: bool + default: True + pi_license_repository_capacity: + description: + - The VTL license repository capacity TB value + required: False + type: int + pi_placement_group_id: + description: + - Placement group ID required: False type: str - default: suffix + pi_replicants: + description: + - PI Instance replicas count + required: False + type: int + default: 1 pi_virtual_cores_assigned: description: - Virtual Cores Assigned to the PVMInstance required: False type: int - pi_affinity_policy: + pi_cloud_instance_id: description: - - Affinity policy for pvm instance being created; ignored if pi_storage_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified - required: False + - (Required for new resource) This is the Power Instance id that is assigned to the account + required: True type: str - pi_affinity_instance: + pi_sap_profile_id: description: - - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting storage affinity and pi_affinity_volume is not provided + - SAP Profile ID for the amount of cores and memory required: False type: str - pi_network: + pi_sap_deployment_type: description: - - (Required for new resource) List of one or more networks to attach to the instance - required: True - type: list - elements: dict - pi_storage_connection: + - Custom SAP Deployment Type Information + required: False + type: str + pi_health_status: description: - - Storage Connectivity Group for server deployment + - Allow the user to set the status of the lpar so that they can connect to it faster required: False type: str + default: OK + pi_processors: + description: + - Processors count + required: False + type: float pi_instance_name: description: - (Required for new resource) PI Instance name required: True type: str - pi_health_status: + pi_storage_type: description: - - Allow the user to set the status of the lpar so that they can connect to it faster + - Storage type for server deployment required: False type: str - default: OK - pi_license_repository_capacity: + pi_affinity_volume: description: - - The VTL license repository capacity TB value + - Volume (ID or Name) to base storage affinity policy against; required if requesting affinity and pi_affinity_instance is not provided required: False - type: int - pi_anti_affinity_instances: + type: str + pi_network: description: - - List of pvmInstances to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided - required: False + - (Required for new resource) List of one or more networks to attach to the instance + required: True type: list - elements: str - pi_key_pair_name: + elements: dict + pi_shared_processor_pool: description: - - SSH key name + - Shared Processor Pool the instance is deployed on required: False type: str - pi_migratable: + pi_replication_scheme: description: - - set to true to enable migration of the PI instance + - Replication scheme required: False - type: bool - pi_volume_ids: + type: str + default: suffix + pi_storage_pool: description: - - List of PI volumes + - Storage Pool for server deployment; if provided then pi_affinity_policy and pi_storage_type will be ignored required: False - type: list - elements: str - pi_anti_affinity_volumes: + type: str + pi_affinity_instance: description: - - List of volumes to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided + - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting storage affinity and pi_affinity_volume is not provided required: False - type: list - elements: str - pi_storage_pool_affinity: + type: str + pi_storage_connection: description: - - Indicates if all volumes attached to the server must reside in the same storage pool + - Storage Connectivity Group for server deployment required: False - type: bool - default: True - pi_sap_deployment_type: + type: str + pi_replication_policy: description: - - Custom SAP Deployment Type Information + - Replication policy for the PI Instance required: False type: str - pi_user_data: + default: none + pi_affinity_policy: description: - - Base64 encoded data to be passed in for invoking a cloud init script + - Affinity policy for pvm instance being created; ignored if pi_storage_pool provided; for policy affinity requires one of pi_affinity_instance or pi_affinity_volume to be specified; for policy anti-affinity requires one of pi_anti_affinity_instances or pi_anti_affinity_volumes to be specified required: False type: str - pi_shared_processor_pool: + pi_sys_type: description: - - Shared Processor Pool the instance is deployed on + - PI Instance system type required: False type: str id: @@ -239,177 +239,177 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_cloud_instance_id', 'str'), ('pi_image_id', 'str'), - ('pi_network', 'list'), + ('pi_cloud_instance_id', 'str'), ('pi_instance_name', 'str'), + ('pi_network', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_processors', + 'pi_image_id', + 'pi_pin_policy', + 'pi_deployment_type', + 'pi_migratable', + 'pi_user_data', + 'pi_key_pair_name', + 'pi_memory', 'pi_proc_type', + 'pi_volume_ids', + 'pi_anti_affinity_volumes', + 'pi_anti_affinity_instances', + 'pi_storage_pool_affinity', + 'pi_license_repository_capacity', + 'pi_placement_group_id', 'pi_replicants', + 'pi_virtual_cores_assigned', 'pi_cloud_instance_id', - 'pi_storage_pool', - 'pi_placement_group_id', - 'pi_sys_type', - 'pi_replication_policy', - 'pi_pin_policy', - 'pi_image_id', - 'pi_memory', 'pi_sap_profile_id', + 'pi_sap_deployment_type', + 'pi_health_status', + 'pi_processors', + 'pi_instance_name', 'pi_storage_type', 'pi_affinity_volume', - 'pi_deployment_type', + 'pi_network', + 'pi_shared_processor_pool', 'pi_replication_scheme', - 'pi_virtual_cores_assigned', - 'pi_affinity_policy', + 'pi_storage_pool', 'pi_affinity_instance', - 'pi_network', 'pi_storage_connection', - 'pi_instance_name', - 'pi_health_status', - 'pi_license_repository_capacity', - 'pi_anti_affinity_instances', - 'pi_key_pair_name', - 'pi_migratable', - 'pi_volume_ids', - 'pi_anti_affinity_volumes', - 'pi_storage_pool_affinity', - 'pi_sap_deployment_type', - 'pi_user_data', - 'pi_shared_processor_pool', + 'pi_replication_policy', + 'pi_affinity_policy', + 'pi_sys_type', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('pi_cloud_instance_id', 'str'), ('pi_instance_name', 'str'), + ('pi_cloud_instance_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'pi_cloud_instance_id', 'pi_instance_name', + 'pi_cloud_instance_id', ] TL_CONFLICTS_MAP = { - 'pi_processors': ['pi_sap_profile_id'], - 'pi_proc_type': ['pi_sap_profile_id'], 'pi_memory': ['pi_sap_profile_id'], + 'pi_proc_type': ['pi_sap_profile_id'], + 'pi_anti_affinity_volumes': ['pi_anti_affinity_instances'], + 'pi_anti_affinity_instances': ['pi_anti_affinity_volumes'], 'pi_sap_profile_id': ['pi_processors', 'pi_memory', 'pi_proc_type'], + 'pi_processors': ['pi_sap_profile_id'], 'pi_affinity_volume': ['pi_affinity_instance'], - 'pi_affinity_instance': ['pi_affinity_volume'], - 'pi_anti_affinity_instances': ['pi_anti_affinity_volumes'], - 'pi_anti_affinity_volumes': ['pi_anti_affinity_instances'], 'pi_shared_processor_pool': ['pi_sap_profile_id'], + 'pi_affinity_instance': ['pi_affinity_volume'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_processors=dict( - required=False, - type='float'), - pi_proc_type=dict( - required=False, - type='str'), - pi_replicants=dict( - required=False, - type='int'), - pi_cloud_instance_id=dict( - required=False, - type='str'), - pi_storage_pool=dict( + pi_image_id=dict( required=False, type='str'), - pi_placement_group_id=dict( + pi_pin_policy=dict( required=False, type='str'), - pi_sys_type=dict( + pi_deployment_type=dict( required=False, type='str'), - pi_replication_policy=dict( + pi_migratable=dict( required=False, - type='str'), - pi_pin_policy=dict( + type='bool'), + pi_user_data=dict( required=False, type='str'), - pi_image_id=dict( + pi_key_pair_name=dict( required=False, type='str'), pi_memory=dict( required=False, type='float'), - pi_sap_profile_id=dict( + pi_proc_type=dict( required=False, type='str'), - pi_storage_type=dict( + pi_volume_ids=dict( required=False, - type='str'), - pi_affinity_volume=dict( + elements='', + type='list'), + pi_anti_affinity_volumes=dict( required=False, - type='str'), - pi_deployment_type=dict( + elements='', + type='list'), + pi_anti_affinity_instances=dict( required=False, - type='str'), - pi_replication_scheme=dict( + elements='', + type='list'), + pi_storage_pool_affinity=dict( + required=False, + type='bool'), + pi_license_repository_capacity=dict( + required=False, + type='int'), + pi_placement_group_id=dict( required=False, type='str'), + pi_replicants=dict( + required=False, + type='int'), pi_virtual_cores_assigned=dict( required=False, type='int'), - pi_affinity_policy=dict( + pi_cloud_instance_id=dict( required=False, type='str'), - pi_affinity_instance=dict( + pi_sap_profile_id=dict( required=False, type='str'), - pi_network=dict( + pi_sap_deployment_type=dict( required=False, - elements='', - type='list'), - pi_storage_connection=dict( + type='str'), + pi_health_status=dict( required=False, type='str'), + pi_processors=dict( + required=False, + type='float'), pi_instance_name=dict( required=False, type='str'), - pi_health_status=dict( + pi_storage_type=dict( required=False, type='str'), - pi_license_repository_capacity=dict( + pi_affinity_volume=dict( required=False, - type='int'), - pi_anti_affinity_instances=dict( + type='str'), + pi_network=dict( required=False, elements='', type='list'), - pi_key_pair_name=dict( + pi_shared_processor_pool=dict( required=False, type='str'), - pi_migratable=dict( + pi_replication_scheme=dict( required=False, - type='bool'), - pi_volume_ids=dict( + type='str'), + pi_storage_pool=dict( required=False, - elements='', - type='list'), - pi_anti_affinity_volumes=dict( + type='str'), + pi_affinity_instance=dict( required=False, - elements='', - type='list'), - pi_storage_pool_affinity=dict( + type='str'), + pi_storage_connection=dict( required=False, - type='bool'), - pi_sap_deployment_type=dict( + type='str'), + pi_replication_policy=dict( required=False, type='str'), - pi_user_data=dict( + pi_affinity_policy=dict( required=False, type='str'), - pi_shared_processor_pool=dict( + pi_sys_type=dict( required=False, type='str'), id=dict( @@ -470,7 +470,7 @@ def run_module(): resource_type='ibm_pi_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -479,7 +479,7 @@ def run_module(): resource_type='ibm_pi_instance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_instance_action.py b/plugins/modules/ibm_pi_instance_action.py index 554a2062d..c8cbd17bf 100644 --- a/plugins/modules/ibm_pi_instance_action.py +++ b/plugins/modules/ibm_pi_instance_action.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_instance_action' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -182,7 +182,7 @@ def run_module(): resource_type='ibm_pi_instance_action', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_instance_info.py b/plugins/modules/ibm_pi_instance_info.py index 7c0cbd844..a41c3957a 100644 --- a/plugins/modules/ibm_pi_instance_info.py +++ b/plugins/modules/ibm_pi_instance_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_pi_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pi_cloud_instance_id: + pi_instance_name: description: - - None + - Server Name to be used for pvminstances required: True type: str - pi_instance_name: + pi_cloud_instance_id: description: - - Server Name to be used for pvminstances + - None required: True type: str zone: @@ -60,14 +60,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_cloud_instance_id', 'str'), ('pi_instance_name', 'str'), + ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_cloud_instance_id', 'pi_instance_name', + 'pi_cloud_instance_id', ] @@ -78,10 +78,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_cloud_instance_id=dict( + pi_instance_name=dict( required=True, type='str'), - pi_instance_name=dict( + pi_cloud_instance_id=dict( required=True, type='str'), zone=dict( @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_instance_ip_info.py b/plugins/modules/ibm_pi_instance_ip_info.py index 10b7d732a..285c9f7fa 100644 --- a/plugins/modules/ibm_pi_instance_ip_info.py +++ b/plugins/modules/ibm_pi_instance_ip_info.py @@ -17,11 +17,11 @@ description: - Retrieve an IBM Cloud 'ibm_pi_instance_ip' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pi_network_name: + pi_cloud_instance_id: description: - None required: True @@ -31,7 +31,7 @@ - Server Name to be used for pvminstances required: True type: str - pi_cloud_instance_id: + pi_network_name: description: - None required: True @@ -65,16 +65,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_network_name', 'str'), - ('pi_instance_name', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_instance_name', 'str'), + ('pi_network_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_network_name', - 'pi_instance_name', 'pi_cloud_instance_id', + 'pi_instance_name', + 'pi_network_name', ] @@ -85,13 +85,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_network_name=dict( + pi_cloud_instance_id=dict( required=True, type='str'), pi_instance_name=dict( required=True, type='str'), - pi_cloud_instance_id=dict( + pi_network_name=dict( required=True, type='str'), zone=dict( @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_pi_instance_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_instance_snapshots_info.py b/plugins/modules/ibm_pi_instance_snapshots_info.py index a12aada40..18d97b90b 100644 --- a/plugins/modules/ibm_pi_instance_snapshots_info.py +++ b/plugins/modules/ibm_pi_instance_snapshots_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_instance_snapshots' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_instance_snapshots', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_instance_volumes_info.py b/plugins/modules/ibm_pi_instance_volumes_info.py index d557a7cea..17a2432d8 100644 --- a/plugins/modules/ibm_pi_instance_volumes_info.py +++ b/plugins/modules/ibm_pi_instance_volumes_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_instance_volumes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_instance_volumes', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_instances_info.py b/plugins/modules/ibm_pi_instances_info.py index 2d5b412ac..60e081674 100644 --- a/plugins/modules/ibm_pi_instances_info.py +++ b/plugins/modules/ibm_pi_instances_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_instances' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_instances', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_ipsec_policy.py b/plugins/modules/ibm_pi_ipsec_policy.py index c2812c4e0..f0e1da4a1 100644 --- a/plugins/modules/ibm_pi_ipsec_policy.py +++ b/plugins/modules/ibm_pi_ipsec_policy.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_ipsec_policy' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pi_policy_pfs: - description: - - (Required for new resource) Perfect Forward Secrecy - required: True - type: bool pi_policy_authentication: description: - Authentication for the IPSec Policy @@ -58,6 +53,11 @@ - (Required for new resource) Policy key lifetime required: True type: int + pi_policy_pfs: + description: + - (Required for new resource) Perfect Forward Secrecy + required: True + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -100,23 +100,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_policy_pfs', 'bool'), ('pi_cloud_instance_id', 'str'), ('pi_policy_name', 'str'), ('pi_policy_dh_group', 'int'), ('pi_policy_encryption', 'str'), ('pi_policy_key_lifetime', 'int'), + ('pi_policy_pfs', 'bool'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_policy_pfs', 'pi_policy_authentication', 'pi_cloud_instance_id', 'pi_policy_name', 'pi_policy_dh_group', 'pi_policy_encryption', 'pi_policy_key_lifetime', + 'pi_policy_pfs', ] # Params for Data source @@ -133,9 +133,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_policy_pfs=dict( - required=False, - type='bool'), pi_policy_authentication=dict( required=False, type='str'), @@ -154,6 +151,9 @@ pi_policy_key_lifetime=dict( required=False, type='int'), + pi_policy_pfs=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -212,7 +212,7 @@ def run_module(): resource_type='ibm_pi_ipsec_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_key.py b/plugins/modules/ibm_pi_key.py index 749500fc2..692c573a3 100644 --- a/plugins/modules/ibm_pi_key.py +++ b/plugins/modules/ibm_pi_key.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + pi_ssh_key: + description: + - (Required for new resource) SSH RSA key + required: True + type: str pi_cloud_instance_id: description: - (Required for new resource) PI cloud instance ID @@ -32,11 +37,6 @@ - (Required for new resource) User defined name for the SSH key required: True type: str - pi_ssh_key: - description: - - (Required for new resource) SSH RSA key - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -79,16 +79,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('pi_ssh_key', 'str'), ('pi_cloud_instance_id', 'str'), ('pi_key_name', 'str'), - ('pi_ssh_key', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'pi_ssh_key', 'pi_cloud_instance_id', 'pi_key_name', - 'pi_ssh_key', ] # Params for Data source @@ -109,13 +109,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_cloud_instance_id=dict( + pi_ssh_key=dict( required=False, type='str'), - pi_key_name=dict( + pi_cloud_instance_id=dict( required=False, type='str'), - pi_ssh_key=dict( + pi_key_name=dict( required=False, type='str'), id=dict( @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_pi_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_pi_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_key_info.py b/plugins/modules/ibm_pi_key_info.py index c77cd40c4..b6c6c495c 100644 --- a/plugins/modules/ibm_pi_key_info.py +++ b/plugins/modules/ibm_pi_key_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_keys_info.py b/plugins/modules/ibm_pi_keys_info.py index a183f4d29..e98084b88 100644 --- a/plugins/modules/ibm_pi_keys_info.py +++ b/plugins/modules/ibm_pi_keys_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_keys' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_keys', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_network.py b/plugins/modules/ibm_pi_network.py index 7265df1e0..7fe49994b 100644 --- a/plugins/modules/ibm_pi_network.py +++ b/plugins/modules/ibm_pi_network.py @@ -18,21 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_network' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pi_dns: - description: - - List of PI network DNS name - required: False - type: list - elements: str - pi_cloud_instance_id: + pi_network_type: description: - - (Required for new resource) PI cloud instance ID + - (Required for new resource) PI network type required: True type: str + pi_cidr: + description: + - PI network CIDR + required: False + type: str pi_gateway: description: - PI network gateway @@ -43,27 +42,28 @@ - PI network enable MTU Jumbo option required: False type: bool + pi_cloud_instance_id: + description: + - (Required for new resource) PI cloud instance ID + required: True + type: str pi_ipaddress_range: description: - List of one or more ip address range(s) required: False type: list elements: dict - pi_network_type: - description: - - (Required for new resource) PI network type - required: True - type: str pi_network_name: description: - (Required for new resource) PI network name required: True type: str - pi_cidr: + pi_dns: description: - - PI network CIDR + - List of PI network DNS name required: False - type: str + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -106,21 +106,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_cloud_instance_id', 'str'), ('pi_network_type', 'str'), + ('pi_cloud_instance_id', 'str'), ('pi_network_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_dns', - 'pi_cloud_instance_id', + 'pi_network_type', + 'pi_cidr', 'pi_gateway', 'pi_network_jumbo', + 'pi_cloud_instance_id', 'pi_ipaddress_range', - 'pi_network_type', 'pi_network_name', - 'pi_cidr', + 'pi_dns', ] # Params for Data source @@ -141,11 +141,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_dns=dict( + pi_network_type=dict( required=False, - elements='', - type='list'), - pi_cloud_instance_id=dict( + type='str'), + pi_cidr=dict( required=False, type='str'), pi_gateway=dict( @@ -154,19 +153,20 @@ pi_network_jumbo=dict( required=False, type='bool'), + pi_cloud_instance_id=dict( + required=False, + type='str'), pi_ipaddress_range=dict( required=False, elements='', type='list'), - pi_network_type=dict( - required=False, - type='str'), pi_network_name=dict( required=False, type='str'), - pi_cidr=dict( + pi_dns=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -225,7 +225,7 @@ def run_module(): resource_type='ibm_pi_network', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -234,7 +234,7 @@ def run_module(): resource_type='ibm_pi_network', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_network_info.py b/plugins/modules/ibm_pi_network_info.py index 4c0739954..2a98f1812 100644 --- a/plugins/modules/ibm_pi_network_info.py +++ b/plugins/modules/ibm_pi_network_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_network' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_network', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_network_port.py b/plugins/modules/ibm_pi_network_port.py index aa5bab802..fe1b95ff3 100644 --- a/plugins/modules/ibm_pi_network_port.py +++ b/plugins/modules/ibm_pi_network_port.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_network_port' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + pi_network_name: + description: + - (Required for new resource) + required: True + type: str pi_cloud_instance_id: description: - (Required for new resource) @@ -37,11 +42,6 @@ - None required: False type: str - pi_network_name: - description: - - (Required for new resource) - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,16 +84,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_cloud_instance_id', 'str'), ('pi_network_name', 'str'), + ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'pi_network_name', 'pi_cloud_instance_id', 'pi_network_port_description', 'pi_network_port_ipaddress', - 'pi_network_name', ] # Params for Data source @@ -114,6 +114,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + pi_network_name=dict( + required=False, + type='str'), pi_cloud_instance_id=dict( required=False, type='str'), @@ -123,9 +126,6 @@ pi_network_port_ipaddress=dict( required=False, type='str'), - pi_network_name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_pi_network_port', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_pi_network_port', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_network_port_attach.py b/plugins/modules/ibm_pi_network_port_attach.py index be8140919..5a1ce5852 100644 --- a/plugins/modules/ibm_pi_network_port_attach.py +++ b/plugins/modules/ibm_pi_network_port_attach.py @@ -18,16 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_network_port_attach' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pi_network_port_description: - description: - - A human readable description for this network Port - required: False - type: str - default: Port Created via Terraform pi_cloud_instance_id: description: - (Required for new resource) @@ -48,6 +42,12 @@ - None required: False type: str + pi_network_port_description: + description: + - A human readable description for this network Port + required: False + type: str + default: Port Created via Terraform id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -97,11 +97,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_network_port_description', 'pi_cloud_instance_id', 'pi_instance_id', 'pi_network_name', 'pi_network_port_ipaddress', + 'pi_network_port_description', ] # Params for Data source @@ -118,9 +118,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_network_port_description=dict( - required=False, - type='str'), pi_cloud_instance_id=dict( required=False, type='str'), @@ -133,6 +130,9 @@ pi_network_port_ipaddress=dict( required=False, type='str'), + pi_network_port_description=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_pi_network_port_attach', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_network_port_info.py b/plugins/modules/ibm_pi_network_port_info.py index 46003366a..0c42222b9 100644 --- a/plugins/modules/ibm_pi_network_port_info.py +++ b/plugins/modules/ibm_pi_network_port_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_network_port' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_network_port', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_placement_group.py b/plugins/modules/ibm_pi_placement_group.py index 35b22ca32..9f978c781 100644 --- a/plugins/modules/ibm_pi_placement_group.py +++ b/plugins/modules/ibm_pi_placement_group.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_placement_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_pi_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_pi_placement_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_placement_group_info.py b/plugins/modules/ibm_pi_placement_group_info.py index ec63da6e7..55abddc7f 100644 --- a/plugins/modules/ibm_pi_placement_group_info.py +++ b/plugins/modules/ibm_pi_placement_group_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_placement_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_placement_groups_info.py b/plugins/modules/ibm_pi_placement_groups_info.py index 8c6ff13b9..9c94fa37f 100644 --- a/plugins/modules/ibm_pi_placement_groups_info.py +++ b/plugins/modules/ibm_pi_placement_groups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_placement_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_placement_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_public_network_info.py b/plugins/modules/ibm_pi_public_network_info.py index 6ef19d69e..f01eab003 100644 --- a/plugins/modules/ibm_pi_public_network_info.py +++ b/plugins/modules/ibm_pi_public_network_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_public_network' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_public_network', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_pvm_snapshots_info.py b/plugins/modules/ibm_pi_pvm_snapshots_info.py index a17ede0ab..ba19cd789 100644 --- a/plugins/modules/ibm_pi_pvm_snapshots_info.py +++ b/plugins/modules/ibm_pi_pvm_snapshots_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_pvm_snapshots' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_pvm_snapshots', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_sap_profile_info.py b/plugins/modules/ibm_pi_sap_profile_info.py index b44596bf8..49c83bbf2 100644 --- a/plugins/modules/ibm_pi_sap_profile_info.py +++ b/plugins/modules/ibm_pi_sap_profile_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_sap_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_sap_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_sap_profiles_info.py b/plugins/modules/ibm_pi_sap_profiles_info.py index be2d751be..c5d6938ec 100644 --- a/plugins/modules/ibm_pi_sap_profiles_info.py +++ b/plugins/modules/ibm_pi_sap_profiles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_sap_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_sap_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_shared_processor_pool.py b/plugins/modules/ibm_pi_shared_processor_pool.py index ddda07f81..2eddf4ebb 100644 --- a/plugins/modules/ibm_pi_shared_processor_pool.py +++ b/plugins/modules/ibm_pi_shared_processor_pool.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_shared_processor_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,11 +27,21 @@ - (Required for new resource) Name of the shared processor pool required: True type: str + pi_shared_processor_pool_reserved_cores: + description: + - (Required for new resource) The amount of reserved cores for the shared processor pool + required: True + type: int pi_shared_processor_pool_host_group: description: - (Required for new resource) Host group of the shared processor pool required: True type: str + pi_cloud_instance_id: + description: + - (Required for new resource) PI cloud instance ID + required: True + type: str pi_shared_processor_pool_placement_group_id: description: - Placement group the shared processor pool is created in @@ -43,16 +53,6 @@ required: False type: list elements: str - pi_shared_processor_pool_reserved_cores: - description: - - (Required for new resource) The amount of reserved cores for the shared processor pool - required: True - type: int - pi_cloud_instance_id: - description: - - (Required for new resource) PI cloud instance ID - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -96,19 +96,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('pi_shared_processor_pool_name', 'str'), - ('pi_shared_processor_pool_host_group', 'str'), ('pi_shared_processor_pool_reserved_cores', 'int'), + ('pi_shared_processor_pool_host_group', 'str'), ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'pi_shared_processor_pool_name', + 'pi_shared_processor_pool_reserved_cores', 'pi_shared_processor_pool_host_group', + 'pi_cloud_instance_id', 'pi_shared_processor_pool_placement_group_id', 'spp_placement_groups', - 'pi_shared_processor_pool_reserved_cores', - 'pi_cloud_instance_id', ] # Params for Data source @@ -132,9 +132,15 @@ pi_shared_processor_pool_name=dict( required=False, type='str'), + pi_shared_processor_pool_reserved_cores=dict( + required=False, + type='int'), pi_shared_processor_pool_host_group=dict( required=False, type='str'), + pi_cloud_instance_id=dict( + required=False, + type='str'), pi_shared_processor_pool_placement_group_id=dict( required=False, type='str'), @@ -142,12 +148,6 @@ required=False, elements='', type='list'), - pi_shared_processor_pool_reserved_cores=dict( - required=False, - type='int'), - pi_cloud_instance_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_pi_shared_processor_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_pi_shared_processor_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_shared_processor_pool_info.py b/plugins/modules/ibm_pi_shared_processor_pool_info.py index 8c4297695..64e68e3e7 100644 --- a/plugins/modules/ibm_pi_shared_processor_pool_info.py +++ b/plugins/modules/ibm_pi_shared_processor_pool_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_shared_processor_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_shared_processor_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_shared_processor_pools_info.py b/plugins/modules/ibm_pi_shared_processor_pools_info.py index b33e38702..5f59664ab 100644 --- a/plugins/modules/ibm_pi_shared_processor_pools_info.py +++ b/plugins/modules/ibm_pi_shared_processor_pools_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_shared_processor_pools' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_shared_processor_pools', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_snapshot.py b/plugins/modules/ibm_pi_snapshot.py index cf1338218..eb892d08a 100644 --- a/plugins/modules/ibm_pi_snapshot.py +++ b/plugins/modules/ibm_pi_snapshot.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_snapshot' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,27 +27,27 @@ - (Required for new resource) Instance name / id of the pvm required: True type: str - pi_volume_ids: - description: - - List of PI volumes - required: False - type: list - elements: str pi_cloud_instance_id: description: - (Required for new resource) Cloud Instance ID - This is the service_instance_id. required: True type: str + pi_description: + description: + - Description of the PVM instance snapshot + required: False + type: str pi_snap_shot_name: description: - (Required for new resource) Unique name of the snapshot required: True type: str - pi_description: + pi_volume_ids: description: - - Description of the PVM instance snapshot + - List of PI volumes required: False - type: str + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -98,10 +98,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'pi_instance_name', - 'pi_volume_ids', 'pi_cloud_instance_id', - 'pi_snap_shot_name', 'pi_description', + 'pi_snap_shot_name', + 'pi_volume_ids', ] # Params for Data source @@ -121,19 +121,19 @@ pi_instance_name=dict( required=False, type='str'), - pi_volume_ids=dict( - required=False, - elements='', - type='list'), pi_cloud_instance_id=dict( required=False, type='str'), - pi_snap_shot_name=dict( + pi_description=dict( required=False, type='str'), - pi_description=dict( + pi_snap_shot_name=dict( required=False, type='str'), + pi_volume_ids=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_pi_snapshot', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_spp_placement_group.py b/plugins/modules/ibm_pi_spp_placement_group.py index 2e84a47b9..c42d217e8 100644 --- a/plugins/modules/ibm_pi_spp_placement_group.py +++ b/plugins/modules/ibm_pi_spp_placement_group.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_spp_placement_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_pi_spp_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_pi_spp_placement_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_spp_placement_group_info.py b/plugins/modules/ibm_pi_spp_placement_group_info.py index 6934f2ae7..791e68c72 100644 --- a/plugins/modules/ibm_pi_spp_placement_group_info.py +++ b/plugins/modules/ibm_pi_spp_placement_group_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_spp_placement_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_spp_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_spp_placement_groups_info.py b/plugins/modules/ibm_pi_spp_placement_groups_info.py index 8f234c32a..87484c049 100644 --- a/plugins/modules/ibm_pi_spp_placement_groups_info.py +++ b/plugins/modules/ibm_pi_spp_placement_groups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_spp_placement_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_spp_placement_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_storage_pool_capacity_info.py b/plugins/modules/ibm_pi_storage_pool_capacity_info.py index c1964dff0..5696b4d8d 100644 --- a/plugins/modules/ibm_pi_storage_pool_capacity_info.py +++ b/plugins/modules/ibm_pi_storage_pool_capacity_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_storage_pool_capacity' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_storage_pool_capacity', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_storage_pools_capacity_info.py b/plugins/modules/ibm_pi_storage_pools_capacity_info.py index 5af85c517..2d41abbfb 100644 --- a/plugins/modules/ibm_pi_storage_pools_capacity_info.py +++ b/plugins/modules/ibm_pi_storage_pools_capacity_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_storage_pools_capacity' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_storage_pools_capacity', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_storage_type_capacity_info.py b/plugins/modules/ibm_pi_storage_type_capacity_info.py index 706810e48..839dcdc37 100644 --- a/plugins/modules/ibm_pi_storage_type_capacity_info.py +++ b/plugins/modules/ibm_pi_storage_type_capacity_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_storage_type_capacity' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_storage_type_capacity', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_storage_types_capacity_info.py b/plugins/modules/ibm_pi_storage_types_capacity_info.py index 63c55f22c..1c6941a7f 100644 --- a/plugins/modules/ibm_pi_storage_types_capacity_info.py +++ b/plugins/modules/ibm_pi_storage_types_capacity_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_storage_types_capacity' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_storage_types_capacity', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_system_pools_info.py b/plugins/modules/ibm_pi_system_pools_info.py index c042dbb31..21a0a650f 100644 --- a/plugins/modules/ibm_pi_system_pools_info.py +++ b/plugins/modules/ibm_pi_system_pools_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_system_pools' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_system_pools', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_tenant_info.py b/plugins/modules/ibm_pi_tenant_info.py index 34b05767e..bff856e05 100644 --- a/plugins/modules/ibm_pi_tenant_info.py +++ b/plugins/modules/ibm_pi_tenant_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_tenant' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_tenant', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_volume.py b/plugins/modules/ibm_pi_volume.py index 3305c1fd8..bff8b24dd 100644 --- a/plugins/modules/ibm_pi_volume.py +++ b/plugins/modules/ibm_pi_volume.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_volume' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pi_volume_name: - description: - - (Required for new resource) Volume Name to create - required: True - type: str - pi_volume_size: - description: - - (Required for new resource) Size of the volume in GB - required: True - type: float pi_volume_pool: description: - Volume pool where the volume will be created; if provided then pi_volume_type and pi_affinity_policy values will be ignored @@ -52,14 +42,9 @@ - Volume (ID or Name) to base volume affinity policy against; required if requesting affinity and pi_affinity_instance is not provided required: False type: str - pi_affinity_instance: - description: - - PVM Instance (ID or Name) to base volume affinity policy against; required if requesting affinity and pi_affinity_volume is not provided - required: False - type: str - pi_anti_affinity_volumes: + pi_anti_affinity_instances: description: - - List of volumes to base volume anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided + - List of pvmInstances to base volume anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided required: False type: list elements: str @@ -68,14 +53,29 @@ - (Required for new resource) Cloud Instance ID - This is the service_instance_id. required: True type: str + pi_volume_name: + description: + - (Required for new resource) Volume Name to create + required: True + type: str + pi_volume_size: + description: + - (Required for new resource) Size of the volume in GB + required: True + type: float pi_volume_type: description: - Type of Disk, required if pi_affinity_policy and pi_volume_pool not provided, otherwise ignored required: False type: str - pi_anti_affinity_instances: + pi_affinity_instance: description: - - List of pvmInstances to base volume anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided + - PVM Instance (ID or Name) to base volume affinity policy against; required if requesting affinity and pi_affinity_volume is not provided + required: False + type: str + pi_anti_affinity_volumes: + description: + - List of volumes to base volume anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided required: False type: list elements: str @@ -121,24 +121,24 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('pi_cloud_instance_id', 'str'), ('pi_volume_name', 'str'), ('pi_volume_size', 'float'), - ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_volume_name', - 'pi_volume_size', 'pi_volume_pool', 'pi_affinity_policy', 'pi_volume_shareable', 'pi_affinity_volume', - 'pi_affinity_instance', - 'pi_anti_affinity_volumes', + 'pi_anti_affinity_instances', 'pi_cloud_instance_id', + 'pi_volume_name', + 'pi_volume_size', 'pi_volume_type', - 'pi_anti_affinity_instances', + 'pi_affinity_instance', + 'pi_anti_affinity_volumes', ] # Params for Data source @@ -154,21 +154,15 @@ TL_CONFLICTS_MAP = { 'pi_affinity_volume': ['pi_affinity_instance'], + 'pi_anti_affinity_instances': ['pi_anti_affinity_volumes'], 'pi_affinity_instance': ['pi_affinity_volume'], 'pi_anti_affinity_volumes': ['pi_anti_affinity_instances'], - 'pi_anti_affinity_instances': ['pi_anti_affinity_volumes'], } # define available arguments/parameters a user can pass to the module from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_volume_name=dict( - required=False, - type='str'), - pi_volume_size=dict( - required=False, - type='float'), pi_volume_pool=dict( required=False, type='str'), @@ -181,20 +175,26 @@ pi_affinity_volume=dict( required=False, type='str'), - pi_affinity_instance=dict( - required=False, - type='str'), - pi_anti_affinity_volumes=dict( + pi_anti_affinity_instances=dict( required=False, elements='', type='list'), pi_cloud_instance_id=dict( required=False, type='str'), + pi_volume_name=dict( + required=False, + type='str'), + pi_volume_size=dict( + required=False, + type='float'), pi_volume_type=dict( required=False, type='str'), - pi_anti_affinity_instances=dict( + pi_affinity_instance=dict( + required=False, + type='str'), + pi_anti_affinity_volumes=dict( required=False, elements='', type='list'), @@ -256,7 +256,7 @@ def run_module(): resource_type='ibm_pi_volume', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -265,7 +265,7 @@ def run_module(): resource_type='ibm_pi_volume', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_volume_attach.py b/plugins/modules/ibm_pi_volume_attach.py index eaf74a494..604ba9c66 100644 --- a/plugins/modules/ibm_pi_volume_attach.py +++ b/plugins/modules/ibm_pi_volume_attach.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_volume_attach' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + pi_instance_id: + description: + - (Required for new resource) PI Instance Id + required: True + type: str pi_cloud_instance_id: description: - (Required for new resource) Cloud Instance ID - This is the service_instance_id. @@ -32,11 +37,6 @@ - (Required for new resource) Id of the volume to attach. Note these volumes should have been created required: True type: str - pi_instance_id: - description: - - (Required for new resource) PI Instance Id - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -79,16 +79,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('pi_instance_id', 'str'), ('pi_cloud_instance_id', 'str'), ('pi_volume_id', 'str'), - ('pi_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'pi_instance_id', 'pi_cloud_instance_id', 'pi_volume_id', - 'pi_instance_id', ] # Params for Data source @@ -105,13 +105,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_cloud_instance_id=dict( + pi_instance_id=dict( required=False, type='str'), - pi_volume_id=dict( + pi_cloud_instance_id=dict( required=False, type='str'), - pi_instance_id=dict( + pi_volume_id=dict( required=False, type='str'), id=dict( @@ -172,7 +172,7 @@ def run_module(): resource_type='ibm_pi_volume_attach', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_volume_info.py b/plugins/modules/ibm_pi_volume_info.py index d03394114..6672e466f 100644 --- a/plugins/modules/ibm_pi_volume_info.py +++ b/plugins/modules/ibm_pi_volume_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_volume' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_volume', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_vpn_connection.py b/plugins/modules/ibm_pi_vpn_connection.py index e2297f512..c41299139 100644 --- a/plugins/modules/ibm_pi_vpn_connection.py +++ b/plugins/modules/ibm_pi_vpn_connection.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_vpn_connection' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - pi_vpn_connection_mode: + pi_ike_policy_id: description: - - (Required for new resource) Mode used by this VPN Connection, either 'policy' or 'route' + - (Required for new resource) Unique identifier of IKE Policy selected for this VPN Connection required: True type: str pi_networks: @@ -33,6 +33,16 @@ required: True type: list elements: str + pi_ipsec_policy_id: + description: + - (Required for new resource) Unique identifier of IPSec Policy selected for this VPN Connection + required: True + type: str + pi_vpn_connection_mode: + description: + - (Required for new resource) Mode used by this VPN Connection, either 'policy' or 'route' + required: True + type: str pi_peer_gateway_address: description: - (Required for new resource) Peer Gateway address @@ -54,16 +64,6 @@ - (Required for new resource) Name of the VPN Connection required: True type: str - pi_ike_policy_id: - description: - - (Required for new resource) Unique identifier of IKE Policy selected for this VPN Connection - required: True - type: str - pi_ipsec_policy_id: - description: - - (Required for new resource) Unique identifier of IPSec Policy selected for this VPN Connection - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -106,26 +106,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_vpn_connection_mode', 'str'), + ('pi_ike_policy_id', 'str'), ('pi_networks', 'list'), + ('pi_ipsec_policy_id', 'str'), + ('pi_vpn_connection_mode', 'str'), ('pi_peer_gateway_address', 'str'), ('pi_peer_subnets', 'list'), ('pi_cloud_instance_id', 'str'), ('pi_vpn_connection_name', 'str'), - ('pi_ike_policy_id', 'str'), - ('pi_ipsec_policy_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_vpn_connection_mode', + 'pi_ike_policy_id', 'pi_networks', + 'pi_ipsec_policy_id', + 'pi_vpn_connection_mode', 'pi_peer_gateway_address', 'pi_peer_subnets', 'pi_cloud_instance_id', 'pi_vpn_connection_name', - 'pi_ike_policy_id', - 'pi_ipsec_policy_id', ] # Params for Data source @@ -142,13 +142,19 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pi_vpn_connection_mode=dict( + pi_ike_policy_id=dict( required=False, type='str'), pi_networks=dict( required=False, elements='', type='list'), + pi_ipsec_policy_id=dict( + required=False, + type='str'), + pi_vpn_connection_mode=dict( + required=False, + type='str'), pi_peer_gateway_address=dict( required=False, type='str'), @@ -162,12 +168,6 @@ pi_vpn_connection_name=dict( required=False, type='str'), - pi_ike_policy_id=dict( - required=False, - type='str'), - pi_ipsec_policy_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_pi_vpn_connection', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pn_application_chrome.py b/plugins/modules/ibm_pn_application_chrome.py index 270adc659..e89f614c8 100644 --- a/plugins/modules/ibm_pn_application_chrome.py +++ b/plugins/modules/ibm_pn_application_chrome.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pn_application_chrome' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_pn_application_chrome', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -194,7 +194,7 @@ def run_module(): resource_type='ibm_pn_application_chrome', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pn_application_chrome_info.py b/plugins/modules/ibm_pn_application_chrome_info.py index 5ad4eae2a..4fb0c6820 100644 --- a/plugins/modules/ibm_pn_application_chrome_info.py +++ b/plugins/modules/ibm_pn_application_chrome_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pn_application_chrome' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_pn_application_chrome', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_resource_group.py b/plugins/modules/ibm_resource_group.py index 2d0ed89dd..81e5423bb 100644 --- a/plugins/modules/ibm_resource_group.py +++ b/plugins/modules/ibm_resource_group.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_resource_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_resource_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_resource_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_resource_group_info.py b/plugins/modules/ibm_resource_group_info.py index f788d1435..d4c140c7b 100644 --- a/plugins/modules/ibm_resource_group_info.py +++ b/plugins/modules/ibm_resource_group_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_resource_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -120,7 +120,7 @@ def run_module(): resource_type='ibm_resource_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_resource_instance.py b/plugins/modules/ibm_resource_instance.py index dd389eac6..ff8c58750 100644 --- a/plugins/modules/ibm_resource_instance.py +++ b/plugins/modules/ibm_resource_instance.py @@ -18,24 +18,30 @@ - Create, update or destroy an IBM Cloud 'ibm_resource_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - plan: + tags: description: - - (Required for new resource) The plan type of the service + - None + required: False + type: list + elements: str + location: + description: + - (Required for new resource) The location where the instance available required: True type: str - service_endpoints: + service: description: - - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. - required: False + - (Required for new resource) The name of the service offering like cloud-object-storage, kms etc + required: True type: str - resource_group_id: + name: description: - - The resource group id - required: False + - (Required for new resource) A name for the resource instance + required: True type: str parameters: description: @@ -47,26 +53,20 @@ - Arbitrary parameters to pass in Json string format required: False type: str - tags: - description: - - None - required: False - type: list - elements: str - location: + plan: description: - - (Required for new resource) The location where the instance available + - (Required for new resource) The plan type of the service required: True type: str - service: + resource_group_id: description: - - (Required for new resource) The name of the service offering like cloud-object-storage, kms etc - required: True + - The resource group id + required: False type: str - name: + service_endpoints: description: - - (Required for new resource) A name for the resource instance - required: True + - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + required: False type: str id: description: @@ -114,23 +114,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('plan', 'str'), ('location', 'str'), ('service', 'str'), ('name', 'str'), + ('plan', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'plan', - 'service_endpoints', - 'resource_group_id', - 'parameters', - 'parameters_json', 'tags', 'location', 'service', 'name', + 'parameters', + 'parameters_json', + 'plan', + 'resource_group_id', + 'service_endpoints', ] # Params for Data source @@ -139,10 +139,10 @@ ] TL_ALL_PARAMETERS_DS = [ - 'service', 'resource_group_id', - 'name', + 'service', 'location', + 'name', ] TL_CONFLICTS_MAP = { @@ -154,13 +154,17 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - plan=dict( + tags=dict( + required=False, + elements='', + type='list'), + location=dict( required=False, type='str'), - service_endpoints=dict( + service=dict( required=False, type='str'), - resource_group_id=dict( + name=dict( required=False, type='str'), parameters=dict( @@ -169,17 +173,13 @@ parameters_json=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), - location=dict( + plan=dict( required=False, type='str'), - service=dict( + resource_group_id=dict( required=False, type='str'), - name=dict( + service_endpoints=dict( required=False, type='str'), id=dict( @@ -247,7 +247,7 @@ def run_module(): resource_type='ibm_resource_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -256,7 +256,7 @@ def run_module(): resource_type='ibm_resource_instance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_resource_instance_info.py b/plugins/modules/ibm_resource_instance_info.py index 821dc2902..60a48e431 100644 --- a/plugins/modules/ibm_resource_instance_info.py +++ b/plugins/modules/ibm_resource_instance_info.py @@ -17,18 +17,23 @@ description: - Retrieve an IBM Cloud 'ibm_resource_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + resource_group_id: + description: + - The id of the resource group in which the instance is present + required: False + type: str service: description: - The service type of the instance required: False type: str - resource_group_id: + location: description: - - The id of the resource group in which the instance is present + - The location or the environment in which instance exists required: False type: str name: @@ -36,11 +41,6 @@ - Resource instance name for example, myobjectstorage required: True type: str - location: - description: - - The location or the environment in which instance exists - required: False - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -79,10 +79,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'service', 'resource_group_id', - 'name', + 'service', 'location', + 'name', ] @@ -93,18 +93,18 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + resource_group_id=dict( + required=False, + type='str'), service=dict( required=False, type='str'), - resource_group_id=dict( + location=dict( required=False, type='str'), name=dict( required=True, type='str'), - location=dict( - required=False, - type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -139,7 +139,7 @@ def run_module(): resource_type='ibm_resource_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_resource_key.py b/plugins/modules/ibm_resource_key.py index 3d5458d73..38634d9e8 100644 --- a/plugins/modules/ibm_resource_key.py +++ b/plugins/modules/ibm_resource_key.py @@ -18,41 +18,41 @@ - Create, update or destroy an IBM Cloud 'ibm_resource_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - role: + tags: description: - - Name of the user role.Valid roles are Writer, Reader, Manager, Administrator, Operator, Viewer, Editor and Custom Roles. + - None required: False - type: str + type: list + elements: str resource_instance_id: description: - The id of the resource instance for which to create resource key required: False type: str - parameters: + name: description: - - Arbitrary parameters to pass. Must be a JSON object + - (Required for new resource) The name of the resource key + required: True + type: str + role: + description: + - Name of the user role.Valid roles are Writer, Reader, Manager, Administrator, Operator, Viewer, Editor and Custom Roles. required: False - type: dict + type: str resource_alias_id: description: - The id of the resource alias for which to create resource key required: False type: str - tags: + parameters: description: - - None + - Arbitrary parameters to pass. Must be a JSON object required: False - type: list - elements: str - name: - description: - - (Required for new resource) The name of the resource key - required: True - type: str + type: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -104,12 +104,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'role', - 'resource_instance_id', - 'parameters', - 'resource_alias_id', 'tags', + 'resource_instance_id', 'name', + 'role', + 'resource_alias_id', + 'parameters', ] # Params for Data source @@ -118,10 +118,10 @@ ] TL_ALL_PARAMETERS_DS = [ - 'most_recent', - 'name', 'resource_instance_id', 'resource_alias_id', + 'most_recent', + 'name', ] TL_CONFLICTS_MAP = { @@ -133,25 +133,25 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - role=dict( + tags=dict( required=False, - type='str'), + elements='', + type='list'), resource_instance_id=dict( required=False, type='str'), - parameters=dict( - required=False, - type='dict'), - resource_alias_id=dict( + name=dict( required=False, type='str'), - tags=dict( + role=dict( required=False, - elements='', - type='list'), - name=dict( + type='str'), + resource_alias_id=dict( required=False, type='str'), + parameters=dict( + required=False, + type='dict'), id=dict( required=False, type='str'), @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_resource_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_resource_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_resource_key_info.py b/plugins/modules/ibm_resource_key_info.py index 0ea151156..2c277ccaa 100644 --- a/plugins/modules/ibm_resource_key_info.py +++ b/plugins/modules/ibm_resource_key_info.py @@ -17,10 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_resource_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + resource_instance_id: + description: + - The id of the resource instance + required: False + type: str + resource_alias_id: + description: + - The id of the resource alias + required: False + type: str most_recent: description: - If true and multiple entries are found, the most recently created resource key is used. If false, an error is returned @@ -32,16 +42,6 @@ - The name of the resource key required: True type: str - resource_instance_id: - description: - - The id of the resource instance - required: False - type: str - resource_alias_id: - description: - - The id of the resource alias - required: False - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -80,10 +80,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'most_recent', - 'name', 'resource_instance_id', 'resource_alias_id', + 'most_recent', + 'name', ] @@ -96,18 +96,18 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - most_recent=dict( - required=False, - type='bool'), - name=dict( - required=True, - type='str'), resource_instance_id=dict( required=False, type='str'), resource_alias_id=dict( required=False, type='str'), + most_recent=dict( + required=False, + type='bool'), + name=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_resource_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_resource_quota_info.py b/plugins/modules/ibm_resource_quota_info.py index ca4d7944f..a2955cd3f 100644 --- a/plugins/modules/ibm_resource_quota_info.py +++ b/plugins/modules/ibm_resource_quota_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_resource_quota' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_resource_quota', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_resource_tag.py b/plugins/modules/ibm_resource_tag.py index 40cacb07e..e86286708 100644 --- a/plugins/modules/ibm_resource_tag.py +++ b/plugins/modules/ibm_resource_tag.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_resource_tag' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - resource_type: - description: - - Resource type on which the tags should be attached - required: False - type: str - tag_type: - description: - - Type of the tag. Only allowed values are: user, or service or access (default value : user) - required: False - type: str resource_id: description: - (Required for new resource) CRN of the resource on which the tags should be attached @@ -43,6 +33,16 @@ required: False type: list elements: str + resource_type: + description: + - Resource type on which the tags should be attached + required: False + type: str + tag_type: + description: + - Type of the tag. Only allowed values are: user, or service or access (default value : user) + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,10 +94,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_type', - 'tag_type', 'resource_id', 'tags', + 'resource_type', + 'tag_type', ] # Params for Data source @@ -105,9 +105,9 @@ ] TL_ALL_PARAMETERS_DS = [ + 'resource_id', 'resource_type', 'tag_type', - 'resource_id', ] TL_CONFLICTS_MAP = { @@ -117,12 +117,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_type=dict( - required=False, - type='str'), - tag_type=dict( - required=False, - type='str'), resource_id=dict( required=False, type='str'), @@ -130,6 +124,12 @@ required=False, elements='', type='list'), + resource_type=dict( + required=False, + type='str'), + tag_type=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_resource_tag', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -204,7 +204,7 @@ def run_module(): resource_type='ibm_resource_tag', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_resource_tag_info.py b/plugins/modules/ibm_resource_tag_info.py index 671ab4097..83e088723 100644 --- a/plugins/modules/ibm_resource_tag_info.py +++ b/plugins/modules/ibm_resource_tag_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_resource_tag' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + resource_id: + description: + - CRN of the resource on which the tags should be attached + required: False + type: str resource_type: description: - Resource type on which the tags should be fetched @@ -32,11 +37,6 @@ required: False type: str default: user - resource_id: - description: - - CRN of the resource on which the tags should be attached - required: False - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -74,9 +74,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'resource_id', 'resource_type', 'tag_type', - 'resource_id', ] @@ -87,13 +87,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_type=dict( + resource_id=dict( required=False, type='str'), - tag_type=dict( + resource_type=dict( required=False, type='str'), - resource_id=dict( + tag_type=dict( required=False, type='str'), iaas_classic_username=dict( @@ -130,7 +130,7 @@ def run_module(): resource_type='ibm_resource_tag', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_satellite_attach_host_script_info.py b/plugins/modules/ibm_satellite_attach_host_script_info.py index 80e322839..8147670f9 100644 --- a/plugins/modules/ibm_satellite_attach_host_script_info.py +++ b/plugins/modules/ibm_satellite_attach_host_script_info.py @@ -17,15 +17,16 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_attach_host_script' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - location: + labels: description: - - A unique name for the new Satellite location - required: True - type: str + - List of labels for the attach host + required: False + type: list + elements: str host_provider: description: - None @@ -36,22 +37,21 @@ - The directory where the satellite attach host script to be downloaded. Default is home directory required: False type: str - custom_script: - description: - - The custom script that has to be appended to generated host script file - required: False - type: str coreos_host: description: - If true, returns a CoreOS ignition file for the host. Otherwise, returns a RHEL attach script required: False type: bool - labels: + location: description: - - List of labels for the attach host + - A unique name for the new Satellite location + required: True + type: str + custom_script: + description: + - The custom script that has to be appended to generated host script file required: False - type: list - elements: str + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -90,12 +90,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'location', + 'labels', 'host_provider', 'script_dir', - 'custom_script', 'coreos_host', - 'labels', + 'location', + 'custom_script', ] @@ -106,25 +106,25 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - location=dict( - required=True, - type='str'), + labels=dict( + required=False, + elements='', + type='list'), host_provider=dict( required=False, type='str'), script_dir=dict( required=False, type='str'), - custom_script=dict( - required=False, - type='str'), coreos_host=dict( required=False, type='bool'), - labels=dict( + location=dict( + required=True, + type='str'), + custom_script=dict( required=False, - elements='', - type='list'), + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -159,7 +159,7 @@ def run_module(): resource_type='ibm_satellite_attach_host_script', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_satellite_cluster.py b/plugins/modules/ibm_satellite_cluster.py index eebe60445..6d72babee 100644 --- a/plugins/modules/ibm_satellite_cluster.py +++ b/plugins/modules/ibm_satellite_cluster.py @@ -18,106 +18,111 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_cluster' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - wait_for_worker_update: + name: description: - - Wait for worker node to update during kube version update. + - (Required for new resource) The unique name for the new IBM Cloud Satellite cluster + required: True + type: str + operating_system: + description: + - Operating system of the default worker pool. Options are REDHAT_7_64, REDHAT_8_64, or RHCOS. required: False - type: bool - default: True + type: str pull_secret: description: - The RedHat pull secret to create the OpenShift cluster required: False type: str - kube_version: + wait_for_worker_update: description: - - The OpenShift Container Platform version + - Wait for worker node to update during kube version update. required: False - type: str - name: + type: bool + default: True + retry_patch_version: description: - - (Required for new resource) The unique name for the new IBM Cloud Satellite cluster - required: True - type: str - enable_config_admin: + - Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails + required: False + type: int + worker_count: description: - - Grant cluster admin access to Satellite Config to manage Kubernetes resources. + - The number of worker nodes per zone in the default worker pool. Required when '--host-label' is specified. (default: 0) required: False - type: bool + type: int tags: description: - List of tags for the resources required: False type: list elements: str - host_labels: - description: - - Labels that describe a Satellite host for default workerpool - required: False - type: list - elements: str crn_token: description: - The IBM Cloud Identity and Access Management (IAM) service CRN token for the service that creates the cluster. required: False type: str - patch_version: + resource_group_id: description: - - Kubernetes patch version + - ID of the resource group. required: False type: str - default_worker_pool_labels: + location: description: - - Labels on the default worker pool - required: False - type: dict - elements: str + - (Required for new resource) The name or ID of the Satellite location + required: True + type: str disable_public_service_endpoint: description: - Boolean value true if Public service endpoint to be disabled required: False type: bool default: False - location: + service_subnet: description: - - (Required for new resource) The name or ID of the Satellite location - required: True + - User provided value for service subnet + required: False type: str - retry_patch_version: + kube_version: description: - - Argument which helps to retry the patch version updates on worker nodes. Increment the value to retry the patch updates if the previous apply fails + - The OpenShift Container Platform version required: False - type: int - pod_subnet: + type: str + host_labels: description: - - User provided value for the pod subnet + - Labels that describe a Satellite host for default workerpool required: False - type: str - resource_group_id: + type: list + elements: str + patch_version: description: - - ID of the resource group. + - Kubernetes patch version required: False type: str - worker_count: + enable_config_admin: description: - - The number of worker nodes per zone in the default worker pool. Required when '--host-label' is specified. (default: 0) + - Grant cluster admin access to Satellite Config to manage Kubernetes resources. required: False - type: int - service_subnet: + type: bool + default_worker_pool_labels: description: - - User provided value for service subnet + - Labels on the default worker pool required: False - type: str + type: dict + elements: str zones: description: - Zone info for worker pool required: False type: list elements: dict + pod_subnet: + description: + - User provided value for the pod subnet + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -170,24 +175,25 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'wait_for_worker_update', - 'pull_secret', - 'kube_version', 'name', - 'enable_config_admin', + 'operating_system', + 'pull_secret', + 'wait_for_worker_update', + 'retry_patch_version', + 'worker_count', 'tags', - 'host_labels', 'crn_token', - 'patch_version', - 'default_worker_pool_labels', - 'disable_public_service_endpoint', - 'location', - 'retry_patch_version', - 'pod_subnet', 'resource_group_id', - 'worker_count', + 'location', + 'disable_public_service_endpoint', 'service_subnet', + 'kube_version', + 'host_labels', + 'patch_version', + 'enable_config_admin', + 'default_worker_pool_labels', 'zones', + 'pod_subnet', ] # Params for Data source @@ -207,64 +213,67 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - wait_for_worker_update=dict( - required=False, - type='bool'), - pull_secret=dict( + name=dict( required=False, type='str'), - kube_version=dict( + operating_system=dict( required=False, type='str'), - name=dict( + pull_secret=dict( required=False, type='str'), - enable_config_admin=dict( + wait_for_worker_update=dict( required=False, type='bool'), - tags=dict( + retry_patch_version=dict( required=False, - elements='', - type='list'), - host_labels=dict( + type='int'), + worker_count=dict( + required=False, + type='int'), + tags=dict( required=False, elements='', type='list'), crn_token=dict( required=False, type='str'), - patch_version=dict( + resource_group_id=dict( required=False, type='str'), - default_worker_pool_labels=dict( + location=dict( required=False, - elements='', - type='dict'), + type='str'), disable_public_service_endpoint=dict( required=False, type='bool'), - location=dict( + service_subnet=dict( required=False, type='str'), - retry_patch_version=dict( - required=False, - type='int'), - pod_subnet=dict( + kube_version=dict( required=False, type='str'), - resource_group_id=dict( + host_labels=dict( + required=False, + elements='', + type='list'), + patch_version=dict( required=False, type='str'), - worker_count=dict( + enable_config_admin=dict( required=False, - type='int'), - service_subnet=dict( + type='bool'), + default_worker_pool_labels=dict( required=False, - type='str'), + elements='', + type='dict'), zones=dict( required=False, elements='', type='list'), + pod_subnet=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -330,7 +339,7 @@ def run_module(): resource_type='ibm_satellite_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -339,7 +348,7 @@ def run_module(): resource_type='ibm_satellite_cluster', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_satellite_cluster_info.py b/plugins/modules/ibm_satellite_cluster_info.py index 352d3115f..bda7684e1 100644 --- a/plugins/modules/ibm_satellite_cluster_info.py +++ b/plugins/modules/ibm_satellite_cluster_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_cluster' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_satellite_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_satellite_cluster_worker_pool.py b/plugins/modules/ibm_satellite_cluster_worker_pool.py index cc20ede00..f42d27bbe 100644 --- a/plugins/modules/ibm_satellite_cluster_worker_pool.py +++ b/plugins/modules/ibm_satellite_cluster_worker_pool.py @@ -18,21 +18,41 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_cluster_worker_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - host_labels: + cluster: description: - - Labels that describe a Satellite host + - (Required for new resource) The unique name for the new IBM Cloud Satellite cluster + required: True + type: str + flavor: + description: + - The flavor defines the amount of virtual CPU, memory, and disk space that is set up in each worker node required: False - type: list - elements: str - resource_group_id: + type: str + isolation: description: - - ID of the resource group. + - None required: False type: str + operating_system: + description: + - Operating system of the worker pool. Options are REDHAT_7_64, REDHAT_8_64, or RHCOS. + required: False + type: str + worker_count: + description: + - Specify the desired number of workers per zone in this worker pool + required: False + type: int + zones: + description: + - Zone info for worker pool + required: False + type: list + elements: dict name: description: - (Required for new resource) The name for the worker pool @@ -48,38 +68,23 @@ - None required: False type: str - worker_count: - description: - - Specify the desired number of workers per zone in this worker pool - required: False - type: int worker_pool_labels: description: - Labels on all the workers in the worker pool required: False type: dict elements: str - cluster: - description: - - (Required for new resource) The unique name for the new IBM Cloud Satellite cluster - required: True - type: str - flavor: + host_labels: description: - - The flavor defines the amount of virtual CPU, memory, and disk space that is set up in each worker node + - Labels that describe a Satellite host required: False - type: str - isolation: + type: list + elements: str + resource_group_id: description: - - None + - ID of the resource group. required: False type: str - zones: - description: - - Zone info for worker pool - required: False - type: list - elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -126,36 +131,37 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('cluster', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'host_labels', - 'resource_group_id', - 'name', - 'disk_encryption', - 'entitlement', - 'worker_count', - 'worker_pool_labels', 'cluster', 'flavor', 'isolation', + 'operating_system', + 'worker_count', 'zones', + 'name', + 'disk_encryption', + 'entitlement', + 'worker_pool_labels', + 'host_labels', + 'resource_group_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('cluster', 'str'), ('name', 'str'), + ('cluster', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'cluster', 'resource_group_id', 'region', 'name', + 'cluster', ] TL_CONFLICTS_MAP = { @@ -165,42 +171,45 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - host_labels=dict( - required=False, - elements='', - type='list'), - resource_group_id=dict( + cluster=dict( required=False, type='str'), - name=dict( + flavor=dict( required=False, type='str'), - disk_encryption=dict( + isolation=dict( required=False, - type='bool'), - entitlement=dict( + type='str'), + operating_system=dict( required=False, type='str'), worker_count=dict( required=False, type='int'), - worker_pool_labels=dict( + zones=dict( required=False, elements='', - type='dict'), - cluster=dict( + type='list'), + name=dict( required=False, type='str'), - flavor=dict( + disk_encryption=dict( required=False, - type='str'), - isolation=dict( + type='bool'), + entitlement=dict( required=False, type='str'), - zones=dict( + worker_pool_labels=dict( + required=False, + elements='', + type='dict'), + host_labels=dict( required=False, elements='', type='list'), + resource_group_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -266,7 +275,7 @@ def run_module(): resource_type='ibm_satellite_cluster_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -275,7 +284,7 @@ def run_module(): resource_type='ibm_satellite_cluster_worker_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_satellite_cluster_worker_pool_info.py b/plugins/modules/ibm_satellite_cluster_worker_pool_info.py index e51ef187b..44021f058 100644 --- a/plugins/modules/ibm_satellite_cluster_worker_pool_info.py +++ b/plugins/modules/ibm_satellite_cluster_worker_pool_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_cluster_worker_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - cluster: - description: - - Cluster name - required: True - type: str resource_group_id: description: - ID of the resource group @@ -41,6 +36,11 @@ - worker pool name required: True type: str + cluster: + description: + - Cluster name + required: True + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -74,16 +74,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cluster', 'str'), ('name', 'str'), + ('cluster', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cluster', 'resource_group_id', 'region', 'name', + 'cluster', ] @@ -94,9 +94,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - cluster=dict( - required=True, - type='str'), resource_group_id=dict( required=False, type='str'), @@ -106,6 +103,9 @@ name=dict( required=True, type='str'), + cluster=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -140,7 +140,7 @@ def run_module(): resource_type='ibm_satellite_cluster_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_satellite_cluster_worker_pool_zone_attachment.py b/plugins/modules/ibm_satellite_cluster_worker_pool_zone_attachment.py index 5b3eb5211..339697f70 100644 --- a/plugins/modules/ibm_satellite_cluster_worker_pool_zone_attachment.py +++ b/plugins/modules/ibm_satellite_cluster_worker_pool_zone_attachment.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_cluster_worker_pool_zone_attachment' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + cluster: + description: + - (Required for new resource) + required: True + type: str worker_pool: description: - (Required for new resource) @@ -37,11 +42,6 @@ - The ID of the resource group that the Satellite location is in. To list the resource group ID of the location, use the `GET /v2/satellite/getController` API method. required: False type: str - cluster: - description: - - (Required for new resource) - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -88,17 +88,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('cluster', 'str'), ('worker_pool', 'str'), ('zone', 'str'), - ('cluster', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'cluster', 'worker_pool', 'zone', 'resource_group_id', - 'cluster', ] # Params for Data source @@ -109,10 +109,10 @@ ] TL_ALL_PARAMETERS_DS = [ - 'resource_group_id', 'cluster', 'worker_pool', 'zone', + 'resource_group_id', ] TL_CONFLICTS_MAP = { @@ -122,6 +122,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + cluster=dict( + required=False, + type='str'), worker_pool=dict( required=False, type='str'), @@ -131,9 +134,6 @@ resource_group_id=dict( required=False, type='str'), - cluster=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -199,7 +199,7 @@ def run_module(): resource_type='ibm_satellite_cluster_worker_pool_zone_attachment', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -208,7 +208,7 @@ def run_module(): resource_type='ibm_satellite_cluster_worker_pool_zone_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_satellite_cluster_worker_pool_zone_attachment_info.py b/plugins/modules/ibm_satellite_cluster_worker_pool_zone_attachment_info.py index da324a7d3..3a1acea61 100644 --- a/plugins/modules/ibm_satellite_cluster_worker_pool_zone_attachment_info.py +++ b/plugins/modules/ibm_satellite_cluster_worker_pool_zone_attachment_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_cluster_worker_pool_zone_attachment' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - resource_group_id: - description: - - The ID of the resource group that the Satellite location is in. To list the resource group ID of the location, use the `GET /v2/satellite/getController` API method. - required: False - type: str cluster: description: - Name or id of the cluster @@ -41,6 +36,11 @@ - worker pool zone name required: True type: str + resource_group_id: + description: + - The ID of the resource group that the Satellite location is in. To list the resource group ID of the location, use the `GET /v2/satellite/getController` API method. + required: False + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -81,10 +81,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group_id', 'cluster', 'worker_pool', 'zone', + 'resource_group_id', ] @@ -95,9 +95,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group_id=dict( - required=False, - type='str'), cluster=dict( required=True, type='str'), @@ -107,6 +104,9 @@ zone=dict( required=True, type='str'), + resource_group_id=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_satellite_cluster_worker_pool_zone_attachment', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_satellite_endpoint.py b/plugins/modules/ibm_satellite_endpoint.py index 02edead06..8dc8acf12 100644 --- a/plugins/modules/ibm_satellite_endpoint.py +++ b/plugins/modules/ibm_satellite_endpoint.py @@ -18,30 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_endpoint' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - location: - description: - - (Required for new resource) The Location ID. - required: True - type: str - display_name: + sni: description: - - (Required for new resource) The display name of the endpoint. Endpoint names must start with a letter and end with an alphanumeric character, can contain letters, numbers, and hyphen (-), and must be 63 characters or fewer. - required: True + - The server name indicator (SNI) which used to connect to the server endpoint. Only useful if server side requires SNI. + required: False type: str - server_port: - description: - - (Required for new resource) The port number of the server endpoint. For 'http-tunnel' protocol, server_port can be 0, which means any port. Such as 0 is good for 80 (http) and 443 (https). - required: True - type: int - client_protocol: + client_mutual_auth: description: - - (Required for new resource) The protocol in the client application side. - required: True - type: str + - Whether enable mutual auth in the client application side, when client_protocol is 'tls' or 'https', this field is required. + required: False + type: bool + default: False server_protocol: description: - The protocol in the server application side. This parameter will change to default value if it is omitted even when using PATCH API. If client_protocol is 'udp', server_protocol must be 'udp'. If client_protocol is 'tcp'/'http', server_protocol could be 'tcp'/'tls' and default to 'tcp'. If client_protocol is 'tls'/'https', server_protocol could be 'tcp'/'tls' and default to 'tls'. If client_protocol is 'http-tunnel', server_protocol must be 'tcp'. @@ -52,38 +43,47 @@ - The inactivity timeout in the Endpoint side. required: False type: int - reject_unauth: - description: - - Whether reject any connection to the server application which is not authorized with the list of supplied CAs in the fields certs.server_cert. - required: False - type: bool - default: False created_by: description: - The service or person who created the endpoint. Must be 1000 characters or fewer. required: False type: str + location: + description: + - (Required for new resource) The Location ID. + required: True + type: str + server_port: + description: + - (Required for new resource) The port number of the server endpoint. For 'http-tunnel' protocol, server_port can be 0, which means any port. Such as 0 is good for 80 (http) and 443 (https). + required: True + type: int certs: description: - The certs. required: False type: list elements: dict - client_mutual_auth: + client_protocol: description: - - Whether enable mutual auth in the client application side, when client_protocol is 'tls' or 'https', this field is required. + - (Required for new resource) The protocol in the client application side. + required: True + type: str + server_mutual_auth: + description: + - Whether enable mutual auth in the server application side, when client_protocol is 'tls', this field is required. required: False type: bool default: False - server_mutual_auth: + reject_unauth: description: - - Whether enable mutual auth in the server application side, when client_protocol is 'tls', this field is required. + - Whether reject any connection to the server application which is not authorized with the list of supplied CAs in the fields certs.server_cert. required: False type: bool default: False - connection_type: + display_name: description: - - (Required for new resource) The type of the endpoint. + - (Required for new resource) The display name of the endpoint. Endpoint names must start with a letter and end with an alphanumeric character, can contain letters, numbers, and hyphen (-), and must be 63 characters or fewer. required: True type: str server_host: @@ -91,10 +91,10 @@ - (Required for new resource) The host name or IP address of the server endpoint. For 'http-tunnel' protocol, server_host can start with '*.' , which means a wildcard to it's sub domains. Such as '*.example.com' can accept request to 'api.example.com' and 'www.example.com'. required: True type: str - sni: + connection_type: description: - - The server name indicator (SNI) which used to connect to the server endpoint. Only useful if server side requires SNI. - required: False + - (Required for new resource) The type of the endpoint. + required: True type: str id: description: @@ -143,40 +143,40 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('location', 'str'), - ('display_name', 'str'), ('server_port', 'int'), ('client_protocol', 'str'), - ('connection_type', 'str'), + ('display_name', 'str'), ('server_host', 'str'), + ('connection_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'location', - 'display_name', - 'server_port', - 'client_protocol', + 'sni', + 'client_mutual_auth', 'server_protocol', 'timeout', - 'reject_unauth', 'created_by', + 'location', + 'server_port', 'certs', - 'client_mutual_auth', + 'client_protocol', 'server_mutual_auth', - 'connection_type', + 'reject_unauth', + 'display_name', 'server_host', - 'sni', + 'connection_type', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('endpoint_id', 'str'), ('location', 'str'), + ('endpoint_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'endpoint_id', 'location', + 'endpoint_id', ] TL_CONFLICTS_MAP = { @@ -186,47 +186,47 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - location=dict( - required=False, - type='str'), - display_name=dict( + sni=dict( required=False, type='str'), - server_port=dict( - required=False, - type='int'), - client_protocol=dict( + client_mutual_auth=dict( required=False, - type='str'), + type='bool'), server_protocol=dict( required=False, type='str'), timeout=dict( required=False, type='int'), - reject_unauth=dict( - required=False, - type='bool'), created_by=dict( required=False, type='str'), + location=dict( + required=False, + type='str'), + server_port=dict( + required=False, + type='int'), certs=dict( required=False, elements='', type='list'), - client_mutual_auth=dict( + client_protocol=dict( required=False, - type='bool'), + type='str'), server_mutual_auth=dict( required=False, type='bool'), - connection_type=dict( + reject_unauth=dict( + required=False, + type='bool'), + display_name=dict( required=False, type='str'), server_host=dict( required=False, type='str'), - sni=dict( + connection_type=dict( required=False, type='str'), id=dict( @@ -294,7 +294,7 @@ def run_module(): resource_type='ibm_satellite_endpoint', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -303,7 +303,7 @@ def run_module(): resource_type='ibm_satellite_endpoint', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_satellite_endpoint_info.py b/plugins/modules/ibm_satellite_endpoint_info.py index e0a937ad0..0da82c874 100644 --- a/plugins/modules/ibm_satellite_endpoint_info.py +++ b/plugins/modules/ibm_satellite_endpoint_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_endpoint' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - endpoint_id: + location: description: - - The Endpoint ID. + - The Location ID. required: True type: str - location: + endpoint_id: description: - - The Location ID. + - The Endpoint ID. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('endpoint_id', 'str'), ('location', 'str'), + ('endpoint_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'endpoint_id', 'location', + 'endpoint_id', ] @@ -82,10 +82,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - endpoint_id=dict( + location=dict( required=True, type='str'), - location=dict( + endpoint_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_satellite_endpoint', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_satellite_host.py b/plugins/modules/ibm_satellite_host.py index 33b368af7..6c1d60a46 100644 --- a/plugins/modules/ibm_satellite_host.py +++ b/plugins/modules/ibm_satellite_host.py @@ -18,19 +18,24 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_host' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + zone: + description: + - The zone within the cluster to assign the host to + required: False + type: str host_provider: description: - Host Provider required: False type: str - location: + wait_till: description: - - (Required for new resource) The name or ID of the Satellite location - required: True + - Wait until location is normal + required: False type: str cluster: description: @@ -53,15 +58,10 @@ - The name or ID of the worker pool within the cluster to assign the host to required: False type: str - zone: - description: - - The zone within the cluster to assign the host to - required: False - type: str - wait_till: + location: description: - - Wait until location is normal - required: False + - (Required for new resource) The name or ID of the Satellite location + required: True type: str id: description: @@ -109,20 +109,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('location', 'str'), ('host_id', 'str'), + ('location', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'zone', 'host_provider', - 'location', + 'wait_till', 'cluster', 'host_id', 'labels', 'worker_pool', - 'zone', - 'wait_till', + 'location', ] # Params for Data source @@ -139,10 +139,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + zone=dict( + required=False, + type='str'), host_provider=dict( required=False, type='str'), - location=dict( + wait_till=dict( required=False, type='str'), cluster=dict( @@ -158,10 +161,7 @@ worker_pool=dict( required=False, type='str'), - zone=dict( - required=False, - type='str'), - wait_till=dict( + location=dict( required=False, type='str'), id=dict( @@ -229,7 +229,7 @@ def run_module(): resource_type='ibm_satellite_host', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_satellite_link.py b/plugins/modules/ibm_satellite_link.py index c615d3767..43c93608f 100644 --- a/plugins/modules/ibm_satellite_link.py +++ b/plugins/modules/ibm_satellite_link.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_link' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_satellite_link', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_satellite_link', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_satellite_link_info.py b/plugins/modules/ibm_satellite_link_info.py index 47967b3ac..f533cfca5 100644 --- a/plugins/modules/ibm_satellite_link_info.py +++ b/plugins/modules/ibm_satellite_link_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_link' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_satellite_link', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_satellite_location.py b/plugins/modules/ibm_satellite_location.py index 367dfe8af..b8f7ecf87 100644 --- a/plugins/modules/ibm_satellite_location.py +++ b/plugins/modules/ibm_satellite_location.py @@ -18,62 +18,62 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_location' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - location: + managed_from: description: - - (Required for new resource) A unique name for the new Satellite location + - (Required for new resource) The IBM Cloud metro from which the Satellite location is managed required: True type: str - logging_account_id: + cos_config: description: - - The account ID for IBM Log Analysis with LogDNA log forwarding + - COSBucket - IBM Cloud Object Storage bucket configuration details required: False - type: str - description: + type: list + elements: dict + resource_group_id: description: - - A description of the new Satellite location + - ID of the resource group. required: False type: str - coreos_enabled: - description: - - Enable Red Hat CoreOS features within the Satellite location - required: False - type: bool - zones: + tags: description: - - The names of at least three high availability zones to use for the location + - List of tags associated with resource instance required: False type: list elements: str - cos_config: + location: description: - - COSBucket - IBM Cloud Object Storage bucket configuration details - required: False - type: list - elements: dict + - (Required for new resource) A unique name for the new Satellite location + required: True + type: str cos_credentials: description: - COSAuthorization - IBM Cloud Object Storage authorization keys required: False type: list elements: dict - tags: + zones: description: - - List of tags associated with resource instance + - The names of at least three high availability zones to use for the location required: False type: list elements: str - managed_from: + coreos_enabled: description: - - (Required for new resource) The IBM Cloud metro from which the Satellite location is managed - required: True + - Enable Red Hat CoreOS features within the Satellite location + required: False + type: bool + logging_account_id: + description: + - The account ID for IBM Log Analysis with LogDNA log forwarding + required: False type: str - resource_group_id: + description: description: - - ID of the resource group. + - A description of the new Satellite location required: False type: str id: @@ -122,22 +122,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('location', 'str'), ('managed_from', 'str'), + ('location', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'managed_from', + 'cos_config', + 'resource_group_id', + 'tags', 'location', + 'cos_credentials', + 'zones', + 'coreos_enabled', 'logging_account_id', 'description', - 'coreos_enabled', - 'zones', - 'cos_config', - 'cos_credentials', - 'tags', - 'managed_from', - 'resource_group_id', ] # Params for Data source @@ -156,38 +156,38 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - location=dict( + managed_from=dict( required=False, type='str'), - logging_account_id=dict( + cos_config=dict( required=False, - type='str'), - description=dict( + elements='', + type='list'), + resource_group_id=dict( required=False, type='str'), - coreos_enabled=dict( - required=False, - type='bool'), - zones=dict( + tags=dict( required=False, elements='', type='list'), - cos_config=dict( + location=dict( required=False, - elements='', - type='list'), + type='str'), cos_credentials=dict( required=False, elements='', type='list'), - tags=dict( + zones=dict( required=False, elements='', type='list'), - managed_from=dict( + coreos_enabled=dict( + required=False, + type='bool'), + logging_account_id=dict( required=False, type='str'), - resource_group_id=dict( + description=dict( required=False, type='str'), id=dict( @@ -255,7 +255,7 @@ def run_module(): resource_type='ibm_satellite_location', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -264,7 +264,7 @@ def run_module(): resource_type='ibm_satellite_location', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_satellite_location_info.py b/plugins/modules/ibm_satellite_location_info.py index 200c7abbd..a65b0c907 100644 --- a/plugins/modules/ibm_satellite_location_info.py +++ b/plugins/modules/ibm_satellite_location_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_location' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_satellite_location', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_satellite_location_nlb_dns.py b/plugins/modules/ibm_satellite_location_nlb_dns.py index 92f973fa5..59af35c7c 100644 --- a/plugins/modules/ibm_satellite_location_nlb_dns.py +++ b/plugins/modules/ibm_satellite_location_nlb_dns.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_location_nlb_dns' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -177,7 +177,7 @@ def run_module(): resource_type='ibm_satellite_location_nlb_dns', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_satellite_location_nlb_dns', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_satellite_location_nlb_dns_info.py b/plugins/modules/ibm_satellite_location_nlb_dns_info.py index 81e24df94..19936a2af 100644 --- a/plugins/modules/ibm_satellite_location_nlb_dns_info.py +++ b/plugins/modules/ibm_satellite_location_nlb_dns_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_location_nlb_dns' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_satellite_location_nlb_dns', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_account_location_info.py b/plugins/modules/ibm_scc_account_location_info.py index 340328488..eb8307c91 100644 --- a/plugins/modules/ibm_scc_account_location_info.py +++ b/plugins/modules/ibm_scc_account_location_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_account_location' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_scc_account_location', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_account_location_settings_info.py b/plugins/modules/ibm_scc_account_location_settings_info.py index 517a862c9..82e713dfe 100644 --- a/plugins/modules/ibm_scc_account_location_settings_info.py +++ b/plugins/modules/ibm_scc_account_location_settings_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_account_location_settings' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_scc_account_location_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_account_locations_info.py b/plugins/modules/ibm_scc_account_locations_info.py index c38787100..82545a681 100644 --- a/plugins/modules/ibm_scc_account_locations_info.py +++ b/plugins/modules/ibm_scc_account_locations_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_account_locations' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_scc_account_locations', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_account_notification_settings_info.py b/plugins/modules/ibm_scc_account_notification_settings_info.py index fbb768b51..22ba29a7f 100644 --- a/plugins/modules/ibm_scc_account_notification_settings_info.py +++ b/plugins/modules/ibm_scc_account_notification_settings_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_account_notification_settings' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_scc_account_notification_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_account_settings.py b/plugins/modules/ibm_scc_account_settings.py index c99b94bff..758dc6306 100644 --- a/plugins/modules/ibm_scc_account_settings.py +++ b/plugins/modules/ibm_scc_account_settings.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_account_settings' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_scc_account_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_collector.py b/plugins/modules/ibm_scc_posture_collector.py index 95c86311f..e0e396ff9 100644 --- a/plugins/modules/ibm_scc_posture_collector.py +++ b/plugins/modules/ibm_scc_posture_collector.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_posture_collector' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + name: + description: + - (Required for new resource) A unique name for your collector. + required: True + type: str is_public: description: - (Required for new resource) Determines whether the collector endpoint is accessible on a public network. If set to `true`, the collector connects to resources in your account over a public network. If set to `false`, the collector connects to resources by using a private IP that is accessible only through the IBM Cloud private network. @@ -48,11 +53,6 @@ - Determines whether the collector has a Ubi image. required: False type: bool - name: - description: - - (Required for new resource) A unique name for your collector. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,19 +99,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('name', 'str'), ('is_public', 'bool'), ('managed_by', 'str'), - ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'is_public', 'managed_by', 'description', 'passphrase', 'is_ubi_image', - 'name', ] # Params for Data source @@ -130,6 +130,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + name=dict( + required=False, + type='str'), is_public=dict( required=False, type='bool'), @@ -145,9 +148,6 @@ is_ubi_image=dict( required=False, type='bool'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -213,7 +213,7 @@ def run_module(): resource_type='ibm_scc_posture_collector', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -222,7 +222,7 @@ def run_module(): resource_type='ibm_scc_posture_collector', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_scc_posture_collector_info.py b/plugins/modules/ibm_scc_posture_collector_info.py index 8a9c2006f..be23ccc97 100644 --- a/plugins/modules/ibm_scc_posture_collector_info.py +++ b/plugins/modules/ibm_scc_posture_collector_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_collector' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_scc_posture_collector', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_collectors_info.py b/plugins/modules/ibm_scc_posture_collectors_info.py index f3e1fb475..360f513e7 100644 --- a/plugins/modules/ibm_scc_posture_collectors_info.py +++ b/plugins/modules/ibm_scc_posture_collectors_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_collectors' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_scc_posture_collectors', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_credential.py b/plugins/modules/ibm_scc_posture_credential.py index 1877ea404..cc66b604c 100644 --- a/plugins/modules/ibm_scc_posture_credential.py +++ b/plugins/modules/ibm_scc_posture_credential.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_posture_credential' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + name: + description: + - (Required for new resource) Credentials name. + required: True + type: str description: description: - (Required for new resource) Credentials description. @@ -54,11 +59,6 @@ - (Required for new resource) Credentials type. required: True type: str - name: - description: - - (Required for new resource) Credentials name. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -105,24 +105,24 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('name', 'str'), ('description', 'str'), ('display_fields', 'list'), ('group', 'list'), ('purpose', 'str'), ('enabled', 'bool'), ('type', 'str'), - ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'description', 'display_fields', 'group', 'purpose', 'enabled', 'type', - 'name', ] # Params for Data source @@ -141,6 +141,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + name=dict( + required=False, + type='str'), description=dict( required=False, type='str'), @@ -161,9 +164,6 @@ type=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -229,7 +229,7 @@ def run_module(): resource_type='ibm_scc_posture_credential', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -238,7 +238,7 @@ def run_module(): resource_type='ibm_scc_posture_credential', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_scc_posture_credential_info.py b/plugins/modules/ibm_scc_posture_credential_info.py index 826af97f3..80f24f727 100644 --- a/plugins/modules/ibm_scc_posture_credential_info.py +++ b/plugins/modules/ibm_scc_posture_credential_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_credential' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_scc_posture_credential', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_credentials_info.py b/plugins/modules/ibm_scc_posture_credentials_info.py index b9977326d..cf91373ee 100644 --- a/plugins/modules/ibm_scc_posture_credentials_info.py +++ b/plugins/modules/ibm_scc_posture_credentials_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_credentials' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_scc_posture_credentials', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_group_profile_info.py b/plugins/modules/ibm_scc_posture_group_profile_info.py index 3648847d0..304b14437 100644 --- a/plugins/modules/ibm_scc_posture_group_profile_info.py +++ b/plugins/modules/ibm_scc_posture_group_profile_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_group_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_scc_posture_group_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_latest_scans_info.py b/plugins/modules/ibm_scc_posture_latest_scans_info.py index b0c8b4408..6b97b4164 100644 --- a/plugins/modules/ibm_scc_posture_latest_scans_info.py +++ b/plugins/modules/ibm_scc_posture_latest_scans_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_latest_scans' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_scc_posture_latest_scans', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_profile_import.py b/plugins/modules/ibm_scc_posture_profile_import.py index bd2cbbade..c3672a770 100644 --- a/plugins/modules/ibm_scc_posture_profile_import.py +++ b/plugins/modules/ibm_scc_posture_profile_import.py @@ -18,20 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_posture_profile_import' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - file: - description: - - (Required for new resource) File to import - required: True - type: str name: description: - The name of the profile. required: False type: str + file: + description: + - (Required for new resource) File to import + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -83,8 +83,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'file', 'name', + 'file', ] # Params for Data source @@ -101,10 +101,10 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - file=dict( + name=dict( required=False, type='str'), - name=dict( + file=dict( required=False, type='str'), id=dict( @@ -172,7 +172,7 @@ def run_module(): resource_type='ibm_scc_posture_profile_import', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_profile_info.py b/plugins/modules/ibm_scc_posture_profile_info.py index 56d9c58b4..f429d2c4e 100644 --- a/plugins/modules/ibm_scc_posture_profile_info.py +++ b/plugins/modules/ibm_scc_posture_profile_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_profile' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_scc_posture_profile', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_profiles_info.py b/plugins/modules/ibm_scc_posture_profiles_info.py index 526ac055b..fadc7a19d 100644 --- a/plugins/modules/ibm_scc_posture_profiles_info.py +++ b/plugins/modules/ibm_scc_posture_profiles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_scc_posture_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_scan_initiate_validation.py b/plugins/modules/ibm_scc_posture_scan_initiate_validation.py index 8bd154126..01c6b9706 100644 --- a/plugins/modules/ibm_scc_posture_scan_initiate_validation.py +++ b/plugins/modules/ibm_scc_posture_scan_initiate_validation.py @@ -18,30 +18,35 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_posture_scan_initiate_validation' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: - description: - - The name of a scheduled scan. - required: False - type: str - description: - description: - - The description of a scheduled scan. - required: False - type: str scope_id: description: - (Required for new resource) The unique ID of the scope. required: True type: str + profile_id: + description: + - (Required for new resource) The unique ID of the profile. + required: True + type: str group_profile_id: description: - The ID of the profile group. required: False type: str + name: + description: + - The name of a scheduled scan. + required: False + type: str + description: + description: + - The description of a scheduled scan. + required: False + type: str frequency: description: - The frequency at which a scan is run specified in milliseconds. @@ -57,11 +62,6 @@ - The date on which a scan should stop running specified in UTC. required: False type: str - profile_id: - description: - - (Required for new resource) The unique ID of the profile. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -114,14 +114,14 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'description', 'scope_id', + 'profile_id', 'group_profile_id', + 'name', + 'description', 'frequency', 'no_of_occurrences', 'end_time', - 'profile_id', ] # Params for Data source @@ -138,16 +138,19 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + scope_id=dict( required=False, type='str'), - description=dict( + profile_id=dict( required=False, type='str'), - scope_id=dict( + group_profile_id=dict( required=False, type='str'), - group_profile_id=dict( + name=dict( + required=False, + type='str'), + description=dict( required=False, type='str'), frequency=dict( @@ -159,9 +162,6 @@ end_time=dict( required=False, type='str'), - profile_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_scc_posture_scan_initiate_validation', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_scan_summaries_info.py b/plugins/modules/ibm_scc_posture_scan_summaries_info.py index c066414f7..7dc851a60 100644 --- a/plugins/modules/ibm_scc_posture_scan_summaries_info.py +++ b/plugins/modules/ibm_scc_posture_scan_summaries_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_scan_summaries' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_scc_posture_scan_summaries', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_scan_summary_info.py b/plugins/modules/ibm_scc_posture_scan_summary_info.py index a32c78ed5..2342538d0 100644 --- a/plugins/modules/ibm_scc_posture_scan_summary_info.py +++ b/plugins/modules/ibm_scc_posture_scan_summary_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_scan_summary' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_scc_posture_scan_summary', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_scope.py b/plugins/modules/ibm_scc_posture_scope.py index 7df87b0f2..02c9aebcf 100644 --- a/plugins/modules/ibm_scc_posture_scope.py +++ b/plugins/modules/ibm_scc_posture_scope.py @@ -18,10 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_posture_scope' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + credential_id: + description: + - (Required for new resource) The unique identifier of the credential. + required: True + type: str + credential_type: + description: + - (Required for new resource) The environment that the scope is targeted to. + required: True + type: str name: description: - (Required for new resource) A unique name for your scope. @@ -38,16 +48,6 @@ required: True type: list elements: str - credential_id: - description: - - (Required for new resource) The unique identifier of the credential. - required: True - type: str - credential_type: - description: - - (Required for new resource) The environment that the scope is targeted to. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,20 +94,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('credential_id', 'str'), + ('credential_type', 'str'), ('name', 'str'), ('description', 'str'), ('collector_ids', 'list'), - ('credential_id', 'str'), - ('credential_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'credential_id', + 'credential_type', 'name', 'description', 'collector_ids', - 'credential_id', - 'credential_type', ] # Params for Data source @@ -126,6 +126,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + credential_id=dict( + required=False, + type='str'), + credential_type=dict( + required=False, + type='str'), name=dict( required=False, type='str'), @@ -136,12 +142,6 @@ required=False, elements='', type='list'), - credential_id=dict( - required=False, - type='str'), - credential_type=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_scc_posture_scope', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_scc_posture_scope', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_scc_posture_scope_correlation_info.py b/plugins/modules/ibm_scc_posture_scope_correlation_info.py index cdc80e121..ee4524768 100644 --- a/plugins/modules/ibm_scc_posture_scope_correlation_info.py +++ b/plugins/modules/ibm_scc_posture_scope_correlation_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_scope_correlation' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_scc_posture_scope_correlation', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_scope_info.py b/plugins/modules/ibm_scc_posture_scope_info.py index 6bcc0b104..a9460e8e1 100644 --- a/plugins/modules/ibm_scc_posture_scope_info.py +++ b/plugins/modules/ibm_scc_posture_scope_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_scope' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_scc_posture_scope', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_posture_scopes_info.py b/plugins/modules/ibm_scc_posture_scopes_info.py index bf4bc3596..bdb6ac8bb 100644 --- a/plugins/modules/ibm_scc_posture_scopes_info.py +++ b/plugins/modules/ibm_scc_posture_scopes_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_scopes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_scc_posture_scopes', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_rule.py b/plugins/modules/ibm_scc_rule.py index e41ced638..d84331c8b 100644 --- a/plugins/modules/ibm_scc_rule.py +++ b/plugins/modules/ibm_scc_rule.py @@ -18,10 +18,22 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + labels: + description: + - Labels that you can use to group and search for similar rules, such as those that help you to meet a specific organization guideline. + required: False + type: list + elements: str + target: + description: + - (Required for new resource) The properties that describe the resource that you want to targetwith the rule or template. + required: True + type: list + elements: dict account_id: description: - (Required for new resource) Your IBM Cloud account ID. @@ -37,30 +49,18 @@ - (Required for new resource) An extended description of your rule. required: True type: str - required_config: + enforcement_actions: description: - - (Required for new resource) The requirements that must be met to determine the resource's level of compliance in accordance with the rule. Use logical operators (and/or) to define multiple property checks and conditions. To define requirements for a rule, list one or more property check objects in the and array. To add conditions to a property check, use or. - required: True + - The actions that the service must run on your behalf when a request to create or modify the target resource does not comply with your conditions. + required: False type: list elements: dict - target: + required_config: description: - - (Required for new resource) The properties that describe the resource that you want to targetwith the rule or template. + - (Required for new resource) The requirements that must be met to determine the resource's level of compliance in accordance with the rule. Use logical operators (and/or) to define multiple property checks and conditions. To define requirements for a rule, list one or more property check objects in the and array. To add conditions to a property check, use or. required: True type: list elements: dict - labels: - description: - - Labels that you can use to group and search for similar rules, such as those that help you to meet a specific organization guideline. - required: False - type: list - elements: str - enforcement_actions: - description: - - The actions that the service must run on your behalf when a request to create or modify the target resource does not comply with your conditions. - required: False - type: list - elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -107,22 +107,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('target', 'list'), ('account_id', 'str'), ('name', 'str'), ('description', 'str'), ('required_config', 'list'), - ('target', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'labels', + 'target', 'account_id', 'name', 'description', - 'required_config', - 'target', - 'labels', 'enforcement_actions', + 'required_config', ] # Params for Data source @@ -139,6 +139,14 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + labels=dict( + required=False, + elements='', + type='list'), + target=dict( + required=False, + elements='', + type='list'), account_id=dict( required=False, type='str'), @@ -148,19 +156,11 @@ description=dict( required=False, type='str'), - required_config=dict( - required=False, - elements='', - type='list'), - target=dict( - required=False, - elements='', - type='list'), - labels=dict( + enforcement_actions=dict( required=False, elements='', type='list'), - enforcement_actions=dict( + required_config=dict( required=False, elements='', type='list'), @@ -229,7 +229,7 @@ def run_module(): resource_type='ibm_scc_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_rule_attachment.py b/plugins/modules/ibm_scc_rule_attachment.py index 8a9fbe1ce..b8219a194 100644 --- a/plugins/modules/ibm_scc_rule_attachment.py +++ b/plugins/modules/ibm_scc_rule_attachment.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_rule_attachment' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + rule_id: + description: + - (Required for new resource) The UUID that uniquely identifies the rule. + required: True + type: str account_id: description: - (Required for new resource) Your IBM Cloud account ID. @@ -39,11 +44,6 @@ required: False type: list elements: dict - rule_id: - description: - - (Required for new resource) The UUID that uniquely identifies the rule. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,17 +90,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('rule_id', 'str'), ('account_id', 'str'), ('included_scope', 'list'), - ('rule_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'rule_id', 'account_id', 'included_scope', 'excluded_scopes', - 'rule_id', ] # Params for Data source @@ -117,6 +117,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + rule_id=dict( + required=False, + type='str'), account_id=dict( required=False, type='str'), @@ -128,9 +131,6 @@ required=False, elements='', type='list'), - rule_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_scc_rule_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_template.py b/plugins/modules/ibm_scc_template.py index bd70410c0..59563e0a3 100644 --- a/plugins/modules/ibm_scc_template.py +++ b/plugins/modules/ibm_scc_template.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_template' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + account_id: + description: + - (Required for new resource) Your IBM Cloud account ID. + required: True + type: str name: description: - (Required for new resource) A human-readablse alias to assign to your template. @@ -44,11 +49,6 @@ required: True type: list elements: dict - account_id: - description: - - (Required for new resource) Your IBM Cloud account ID. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -95,20 +95,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('account_id', 'str'), ('name', 'str'), ('description', 'str'), ('target', 'list'), ('customized_defaults', 'list'), - ('account_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'account_id', 'name', 'description', 'target', 'customized_defaults', - 'account_id', ] # Params for Data source @@ -125,6 +125,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + account_id=dict( + required=False, + type='str'), name=dict( required=False, type='str'), @@ -139,9 +142,6 @@ required=False, elements='', type='list'), - account_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_scc_template', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_scc_template_attachment.py b/plugins/modules/ibm_scc_template_attachment.py index cdf2e0166..d90315b24 100644 --- a/plugins/modules/ibm_scc_template_attachment.py +++ b/plugins/modules/ibm_scc_template_attachment.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_template_attachment' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + template_id: + description: + - (Required for new resource) The UUID that uniquely identifies the template. + required: True + type: str account_id: description: - (Required for new resource) Your IBM Cloud account ID. @@ -39,11 +44,6 @@ required: False type: list elements: dict - template_id: - description: - - (Required for new resource) The UUID that uniquely identifies the template. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,17 +90,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('template_id', 'str'), ('account_id', 'str'), ('included_scope', 'list'), - ('template_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'template_id', 'account_id', 'included_scope', 'excluded_scopes', - 'template_id', ] # Params for Data source @@ -117,6 +117,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + template_id=dict( + required=False, + type='str'), account_id=dict( required=False, type='str'), @@ -128,9 +131,6 @@ required=False, elements='', type='list'), - template_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_scc_template_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_schematics_action.py b/plugins/modules/ibm_schematics_action.py index 493d6a69a..9126b2772 100644 --- a/plugins/modules/ibm_schematics_action.py +++ b/plugins/modules/ibm_schematics_action.py @@ -18,120 +18,120 @@ - Create, update or destroy an IBM Cloud 'ibm_schematics_action' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - tags: - description: - - Action tags. - required: False - type: list - elements: str - targets_ini: + resource_group: description: - - Inventory of host and host group for the playbook in `INI` file format. For example, `"targets_ini": "[webserverhost] 172.22.192.6 [dbhost] 172.22.192.5"`. For more information, about an inventory host group syntax, see [Inventory host groups](https://cloud.ibm.com/docs/schematics?topic=schematics-schematics-cli-reference#schematics-inventory-host-grps). + - Resource-group name for an action. By default, action is created in default resource group. required: False type: str - action_inputs: + source: description: - - Input variables for the Action. + - Source of templates, playbooks, or controls. required: False type: list elements: dict - settings: + credentials: description: - - Environment variables for the Action. + - credentials of the Action. required: False type: list elements: dict - description: - description: - - Action description. - required: False - type: str - source_readme_url: + name: description: - - URL of the `README` file, for the source URL. - required: False + - (Required for new resource) The unique name of your action. The name can be up to 128 characters long and can include alphanumeric characters, spaces, dashes, and underscores. **Example** you can use the name to stop action. + required: True type: str - source_type: + command_parameter: description: - - Type of source for the Template. + - Schematics job command parameter (playbook-name). required: False type: str - x_github_token: + bastion: description: - - The personal access token to authenticate with your private GitHub or GitLab repository and access your Terraform template. + - Describes a bastion resource. required: False - type: str - name: - description: - - (Required for new resource) The unique name of your action. The name can be up to 128 characters long and can include alphanumeric characters, spaces, dashes, and underscores. **Example** you can use the name to stop action. - required: True - type: str - source: + type: list + elements: dict + action_outputs: description: - - Source of templates, playbooks, or controls. + - Output variables for the Action. required: False type: list elements: dict - user_state: + settings: description: - - User defined status of the Schematics object. + - Environment variables for the Action. required: False type: list elements: dict - inventory: + location: description: - - Target inventory record ID, used by the action or ansible playbook. + - List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. required: False type: str - bastion: + source_readme_url: description: - - Describes a bastion resource. + - URL of the `README` file, for the source URL. + required: False + type: str + bastion_credential: + description: + - User editable variable data & system generated reference to value. required: False type: list elements: dict + description: + description: + - Action description. + required: False + type: str sys_lock: description: - System lock status. required: False type: list elements: dict - location: + tags: description: - - List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. + - Action tags. + required: False + type: list + elements: str + source_type: + description: + - Type of source for the Template. required: False type: str - command_parameter: + inventory: description: - - Schematics job command parameter (playbook-name). + - Target inventory record ID, used by the action or ansible playbook. required: False type: str - bastion_credential: + targets_ini: description: - - User editable variable data & system generated reference to value. + - Inventory of host and host group for the playbook in `INI` file format. For example, `"targets_ini": "[webserverhost] 172.22.192.6 [dbhost] 172.22.192.5"`. For more information, about an inventory host group syntax, see [Inventory host groups](https://cloud.ibm.com/docs/schematics?topic=schematics-schematics-cli-reference#schematics-inventory-host-grps). + required: False + type: str + action_inputs: + description: + - Input variables for the Action. required: False type: list elements: dict - action_outputs: + user_state: description: - - Output variables for the Action. + - User defined status of the Schematics object. required: False type: list elements: dict - resource_group: + x_github_token: description: - - Resource-group name for an action. By default, action is created in default resource group. + - The personal access token to authenticate with your private GitHub or GitLab repository and access your Terraform template. required: False type: str - credentials: - description: - - credentials of the Action. - required: False - type: list - elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -183,26 +183,26 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', - 'targets_ini', - 'action_inputs', - 'settings', - 'description', - 'source_readme_url', - 'source_type', - 'x_github_token', - 'name', + 'resource_group', 'source', - 'user_state', - 'inventory', + 'credentials', + 'name', + 'command_parameter', 'bastion', - 'sys_lock', + 'action_outputs', + 'settings', 'location', - 'command_parameter', + 'source_readme_url', 'bastion_credential', - 'action_outputs', - 'resource_group', - 'credentials', + 'description', + 'sys_lock', + 'tags', + 'source_type', + 'inventory', + 'targets_ini', + 'action_inputs', + 'user_state', + 'x_github_token', ] # Params for Data source @@ -211,8 +211,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'location', 'action_id', + 'location', ] TL_CONFLICTS_MAP = { @@ -222,76 +222,76 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tags=dict( - required=False, - elements='', - type='list'), - targets_ini=dict( + resource_group=dict( required=False, type='str'), - action_inputs=dict( + source=dict( required=False, elements='', type='list'), - settings=dict( + credentials=dict( required=False, elements='', type='list'), - description=dict( - required=False, - type='str'), - source_readme_url=dict( - required=False, - type='str'), - source_type=dict( + name=dict( required=False, type='str'), - x_github_token=dict( + command_parameter=dict( required=False, type='str'), - name=dict( + bastion=dict( required=False, - type='str'), - source=dict( + elements='', + type='list'), + action_outputs=dict( required=False, elements='', type='list'), - user_state=dict( + settings=dict( required=False, elements='', type='list'), - inventory=dict( + location=dict( required=False, type='str'), - bastion=dict( + source_readme_url=dict( + required=False, + type='str'), + bastion_credential=dict( required=False, elements='', type='list'), + description=dict( + required=False, + type='str'), sys_lock=dict( required=False, elements='', type='list'), - location=dict( + tags=dict( + required=False, + elements='', + type='list'), + source_type=dict( required=False, type='str'), - command_parameter=dict( + inventory=dict( required=False, type='str'), - bastion_credential=dict( + targets_ini=dict( + required=False, + type='str'), + action_inputs=dict( required=False, elements='', type='list'), - action_outputs=dict( + user_state=dict( required=False, elements='', type='list'), - resource_group=dict( + x_github_token=dict( required=False, type='str'), - credentials=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -357,7 +357,7 @@ def run_module(): resource_type='ibm_schematics_action', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -366,7 +366,7 @@ def run_module(): resource_type='ibm_schematics_action', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_schematics_action_info.py b/plugins/modules/ibm_schematics_action_info.py index 3acdc8e5c..dccd4b3e7 100644 --- a/plugins/modules/ibm_schematics_action_info.py +++ b/plugins/modules/ibm_schematics_action_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_action' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - location: - description: - - List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. - required: False - type: str action_id: description: - Action Id. Use GET /actions API to look up the Action Ids in your IBM Cloud account. required: True type: str + location: + description: + - List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. + required: False + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -69,8 +69,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'location', 'action_id', + 'location', ] @@ -81,12 +81,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - location=dict( - required=False, - type='str'), action_id=dict( required=True, type='str'), + location=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_schematics_action', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_schematics_inventory.py b/plugins/modules/ibm_schematics_inventory.py index 2df5a125a..0724be784 100644 --- a/plugins/modules/ibm_schematics_inventory.py +++ b/plugins/modules/ibm_schematics_inventory.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_schematics_inventory' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -27,17 +27,6 @@ - The unique name of your Inventory definition. The name can be up to 128 characters long and can include alphanumeric characters, spaces, dashes, and underscores. required: False type: str - resource_group: - description: - - Resource-group name for the Inventory definition. By default, Inventory definition will be created in Default Resource Group. - required: False - type: str - resource_queries: - description: - - Input resource query definitions that is used to dynamically generate the inventory of host and host group for the playbook. - required: False - type: list - elements: str description: description: - The description of your Inventory definition. The description can be up to 2048 characters long in size. @@ -48,11 +37,22 @@ - List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. required: False type: str + resource_group: + description: + - Resource-group name for the Inventory definition. By default, Inventory definition will be created in Default Resource Group. + required: False + type: str inventories_ini: description: - Input inventory of host and host group for the playbook, in the `.ini` file format. required: False type: str + resource_queries: + description: + - Input resource query definitions that is used to dynamically generate the inventory of host and host group for the playbook. + required: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -104,11 +104,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'name', - 'resource_group', - 'resource_queries', 'description', 'location', + 'resource_group', 'inventories_ini', + 'resource_queries', ] # Params for Data source @@ -131,22 +131,22 @@ name=dict( required=False, type='str'), - resource_group=dict( - required=False, - type='str'), - resource_queries=dict( - required=False, - elements='', - type='list'), description=dict( required=False, type='str'), location=dict( required=False, type='str'), + resource_group=dict( + required=False, + type='str'), inventories_ini=dict( required=False, type='str'), + resource_queries=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -212,7 +212,7 @@ def run_module(): resource_type='ibm_schematics_inventory', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -221,7 +221,7 @@ def run_module(): resource_type='ibm_schematics_inventory', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_schematics_inventory_info.py b/plugins/modules/ibm_schematics_inventory_info.py index 261dd9d44..a575b7e4d 100644 --- a/plugins/modules/ibm_schematics_inventory_info.py +++ b/plugins/modules/ibm_schematics_inventory_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_inventory' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_schematics_inventory', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_schematics_job.py b/plugins/modules/ibm_schematics_job.py index d2eb7cd86..5d3060e61 100644 --- a/plugins/modules/ibm_schematics_job.py +++ b/plugins/modules/ibm_schematics_job.py @@ -18,16 +18,27 @@ - Create, update or destroy an IBM Cloud 'ibm_schematics_job' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - tags: + job_inputs: description: - - User defined tags, while running the job. + - Job inputs used by Action or Workspace. required: False type: list - elements: str + elements: dict + job_env_settings: + description: + - Environment variables used by the Job while performing Action or Workspace. + required: False + type: list + elements: dict + location: + description: + - List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. + required: False + type: str bastion: description: - Describes a bastion resource. @@ -39,56 +50,45 @@ - (Required for new resource) Job command object id (workspace-id, action-id). required: True type: str - job_inputs: + command_parameter: description: - - Job inputs used by Action or Workspace. + - Schematics job command parameter (playbook-name). required: False - type: list - elements: dict + type: str command_options: description: - Command line options for the command. required: False type: list elements: str - location: + data: description: - - List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. + - Job data. required: False - type: str + type: list + elements: dict log_summary: description: - Job log summary record. required: False type: list elements: dict + tags: + description: + - User defined tags, while running the job. + required: False + type: list + elements: str command_object: description: - (Required for new resource) Name of the Schematics automation resource. required: True type: str - command_parameter: - description: - - Schematics job command parameter (playbook-name). - required: False - type: str - data: - description: - - Job data. - required: False - type: list - elements: dict command_name: description: - (Required for new resource) Schematics job command name. required: True type: str - job_env_settings: - description: - - Environment variables used by the Job while performing Action or Workspace. - required: False - type: list - elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -142,18 +142,18 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', + 'job_inputs', + 'job_env_settings', + 'location', 'bastion', 'command_object_id', - 'job_inputs', + 'command_parameter', 'command_options', - 'location', + 'data', 'log_summary', + 'tags', 'command_object', - 'command_parameter', - 'data', 'command_name', - 'job_env_settings', ] # Params for Data source @@ -162,8 +162,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'location', 'job_id', + 'location', ] TL_CONFLICTS_MAP = { @@ -173,49 +173,49 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - tags=dict( - required=False, - elements='', - type='list'), - bastion=dict( - required=False, - elements='', - type='list'), - command_object_id=dict( - required=False, - type='str'), job_inputs=dict( required=False, elements='', type='list'), - command_options=dict( + job_env_settings=dict( required=False, elements='', type='list'), location=dict( required=False, type='str'), - log_summary=dict( + bastion=dict( required=False, elements='', type='list'), - command_object=dict( + command_object_id=dict( required=False, type='str'), command_parameter=dict( required=False, type='str'), + command_options=dict( + required=False, + elements='', + type='list'), data=dict( required=False, elements='', type='list'), - command_name=dict( + log_summary=dict( required=False, - type='str'), - job_env_settings=dict( + elements='', + type='list'), + tags=dict( required=False, elements='', type='list'), + command_object=dict( + required=False, + type='str'), + command_name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -281,7 +281,7 @@ def run_module(): resource_type='ibm_schematics_job', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -290,7 +290,7 @@ def run_module(): resource_type='ibm_schematics_job', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_schematics_job_info.py b/plugins/modules/ibm_schematics_job_info.py index 2254b4c0f..9e7d25990 100644 --- a/plugins/modules/ibm_schematics_job_info.py +++ b/plugins/modules/ibm_schematics_job_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_job' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - location: - description: - - List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. - required: False - type: str job_id: description: - Job Id. Use `GET /v2/jobs` API to look up the Job Ids in your IBM Cloud account. required: True type: str + location: + description: + - List of locations supported by IBM Cloud Schematics service. While creating your workspace or action, choose the right region, since it cannot be changed. Note, this does not limit the location of the IBM Cloud resources, provisioned using Schematics. + required: False + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -69,8 +69,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'location', 'job_id', + 'location', ] @@ -81,12 +81,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - location=dict( - required=False, - type='str'), job_id=dict( required=True, type='str'), + location=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_schematics_job', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_schematics_output_info.py b/plugins/modules/ibm_schematics_output_info.py index 04c74392b..53d42495a 100644 --- a/plugins/modules/ibm_schematics_output_info.py +++ b/plugins/modules/ibm_schematics_output_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_output' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -140,7 +140,7 @@ def run_module(): resource_type='ibm_schematics_output', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_schematics_resource_query.py b/plugins/modules/ibm_schematics_resource_query.py index 91a46d360..2fb0630e3 100644 --- a/plugins/modules/ibm_schematics_resource_query.py +++ b/plugins/modules/ibm_schematics_resource_query.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_schematics_resource_query' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -194,7 +194,7 @@ def run_module(): resource_type='ibm_schematics_resource_query', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -203,7 +203,7 @@ def run_module(): resource_type='ibm_schematics_resource_query', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_schematics_resource_query_info.py b/plugins/modules/ibm_schematics_resource_query_info.py index 7989ff5de..d6dea352a 100644 --- a/plugins/modules/ibm_schematics_resource_query_info.py +++ b/plugins/modules/ibm_schematics_resource_query_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_resource_query' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_schematics_resource_query', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_schematics_state_info.py b/plugins/modules/ibm_schematics_state_info.py index a83c2aa43..56a99c21f 100644 --- a/plugins/modules/ibm_schematics_state_info.py +++ b/plugins/modules/ibm_schematics_state_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_state' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -131,7 +131,7 @@ def run_module(): resource_type='ibm_schematics_state', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_schematics_workspace.py b/plugins/modules/ibm_schematics_workspace.py index cfc8b61b2..34ad422ce 100644 --- a/plugins/modules/ibm_schematics_workspace.py +++ b/plugins/modules/ibm_schematics_workspace.py @@ -18,123 +18,130 @@ - Create, update or destroy an IBM Cloud 'ibm_schematics_workspace' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - resource_group: + template_ref: description: - - The ID of the resource group where you want to provision the workspace. + - Workspace template ref. required: False type: str - tags: + template_git_branch: description: - - A list of tags that are associated with the workspace. + - The repository branch. required: False - type: list - elements: str - frozen_at: + type: str + locked_time: description: - - The timestamp when the workspace was frozen. + - The timestamp when the workspace was locked. required: False type: str - name: + resource_group: description: - - (Required for new resource) The name of your workspace. The name can be up to 128 characters long and can include alphanumeric characters, spaces, dashes, and underscores. When you create a workspace for your own Terraform template, consider including the microservice component that you set up with your Terraform template and the IBM Cloud environment where you want to deploy your resources in your name. - required: True + - The ID of the resource group where you want to provision the workspace. + required: False type: str - template_env_settings: + shared_data: description: - - A list of environment variables that you want to apply during the execution of a bash script or Terraform job. This field must be provided as a list of key-value pairs, for example, **TF_LOG=debug**. Each entry will be a map with one entry where `key is the environment variable name and value is value`. You can define environment variables for IBM Cloud catalog offerings that are provisioned by using a bash script. See [example to use special environment variable](https://cloud.ibm.com/docs/schematics?topic=schematics-set-parallelism#parallelism-example) that are supported by Schematics. + - Information about the Target used by the templates originating from the IBM Cloud catalog offerings. This information is not relevant for workspace created using your own Terraform template. required: False type: list elements: dict - template_git_folder: - description: - - The subfolder in your GitHub or GitLab repository where your Terraform template is stored. - required: False - type: str template_inputs: description: - VariablesRequest -. required: False type: list elements: dict - template_git_branch: + template_values_metadata: description: - - The repository branch. + - List of values metadata. required: False - type: str - template_git_repo_sha_value: + type: list + elements: dict + frozen: description: - - The repository SHA value. + - If set to true, the workspace is frozen and changes to the workspace are disabled. required: False - type: str - applied_shareddata_ids: + type: bool + tags: description: - - List of applied shared dataset ID. + - A list of tags that are associated with the workspace. required: False type: list elements: str - locked_by: + template_env_settings: description: - - The user ID that initiated a resource-related action, such as applying or destroying resources, that locked the workspace. + - A list of environment variables that you want to apply during the execution of a bash script or Terraform job. This field must be provided as a list of key-value pairs, for example, **TF_LOG=debug**. Each entry will be a map with one entry where `key is the environment variable name and value is value`. You can define environment variables for IBM Cloud catalog offerings that are provisioned by using a bash script. See [example to use special environment variable](https://cloud.ibm.com/docs/schematics?topic=schematics-set-parallelism#parallelism-example) that are supported by Schematics. required: False - type: str - template_type: - description: - - (Required for new resource) The Terraform version that you want to use to run your Terraform code. Enter `terraform_v0.12` to use Terraform version 0.12, and `terraform_v0.11` to use Terraform version 0.11. The Terraform config files are run with Terraform version 0.11. This is a required variable. Make sure that your Terraform config files are compatible with the Terraform version that you select. - required: True - type: str - template_uninstall_script_name: + type: list + elements: dict + template_values: description: - - Uninstall script name. + - A list of variable values that you want to apply during the Helm chart installation. The list must be provided in JSON format, such as `"autoscaling: enabled: true minReplicas: 2"`. The values that you define here override the default Helm chart values. This field is supported only for IBM Cloud catalog offerings that are provisioned by using the Terraform Helm provider. required: False type: str - template_values_metadata: + catalog_ref: description: - - List of values metadata. + - Information about the software template that you chose from the IBM Cloud catalog. This information is returned for IBM Cloud catalog offerings only. required: False type: list elements: dict - template_git_repo_url: + template_init_state_file: description: - - The repository URL. + - The content of an existing Terraform statefile that you want to import in to your workspace. To get the content of a Terraform statefile for a specific Terraform template in an existing workspace, run `ibmcloud terraform state pull --id --template `. required: False type: str - template_git_has_uploadedgitrepotar: + template_type: description: - - Has uploaded git repo tar + - (Required for new resource) The Terraform version that you want to use to run your Terraform code. Enter `terraform_v0.12` to use Terraform version 0.12, and `terraform_v0.11` to use Terraform version 0.11. The Terraform config files are run with Terraform version 0.11. This is a required variable. Make sure that your Terraform config files are compatible with the Terraform version that you select. + required: True + type: str + locked: + description: + - If set to true, the workspace is locked and disabled for changes. required: False type: bool - frozen_by: + template_git_repo_sha_value: description: - - The user ID that froze the workspace. + - The repository SHA value. required: False type: str - description: + applied_shareddata_ids: description: - - The description of the workspace. + - List of applied shared dataset ID. + required: False + type: list + elements: str + location: + description: + - The location where you want to create your Schematics workspace and run the Schematics jobs. The location that you enter must match the API endpoint that you use. For example, if you use the Frankfurt API endpoint, you must specify `eu-de` as your location. If you use an API endpoint for a geography and you do not specify a location, Schematics determines the location based on availability. required: False type: str - template_values: + template_git_folder: description: - - A list of variable values that you want to apply during the Helm chart installation. The list must be provided in JSON format, such as `"autoscaling: enabled: true minReplicas: 2"`. The values that you define here override the default Helm chart values. This field is supported only for IBM Cloud catalog offerings that are provisioned by using the Terraform Helm provider. + - The subfolder in your GitHub or GitLab repository where your Terraform template is stored. required: False type: str - template_init_state_file: + locked_by: description: - - The content of an existing Terraform statefile that you want to import in to your workspace. To get the content of a Terraform statefile for a specific Terraform template in an existing workspace, run `ibmcloud terraform state pull --id --template `. + - The user ID that initiated a resource-related action, such as applying or destroying resources, that locked the workspace. required: False type: str - frozen: + template_git_release: description: - - If set to true, the workspace is frozen and changes to the workspace are disabled. + - The repository release. + required: False + type: str + template_git_has_uploadedgitrepotar: + description: + - Has uploaded git repo tar required: False type: bool - template_ref: + frozen_by: description: - - Workspace template ref. + - The user ID that froze the workspace. required: False type: str x_github_token: @@ -142,41 +149,34 @@ - The personal access token to authenticate with your private GitHub or GitLab repository and access your Terraform template. required: False type: str - catalog_ref: - description: - - Information about the software template that you chose from the IBM Cloud catalog. This information is returned for IBM Cloud catalog offerings only. - required: False - type: list - elements: dict - location: + description: description: - - The location where you want to create your Schematics workspace and run the Schematics jobs. The location that you enter must match the API endpoint that you use. For example, if you use the Frankfurt API endpoint, you must specify `eu-de` as your location. If you use an API endpoint for a geography and you do not specify a location, Schematics determines the location based on availability. + - The description of the workspace. required: False type: str - shared_data: + template_git_repo_url: description: - - Information about the Target used by the templates originating from the IBM Cloud catalog offerings. This information is not relevant for workspace created using your own Terraform template. + - The repository URL. required: False - type: list - elements: dict - template_git_release: + type: str + frozen_at: description: - - The repository release. + - The timestamp when the workspace was frozen. required: False type: str - template_git_url: + name: description: - - The source URL. - required: False + - (Required for new resource) The name of your workspace. The name can be up to 128 characters long and can include alphanumeric characters, spaces, dashes, and underscores. When you create a workspace for your own Terraform template, consider including the microservice component that you set up with your Terraform template and the IBM Cloud environment where you want to deploy your resources in your name. + required: True type: str - locked: + template_uninstall_script_name: description: - - If set to true, the workspace is locked and disabled for changes. + - Uninstall script name. required: False - type: bool - locked_time: + type: str + template_git_url: description: - - The timestamp when the workspace was locked. + - The source URL. required: False type: str id: @@ -225,42 +225,42 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('template_type', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'template_ref', + 'template_git_branch', + 'locked_time', 'resource_group', + 'shared_data', + 'template_inputs', + 'template_values_metadata', + 'frozen', 'tags', - 'frozen_at', - 'name', 'template_env_settings', - 'template_git_folder', - 'template_inputs', - 'template_git_branch', + 'template_values', + 'catalog_ref', + 'template_init_state_file', + 'template_type', + 'locked', 'template_git_repo_sha_value', 'applied_shareddata_ids', + 'location', + 'template_git_folder', 'locked_by', - 'template_type', - 'template_uninstall_script_name', - 'template_values_metadata', - 'template_git_repo_url', + 'template_git_release', 'template_git_has_uploadedgitrepotar', 'frozen_by', - 'description', - 'template_values', - 'template_init_state_file', - 'frozen', - 'template_ref', 'x_github_token', - 'catalog_ref', - 'location', - 'shared_data', - 'template_git_release', + 'description', + 'template_git_repo_url', + 'frozen_at', + 'name', + 'template_uninstall_script_name', 'template_git_url', - 'locked', - 'locked_time', ] # Params for Data source @@ -269,10 +269,10 @@ ] TL_ALL_PARAMETERS_DS = [ - 'template_git_has_uploadedgitrepotar', - 'location', 'template_values_metadata', + 'template_git_has_uploadedgitrepotar', 'workspace_id', + 'location', ] TL_CONFLICTS_MAP = { @@ -282,101 +282,101 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - resource_group=dict( + template_ref=dict( required=False, type='str'), - tags=dict( + template_git_branch=dict( required=False, - elements='', - type='list'), - frozen_at=dict( + type='str'), + locked_time=dict( required=False, type='str'), - name=dict( + resource_group=dict( required=False, type='str'), - template_env_settings=dict( + shared_data=dict( required=False, elements='', type='list'), - template_git_folder=dict( - required=False, - type='str'), template_inputs=dict( required=False, elements='', type='list'), - template_git_branch=dict( + template_values_metadata=dict( required=False, - type='str'), - template_git_repo_sha_value=dict( + elements='', + type='list'), + frozen=dict( + required=False, + type='bool'), + tags=dict( + required=False, + elements='', + type='list'), + template_env_settings=dict( + required=False, + elements='', + type='list'), + template_values=dict( required=False, type='str'), - applied_shareddata_ids=dict( + catalog_ref=dict( required=False, elements='', type='list'), - locked_by=dict( + template_init_state_file=dict( required=False, type='str'), template_type=dict( required=False, type='str'), - template_uninstall_script_name=dict( + locked=dict( + required=False, + type='bool'), + template_git_repo_sha_value=dict( required=False, type='str'), - template_values_metadata=dict( + applied_shareddata_ids=dict( required=False, elements='', type='list'), - template_git_repo_url=dict( - required=False, - type='str'), - template_git_has_uploadedgitrepotar=dict( - required=False, - type='bool'), - frozen_by=dict( + location=dict( required=False, type='str'), - description=dict( + template_git_folder=dict( required=False, type='str'), - template_values=dict( + locked_by=dict( required=False, type='str'), - template_init_state_file=dict( + template_git_release=dict( required=False, type='str'), - frozen=dict( + template_git_has_uploadedgitrepotar=dict( required=False, type='bool'), - template_ref=dict( + frozen_by=dict( required=False, type='str'), x_github_token=dict( required=False, type='str'), - catalog_ref=dict( - required=False, - elements='', - type='list'), - location=dict( + description=dict( required=False, type='str'), - shared_data=dict( + template_git_repo_url=dict( required=False, - elements='', - type='list'), - template_git_release=dict( + type='str'), + frozen_at=dict( required=False, type='str'), - template_git_url=dict( + name=dict( required=False, type='str'), - locked=dict( + template_uninstall_script_name=dict( required=False, - type='bool'), - locked_time=dict( + type='str'), + template_git_url=dict( required=False, type='str'), id=dict( @@ -444,7 +444,7 @@ def run_module(): resource_type='ibm_schematics_workspace', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -453,7 +453,7 @@ def run_module(): resource_type='ibm_schematics_workspace', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_schematics_workspace_info.py b/plugins/modules/ibm_schematics_workspace_info.py index e5b668533..f75b60cf3 100644 --- a/plugins/modules/ibm_schematics_workspace_info.py +++ b/plugins/modules/ibm_schematics_workspace_info.py @@ -17,31 +17,31 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_workspace' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - template_git_has_uploadedgitrepotar: - description: - - Has uploaded Git repository tar. - required: False - type: bool - location: - description: - - The IBM Cloud location where your workspace was provisioned. - required: False - type: str template_values_metadata: description: - A list of input variables that are associated with the workspace. required: False type: list elements: dict + template_git_has_uploadedgitrepotar: + description: + - Has uploaded Git repository tar. + required: False + type: bool workspace_id: description: - The ID of the workspace. To find the workspace ID, use the `GET /v1/workspaces` API. required: True type: str + location: + description: + - The IBM Cloud location where your workspace was provisioned. + required: False + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -80,10 +80,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'template_git_has_uploadedgitrepotar', - 'location', 'template_values_metadata', + 'template_git_has_uploadedgitrepotar', 'workspace_id', + 'location', ] @@ -94,19 +94,19 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - template_git_has_uploadedgitrepotar=dict( - required=False, - type='bool'), - location=dict( - required=False, - type='str'), template_values_metadata=dict( required=False, elements='', type='list'), + template_git_has_uploadedgitrepotar=dict( + required=False, + type='bool'), workspace_id=dict( required=True, type='str'), + location=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_schematics_workspace', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_secrets_manager_secret_info.py b/plugins/modules/ibm_secrets_manager_secret_info.py index 999c674d6..571243dc7 100644 --- a/plugins/modules/ibm_secrets_manager_secret_info.py +++ b/plugins/modules/ibm_secrets_manager_secret_info.py @@ -17,16 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_secrets_manager_secret' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - endpoint_type: - description: - - Endpoint Type. 'public' or 'private' - required: False - type: str - default: public instance_id: description: - Secrets Manager instance GUID @@ -42,6 +36,12 @@ - The secret type. Supported options include: arbitrary, iam_credentials, username_password. required: True type: str + endpoint_type: + description: + - Endpoint Type. 'public' or 'private' + required: False + type: str + default: public iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -82,10 +82,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'endpoint_type', 'instance_id', 'secret_id', 'secret_type', + 'endpoint_type', ] @@ -96,9 +96,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - endpoint_type=dict( - required=False, - type='str'), instance_id=dict( required=True, type='str'), @@ -108,6 +105,9 @@ secret_type=dict( required=True, type='str'), + endpoint_type=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_secrets_manager_secret', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_secrets_manager_secrets_info.py b/plugins/modules/ibm_secrets_manager_secrets_info.py index be3f92caf..dbc093ccc 100644 --- a/plugins/modules/ibm_secrets_manager_secrets_info.py +++ b/plugins/modules/ibm_secrets_manager_secrets_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_secrets_manager_secrets' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -131,7 +131,7 @@ def run_module(): resource_type='ibm_secrets_manager_secrets', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_security_group.py b/plugins/modules/ibm_security_group.py index fd382001a..29e4d691c 100644 --- a/plugins/modules/ibm_security_group.py +++ b/plugins/modules/ibm_security_group.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_security_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -93,9 +93,9 @@ ] TL_ALL_PARAMETERS_DS = [ + 'most_recent', 'name', 'description', - 'most_recent', ] TL_CONFLICTS_MAP = { @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_security_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_security_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_security_group_info.py b/plugins/modules/ibm_security_group_info.py index 1b0eb30e9..b621cd257 100644 --- a/plugins/modules/ibm_security_group_info.py +++ b/plugins/modules/ibm_security_group_info.py @@ -17,10 +17,16 @@ description: - Retrieve an IBM Cloud 'ibm_security_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + most_recent: + description: + - If true and multiple entries are found, the most recently created group is used. If false, an error is returned + required: False + type: bool + default: False name: description: - The name of the security group @@ -31,12 +37,6 @@ - The description of the security group required: False type: str - most_recent: - description: - - If true and multiple entries are found, the most recently created group is used. If false, an error is returned - required: False - type: bool - default: False iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -75,9 +75,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'most_recent', 'name', 'description', - 'most_recent', ] @@ -88,15 +88,15 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + most_recent=dict( + required=False, + type='bool'), name=dict( required=True, type='str'), description=dict( required=False, type='str'), - most_recent=dict( - required=False, - type='bool'), iaas_classic_username=dict( type='str', no_log=True, @@ -131,7 +131,7 @@ def run_module(): resource_type='ibm_security_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_security_group_rule.py b/plugins/modules/ibm_security_group_rule.py index 5f577eac9..60cc42cdc 100644 --- a/plugins/modules/ibm_security_group_rule.py +++ b/plugins/modules/ibm_security_group_rule.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_security_group_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - protocol: - description: - - icmp, tcp or udp - required: False - type: str security_group_id: description: - (Required for new resource) Security group ID @@ -63,6 +58,11 @@ - Remote IP Address required: False type: str + protocol: + description: + - icmp, tcp or udp + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -115,7 +115,6 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'protocol', 'security_group_id', 'direction', 'ether_type', @@ -123,6 +122,7 @@ 'port_range_max', 'remote_group_id', 'remote_ip', + 'protocol', ] # Params for Data source @@ -141,9 +141,6 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - protocol=dict( - required=False, - type='str'), security_group_id=dict( required=False, type='int'), @@ -165,6 +162,9 @@ remote_ip=dict( required=False, type='str'), + protocol=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -230,7 +230,7 @@ def run_module(): resource_type='ibm_security_group_rule', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_service_instance.py b/plugins/modules/ibm_service_instance.py index 49d7e1a59..40d4d4ea9 100644 --- a/plugins/modules/ibm_service_instance.py +++ b/plugins/modules/ibm_service_instance.py @@ -18,10 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_service_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + tags: + description: + - None + required: False + type: list + elements: str name: description: - (Required for new resource) A name for the service instance @@ -32,6 +38,11 @@ - (Required for new resource) The guid of the space in which the instance will be created required: True type: str + service: + description: + - (Required for new resource) The name of the service offering like speech_to_text, text_to_speech etc + required: True + type: str parameters: description: - Arbitrary parameters to pass along to the service broker. Must be a JSON object @@ -42,17 +53,6 @@ - (Required for new resource) The plan type of the service required: True type: str - service: - description: - - (Required for new resource) The name of the service offering like speech_to_text, text_to_speech etc - required: True - type: str - tags: - description: - - None - required: False - type: list - elements: str wait_time_minutes: description: - Define timeout to wait for the service instances to succeeded/deleted etc. @@ -107,18 +107,18 @@ TL_REQUIRED_PARAMETERS = [ ('name', 'str'), ('space_guid', 'str'), - ('plan', 'str'), ('service', 'str'), + ('plan', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'tags', 'name', 'space_guid', + 'service', 'parameters', 'plan', - 'service', - 'tags', 'wait_time_minutes', ] @@ -140,25 +140,25 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + tags=dict( + required=False, + elements='', + type='list'), name=dict( required=False, type='str'), space_guid=dict( required=False, type='str'), + service=dict( + required=False, + type='str'), parameters=dict( required=False, type='dict'), plan=dict( required=False, type='str'), - service=dict( - required=False, - type='str'), - tags=dict( - required=False, - elements='', - type='list'), wait_time_minutes=dict( required=False, type='int'), @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_service_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -236,7 +236,7 @@ def run_module(): resource_type='ibm_service_instance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_service_instance_info.py b/plugins/modules/ibm_service_instance_info.py index 287634022..6fd9f2c45 100644 --- a/plugins/modules/ibm_service_instance_info.py +++ b/plugins/modules/ibm_service_instance_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_service_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_service_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_service_key.py b/plugins/modules/ibm_service_key.py index 40bb4d230..232a8de2a 100644 --- a/plugins/modules/ibm_service_key.py +++ b/plugins/modules/ibm_service_key.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_service_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + name: + description: + - (Required for new resource) The name of the service key + required: True + type: str service_instance_guid: description: - (Required for new resource) The guid of the service instance for which to create service key @@ -38,11 +43,6 @@ required: False type: list elements: str - name: - description: - - (Required for new resource) The name of the service key - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,16 +89,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('service_instance_guid', 'str'), ('name', 'str'), + ('service_instance_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'service_instance_guid', 'parameters', 'tags', - 'name', ] # Params for Data source @@ -121,6 +121,9 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + name=dict( + required=False, + type='str'), service_instance_guid=dict( required=False, type='str'), @@ -131,9 +134,6 @@ required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -199,7 +199,7 @@ def run_module(): resource_type='ibm_service_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -208,7 +208,7 @@ def run_module(): resource_type='ibm_service_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_service_key_info.py b/plugins/modules/ibm_service_key_info.py index ff478f332..dea1914d1 100644 --- a/plugins/modules/ibm_service_key_info.py +++ b/plugins/modules/ibm_service_key_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_service_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_service_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_service_plan_info.py b/plugins/modules/ibm_service_plan_info.py index bf784c71c..2abc51ea2 100644 --- a/plugins/modules/ibm_service_plan_info.py +++ b/plugins/modules/ibm_service_plan_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_service_plan' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_service_plan', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_space.py b/plugins/modules/ibm_space.py index f8a755b27..27a90972a 100644 --- a/plugins/modules/ibm_space.py +++ b/plugins/modules/ibm_space.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_space' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -230,7 +230,7 @@ def run_module(): resource_type='ibm_space', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -239,7 +239,7 @@ def run_module(): resource_type='ibm_space', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_space_info.py b/plugins/modules/ibm_space_info.py index f8df494f7..696d8011a 100644 --- a/plugins/modules/ibm_space_info.py +++ b/plugins/modules/ibm_space_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_space' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_space', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_ssl_certificate.py b/plugins/modules/ibm_ssl_certificate.py index 68f4c1a25..d51577c23 100644 --- a/plugins/modules/ibm_ssl_certificate.py +++ b/plugins/modules/ibm_ssl_certificate.py @@ -18,52 +18,47 @@ - Create, update or destroy an IBM Cloud 'ibm_ssl_certificate' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - server_count: - description: - - (Required for new resource) Server count - required: True - type: int - renewal_flag: - description: - - Renewal flag - required: False - type: bool - default: True - billing_contact_same_as_technical_flag: - description: - - billing contact - required: False - type: bool - default: False - administrative_contact_same_as_technical_flag: + administrative_address_same_as_organization_flag: description: - - Administrative contact same as technical flag + - administrative address same as organization flag required: False type: bool default: False - technical_contact: + organization_information: description: - - (Required for new resource) Technical contact info + - (Required for new resource) Organization information required: True type: list elements: dict - server_type: + billing_contact: description: - - (Required for new resource) server type + - None + required: False + type: list + elements: dict + server_count: + description: + - (Required for new resource) Server count required: True - type: str - certificate_signing_request: + type: int + order_approver_email_address: description: - - (Required for new resource) certificate signing request info + - (Required for new resource) Email address of the approver required: True type: str - technical_contact_same_as_org_address_flag: + technical_contact: description: - - Technical contact same as org address flag + - (Required for new resource) Technical contact info + required: True + type: list + elements: dict + administrative_contact_same_as_technical_flag: + description: + - Administrative contact same as technical flag required: False type: bool default: False @@ -73,14 +68,24 @@ required: False type: list elements: dict + server_type: + description: + - (Required for new resource) server type + required: True + type: str ssl_type: description: - (Required for new resource) ssl type required: True type: str - administrative_address_same_as_organization_flag: + certificate_signing_request: description: - - administrative address same as organization flag + - (Required for new resource) certificate signing request info + required: True + type: str + billing_contact_same_as_technical_flag: + description: + - billing contact required: False type: bool default: False @@ -90,28 +95,23 @@ required: False type: bool default: False - billing_contact: - description: - - None - required: False - type: list - elements: dict validity_months: description: - (Required for new resource) vslidity of the ssl certificate in month required: True type: int - order_approver_email_address: + renewal_flag: description: - - (Required for new resource) Email address of the approver - required: True - type: str - organization_information: + - Renewal flag + required: False + type: bool + default: True + technical_contact_same_as_org_address_flag: description: - - (Required for new resource) Organization information - required: True - type: list - elements: dict + - Technical contact same as org address flag + required: False + type: bool + default: False id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -158,34 +158,34 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('organization_information', 'list'), ('server_count', 'int'), + ('order_approver_email_address', 'str'), ('technical_contact', 'list'), ('server_type', 'str'), - ('certificate_signing_request', 'str'), ('ssl_type', 'str'), + ('certificate_signing_request', 'str'), ('validity_months', 'int'), - ('order_approver_email_address', 'str'), - ('organization_information', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'administrative_address_same_as_organization_flag', + 'organization_information', + 'billing_contact', 'server_count', - 'renewal_flag', - 'billing_contact_same_as_technical_flag', - 'administrative_contact_same_as_technical_flag', + 'order_approver_email_address', 'technical_contact', - 'server_type', - 'certificate_signing_request', - 'technical_contact_same_as_org_address_flag', + 'administrative_contact_same_as_technical_flag', 'administrative_contact', + 'server_type', 'ssl_type', - 'administrative_address_same_as_organization_flag', + 'certificate_signing_request', + 'billing_contact_same_as_technical_flag', 'billing_address_same_as_organization_flag', - 'billing_contact', 'validity_months', - 'order_approver_email_address', - 'organization_information', + 'renewal_flag', + 'technical_contact_same_as_org_address_flag', ] # Params for Data source @@ -202,58 +202,58 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - server_count=dict( - required=False, - type='int'), - renewal_flag=dict( - required=False, - type='bool'), - billing_contact_same_as_technical_flag=dict( + administrative_address_same_as_organization_flag=dict( required=False, type='bool'), - administrative_contact_same_as_technical_flag=dict( + organization_information=dict( required=False, - type='bool'), - technical_contact=dict( + elements='', + type='list'), + billing_contact=dict( required=False, elements='', type='list'), - server_type=dict( + server_count=dict( required=False, - type='str'), - certificate_signing_request=dict( + type='int'), + order_approver_email_address=dict( required=False, type='str'), - technical_contact_same_as_org_address_flag=dict( + technical_contact=dict( + required=False, + elements='', + type='list'), + administrative_contact_same_as_technical_flag=dict( required=False, type='bool'), administrative_contact=dict( required=False, elements='', type='list'), + server_type=dict( + required=False, + type='str'), ssl_type=dict( required=False, type='str'), - administrative_address_same_as_organization_flag=dict( + certificate_signing_request=dict( + required=False, + type='str'), + billing_contact_same_as_technical_flag=dict( required=False, type='bool'), billing_address_same_as_organization_flag=dict( required=False, type='bool'), - billing_contact=dict( - required=False, - elements='', - type='list'), validity_months=dict( required=False, type='int'), - order_approver_email_address=dict( + renewal_flag=dict( required=False, - type='str'), - organization_information=dict( + type='bool'), + technical_contact_same_as_org_address_flag=dict( required=False, - elements='', - type='list'), + type='bool'), id=dict( required=False, type='str'), @@ -319,7 +319,7 @@ def run_module(): resource_type='ibm_ssl_certificate', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_storage_block.py b/plugins/modules/ibm_storage_block.py index 8ed9fb0fd..366a2de26 100644 --- a/plugins/modules/ibm_storage_block.py +++ b/plugins/modules/ibm_storage_block.py @@ -18,32 +18,43 @@ - Create, update or destroy an IBM Cloud 'ibm_storage_block' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - os_format_type: + type: description: - - (Required for new resource) OS formatr type + - (Required for new resource) Storage block type required: True type: str + snapshot_capacity: + description: + - Snapshot capacity in GB + required: False + type: int allowed_hardware_ids: description: - List of allowe hardware IDs required: False type: list elements: int - iops: + hourly_billing: description: - - (Required for new resource) IOPS value required - required: True - type: float - tags: + - Billing done hourly, if set to true + required: False + type: bool + default: False + allowed_virtual_guest_ids: description: - - List of tags associated with the resource + - List of allowed virtual guest IDs required: False type: list - elements: str + elements: int + notes: + description: + - Additional note info + required: False + type: str datacenter: description: - (Required for new resource) Datacenter name @@ -54,39 +65,28 @@ - (Required for new resource) Storage block size required: True type: int - snapshot_capacity: - description: - - Snapshot capacity in GB - required: False - type: int - allowed_virtual_guest_ids: + os_format_type: description: - - List of allowed virtual guest IDs - required: False - type: list - elements: int + - (Required for new resource) OS formatr type + required: True + type: str allowed_ip_addresses: description: - Allowed IP addresses required: False type: list elements: str - type: - description: - - (Required for new resource) Storage block type - required: True - type: str - notes: + tags: description: - - Additional note info + - List of tags associated with the resource required: False - type: str - hourly_billing: + type: list + elements: str + iops: description: - - Billing done hourly, if set to true - required: False - type: bool - default: False + - (Required for new resource) IOPS value required + required: True + type: float id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -133,27 +133,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('os_format_type', 'str'), - ('iops', 'float'), + ('type', 'str'), ('datacenter', 'str'), ('capacity', 'int'), - ('type', 'str'), + ('os_format_type', 'str'), + ('iops', 'float'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'os_format_type', + 'type', + 'snapshot_capacity', 'allowed_hardware_ids', - 'iops', - 'tags', + 'hourly_billing', + 'allowed_virtual_guest_ids', + 'notes', 'datacenter', 'capacity', - 'snapshot_capacity', - 'allowed_virtual_guest_ids', + 'os_format_type', 'allowed_ip_addresses', - 'type', - 'notes', - 'hourly_billing', + 'tags', + 'iops', ] # Params for Data source @@ -170,46 +170,46 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - os_format_type=dict( + type=dict( required=False, type='str'), + snapshot_capacity=dict( + required=False, + type='int'), allowed_hardware_ids=dict( required=False, elements='', type='list'), - iops=dict( + hourly_billing=dict( required=False, - type='float'), - tags=dict( + type='bool'), + allowed_virtual_guest_ids=dict( required=False, elements='', type='list'), + notes=dict( + required=False, + type='str'), datacenter=dict( required=False, type='str'), capacity=dict( required=False, type='int'), - snapshot_capacity=dict( + os_format_type=dict( required=False, - type='int'), - allowed_virtual_guest_ids=dict( + type='str'), + allowed_ip_addresses=dict( required=False, elements='', type='list'), - allowed_ip_addresses=dict( + tags=dict( required=False, elements='', type='list'), - type=dict( - required=False, - type='str'), - notes=dict( - required=False, - type='str'), - hourly_billing=dict( + iops=dict( required=False, - type='bool'), + type='float'), id=dict( required=False, type='str'), @@ -275,7 +275,7 @@ def run_module(): resource_type='ibm_storage_block', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_storage_evault.py b/plugins/modules/ibm_storage_evault.py index 193f7d3cb..81926c051 100644 --- a/plugins/modules/ibm_storage_evault.py +++ b/plugins/modules/ibm_storage_evault.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_storage_evault' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -204,7 +204,7 @@ def run_module(): resource_type='ibm_storage_evault', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_storage_file.py b/plugins/modules/ibm_storage_file.py index 05a0b63e1..a6cba8cd7 100644 --- a/plugins/modules/ibm_storage_file.py +++ b/plugins/modules/ibm_storage_file.py @@ -18,22 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_storage_file' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - allowed_subnets: - description: - - Allowed network subnets - required: False - type: list - elements: str - tags: - description: - - Tags set for the storage volume - required: False - type: list - elements: str type: description: - (Required for new resource) Storage type @@ -44,51 +32,63 @@ - (Required for new resource) Datacenter name required: True type: str - capacity: - description: - - (Required for new resource) Storage capacity - required: True - type: int - iops: - description: - - (Required for new resource) iops rate - required: True - type: float allowed_virtual_guest_ids: description: - Virtual guest ID required: False type: list elements: int - snapshot_schedule: + hourly_billing: description: - - None + - Hourly based billing type required: False - type: list - elements: dict + type: bool + default: False + capacity: + description: + - (Required for new resource) Storage capacity + required: True + type: int snapshot_capacity: description: - Snapshot capacity required: False type: int - allowed_ip_addresses: + snapshot_schedule: description: - - Allowed range of IP addresses + - None required: False type: list - elements: str - hourly_billing: + elements: dict + tags: description: - - Hourly based billing type + - Tags set for the storage volume required: False - type: bool - default: False + type: list + elements: str + iops: + description: + - (Required for new resource) iops rate + required: True + type: float allowed_hardware_ids: description: - Hardaware ID required: False type: list elements: int + allowed_subnets: + description: + - Allowed network subnets + required: False + type: list + elements: str + allowed_ip_addresses: + description: + - Allowed range of IP addresses + required: False + type: list + elements: str notes: description: - Notes @@ -148,18 +148,18 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'allowed_subnets', - 'tags', 'type', 'datacenter', - 'capacity', - 'iops', 'allowed_virtual_guest_ids', - 'snapshot_schedule', - 'snapshot_capacity', - 'allowed_ip_addresses', 'hourly_billing', + 'capacity', + 'snapshot_capacity', + 'snapshot_schedule', + 'tags', + 'iops', 'allowed_hardware_ids', + 'allowed_subnets', + 'allowed_ip_addresses', 'notes', ] @@ -177,45 +177,45 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - allowed_subnets=dict( - required=False, - elements='', - type='list'), - tags=dict( - required=False, - elements='', - type='list'), type=dict( required=False, type='str'), datacenter=dict( required=False, type='str'), + allowed_virtual_guest_ids=dict( + required=False, + elements='', + type='list'), + hourly_billing=dict( + required=False, + type='bool'), capacity=dict( required=False, type='int'), - iops=dict( + snapshot_capacity=dict( required=False, - type='float'), - allowed_virtual_guest_ids=dict( + type='int'), + snapshot_schedule=dict( required=False, elements='', type='list'), - snapshot_schedule=dict( + tags=dict( required=False, elements='', type='list'), - snapshot_capacity=dict( + iops=dict( required=False, - type='int'), - allowed_ip_addresses=dict( + type='float'), + allowed_hardware_ids=dict( required=False, elements='', type='list'), - hourly_billing=dict( + allowed_subnets=dict( required=False, - type='bool'), - allowed_hardware_ids=dict( + elements='', + type='list'), + allowed_ip_addresses=dict( required=False, elements='', type='list'), @@ -287,7 +287,7 @@ def run_module(): resource_type='ibm_storage_file', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_subnet.py b/plugins/modules/ibm_subnet.py index c40800409..034b4510f 100644 --- a/plugins/modules/ibm_subnet.py +++ b/plugins/modules/ibm_subnet.py @@ -18,47 +18,47 @@ - Create, update or destroy an IBM Cloud 'ibm_subnet' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - private: + ip_version: description: - - private subnet + - ip version required: False - type: bool - default: False - type: - description: - - (Required for new resource) subnet type - required: True - type: str + type: int + default: 4 capacity: description: - (Required for new resource) number of ip addresses in the subnet required: True type: int - notes: - description: - - Notes - required: False - type: str - ip_version: - description: - - ip version - required: False - type: int - default: 4 vlan_id: description: - VLAN ID for the subnet required: False type: int + private: + description: + - private subnet + required: False + type: bool + default: False + type: + description: + - (Required for new resource) subnet type + required: True + type: str endpoint_ip: description: - endpoint IP required: False type: str + notes: + description: + - Notes + required: False + type: str tags: description: - tags set for the resource @@ -111,19 +111,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('type', 'str'), ('capacity', 'int'), + ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'private', - 'type', - 'capacity', - 'notes', 'ip_version', + 'capacity', 'vlan_id', + 'private', + 'type', 'endpoint_ip', + 'notes', 'tags', ] @@ -143,27 +143,27 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - private=dict( - required=False, - type='bool'), - type=dict( - required=False, - type='str'), - capacity=dict( + ip_version=dict( required=False, type='int'), - notes=dict( - required=False, - type='str'), - ip_version=dict( + capacity=dict( required=False, type='int'), vlan_id=dict( required=False, type='int'), + private=dict( + required=False, + type='bool'), + type=dict( + required=False, + type='str'), endpoint_ip=dict( required=False, type='str'), + notes=dict( + required=False, + type='str'), tags=dict( required=False, elements='', @@ -233,7 +233,7 @@ def run_module(): resource_type='ibm_subnet', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_tg_connection.py b/plugins/modules/ibm_tg_connection.py index c9324b77c..b2bb0e302 100644 --- a/plugins/modules/ibm_tg_connection.py +++ b/plugins/modules/ibm_tg_connection.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_tg_connection' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: - description: - - The user-defined name for this transit gateway. If unspecified, the name will be the network name (the name of the VPC in the case of network type 'vpc', and the word Classic, in the case of network type 'classic'). - required: False - type: str network_id: description: - The ID of the network being connected via this connection. This field is required for some types, such as 'vpc' or 'directlink'. The value of this is the CRN of the VPC or direct link gateway to be connected. This field is required to be unspecified for network type 'classic'. @@ -37,50 +32,55 @@ - The ID of a network_type 'classic' connection a tunnel is configured over. This field only applies to network type 'gre_tunnel' connections. required: False type: str - local_tunnel_ip: + local_gateway_ip: description: - - The local tunnel IP address. This field only applies to network type 'gre_tunnel' connections. + - The local gateway IP address. This field only applies to network type 'gre_tunnel' connections. required: False type: str - gateway: - description: - - (Required for new resource) The Transit Gateway identifier - required: True - type: str - remote_bgp_asn: + remote_gateway_ip: description: - - The remote network BGP ASN. This field only applies to network type 'gre_tunnel' connections. + - The remote gateway IP address. This field only applies to network type 'gre_tunnel' connections. required: False - type: int + type: str remote_tunnel_ip: description: - The remote tunnel IP address. This field only applies to network type 'gre_tunnel' connections. required: False type: str - network_type: + zone: description: - - (Required for new resource) Defines what type of network is connected via this connection. Allowable values (classic,directlink,vpc,gre_tunnel) - required: True + - Location of GRE tunnel. This field only applies to network type 'gre_tunnel' connections. + required: False + type: str + name: + description: + - The user-defined name for this transit gateway. If unspecified, the name will be the network name (the name of the VPC in the case of network type 'vpc', and the word Classic, in the case of network type 'classic'). + required: False type: str network_account_id: description: - The ID of the account which owns the network that is being connected. Generally only used if the network is in a different account than the gateway. required: False type: str - remote_gateway_ip: + local_tunnel_ip: description: - - The remote gateway IP address. This field only applies to network type 'gre_tunnel' connections. + - The local tunnel IP address. This field only applies to network type 'gre_tunnel' connections. required: False type: str - local_gateway_ip: + remote_bgp_asn: description: - - The local gateway IP address. This field only applies to network type 'gre_tunnel' connections. + - The remote network BGP ASN. This field only applies to network type 'gre_tunnel' connections. required: False + type: int + gateway: + description: + - (Required for new resource) The Transit Gateway identifier + required: True type: str - zone: + network_type: description: - - Location of GRE tunnel. This field only applies to network type 'gre_tunnel' connections. - required: False + - (Required for new resource) Defines what type of network is connected via this connection. Allowable values (classic,directlink,vpc,gre_tunnel) + required: True type: str id: description: @@ -134,18 +134,18 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'network_id', 'base_connection_id', + 'local_gateway_ip', + 'remote_gateway_ip', + 'remote_tunnel_ip', + 'zone', + 'name', + 'network_account_id', 'local_tunnel_ip', - 'gateway', 'remote_bgp_asn', - 'remote_tunnel_ip', + 'gateway', 'network_type', - 'network_account_id', - 'remote_gateway_ip', - 'local_gateway_ip', - 'zone', ] # Params for Data source @@ -162,40 +162,40 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( - required=False, - type='str'), network_id=dict( required=False, type='str'), base_connection_id=dict( required=False, type='str'), - local_tunnel_ip=dict( + local_gateway_ip=dict( required=False, type='str'), - gateway=dict( + remote_gateway_ip=dict( required=False, type='str'), - remote_bgp_asn=dict( - required=False, - type='int'), remote_tunnel_ip=dict( required=False, type='str'), - network_type=dict( + zone=dict( + required=False, + type='str'), + name=dict( required=False, type='str'), network_account_id=dict( required=False, type='str'), - remote_gateway_ip=dict( + local_tunnel_ip=dict( required=False, type='str'), - local_gateway_ip=dict( + remote_bgp_asn=dict( + required=False, + type='int'), + gateway=dict( required=False, type='str'), - zone=dict( + network_type=dict( required=False, type='str'), id=dict( @@ -263,7 +263,7 @@ def run_module(): resource_type='ibm_tg_connection', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_tg_connection_prefix_filter.py b/plugins/modules/ibm_tg_connection_prefix_filter.py index a85410654..7e3bd00d7 100644 --- a/plugins/modules/ibm_tg_connection_prefix_filter.py +++ b/plugins/modules/ibm_tg_connection_prefix_filter.py @@ -18,10 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_tg_connection_prefix_filter' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + before: + description: + - Identifier of prefix filter that handles ordering + required: False + type: str + le: + description: + - IP Prefix LE + required: False + type: int gateway: description: - (Required for new resource) The Transit Gateway identifier @@ -37,21 +47,11 @@ - (Required for new resource) Whether to permit or deny the prefix filter required: True type: str - before: - description: - - Identifier of prefix filter that handles ordering - required: False - type: str ge: description: - IP Prefix GE required: False type: int - le: - description: - - IP Prefix LE - required: False - type: int prefix: description: - (Required for new resource) IP Prefix @@ -111,26 +111,26 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'before', + 'le', 'gateway', 'connection_id', 'action', - 'before', 'ge', - 'le', 'prefix', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ + ('connection_id', 'str'), ('filter_id', 'str'), ('gateway', 'str'), - ('connection_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ + 'connection_id', 'filter_id', 'gateway', - 'connection_id', ] TL_CONFLICTS_MAP = { @@ -140,6 +140,12 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + before=dict( + required=False, + type='str'), + le=dict( + required=False, + type='int'), gateway=dict( required=False, type='str'), @@ -149,15 +155,9 @@ action=dict( required=False, type='str'), - before=dict( - required=False, - type='str'), ge=dict( required=False, type='int'), - le=dict( - required=False, - type='int'), prefix=dict( required=False, type='str'), @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_tg_connection_prefix_filter', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -235,7 +235,7 @@ def run_module(): resource_type='ibm_tg_connection_prefix_filter', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_tg_connection_prefix_filter_info.py b/plugins/modules/ibm_tg_connection_prefix_filter_info.py index d5b955088..ab627ec0a 100644 --- a/plugins/modules/ibm_tg_connection_prefix_filter_info.py +++ b/plugins/modules/ibm_tg_connection_prefix_filter_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_tg_connection_prefix_filter' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: + connection_id: + description: + - The Transit Gateway Connection identifier + required: True + type: str filter_id: description: - The Transit Gateway Connection Prefix Filter identifier @@ -31,11 +36,6 @@ - The Transit Gateway identifier required: True type: str - connection_id: - description: - - The Transit Gateway Connection identifier - required: True - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -69,16 +69,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('connection_id', 'str'), ('filter_id', 'str'), ('gateway', 'str'), - ('connection_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'connection_id', 'filter_id', 'gateway', - 'connection_id', ] @@ -89,13 +89,13 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - filter_id=dict( + connection_id=dict( required=True, type='str'), - gateway=dict( + filter_id=dict( required=True, type='str'), - connection_id=dict( + gateway=dict( required=True, type='str'), iaas_classic_username=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_tg_connection_prefix_filter', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_tg_connection_prefix_filters_info.py b/plugins/modules/ibm_tg_connection_prefix_filters_info.py index ad3d0b374..5f84c6494 100644 --- a/plugins/modules/ibm_tg_connection_prefix_filters_info.py +++ b/plugins/modules/ibm_tg_connection_prefix_filters_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_tg_connection_prefix_filters' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_tg_connection_prefix_filters', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_tg_gateway.py b/plugins/modules/ibm_tg_gateway.py index c198dabfe..695213dd6 100644 --- a/plugins/modules/ibm_tg_gateway.py +++ b/plugins/modules/ibm_tg_gateway.py @@ -18,18 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_tg_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: - name: + location: description: - - (Required for new resource) Name Transit Gateway Services + - (Required for new resource) Location of Transit Gateway Services required: True type: str - location: + name: description: - - (Required for new resource) Location of Transit Gateway Services + - (Required for new resource) Name Transit Gateway Services required: True type: str global_: @@ -38,17 +38,17 @@ required: False type: bool default: False + resource_group: + description: + - None + required: False + type: str tags: description: - Tags for the transit gateway instance required: False type: list elements: str - resource_group: - description: - - None - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -95,17 +95,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('location', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'location', + 'name', 'global_', - 'tags', 'resource_group', + 'tags', ] # Params for Data source @@ -124,22 +124,22 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - name=dict( + location=dict( required=False, type='str'), - location=dict( + name=dict( required=False, type='str'), global_=dict( required=False, type='bool'), + resource_group=dict( + required=False, + type='str'), tags=dict( required=False, elements='', type='list'), - resource_group=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -205,7 +205,7 @@ def run_module(): resource_type='ibm_tg_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -214,7 +214,7 @@ def run_module(): resource_type='ibm_tg_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_tg_gateway_info.py b/plugins/modules/ibm_tg_gateway_info.py index 0cd2026ec..84057f6a6 100644 --- a/plugins/modules/ibm_tg_gateway_info.py +++ b/plugins/modules/ibm_tg_gateway_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_tg_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_tg_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_tg_gateways_info.py b/plugins/modules/ibm_tg_gateways_info.py index 6ab108615..7cbf8c7c6 100644 --- a/plugins/modules/ibm_tg_gateways_info.py +++ b/plugins/modules/ibm_tg_gateways_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_tg_gateways' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_tg_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_tg_location_info.py b/plugins/modules/ibm_tg_location_info.py index 9bc965a25..ff364e38e 100644 --- a/plugins/modules/ibm_tg_location_info.py +++ b/plugins/modules/ibm_tg_location_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_tg_location' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_tg_location', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_tg_locations_info.py b/plugins/modules/ibm_tg_locations_info.py index c8b0b63d2..68ef292b9 100644 --- a/plugins/modules/ibm_tg_locations_info.py +++ b/plugins/modules/ibm_tg_locations_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_tg_locations' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -102,7 +102,7 @@ def run_module(): resource_type='ibm_tg_locations', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_tg_route_report.py b/plugins/modules/ibm_tg_route_report.py index b16c52551..023bb4763 100644 --- a/plugins/modules/ibm_tg_route_report.py +++ b/plugins/modules/ibm_tg_route_report.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_tg_route_report' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -167,7 +167,7 @@ def run_module(): resource_type='ibm_tg_route_report', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_tg_route_report', tf_type='resource', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_tg_route_report_info.py b/plugins/modules/ibm_tg_route_report_info.py index 09043b4fa..69bf884f7 100644 --- a/plugins/modules/ibm_tg_route_report_info.py +++ b/plugins/modules/ibm_tg_route_report_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_tg_route_report' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_tg_route_report', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_tg_route_reports_info.py b/plugins/modules/ibm_tg_route_reports_info.py index 12020a7f0..ce642f059 100644 --- a/plugins/modules/ibm_tg_route_reports_info.py +++ b/plugins/modules/ibm_tg_route_reports_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_tg_route_reports' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.46.0 + - IBM-Cloud terraform-provider-ibm v1.47.1 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_tg_route_reports', tf_type='data', parameters=module.params, - ibm_provider_version='1.46.0', + ibm_provider_version='1.47.1', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS)