diff --git a/docs/ibm_account_info.rst b/docs/ibm_account_info.rst index deb8b0542..001f1e1b7 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_api_gateway_endpoint.rst b/docs/ibm_api_gateway_endpoint.rst index 8eab150e0..372f591e3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,20 +31,20 @@ 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 - - name (True, str, None) (Required for new resource) Endpoint name + managed (False, bool, False) + Managed indicates if endpoint is online or offline. + + provider_id (False, str, user-defined) Provider ID of an endpoint allowable values user-defined and whisk - type (False, str, unshare) - Action type of Endpoint ALoowable values are share, unshare, manage, unmanage + service_instance_crn (True, str, None) + (Required for new resource) Api Gateway Service Instance Crn open_api_doc_name (True, str, None) @@ -55,8 +55,8 @@ Parameters Invokable routes for an endpoint - managed (False, bool, False) - Managed indicates if endpoint is online or offline. + type (False, str, unshare) + Action type of Endpoint ALoowable values are share, unshare, manage, unmanage id (False, str, None) diff --git a/docs/ibm_api_gateway_endpoint_subscription.rst b/docs/ibm_api_gateway_endpoint_subscription.rst index b36313f9d..9f989be2a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ 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 @@ -51,10 +55,6 @@ Parameters (Required for new resource) Subscription name - type (True, str, None) - (Required for new resource) Subscription type. Allowable values are external, internal - - 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 109db5545..56e69a042 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_config_collection.rst b/docs/ibm_app_config_collection.rst index e95d4e5b3..00885a299 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,12 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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. + tags (False, str, None) + Tags associated with the collection - description (False, str, None) - Collection description + 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. name (True, str, None) @@ -47,8 +47,8 @@ Parameters (Required for new resource) Collection Id. - tags (False, str, None) - Tags associated with the collection + description (False, str, None) + Collection description id (False, str, None) diff --git a/docs/ibm_app_config_collection_info.rst b/docs/ibm_app_config_collection_info.rst index dfd207211..c0395e696 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -33,6 +33,10 @@ Parameters GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + collection_id (True, str, None) + Collection Id of the collection. + + include (False, list, None) Include feature, property details in the response. @@ -41,10 +45,6 @@ Parameters If set to true, returns expanded view of the resource details. - collection_id (True, str, None) - Collection Id of the collection. - - 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 c5a94cc21..638077fdb 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - expand (False, bool, None) - If set to true, returns expanded view of the resource details. - - guid (True, str, None) GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. @@ -49,6 +45,10 @@ Parameters Include feature, property details in the response. + expand (False, bool, None) + If set to true, returns expanded view of the resource details. + + 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 427face1d..1e7b05785 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + environment_id (True, str, None) + (Required for new resource) Environment 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. @@ -39,10 +43,6 @@ Parameters (Required for new resource) Environment name. - environment_id (True, str, None) - (Required for new resource) Environment Id. - - description (False, str, None) Environment description diff --git a/docs/ibm_app_config_environment_info.rst b/docs/ibm_app_config_environment_info.rst index ba14c250f..16b24643f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ 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. @@ -41,6 +37,10 @@ Parameters If set to `true`, returns expanded view of the resource details. + guid (True, str, None) + GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + + 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_environments_info.rst b/docs/ibm_app_config_environments_info.rst index a1d0ba3de..5d74b80f0 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ 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. @@ -41,12 +37,16 @@ Parameters 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. + + tags (False, str, None) filter the resources to be returned based on the associated tags. Returns resources associated with any of the specified tags. - 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) diff --git a/docs/ibm_app_config_feature.rst b/docs/ibm_app_config_feature.rst index 2a1346099..ff922a1ec 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,20 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - type (True, str, None) - (Required for new resource) Type of the feature (BOOLEAN, STRING, NUMERIC). - - - description (False, str, None) - Feature description. - - - segment_rules (False, list, None) - Specify the targeting rules that is used to set different feature flag values for different segments. - - - name (True, str, None) - (Required for new resource) Feature name. + 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. collections (False, list, None) @@ -59,26 +47,38 @@ Parameters (Required for new resource) Environment Id. - feature_id (True, str, None) - (Required for new resource) Feature id. + name (True, str, None) + (Required for new resource) Feature name. + + + tags (False, str, None) + Tags associated with the feature. 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. - 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. + description (False, str, None) + Feature description. - tags (False, str, None) - Tags associated with the feature. + segment_rules (False, list, None) + Specify the targeting rules that is used to set different feature flag values for different segments. 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. + feature_id (True, str, None) + (Required for new resource) Feature id. + + + type (True, str, None) + (Required for new resource) Type of the feature (BOOLEAN, STRING, NUMERIC). + + 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 e41c25581..ad2a38210 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,20 +29,20 @@ 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. - - - feature_id (True, str, None) - Feature Id. + includes (False, str, None) + Include the associated collections in the response. environment_id (True, str, None) Environment Id. - includes (False, str, None) - Include the associated collections in the response. + guid (True, str, None) + GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + + + feature_id (True, str, None) + Feature Id. iaas_classic_username (False, any, None) diff --git a/docs/ibm_app_config_features_info.rst b/docs/ibm_app_config_features_info.rst index 65bac54ec..d39f746f7 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,16 +29,16 @@ 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. + segments (False, list, None) + Filter features by a list of comma separated segments. includes (False, list, None) Include the associated collections or targeting rules details in the response. - 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) @@ -49,24 +49,24 @@ Parameters 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. - environment_id (True, str, None) - Environment Id. - - sort (False, str, None) Sort the feature details based on the specified attribute. - 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. + + + environment_id (True, str, None) + Environment Id. 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. + 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_properties_info.rst b/docs/ibm_app_config_properties_info.rst index cd352f810..572ed0cb4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -33,20 +33,16 @@ Parameters 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. - environment_id (True, str, None) - Environment Id. + 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. - 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. + segments (False, list, None) + Filter features by a list of comma separated segments. include (False, list, None) @@ -57,16 +53,20 @@ Parameters 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. sort (False, str, None) Sort the feature details based on the specified attribute. - 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. + + + expand (False, bool, None) + If set to `true`, returns expanded view of the resource details. iaas_classic_username (False, any, None) diff --git a/docs/ibm_app_config_property.rst b/docs/ibm_app_config_property.rst index db637b472..0ed501f9b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,28 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - property_id (True, str, None) - (Required for new resource) Property id. - - - type (True, str, None) - (Required for new resource) Type of the Property (BOOLEAN, STRING, NUMERIC). - - - environment_id (True, str, None) - (Required for new resource) Environment Id. - - name (True, str, None) (Required for new resource) Property name. - format (False, str, None) - Format of the feature (TEXT, JSON, YAML). + property_id (True, str, None) + (Required for new resource) Property id. - collections (False, list, None) - List of collection id representing the collections that are associated with the specified property. + segment_rules (False, list, None) + Specify the targeting rules that is used to set different property values for different segments. guid (True, str, None) @@ -67,12 +55,24 @@ Parameters Property description. + environment_id (True, str, None) + (Required for new resource) Environment Id. + + + type (True, str, None) + (Required for new resource) Type of the Property (BOOLEAN, STRING, NUMERIC). + + + collections (False, list, None) + List of collection id representing the collections that are associated with the specified property. + + 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. + format (False, str, None) + Format of the feature (TEXT, JSON, YAML). id (False, str, None) diff --git a/docs/ibm_app_config_property_info.rst b/docs/ibm_app_config_property_info.rst index a5224b678..021a246f9 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,20 +29,20 @@ 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. + property_id (True, str, None) + Property Id. include (False, str, None) Include the associated collections in the response. - property_id (True, str, None) - Property 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. iaas_classic_username (False, any, None) diff --git a/docs/ibm_app_config_segment.rst b/docs/ibm_app_config_segment.rst index 0f7ca1835..431f34c9b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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. - - 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. + 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. + + name (True, str, None) (Required for new resource) Segment name. diff --git a/docs/ibm_app_config_segment_info.rst b/docs/ibm_app_config_segment_info.rst index 9c390e573..3929479ea 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - segment_id (True, str, None) - Segment id. - - includes (False, list, None) Include feature and property details in the response. + segment_id (True, str, None) + Segment 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_segments_info.rst b/docs/ibm_app_config_segments_info.rst index 2757dfd67..39a041336 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,22 +29,22 @@ 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. + include (False, str, None) + Segment details to include the associated rules in the response 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. - - 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. @@ -53,8 +53,8 @@ Parameters Sort the segment details based on the specified attribute. - include (False, str, None) - Segment details to include the associated rules 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. total_count (False, int, None) diff --git a/docs/ibm_app_config_snapshot.rst b/docs/ibm_app_config_snapshot.rst index 04ee1a0b3..14aebdace 100644 --- a/docs/ibm_app_config_snapshot.rst +++ b/docs/ibm_app_config_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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,46 +31,46 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + 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_config_id (True, str, None) - (Required for new resource) Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only + action (False, str, None) + action promote + + + git_config_name (True, str, None) + (Required for new resource) Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only git_branch (True, str, None) (Required for new resource) Branch name to which you need to write or update the configuration. - collection_id (True, str, None) - (Required for new resource) Collection id. + environment_id (True, str, None) + (Required for new resource) Environment 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. - git_file_path (True, str, None) - (Required for new resource) Git file path, this is a path where your configuration file will be written. - - - action (False, str, None) - action promote - - - git_config_name (True, str, None) - (Required for new resource) Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only - - - environment_id (True, str, None) - (Required for new resource) Environment id. + 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. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_app_config_snapshot_info.rst b/docs/ibm_app_config_snapshot_info.rst index 44a3b2476..eabc1a23a 100644 --- a/docs/ibm_app_config_snapshot_info.rst +++ b/docs/ibm_app_config_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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - git_config_id (True, str, None) - Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only - - 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'. diff --git a/docs/ibm_app_config_snapshots_info.rst b/docs/ibm_app_config_snapshots_info.rst index 7a21b0c19..3934bfe07 100644 --- a/docs/ibm_app_config_snapshots_info.rst +++ b/docs/ibm_app_config_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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_domain_private.rst b/docs/ibm_app_domain_private.rst index a943a3c6c..2b313b02f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_domain_private_info.rst b/docs/ibm_app_domain_private_info.rst index 95110dc0b..22c4822b0 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_domain_shared.rst b/docs/ibm_app_domain_shared.rst index 74f46288c..440f513bb 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_domain_shared_info.rst b/docs/ibm_app_domain_shared_info.rst index 5006fd901..2c8eefb1c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_app_info.rst b/docs/ibm_app_info.rst index 60afc498a..c563d72a6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 for the app - - space_guid (True, str, None) Define space guid to which app belongs + name (True, str, None) + The name for the app + + 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_route.rst b/docs/ibm_app_route.rst index 0276310c9..b85dfdf26 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - path (False, str, None) - 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 - - host (False, str, None) The host portion of the route. Required for shared-domains. @@ -55,6 +47,14 @@ Parameters The port of the route. Supported for domains of TCP router groups only. + path (False, str, None) + 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 ffc0e8a10..b93e6b7c3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,6 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + space_guid (True, str, None) + The guid of the space + + + domain_guid (True, str, None) + The guid of the domain + + host (False, str, None) The host of the route @@ -41,14 +49,6 @@ Parameters The port of the route - space_guid (True, str, None) - The guid of the space - - - domain_guid (True, str, None) - The guid of the 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_appid_apm.rst b/docs/ibm_appid_apm.rst index 1cb1cf599..6ce6f48bc 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_apm_info.rst b/docs/ibm_appid_apm_info.rst index 1b9a58bfe..c41273fd4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_application.rst b/docs/ibm_appid_application.rst index 4e250a3aa..bc0331b83 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_application_info.rst b/docs/ibm_appid_application_info.rst index 6f1801d39..ef2195263 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 service `tenantId` - - client_id (True, str, None) The `client_id` is a public identifier for applications + tenant_id (True, str, None) + The service `tenantId` + + 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_application_roles.rst b/docs/ibm_appid_application_roles.rst index a77658a0c..b4076f13f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_application_roles_info.rst b/docs/ibm_appid_application_roles_info.rst index 1a6d77eaa..c34fc8862 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_application_scopes.rst b/docs/ibm_appid_application_scopes.rst index ffe74e0b5..1383f29b3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - scopes (True, list, None) - (Required for new resource) A `scope` is a runtime action in your application that you register with IBM Cloud App ID to create an access permission - - tenant_id (True, str, None) (Required for new resource) The service `tenantId` @@ -43,6 +39,10 @@ Parameters (Required for new resource) The `client_id` is a public identifier for applications + scopes (True, list, None) + (Required for new resource) A `scope` is a runtime action in your application that you register with IBM Cloud App ID to create an access permission + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_appid_application_scopes_info.rst b/docs/ibm_appid_application_scopes_info.rst index ad57fbd7c..7829bb7bd 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_applications_info.rst b/docs/ibm_appid_applications_info.rst index 68b60bd20..4d306aef3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_audit_status.rst b/docs/ibm_appid_audit_status.rst index 2af87b347..e71fb581a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - is_active (True, bool, None) - (Required for new resource) The auditing status of the tenant. - - tenant_id (True, str, None) (Required for new resource) The AppID instance GUID + is_active (True, bool, None) + (Required for new resource) The auditing status of the tenant. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_appid_audit_status_info.rst b/docs/ibm_appid_audit_status_info.rst index 4130d0c75..1e87c06a3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_cloud_directory_template.rst b/docs/ibm_appid_cloud_directory_template.rst index 15ce321c4..a758f797b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,18 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - subject (True, str, None) - (Required for new resource) The subject of the email - - - html_body (False, str, None) - The HTML body of the email - - - plain_text_body (False, str, None) - The text body of the email. - - tenant_id (True, str, None) (Required for new resource) The AppID instance GUID @@ -55,6 +43,18 @@ Parameters 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 + + + html_body (False, str, None) + The HTML body of the email + + + plain_text_body (False, str, None) + The text body of the email. + + 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 81564d787..ae22b70c5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_cloud_directory_user.rst b/docs/ibm_appid_cloud_directory_user.rst index d9cb433e0..0cce47701 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,10 +35,22 @@ Parameters (Required for new resource) The AppID instance GUID + 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 + + + display_name (False, str, None) + Cloud Directory user display name + + user_name (False, str, None) Optional username @@ -51,18 +63,6 @@ Parameters Accepted values `PENDING` or `CONFIRMED` - active (False, bool, True) - Determines if the user account is active or not - - - locked_until (False, int, None) - Integer (epoch time in milliseconds), determines till when the user account will be locked - - - display_name (False, str, None) - Cloud Directory user display name - - email (True, list, None) (Required for new resource) A set of user emails diff --git a/docs/ibm_appid_cloud_directory_user_info.rst b/docs/ibm_appid_cloud_directory_user_info.rst index 97b4bfc3d..a1e733083 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_cloud_directory.rst b/docs/ibm_appid_idp_cloud_directory.rst index 7304ed9e2..7697d2ef7 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,44 +31,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - identity_field (False, str, None) + welcome_enabled (False, bool, True) None - is_active (True, bool, None) - (Required for new resource) + reset_password_notification_enabled (False, bool, True) + None - signup_enabled (False, bool, True) + identity_confirm_access_mode (False, str, FULL) None - welcome_enabled (False, bool, True) + identity_confirm_methods (False, list, None) None - reset_password_enabled (False, bool, True) + identity_field (False, str, None) None - reset_password_notification_enabled (False, bool, True) + self_service_enabled (False, bool, True) None - identity_confirm_access_mode (False, str, FULL) + signup_enabled (False, bool, True) None - tenant_id (True, str, None) - (Required for new resource) + reset_password_enabled (False, bool, True) + None - self_service_enabled (False, bool, True) - None + tenant_id (True, str, None) + (Required for new resource) - identity_confirm_methods (False, list, None) - None + is_active (True, bool, None) + (Required for new resource) id (False, str, None) diff --git a/docs/ibm_appid_idp_cloud_directory_info.rst b/docs/ibm_appid_idp_cloud_directory_info.rst index 5111cf1b3..199629b64 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_custom.rst b/docs/ibm_appid_idp_custom.rst index d31c37450..80b5fda41 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_custom_info.rst b/docs/ibm_appid_idp_custom_info.rst index bbffee6fd..8112e550c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_facebook.rst b/docs/ibm_appid_idp_facebook.rst index a50652de6..6c1b006dc 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_facebook_info.rst b/docs/ibm_appid_idp_facebook_info.rst index d818b85c2..ca8318504 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_google.rst b/docs/ibm_appid_idp_google.rst index 5eb76eb24..ca0c81130 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_google_info.rst b/docs/ibm_appid_idp_google_info.rst index 6333476e5..18460788c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_saml.rst b/docs/ibm_appid_idp_saml.rst index 1aa79bf2b..7ff6b199c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_idp_saml_info.rst b/docs/ibm_appid_idp_saml_info.rst index 078470a35..bb305a995 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 f8da995cd..aad47ddcc 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_languages.rst b/docs/ibm_appid_languages.rst index 0363d7178..3871ef2b4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_languages_info.rst b/docs/ibm_appid_languages_info.rst index cc0e267a8..4d60b982f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_mfa.rst b/docs/ibm_appid_mfa.rst index bc9b2e773..22ac8b461 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_mfa_channel_info.rst b/docs/ibm_appid_mfa_channel_info.rst index c042fc91b..8adad5563 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_mfa_info.rst b/docs/ibm_appid_mfa_info.rst index 4155402f2..664cd71f6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_password_regex.rst b/docs/ibm_appid_password_regex.rst index f10a5d24e..3b46a27c3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_password_regex_info.rst b/docs/ibm_appid_password_regex_info.rst index 04a8310df..0e22e6316 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_redirect_urls.rst b/docs/ibm_appid_redirect_urls.rst index 9d2db5b67..536647f99 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_redirect_urls_info.rst b/docs/ibm_appid_redirect_urls_info.rst index f5f69da64..c79a3cded 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_role.rst b/docs/ibm_appid_role.rst index 92984aab9..cec0b4c62 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_role_info.rst b/docs/ibm_appid_role_info.rst index fa0430c69..8eef5edff 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_roles_info.rst b/docs/ibm_appid_roles_info.rst index 277d9e857..52affc9aa 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_theme_color.rst b/docs/ibm_appid_theme_color.rst index 71b4d7498..246c2d7ab 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_theme_color_info.rst b/docs/ibm_appid_theme_color_info.rst index b3fc26f3a..4250e3126 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_theme_text.rst b/docs/ibm_appid_theme_text.rst index cef905043..0d4a7f40f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - footnote (False, str, None) - None - - tenant_id (True, str, None) (Required for new resource) The AppID instance GUID @@ -43,6 +39,10 @@ Parameters None + footnote (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_theme_text_info.rst b/docs/ibm_appid_theme_text_info.rst index 72643054d..2e5180f9f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_token_config.rst b/docs/ibm_appid_token_config.rst index 13484df7f..177a4a4ae 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + access_token_claim (False, list, None) + A set of objects that are created when claims that are related to access tokens are mapped + + + id_token_claim (False, list, None) + A set of objects that are created when claims that are related to identity tokens are mapped + + + tenant_id (True, str, None) + (Required for new resource) The service `tenantId` + + access_token_expires_in (False, int, None) The length of time for which access tokens are valid in seconds @@ -51,18 +63,6 @@ Parameters None - access_token_claim (False, list, None) - A set of objects that are created when claims that are related to access tokens are mapped - - - id_token_claim (False, list, None) - A set of objects that are created when claims that are related to identity tokens are mapped - - - 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_token_config_info.rst b/docs/ibm_appid_token_config_info.rst index ce068b0ce..46ad2ad0b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_user_roles.rst b/docs/ibm_appid_user_roles.rst index 6b92cf889..38df2274e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_appid_user_roles_info.rst b/docs/ibm_appid_user_roles_info.rst index 3242fe709..b624b62d4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 098841db0..8518d81f2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_atracker_route.rst b/docs/ibm_atracker_route.rst index 66d9ea2b0..263ff0b43 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_atracker_routes_info.rst b/docs/ibm_atracker_routes_info.rst index a56608d5f..34e71b230 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_atracker_settings.rst b/docs/ibm_atracker_settings.rst index 4eb3dee3a..27a1079f0 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + metadata_region_primary (True, str, None) + (Required for new resource) To store all your meta data in a single region. + + private_api_endpoint_only (True, bool, None) (Required for new resource) If you set this true then you cannot access api through public network. @@ -47,10 +51,6 @@ Parameters Provide a back up region to store meta data. - metadata_region_primary (True, str, None) - (Required for new resource) To store all your meta data in a single region. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_atracker_target.rst b/docs/ibm_atracker_target.rst index 0518cd259..b12dc40e3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,30 +31,30 @@ 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 target. The name must be 1000 characters or less, and cannot include any special characters other than `(space) - . _ :`. - - - cos_endpoint (False, list, None) - Property values for a Cloud Object Storage Endpoint. - - eventstreams_endpoint (False, list, None) Property values for an Event Streams Endpoint in requests. - logdna_endpoint (False, list, None) - Property values for a LogDNA Endpoint. - - target_type (True, str, None) (Required for new resource) The type of the target. It can be cloud_object_storage, logdna or event_streams. Based on this type you must include cos_endpoint, logdna_endpoint or eventstreams_endpoint. + cos_endpoint (False, list, None) + Property values for a Cloud Object Storage 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'. + name (True, str, None) + (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) - . _ :`. + + + logdna_endpoint (False, list, None) + Property values for a LogDNA Endpoint. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_atracker_targets_info.rst b/docs/ibm_atracker_targets_info.rst index 0f81cbc48..64dc896a2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cbr_rule_info.rst b/docs/ibm_cbr_rule_info.rst index 7ff6979a9..562f2bb22 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cbr_zone.rst b/docs/ibm_cbr_zone.rst index a61ad5272..e49a8bd30 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - account_id (True, str, None) - (Required for new resource) The id of the account owning this 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. @@ -47,14 +39,22 @@ Parameters 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. + + + account_id (True, str, None) + (Required for new resource) The id of the account owning this 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. + addresses (True, list, None) + (Required for new resource) The list of addresses in 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`. diff --git a/docs/ibm_cbr_zone_info.rst b/docs/ibm_cbr_zone_info.rst index 2c2ffb030..3a5ec9f50 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_tekton_pipeline.rst b/docs/ibm_cd_tekton_pipeline.rst index 6e200cb47..3b456499d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,20 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - enable_notifications (False, bool, False) - Flag whether to enable notifications for this pipeline. When enabled, pipeline run events are published on all slack integration specified channels in the parent toolchain. - - - worker (False, list, None) - Worker object containing worker ID only. If omitted the IBM Managed shared workers are used by default. + 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 are read and cloned, this means that symbolic links might not work. pipeline_id (True, str, None) (Required for new resource) String. - 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 are read and cloned, this means that symbolic links might not work. + enable_notifications (False, bool, False) + Flag whether to enable notifications for this pipeline. When enabled, pipeline run events are published on all slack integration specified channels in the parent 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) diff --git a/docs/ibm_cd_tekton_pipeline_definition.rst b/docs/ibm_cd_tekton_pipeline_definition.rst index c5aedec04..493a4debb 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 f7f5d4055..cf41b69d4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - definition_id (True, str, None) - The definition ID. - - pipeline_id (True, str, None) The Tekton pipeline ID. + definition_id (True, str, None) + The definition 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 d5108bf55..b78c671e1 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_tekton_pipeline_property.rst b/docs/ibm_cd_tekton_pipeline_property.rst index a8c4d16de..0f4d9cd97 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ 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. - - - name (True, str, None) - (Required for new resource) Property name. - - type (True, str, None) (Required for new resource) Property type. @@ -55,6 +47,14 @@ Parameters A dot notation path for `integration` type properties only, to select a value from the tool integration. If left blank the full tool integration data will be used. + pipeline_id (True, str, None) + (Required for new resource) The Tekton pipeline ID. + + + name (True, str, None) + (Required for new resource) Property name. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_tekton_pipeline_property_info.rst b/docs/ibm_cd_tekton_pipeline_property_info.rst index 516a6ca8c..e569ced0f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_tekton_pipeline_trigger_info.rst b/docs/ibm_cd_tekton_pipeline_trigger_info.rst index 4af32aef8..311fcd1f7 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - trigger_id (True, str, None) - The trigger ID. - - pipeline_id (True, str, None) The Tekton pipeline ID. + trigger_id (True, str, None) + The trigger 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 fd8389901..6d8a29839 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,18 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Property name. - - - type (True, str, None) - (Required for new resource) Property type. - - - value (False, str, None) - Property value. Any string value is valid. - - enum (False, list, None) Options for `single_select` property type. Only needed for `single_select` property type. @@ -59,6 +47,18 @@ Parameters (Required for new resource) The trigger ID. + name (True, str, None) + (Required for new resource) Property name. + + + type (True, str, None) + (Required for new resource) Property type. + + + value (False, str, None) + Property value. Any string value is valid. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_tekton_pipeline_trigger_property_info.rst b/docs/ibm_cd_tekton_pipeline_trigger_property_info.rst index a0a799107..28684a354 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 18bb3d33c..12be1df6a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_info.rst b/docs/ibm_cd_toolchain_info.rst index d72ab2ef0..b672136cf 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_appconfig.rst b/docs/ibm_cd_toolchain_tool_appconfig.rst index 6eb6cd74e..0a5926aa4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + + toolchain_id (True, str, None) (Required for new resource) ID of the toolchain to bind the tool to. @@ -39,10 +43,6 @@ Parameters Name of the tool. - parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. - - 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 f6df3d1c0..b4fe44686 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_artifactory.rst b/docs/ibm_cd_toolchain_tool_artifactory.rst index d482df451..daa501605 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. @@ -43,6 +39,10 @@ Parameters Name of the 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_artifactory_info.rst b/docs/ibm_cd_toolchain_tool_artifactory_info.rst index 6f87430ba..7ed3aa3b7 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_bitbucketgit.rst b/docs/ibm_cd_toolchain_tool_bitbucketgit.rst index f2a5c6a42..e1c911811 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,20 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (False, str, None) - Name of the 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. initialization (True, list, None) (Required for new resource) - parameters (True, list, None) - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + toolchain_id (True, str, None) + (Required for new resource) ID of the toolchain to bind the tool to. + + + name (False, str, None) + Name of the tool. id (False, str, None) diff --git a/docs/ibm_cd_toolchain_tool_bitbucketgit_info.rst b/docs/ibm_cd_toolchain_tool_bitbucketgit_info.rst index 33440daee..7b7057ef8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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_custom.rst b/docs/ibm_cd_toolchain_tool_custom.rst index edd8e4ad6..ff354d26d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 the tool. - - parameters (True, list, None) (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + name (False, str, None) + Name of 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_custom_info.rst b/docs/ibm_cd_toolchain_tool_custom_info.rst index 75d8c5e82..26fcb0dc5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_devopsinsights.rst b/docs/ibm_cd_toolchain_tool_devopsinsights.rst index f1ee721f5..8725ed733 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 ded4bff16..4e70b23a5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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_githubconsolidated.rst b/docs/ibm_cd_toolchain_tool_githubconsolidated.rst index 661c774bf..359351124 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + initialization (True, list, None) + (Required for new resource) + + 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. - initialization (True, list, None) - (Required for new resource) - - name (False, str, None) Name of the tool. diff --git a/docs/ibm_cd_toolchain_tool_githubconsolidated_info.rst b/docs/ibm_cd_toolchain_tool_githubconsolidated_info.rst index 2f73039a4..a25c23de3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_gitlab.rst b/docs/ibm_cd_toolchain_tool_gitlab.rst index fd4067ab4..5980362ca 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,20 +31,20 @@ 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + name (False, str, None) + Name of the tool. toolchain_id (True, str, None) (Required for new resource) ID of the toolchain to bind the tool to. - initialization (True, list, None) - (Required for new resource) + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. - name (False, str, None) - Name of the tool. + initialization (True, list, None) + (Required for new resource) 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 2fa0725c9..e58b8a541 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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_hashicorpvault.rst b/docs/ibm_cd_toolchain_tool_hashicorpvault.rst index 96330e48d..ed5a9a51e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. - - 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + + name (False, str, None) Name of the tool. diff --git a/docs/ibm_cd_toolchain_tool_hashicorpvault_info.rst b/docs/ibm_cd_toolchain_tool_hashicorpvault_info.rst index 6687ca1bb..da2c35f1d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_hostedgit.rst b/docs/ibm_cd_toolchain_tool_hostedgit.rst index 5b2ad33ac..cf29414b2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,6 +35,10 @@ Parameters (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + toolchain_id (True, str, None) + (Required for new resource) ID of the toolchain to bind the tool to. + + initialization (True, list, None) (Required for new resource) @@ -43,10 +47,6 @@ Parameters Name of the 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_hostedgit_info.rst b/docs/ibm_cd_toolchain_tool_hostedgit_info.rst index 849b415b7..2861251ac 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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_jenkins.rst b/docs/ibm_cd_toolchain_tool_jenkins.rst index 8c159a6b0..c7f82d951 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 c826156da..9f17f288f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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_jira.rst b/docs/ibm_cd_toolchain_tool_jira.rst index bf65a873a..9f96915d3 100644 --- a/docs/ibm_cd_toolchain_tool_jira.rst +++ b/docs/ibm_cd_toolchain_tool_jira.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,14 +35,14 @@ 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. - - name (False, str, None) Name of the tool. + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_toolchain_tool_jira_info.rst b/docs/ibm_cd_toolchain_tool_jira_info.rst index f84f7e1c4..80611b321 100644 --- a/docs/ibm_cd_toolchain_tool_jira_info.rst +++ b/docs/ibm_cd_toolchain_tool_jira_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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_keyprotect.rst b/docs/ibm_cd_toolchain_tool_keyprotect.rst index d2af8e9da..b5c3d8f8f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,14 +35,14 @@ Parameters (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. - toolchain_id (True, str, None) - (Required for new resource) ID of the toolchain to bind the tool to. - - name (False, str, None) Name of the 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 9589199aa..d088c9b39 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_nexus.rst b/docs/ibm_cd_toolchain_tool_nexus.rst index 377ad2dad..4a5ed7659 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + toolchain_id (True, str, None) + (Required for new resource) ID of the toolchain to bind the tool to. + + name (False, str, None) Name of the tool. diff --git a/docs/ibm_cd_toolchain_tool_nexus_info.rst b/docs/ibm_cd_toolchain_tool_nexus_info.rst index e2fcff631..4847ce91d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_pagerduty.rst b/docs/ibm_cd_toolchain_tool_pagerduty.rst index 315bdae22..f8336c060 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,14 +35,14 @@ 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. - - name (False, str, None) Name of the tool. + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + + 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 b2d4701e1..dae6832b2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 0b506a91e..8b870d14a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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. + + name (False, str, None) Name of the tool. @@ -39,10 +43,6 @@ Parameters (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. - 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_pipeline_info.rst b/docs/ibm_cd_toolchain_tool_pipeline_info.rst index a8ca63690..853376742 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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_privateworker.rst b/docs/ibm_cd_toolchain_tool_privateworker.rst index 9c3e58d91..035694947 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. @@ -43,6 +39,10 @@ Parameters Name of the 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 03944ceec..7051f44fc 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_saucelabs.rst b/docs/ibm_cd_toolchain_tool_saucelabs.rst index d1be8031d..ce619471f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_saucelabs_info.rst b/docs/ibm_cd_toolchain_tool_saucelabs_info.rst index cff73e70e..b19056c10 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_secretsmanager.rst b/docs/ibm_cd_toolchain_tool_secretsmanager.rst index a9abb0ba1..d4d97e5df 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. @@ -43,6 +39,10 @@ Parameters Name of the 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_secretsmanager_info.rst b/docs/ibm_cd_toolchain_tool_secretsmanager_info.rst index cc07de36e..e32169327 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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_securitycompliance.rst b/docs/ibm_cd_toolchain_tool_securitycompliance.rst index 860bebdf3..eae8a8823 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. - - 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + + name (False, str, None) Name of the tool. diff --git a/docs/ibm_cd_toolchain_tool_securitycompliance_info.rst b/docs/ibm_cd_toolchain_tool_securitycompliance_info.rst index a3cbe1aef..c1b37823d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_slack.rst b/docs/ibm_cd_toolchain_tool_slack.rst index e3d9552c9..b992081b6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,14 +35,14 @@ 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. - - name (False, str, None) Name of the tool. + parameters (True, list, None) + (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cd_toolchain_tool_slack_info.rst b/docs/ibm_cd_toolchain_tool_slack_info.rst index c9740d6ec..7ba620ef3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cd_toolchain_tool_sonarqube.rst b/docs/ibm_cd_toolchain_tool_sonarqube.rst index 6c1c74cbe..6e18b7acd 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + toolchain_id (True, str, None) + (Required for new resource) ID of the toolchain to bind the tool to. + + name (False, str, None) Name of the tool. diff --git a/docs/ibm_cd_toolchain_tool_sonarqube_info.rst b/docs/ibm_cd_toolchain_tool_sonarqube_info.rst index 0660ae89b..0a4d69b74 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cdn.rst b/docs/ibm_cdn.rst index 11dc553a8..73e23419a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,8 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - host_name (True, str, None) - (Required for new resource) Host name + file_extension (False, str, None) + File extension info + + + certificate_type (False, str, None) + Certificate type + + + vendor_name (False, str, akamai) + Vendor name bucket_name (False, str, None) @@ -43,56 +51,48 @@ Parameters Protocol name - http_port (False, int, 80) - HTTP port number - - - https_port (False, int, 443) - HTTPS port number + cname (False, str, None) + cname info - performance_configuration (False, str, General web delivery) - performance configuration info + header (False, str, None) + Header info - vendor_name (False, str, akamai) - Vendor name + respect_headers (False, bool, True) + respect headers info - origin_type (False, str, HOST_SERVER) - Origin type info + performance_configuration (False, str, General web delivery) + performance configuration info - respect_headers (False, bool, True) - respect headers info + cache_key_query_rule (False, str, include-all) + query rule info - header (False, str, None) - Header info + host_name (True, str, None) + (Required for new resource) Host name - path (False, str, /*) - Path details + origin_type (False, str, HOST_SERVER) + Origin type info origin_address (True, str, None) (Required for new resource) origin address info - cname (False, str, None) - cname info - - - file_extension (False, str, None) - File extension info + http_port (False, int, 80) + HTTP port number - certificate_type (False, str, None) - Certificate type + https_port (False, int, 443) + HTTPS port number - cache_key_query_rule (False, str, include-all) - query rule info + path (False, str, /*) + Path details id (False, str, None) diff --git a/docs/ibm_certificate_manager_certificate_info.rst b/docs/ibm_certificate_manager_certificate_info.rst index 2a58f86b8..2cc8e3ecf 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_certificate_manager_certificates_info.rst b/docs/ibm_certificate_manager_certificates_info.rst index 1a2a31519..c15a08ca4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_certificate_manager_import.rst b/docs/ibm_certificate_manager_import.rst index f7fe1b4af..6d933692a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 certificate instance - - certificate_manager_instance_id (True, str, None) (Required for new resource) Instance ID of the certificate manager resource @@ -47,6 +43,10 @@ Parameters (Required for new resource) certificate data + description (False, str, None) + Description of the certificate instance + + 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 934514972..61ba28abb 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,44 +31,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - certificate_manager_instance_id (True, str, None) - (Required for new resource) Certificate manager instance ID + key_algorithm (False, str, rsaEncryption 2048 bit) + Keyalgorithm info - rotate_keys (False, bool, False) - Keys are sorated if set to true + name (True, str, None) + (Required for new resource) Certificate name description (False, str, None) Certicate description - 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 + certificate_manager_instance_id (True, str, None) + (Required for new resource) Certificate manager instance ID + + + renew_certificate (False, bool, False) + Invokes renew functionality domains (True, list, None) (Required for new resource) List of domain names - domain_validation_method (False, str, dns-01) - Domain validation methods + rotate_keys (False, bool, False) + Keys are sorated if set to true dns_provider_instance_crn (False, str, None) DNS provider instance CRN - renew_certificate (False, bool, False) - Invokes renew functionality - - - key_algorithm (False, str, rsaEncryption 2048 bit) - Keyalgorithm info + auto_renew_enabled (False, bool, False) + None id (False, str, None) diff --git a/docs/ibm_cis.rst b/docs/ibm_cis.rst index e804e0176..a6afe861c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,30 +31,30 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) A name for the resource instance - - - 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 - tags (False, list, None) - None + name (True, str, None) + (Required for new resource) A name for the resource instance resource_group_id (False, str, None) The resource group id + 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 + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_alert.rst b/docs/ibm_cis_alert.rst index 272f5bc7d..584e01455 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,36 +31,36 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) Policy name + cis_id (True, str, None) + (Required for new resource) CIS instance crn - enabled (True, bool, None) - (Required for new resource) Is the alert policy active + name (True, str, None) + (Required for new resource) Policy name - alert_type (True, str, None) - (Required for new resource) Condition for the alert + description (False, str, None) + Policy Description - filters (False, str, None) - Filters based on filter type + enabled (True, bool, None) + (Required for new resource) Is the alert policy active - cis_id (True, str, None) - (Required for new resource) CIS instance crn + conditions (False, str, None) + Conditions based on filter type - description (False, str, None) - Policy Description + 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. - conditions (False, str, None) - Conditions based on filter type + filters (False, str, None) + Filters 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 8ab4f0cb2..d7be5b91c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_cache_settings.rst b/docs/ibm_cis_cache_settings.rst index 297817883..c204c9140 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,18 @@ 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 + + caching_level (False, str, None) Cache level setting + serve_stale_content (False, str, True) + Serve Stale Content + + development_mode (False, str, None) Development mode setting @@ -43,38 +51,30 @@ Parameters Query String sort setting - purge_all (False, bool, None) - Purge all setting - - - purge_by_tags (False, list, None) - Purge by tags - - - purge_by_hosts (False, list, None) - Purge by hosts - - cis_id (True, str, None) (Required for new resource) CIS instance crn - domain_id (True, str, None) - (Required for new resource) Associated CIS domain - - - serve_stale_content (False, str, True) - Serve Stale Content - - browser_expiration (False, int, None) Browser Expiration setting + purge_all (False, bool, None) + Purge all setting + + purge_by_urls (False, list, None) Purge by URLs + purge_by_tags (False, list, None) + Purge by tags + + + purge_by_hosts (False, list, None) + Purge by hosts + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_cache_settings_info.rst b/docs/ibm_cis_cache_settings_info.rst index 723f5ce88..88345025a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_certificate_order.rst b/docs/ibm_cis_certificate_order.rst index 0dd13bb8a..69d7dfc01 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_certificate_upload.rst b/docs/ibm_cis_certificate_upload.rst index 1e55e4804..3dfa503cb 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,12 +31,8 @@ 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 - - - cis_id (True, str, None) - (Required for new resource) CIS instance crn + priority (False, int, None) + Certificate priority certificate (True, str, None) @@ -47,12 +43,16 @@ Parameters (Required for new resource) Certificate private key - bundle_method (False, str, ubiquitous) - Certificate bundle method + cis_id (True, str, None) + (Required for new resource) CIS instance crn - priority (False, int, None) - Certificate priority + domain_id (True, str, None) + (Required for new resource) Associated CIS domain + + + bundle_method (False, str, ubiquitous) + Certificate bundle method id (False, str, None) diff --git a/docs/ibm_cis_certificates_info.rst b/docs/ibm_cis_certificates_info.rst index 35fb0bdfb..e0cd09983 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_custom_certificates_info.rst b/docs/ibm_cis_custom_certificates_info.rst index 6fac5bb24..8b473cc44 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_custom_page.rst b/docs/ibm_cis_custom_page.rst index abc6b5b07..07dce987b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,20 +31,20 @@ 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 + page_id (True, str, None) + (Required for new resource) Custom page identifier url (True, str, None) (Required for new resource) Custom page url - page_id (True, str, None) - (Required for new resource) Custom page identifier + 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) diff --git a/docs/ibm_cis_custom_pages_info.rst b/docs/ibm_cis_custom_pages_info.rst index 81ea2d1d4..2d7b7c296 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_dns_record.rst b/docs/ibm_cis_dns_record.rst index 1758b87dd..7ea7776bb 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,40 +31,40 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - content (False, str, None) - DNS record content + domain_id (True, str, None) + (Required for new resource) Associated CIS domain - data (False, dict, None) - None + content (False, str, None) + DNS record content - priority (False, int, None) - Priority Value + proxied (False, bool, False) + Boolean value true if proxied else flase - name (False, str, None) - DNS record name + type (True, str, None) + (Required for new resource) Record type - proxied (False, bool, False) - Boolean value true if proxied else flase + data (False, dict, None) + None - ttl (False, int, 1) - TTL value + priority (False, int, None) + Priority Value cis_id (True, str, None) (Required for new resource) CIS object id or CRN - domain_id (True, str, None) - (Required for new resource) Associated CIS domain + name (False, str, None) + DNS record name - type (True, str, None) - (Required for new resource) Record type + ttl (False, int, 1) + TTL value id (False, str, None) diff --git a/docs/ibm_cis_dns_records_import.rst b/docs/ibm_cis_dns_records_import.rst index 504841fd6..da3120729 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - file (True, str, None) - (Required for new resource) File to import - - cis_id (True, str, None) (Required for new resource) CIS instance crn @@ -43,6 +39,10 @@ Parameters (Required for new resource) Associated CIS domain + 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_cis_dns_records_info.rst b/docs/ibm_cis_dns_records_info.rst index af26f1d98..2050c459a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_domain.rst b/docs/ibm_cis_domain.rst index e08b37fb5..b11487406 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - domain (True, str, None) - (Required for new resource) CISzone - Domain - - cis_id (True, str, None) (Required for new resource) CIS instance crn + domain (True, str, None) + (Required for new resource) CISzone - Domain + + type (False, str, full) CISzone - Domain Type diff --git a/docs/ibm_cis_domain_info.rst b/docs/ibm_cis_domain_info.rst index f13fa20b0..65dbac15b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,22 +29,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - domain (True, str, None) - CISzone - Domain + cis_id (True, str, None) + CIS instance crn verification_key (False, str, None) None - cis_id (True, str, None) - CIS instance crn - - cname_suffix (False, str, None) None + domain (True, str, None) + CISzone - 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_domain_settings.rst b/docs/ibm_cis_domain_settings.rst index ee48ebf48..13f7c5256 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,136 +31,136 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + tls_client_auth (False, str, None) + tls_client_auth setting + + + domain_id (True, str, None) + (Required for new resource) Associated CIS domain + + + image_size_optimization (False, str, None) + image_size_optimization setting + + + ip_geolocation (False, str, None) + ip_geolocation setting + + challenge_ttl (False, int, None) Challenge TTL setting - always_use_https (False, str, None) - always_use_https setting + max_upload (False, int, None) + Maximum upload - hotlink_protection (False, str, None) - hotlink_protection setting + waf (False, str, None) + WAF setting - mobile_redirect (False, list, None) - None + script_load_optimization (False, str, None) + script_load_optimization setting - cis_id (True, str, None) - (Required for new resource) CIS instance crn + server_side_exclude (False, str, None) + server_side_exclude setting http2 (False, str, None) http2 setting - websockets (False, str, None) - websockets setting - - - domain_id (True, str, None) - (Required for new resource) Associated CIS domain + dnssec (False, str, None) + DNS Sec setting cname_flattening (False, str, None) cname_flattening setting - brotli (False, str, None) - brotli setting + websockets (False, str, None) + websockets setting - minify (False, list, None) - Minify setting + browser_check (False, str, None) + browser_check setting - origin_error_page_pass_thru (False, str, None) - origin_error_page_pass_thru setting + hotlink_protection (False, str, None) + hotlink_protection setting - ssl (False, str, None) - SSL/TLS setting + brotli (False, str, None) + brotli setting - min_tls_version (False, str, 1.1) - Minimum version of TLS required + cis_id (True, str, None) + (Required for new resource) CIS instance crn automatic_https_rewrites (False, str, None) automatic_https_rewrites setting - ipv6 (False, str, None) - ipv6 setting + true_client_ip_header (False, str, None) + true_client_ip_header setting - browser_check (False, str, None) - browser_check setting + min_tls_version (False, str, 1.1) + Minimum version of TLS required - ip_geolocation (False, str, None) - ip_geolocation setting + origin_error_page_pass_thru (False, str, None) + origin_error_page_pass_thru setting - prefetch_preload (False, str, None) - prefetch_preload setting + mobile_redirect (False, list, None) + None - opportunistic_encryption (False, str, None) - opportunistic_encryption setting + response_buffering (False, str, None) + response_buffering setting - image_size_optimization (False, str, None) - image_size_optimization setting + cipher (False, list, None) + Cipher settings security_header (False, list, None) Security Header Setting - waf (False, str, None) - WAF setting - - - response_buffering (False, str, None) - response_buffering setting - - - script_load_optimization (False, str, None) - script_load_optimization setting - - - server_side_exclude (False, str, None) - server_side_exclude setting + ipv6 (False, str, None) + ipv6 setting - max_upload (False, int, None) - Maximum upload + image_load_optimization (False, str, None) + image_load_optimization setting - cipher (False, list, None) - Cipher settings + pseudo_ipv4 (False, str, None) + pseudo_ipv4 setting - dnssec (False, str, None) - DNS Sec setting + prefetch_preload (False, str, None) + prefetch_preload setting - image_load_optimization (False, str, None) - image_load_optimization setting + minify (False, list, None) + Minify setting - pseudo_ipv4 (False, str, None) - pseudo_ipv4 setting + ssl (False, str, None) + SSL/TLS setting - tls_client_auth (False, str, None) - tls_client_auth setting + opportunistic_encryption (False, str, None) + opportunistic_encryption setting - true_client_ip_header (False, str, None) - true_client_ip_header setting + always_use_https (False, str, None) + always_use_https setting id (False, str, None) diff --git a/docs/ibm_cis_edge_functions_action.rst b/docs/ibm_cis_edge_functions_action.rst index fea9be54e..dc3dd79dc 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 Intance CRN - - domain_id (True, str, None) (Required for new resource) CIS Domain ID @@ -47,6 +43,10 @@ Parameters (Required for new resource) Edge function action script + cis_id (True, str, None) + (Required for new resource) CIS Intance CRN + + 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 ca4cb17c6..be3c77df0 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_edge_functions_trigger.rst b/docs/ibm_cis_edge_functions_trigger.rst index abae95060..aca0571b9 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - action_name (False, str, None) - Edge function trigger action name - - - cis_id (True, str, None) - (Required for new resource) CIS Intance CRN - - domain_id (True, str, None) (Required for new resource) CIS Domain ID @@ -47,6 +39,14 @@ Parameters (Required for new resource) Edge function trigger pattern + action_name (False, str, None) + Edge function trigger action name + + + cis_id (True, str, None) + (Required for new resource) CIS Intance CRN + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_edge_functions_triggers_info.rst b/docs/ibm_cis_edge_functions_triggers_info.rst index ce023e37c..d086bd8d7 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_filter.rst b/docs/ibm_cis_filter.rst index 929541e60..8a641301c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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) - Filter Description - - cis_id (True, str, None) (Required for new resource) CIS instance crn @@ -51,6 +47,10 @@ Parameters (Required for new resource) Filter Expression + description (False, str, None) + Filter Description + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cis_filters_info.rst b/docs/ibm_cis_filters_info.rst index 2d8be7d09..838f982fa 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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_firewall.rst b/docs/ibm_cis_firewall.rst index 6f2baac14..8af99b7ab 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,18 +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 object id - - - domain_id (True, str, None) - (Required for new resource) Associated CIS domain - - - firewall_type (True, str, None) - (Required for new resource) Type of firewall.Allowable values are access-rules,ua-rules,lockdowns - - lockdown (False, list, None) Lockdown Data @@ -55,6 +43,18 @@ Parameters User Agent Rule Data + cis_id (True, str, None) + (Required for new resource) CIS object id + + + domain_id (True, str, None) + (Required for new resource) Associated CIS domain + + + firewall_type (True, str, None) + (Required for new resource) Type of firewall.Allowable values are access-rules,ua-rules,lockdowns + + 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 beb9acda5..fa60f0f78 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_firewall_rule.rst b/docs/ibm_cis_firewall_rule.rst index 11f59a8f0..cc93460a2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + action (True, str, None) + (Required for new resource) Firewallrules Action + + priority (False, int, None) Firewallrules Action @@ -55,10 +59,6 @@ Parameters (Required for new resource) Firewallrules Existing FilterID - action (True, str, None) - (Required for new resource) Firewallrules Action - - 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 b2c410489..e518b65f4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_global_load_balancer.rst b/docs/ibm_cis_global_load_balancer.rst index b82e3aeea..7c4129921 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,12 +31,12 @@ 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 + description (False, str, None) + Description for the load balancer instance - default_pool_ids (True, list, None) - (Required for new resource) List of default Pool IDs + ttl (False, int, 60) + TTL value steering_policy (False, str, None) @@ -47,39 +47,39 @@ Parameters set to true if proxy needs to be enabled - domain_id (True, str, None) - (Required for new resource) Associated CIS domain + session_affinity (False, str, none) + Session affinity info - fallback_pool_id (True, str, None) - (Required for new resource) fallback pool ID + cis_id (True, str, None) + (Required for new resource) CIS instance crn - 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 + enabled (False, bool, True) + set to true of LB needs to enabled - session_affinity (False, str, none) - Session affinity info + pop_pools (False, list, None) + None - region_pools (False, list, None) - None + domain_id (True, str, None) + (Required for new resource) Associated CIS domain - description (False, str, None) - Description for the load balancer instance + name (True, str, None) + (Required for new resource) name - 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) + region_pools (False, list, None) None diff --git a/docs/ibm_cis_global_load_balancers_info.rst b/docs/ibm_cis_global_load_balancers_info.rst index 432e9a24c..15b42bbc4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_healthcheck.rst b/docs/ibm_cis_healthcheck.rst index c043840e1..254860d80 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,60 +31,60 @@ 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 - - timeout (False, int, 5) timeout - port (False, int, None) - port number - - - interval (False, int, 60) - interval - - follow_redirects (False, bool, False) follow_redirects - allow_insecure (False, bool, False) - allow_insecure - - - expected_codes (False, str, None) - expected_codes - - - description (False, str, None) - description + port (False, int, None) + port number - path (False, str, /) - path + cis_id (True, str, None) + (Required for new resource) CIS instance crn expected_body (False, str, None) expected_body + description (False, str, None) + description + + method (False, str, GET) method + retries (False, int, 2) + retries + + headers (False, list, None) None + path (False, str, /) + path + + type (False, str, http) type - retries (False, int, 2) - retries + allow_insecure (False, bool, False) + allow_insecure + + + expected_codes (False, str, None) + expected_codes + + + interval (False, int, 60) + interval id (False, str, None) diff --git a/docs/ibm_cis_healthchecks_info.rst b/docs/ibm_cis_healthchecks_info.rst index e002e6e3a..960397e71 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_info.rst b/docs/ibm_cis_info.rst index 690423b6e..ebbb734da 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_ip_addresses_info.rst b/docs/ibm_cis_ip_addresses_info.rst index cd3646bc6..ec1b20e8b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_logpush_job.rst b/docs/ibm_cis_logpush_job.rst index 2fe664b71..fbee00197 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,36 +31,36 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - frequency (False, str, None) - The frequency at which CIS sends batches of logs to your destination + dataset (True, str, None) + (Required for new resource) Dataset to be pulled - cis_id (True, str, None) - (Required for new resource) CIS instance crn + frequency (False, str, None) + The frequency at which CIS sends batches of logs to your destination logdna (True, str, None) (Required for new resource) Information to identify the LogDNA instance the data will be pushed. - name (False, str, None) - Logpush Job Name - - enabled (False, bool, None) Whether the logpush job enabled or not - domain_id (True, str, None) - (Required for new resource) Associated CIS domain - - logpull_options (False, str, None) Configuration string - dataset (True, str, None) - (Required for new resource) Dataset to be pulled + cis_id (True, str, None) + (Required for new resource) CIS instance crn + + + domain_id (True, str, None) + (Required for new resource) Associated CIS domain + + + name (False, str, None) + Logpush Job Name id (False, str, None) diff --git a/docs/ibm_cis_logpush_jobs_info.rst b/docs/ibm_cis_logpush_jobs_info.rst index fb9548d56..84c655d30 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_mtls.rst b/docs/ibm_cis_mtls.rst index 153af8de9..116a410a7 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - certificate (True, str, None) - (Required for new resource) Certificate contents - - - domain_id (True, str, None) - (Required for new resource) Associated CIS domain - - associated_hostnames (True, list, None) (Required for new resource) Host name list to be associated @@ -47,10 +39,18 @@ Parameters (Required for new resource) CIS instance crn + certificate (True, str, None) + (Required for new resource) Certificate contents + + name (True, str, None) (Required for new resource) Certificate name + 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 7d8534d9d..622c5a3e3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,12 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - session_duration (False, str, 24h) - Duration for app validatidity + cis_id (True, str, None) + (Required for new resource) CIS instance crn - policy_name (False, str, mtls-policy) - Policy Name + name (True, str, None) + (Required for new resource) App Name + + + domain (True, str, None) + (Required for new resource) Associated host domain value policy_decision (False, str, non_identity) @@ -47,24 +51,20 @@ Parameters (Required for new resource) Associated CIS domain - common_rule_val (False, str, None) - Policy common rule value - - - cis_id (True, str, None) - (Required for new resource) CIS instance crn + cert_rule_val (False, str, CA root certificate) + Policy certificate rule value - domain (True, str, None) - (Required for new resource) Associated host domain value + session_duration (False, str, 24h) + Duration for app validatidity - name (True, str, None) - (Required for new resource) App Name + policy_name (False, str, mtls-policy) + Policy Name - cert_rule_val (False, str, CA root certificate) - Policy certificate rule value + common_rule_val (False, str, None) + Policy common rule value id (False, str, None) diff --git a/docs/ibm_cis_mtls_apps_info.rst b/docs/ibm_cis_mtls_apps_info.rst index daa32efd9..73d1ff744 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_mtlss_info.rst b/docs/ibm_cis_mtlss_info.rst index 3d4f812c3..79b10ac60 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_origin_auth.rst b/docs/ibm_cis_origin_auth.rst index 90e75054e..c4ef96fd5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 - - - level (True, str, None) - (Required for new resource) Origin auth level zone or hostname + cis_id (True, str, None) + (Required for new resource) CIS instance crn - enabled (False, bool, True) - Enabel-disable origin auth for a zone or host + domain_id (True, str, None) + (Required for new resource) Associated CIS domain certificate (True, str, None) (Required for new resource) Certificate content which needs to be uploaded - 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 + enabled (False, bool, True) + Enabel-disable origin auth for a zone or host + + private_key (True, str, None) (Required for new resource) Private key content which needs to be uploaded diff --git a/docs/ibm_cis_origin_auths_info.rst b/docs/ibm_cis_origin_auths_info.rst index 345cc074e..ee3c3943c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ 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 @@ -45,6 +41,10 @@ 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 6e8715bd8..a60e9ad5e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,40 +31,40 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - description (False, str, None) - Description of the CIS Origin Pool + name (True, str, None) + (Required for new resource) name - enabled (True, bool, None) - (Required for new resource) Boolean value set to true if cis origin pool needs to be enabled + minimum_origins (False, int, 1) + Minimum number of Origins monitor (False, str, None) Monitor value - 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 + origins (True, list, None) + (Required for new resource) Origins info check_regions (True, list, None) (Required for new resource) List of regions - notification_email (False, str, None) - Email address configured to recieve the notifications + enabled (True, bool, None) + (Required for new resource) Boolean value set to true if cis origin pool needs to be enabled - origins (True, list, None) - (Required for new resource) Origins info + cis_id (True, str, None) + (Required for new resource) CIS instance crn - minimum_origins (False, int, 1) - Minimum number of Origins + description (False, str, None) + Description of the CIS Origin Pool id (False, str, None) diff --git a/docs/ibm_cis_origin_pools_info.rst b/docs/ibm_cis_origin_pools_info.rst index cc4e57f57..108f05c71 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_page_rule.rst b/docs/ibm_cis_page_rule.rst index 54b9ce5d6..9a6f79a55 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +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 - - priority (False, int, 1) Page rule priority @@ -55,6 +47,14 @@ Parameters (Required for new resource) Page rule actions + 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_page_rules_info.rst b/docs/ibm_cis_page_rules_info.rst index ea4ffe3dd..9d5a20640 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_range_app.rst b/docs/ibm_cis_range_app.rst index 8df152dc9..6da2c1aef 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,24 +31,16 @@ 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 - - - origin_port (False, int, None) - Port at the origin that listens to traffic - - - proxy_protocol (False, str, None) - Allows for the true client IP to be passed to the service. + domain_id (True, str, None) + (Required for new resource) CIS Domain ID - dns_type (True, str, None) - (Required for new resource) Type of the DNS record for this application + origin_direct (False, list, None) + IP address and port of the origin for this Range application. - edge_ips_type (False, str, dynamic) - The type of edge IP configuration. + ip_firewall (False, bool, None) + Enables the IP Firewall for this application. Only available for TCP applications. edge_ips_connectivity (False, str, all) @@ -59,32 +51,40 @@ Parameters Configure if and how TLS connections are terminated at the edge. - domain_id (True, str, None) - (Required for new resource) CIS Domain ID + dns_type (True, str, None) + (Required for new resource) Type of the DNS record for this application - protocol (True, str, None) - (Required for new resource) Defines the protocol and port for this application + origin_dns (False, str, None) + DNS record pointing to the origin for this Range application. + + + 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 dns (True, str, None) (Required for new resource) Name of the DNS record for this application - origin_direct (False, list, None) - IP address and port of the origin for this Range application. + edge_ips_type (False, str, dynamic) + The type of edge IP configuration. - ip_firewall (False, bool, None) - Enables the IP Firewall for this application. Only available for TCP applications. + protocol (True, str, None) + (Required for new resource) Defines the protocol and port for this application - traffic_type (False, str, direct) - Configure how traffic is handled at the edge. + origin_port (False, int, None) + Port at the origin that listens to traffic - origin_dns (False, str, None) - DNS record pointing to the origin for this Range application. + proxy_protocol (False, str, None) + Allows for the true client IP to be passed to the service. id (False, str, None) diff --git a/docs/ibm_cis_range_apps_info.rst b/docs/ibm_cis_range_apps_info.rst index f7ed9cadc..958e039e0 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_rate_limit.rst b/docs/ibm_cis_rate_limit.rst index 940c04c3f..1c6305eb4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,16 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - domain_id (True, str, None) - (Required for new resource) CIS Domain ID - - disabled (False, bool, False) Whether this rate limiting rule is currently disabled. - match (False, list, None) - Rate Limiting Match + period (True, int, None) + (Required for new resource) Rate Limiting Period correlate (False, list, None) @@ -55,6 +51,10 @@ Parameters (Required for new resource) CIS Intance CRN + domain_id (True, str, None) + (Required for new resource) CIS Domain ID + + description (False, str, None) A note that you can use to describe the reason for a rate limiting rule. @@ -67,8 +67,8 @@ Parameters (Required for new resource) Rate Limiting Threshold - period (True, int, None) - (Required for new resource) Rate Limiting Period + match (False, list, None) + Rate Limiting Match id (False, str, None) diff --git a/docs/ibm_cis_rate_limit_info.rst b/docs/ibm_cis_rate_limit_info.rst index 0c642fe34..adf22a654 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_routing.rst b/docs/ibm_cis_routing.rst index 531847e15..ba80c7ad9 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_tls_settings.rst b/docs/ibm_cis_tls_settings.rst index 3f3267ebf..a5127f0e6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + tls_1_3 (False, str, None) + TLS 1.3 setting + + + min_tls_version (False, str, 1.1) + Minimum version of TLS required + + cis_id (True, str, None) (Required for new resource) CIS instance crn @@ -43,14 +51,6 @@ Parameters Universal SSL setting - tls_1_3 (False, str, None) - 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 d9989e9a8..f9eac0a9e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 Intance CRN - - package_id (True, str, None) (Required for new resource) WAF Rule package id @@ -43,6 +39,10 @@ Parameters Check Mode before making a create/update request + cis_id (True, str, None) + (Required for new resource) CIS Intance CRN + + domain_id (True, str, None) (Required for new resource) CIS Domain ID diff --git a/docs/ibm_cis_waf_groups_info.rst b/docs/ibm_cis_waf_groups_info.rst index 7fac8986d..0aeed0606 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + package_id (True, str, None) + WAF Rule package id + + cis_id (True, str, None) CIS Intance CRN @@ -37,10 +41,6 @@ Parameters CIS Domain ID - package_id (True, str, None) - WAF Rule package 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_cis_waf_package.rst b/docs/ibm_cis_waf_package.rst index f3f80525a..44d1877b5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - package_id (True, str, None) - (Required for new resource) WAF pakcage ID - - - sensitivity (True, str, None) - (Required for new resource) WAF pakcage sensitivity - - action_mode (True, str, None) (Required for new resource) WAF pakcage action mode @@ -51,6 +43,14 @@ Parameters (Required for new resource) CIS Domain ID + package_id (True, str, None) + (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 15520fb3f..dd0a9603c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_waf_rule.rst b/docs/ibm_cis_waf_rule.rst index 5ad00068c..4f77bd9af 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - mode (True, str, None) - (Required for new resource) CIS WAF Rule mode - - cis_id (True, str, None) (Required for new resource) CIS Intance CRN @@ -47,6 +43,10 @@ Parameters (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 diff --git a/docs/ibm_cis_waf_rules_info.rst b/docs/ibm_cis_waf_rules_info.rst index 87cf87235..eed9d3d57 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cis_webhook.rst b/docs/ibm_cis_webhook.rst index 7bc250126..d52e14e61 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 - - name (True, str, None) (Required for new resource) Webhook Name @@ -47,6 +43,10 @@ Parameters API key needed to use the webhook + 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_webhooks_info.rst b/docs/ibm_cis_webhooks_info.rst index edc1f32da..5962b74dc 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cloud_shell_account_settings.rst b/docs/ibm_cloud_shell_account_settings.rst index 4b4e5aab0..ff317b274 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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. + enabled (False, bool, None) + When enabled, Cloud Shell is available to all users in the account. + + + features (False, list, None) + List of Cloud Shell features. + + rev (False, str, None) Unique revision number for the settings object. @@ -51,12 +55,8 @@ Parameters 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. - enabled (False, bool, None) - When enabled, Cloud Shell is available to all users in the account. - - - features (False, list, None) - List of Cloud Shell features. + regions (False, list, None) + List of Cloud Shell region settings. id (False, str, None) diff --git a/docs/ibm_cloud_shell_account_settings_info.rst b/docs/ibm_cloud_shell_account_settings_info.rst index f47f1570d..d74a58d2a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cloudant.rst b/docs/ibm_cloudant.rst index 5c3008d14..64e396dce 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,20 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cors_config (False, list, None) - Configuration for CORS. - - - tags (False, list, None) - None + 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. - name (True, str, None) - (Required for new resource) A name for the resource instance + 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_endpoints (False, str, None) + Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. parameters (False, dict, None) @@ -55,38 +51,42 @@ Parameters CRN of the IBM Cloudant Dedicated Hardware plan instance - capacity (False, int, 1) - 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. + legacy_credentials (False, bool, False) + Use both legacy credentials and IAM for authentication - 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 - location (True, str, None) - (Required for new resource) The location where the instance available + capacity (False, int, 1) + 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. - parameters_json (False, str, None) - Arbitrary parameters to pass in Json string format + resource_group_id (False, str, None) + The resource group id - service_endpoints (False, str, None) - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + parameters_json (False, str, None) + Arbitrary parameters to pass in Json string format - resource_group_id (False, str, None) - The resource group id + tags (False, list, None) + None - legacy_credentials (False, bool, False) - Use both legacy credentials and IAM for authentication + name (True, str, None) + (Required for new resource) A name for the resource instance enable_cors (False, bool, True) Boolean value to turn CORS on and off. + cors_config (False, list, None) + Configuration for CORS. + + 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 bbf3bb8d4..d9f4d462c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + 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. + + instance_crn (True, str, None) (Required for new resource) Cloudant Instance CRN. @@ -43,10 +47,6 @@ Parameters 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. - - 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 10232ef8f..086db2b14 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_crn (True, str, None) - Cloudant Instance CRN. - - db (True, str, None) Path parameter to specify the database name. + instance_crn (True, str, None) + Cloudant Instance 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_cloudant_info.rst b/docs/ibm_cloudant_info.rst index 93fe45bcc..4a2b4e38a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,16 +29,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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 location (False, str, None) The location or the environment in which instance exists - 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 iaas_classic_username (False, any, None) diff --git a/docs/ibm_cm_catalog.rst b/docs/ibm_cm_catalog.rst index faf1bceb2..0c8623971 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,8 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - kind (False, str, None) - Kind of catalog. Supported kinds are offering and vpe. + label (False, str, None) + Display Name in the requested language. short_description_i18n (False, dict, None) @@ -43,18 +43,14 @@ Parameters List of tags associated with this catalog. - metadata (False, dict, None) - Catalog specific metadata. + features (False, list, None) + List of features associated with this catalog. resource_group_id (False, str, None) Resource group id the catalog is owned by. - features (False, list, None) - List of features associated with this catalog. - - short_description (False, str, None) Description in the requested language. @@ -67,14 +63,18 @@ Parameters Denotes whether a catalog is disabled. - label (False, str, None) - Display Name in the requested language. + metadata (False, dict, None) + Catalog specific metadata. label_i18n (False, dict, None) A map of translated strings, by language code. + kind (False, str, None) + Kind of catalog. Supported kinds are offering and vpe. + + 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 2ec686982..f7389cbd6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cm_object.rst b/docs/ibm_cm_object.rst index 74607ed76..292acc4ee 100644 --- a/docs/ibm_cm_object.rst +++ b/docs/ibm_cm_object.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,44 +31,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - catalog_id (True, str, None) - (Required for new resource) Catalog identifier. - - - kind (True, str, None) - (Required for new resource) Kind of object. Options are "vpe", "preset_configuration", or "proxy_source". - - - name (True, str, None) - (Required for new resource) The programmatic name of this object. + parent_id (False, str, None) + The parent for this specific object. label_i18n (False, dict, None) A map of translated strings, by language code. - short_description (False, str, None) - Short description in the requested language. + data (False, str, None) + Stringified map of data values for this object. short_description_i18n (False, dict, None) A map of translated strings, by language code. - parent_id (False, str, None) - The parent for this specific object. + catalog_id (True, str, None) + (Required for new resource) Catalog identifier. + + + name (True, str, None) + (Required for new resource) The programmatic name of this object. label (False, str, None) Display name in the requested language. - tags (False, list, None) - List of tags associated with this catalog. + short_description (False, str, None) + Short description in the requested language. - data (False, str, None) - Stringified map of data values for this object. + kind (True, str, None) + (Required for new resource) Kind of object. Options are "vpe", "preset_configuration", or "proxy_source". + + + tags (False, list, None) + List of tags associated with this catalog. id (False, str, None) diff --git a/docs/ibm_cm_object_info.rst b/docs/ibm_cm_object_info.rst index 4bff03f80..a842ce9a3 100644 --- a/docs/ibm_cm_object_info.rst +++ b/docs/ibm_cm_object_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cm_offering_info.rst b/docs/ibm_cm_offering_info.rst index cb6fa1eac..3b3ebcc05 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cm_offering_instance.rst b/docs/ibm_cm_offering_instance.rst index dd841ee2b..2f20d500e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,54 +35,54 @@ Parameters (Required for new resource) the label for this instance. - offering_id (True, str, None) - (Required for new resource) Offering ID this instance was created from. + catalog_id (True, str, None) + (Required for new resource) Catalog ID this instance was created from. version (True, str, None) (Required for new resource) The version this instance was installed from (not version id). - cluster_region (True, str, None) - (Required for new resource) Cluster region (e.g., us-south). + 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. + resource_group_id (False, str, None) + id of the resource group kind_format (True, str, None) (Required for new resource) the format this instance has (helm, operator, ova...). - cluster_id (True, str, None) - (Required for new resource) Cluster ID. + cluster_region (True, str, None) + (Required for new resource) Cluster region (e.g., us-south). + + + cluster_namespaces (True, list, None) + (Required for new resource) List of target namespaces to install into. + + + channel (False, str, None) + channel to target for the operator subscription. Required for operator bundles wait_until_successful (False, bool, True) Whether to wait until the offering instance successfully provisions, or to return when accepted - catalog_id (True, str, None) - (Required for new resource) Catalog ID this instance was created from. + offering_id (True, str, None) + (Required for new resource) Offering ID this instance was created from. cluster_all_namespaces (True, bool, None) (Required for new resource) designate to install into all namespaces. - resource_group_id (False, str, None) - id of the resource group - - install_plan (False, str, None) install plan for the subscription of the operator- can be either automatic or manual. Required for operator bundles - channel (False, str, None) - channel to target for the operator subscription. Required for operator bundles - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cm_offering_instance_info.rst b/docs/ibm_cm_offering_instance_info.rst index 482e185dc..0539c5395 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cm_preset_info.rst b/docs/ibm_cm_preset_info.rst index 27fecf570..fd5aa3828 100644 --- a/docs/ibm_cm_preset_info.rst +++ b/docs/ibm_cm_preset_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cm_validation.rst b/docs/ibm_cm_validation.rst index 2b5e22bab..a209395ea 100644 --- a/docs/ibm_cm_validation.rst +++ b/docs/ibm_cm_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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,36 +31,36 @@ 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'. - - - schematics (False, list, None) - Other values to pass to the schematics workspace. + x_auth_refresh_token (True, str, None) + (Required for new resource) Authentication token used to submit validation job. - revalidate_if_validated (False, bool, None) - If the version should be revalidated if it is already validated. + override_values (False, dict, None) + Override values during validation. - mark_version_consumable (False, bool, None) - If the version should be marked as consumable or "ready to share". + environment_variables (False, list, None) + Environment variables to include in the schematics workspace. version_locator (True, str, None) (Required for new resource) Version locator - the version that will be validated. - x_auth_refresh_token (True, str, None) - (Required for new resource) Authentication token used to submit validation job. + 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'. - environment_variables (False, list, None) - Environment variables to include in the schematics workspace. + revalidate_if_validated (False, bool, None) + If the version should be revalidated if it is already validated. - override_values (False, dict, None) - Override values during validation. + mark_version_consumable (False, bool, None) + If the version should be marked as consumable or "ready to share". + + + schematics (False, list, None) + Other values to pass to the schematics workspace. id (False, str, None) diff --git a/docs/ibm_cm_version_info.rst b/docs/ibm_cm_version_info.rst index 15339a4f9..674d45504 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - metadata (False, list, None) - Generic data to be included with content being onboarded. Required for virtual server image for VPC. - - version_loc_id (True, str, None) A dotted value of `catalogID`.`versionID`. diff --git a/docs/ibm_compute_autoscale_group.rst b/docs/ibm_compute_autoscale_group.rst index 691f96cad..6d7822c1a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,48 +31,48 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - port (False, int, None) - Port number + name (True, str, None) + (Required for new resource) Name - health_check (False, dict, None) - None + minimum_member_count (True, int, None) + (Required for new resource) Minimum member count - virtual_guest_member_template (True, list, None) - (Required for new resource) Virtual guest member template + maximum_member_count (True, int, None) + (Required for new resource) Maximum member count - network_vlan_ids (False, list, None) - List of network VLAN ids + cooldown (True, int, None) + (Required for new resource) Cooldown value - regional_group (True, str, None) - (Required for new resource) regional group + termination_policy (True, str, None) + (Required for new resource) Termination policy - minimum_member_count (True, int, None) - (Required for new resource) Minimum member count + health_check (False, dict, None) + None - cooldown (True, int, None) - (Required for new resource) Cooldown value + regional_group (True, str, None) + (Required for new resource) regional group virtual_server_id (False, int, None) virtual server ID - name (True, str, None) - (Required for new resource) Name + port (False, int, None) + Port number - maximum_member_count (True, int, None) - (Required for new resource) Maximum member count + virtual_guest_member_template (True, list, None) + (Required for new resource) Virtual guest member template - termination_policy (True, str, None) - (Required for new resource) Termination policy + network_vlan_ids (False, list, None) + List of network VLAN ids tags (False, list, None) diff --git a/docs/ibm_compute_autoscale_policy.rst b/docs/ibm_compute_autoscale_policy.rst index 87fe5cc4d..a34c9eaf4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + triggers (False, list, None) + None + + tags (False, list, None) List of tags @@ -55,10 +59,6 @@ Parameters (Required for new resource) scale group ID - triggers (False, list, None) - None - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_compute_bare_metal.rst b/docs/ibm_compute_bare_metal.rst index 291687e83..05fc41d69 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,163 +31,163 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - os_reference_code (False, str, None) - OS refernece code value + private_vlan_id (False, int, None) + None - datacenter (False, str, None) + private_subnet (False, str, None) None - package_key_name (False, str, None) + process_key_name (False, str, None) None - os_key_name (False, str, None) + gpu_secondary_key_name (False, str, None) None - redundant_network (False, bool, False) + disk_key_names (False, list, None) None - memory (False, int, None) + public_subnet (False, str, None) None - quote_id (False, int, None) - Quote ID for Quote based provisioning + gpu_key_name (False, str, None) + None - ssh_key_ids (False, list, None) - SSH KEY IDS list + unbonded_network (False, bool, False) + None - user_metadata (False, str, None) - User metadata info + quote_id (False, int, None) + Quote ID for Quote based provisioning - file_storage_ids (False, list, None) - None + fixed_config_preset (False, str, None) + Fixed config preset value hourly_billing (False, bool, True) Enables hourly billing - ipv6_enabled (False, bool, False) - Boolean value true if IPV6 ia enabled or false + tcp_monitoring (False, bool, False) + TCP monitoring enabled if set as true - storage_groups (False, list, None) + os_key_name (False, str, None) None - public_subnet (False, str, None) + block_storage_ids (False, list, None) None - hostname (False, str, None) - Host name + private_network_only (False, bool, False) + only private network configured if is true - notes (False, str, None) - Optional notes info + redundant_power_supply (False, bool, None) + None - extended_hardware_testing (False, bool, False) - None + secondary_ip_count (False, int, None) + Secondary IP addresses count - public_bandwidth (False, int, None) + hostname (False, str, None) + Host name + + + file_storage_ids (False, list, None) None - disk_key_names (False, list, None) + post_install_script_uri (False, str, None) None - private_subnet (False, str, None) + tags (False, list, None) None - image_template_id (False, int, None) - OS image template ID + public_vlan_id (False, int, None) + None - private_network_only (False, bool, False) - only private network configured if is true + ssh_key_ids (False, list, None) + SSH KEY IDS list - process_key_name (False, str, None) + public_bandwidth (False, int, None) None - gpu_key_name (False, str, None) + memory (False, int, None) None - tags (False, list, None) + storage_groups (False, list, None) None - secondary_ip_count (False, int, None) - Secondary IP addresses count + extended_hardware_testing (False, bool, False) + None ipv6_static_enabled (False, bool, False) boolean value true if ipv6 static is enabled else false - software_guard_extensions (False, bool, False) - None + domain (True, str, None) + (Required for new resource) Domain name - gpu_secondary_key_name (False, str, None) - None + user_metadata (False, str, None) + User metadata info - private_vlan_id (False, int, None) - None + os_reference_code (False, str, None) + OS refernece code value - post_install_script_uri (False, str, None) + redundant_network (False, bool, False) None - fixed_config_preset (False, str, None) - Fixed config preset value - - - network_speed (False, int, 100) - Network speed in MBPS + image_template_id (False, int, None) + OS image template ID - redundant_power_supply (False, bool, None) + datacenter (False, str, None) None - block_storage_ids (False, list, None) + package_key_name (False, str, None) None - restricted_network (False, bool, False) - None + ipv6_enabled (False, bool, False) + Boolean value true if IPV6 ia enabled or false - domain (True, str, None) - (Required for new resource) Domain name + notes (False, str, None) + Optional notes info - tcp_monitoring (False, bool, False) - TCP monitoring enabled if set as true + network_speed (False, int, 100) + Network speed in MBPS - unbonded_network (False, bool, False) + software_guard_extensions (False, bool, False) None - public_vlan_id (False, int, None) + restricted_network (False, bool, False) None diff --git a/docs/ibm_compute_bare_metal_info.rst b/docs/ibm_compute_bare_metal_info.rst index c65c6145d..5b2f6d7f0 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 bare metal is used. If false, an error is returned + + hostname (False, str, None) The hostname of the bare metal server @@ -37,10 +41,6 @@ Parameters 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 diff --git a/docs/ibm_compute_dedicated_host.rst b/docs/ibm_compute_dedicated_host.rst index 7113dcaf9..6314320f2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 + + hostname (True, str, None) (Required for new resource) The host name of dedicatated host. @@ -43,24 +47,20 @@ Parameters (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. - flavor (False, str, 56_CORES_X_242_RAM_X_1_4_TB) - The flavor of the dedicatated host. - - wait_time_minutes (False, int, 90) None - tags (False, list, None) - None + 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. id (False, str, None) diff --git a/docs/ibm_compute_image_template_info.rst b/docs/ibm_compute_image_template_info.rst index 44eb97b09..ad9f592a6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_compute_monitor.rst b/docs/ibm_compute_monitor.rst index bd5823b0d..7b8c99cff 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - guest_id (True, int, None) - (Required for new resource) Guest ID - - ip_address (False, str, None) IP Address @@ -59,6 +55,10 @@ Parameters List of tags + guest_id (True, int, None) + (Required for new resource) Guest ID + + 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 80b1f76af..9a60d0512 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + rule (False, str, SPREAD) + Rule info + + + tags (False, list, None) + List of tags + + datacenter (True, str, None) (Required for new resource) Dataceneter name @@ -43,14 +51,6 @@ Parameters (Required for new resource) Name - rule (False, str, SPREAD) - Rule 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_compute_placement_group_info.rst b/docs/ibm_compute_placement_group_info.rst index 79dae9304..01cd64dfa 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_compute_provisioning_hook.rst b/docs/ibm_compute_provisioning_hook.rst index e074190d4..565ba0570 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_compute_reserved_capacity.rst b/docs/ibm_compute_reserved_capacity.rst index 12ad2e36a..71c0421ea 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 - - instances (True, int, None) (Required for new resource) no of the instances @@ -59,6 +55,10 @@ Parameters (Required for new resource) Pod name + name (True, str, None) + (Required for new resource) Name + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_compute_reserved_capacity_info.rst b/docs/ibm_compute_reserved_capacity_info.rst index 0a6671f2c..30dbbd1d8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_compute_ssh_key.rst b/docs/ibm_compute_ssh_key.rst index f84cbc90e..ec1e3878d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + notes (False, str, None) + Additional notes + + tags (False, list, None) List of tags for the resource @@ -43,10 +47,6 @@ Parameters (Required for new resource) Plublic Key info - notes (False, str, None) - Additional notes - - 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 5a482e5f5..2d57a550a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_compute_ssl_certificate.rst b/docs/ibm_compute_ssl_certificate.rst index b6a38dd5e..0fd379805 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + private_key (True, str, None) + (Required for new resource) SSL Private Key + + certificate (True, str, None) (Required for new resource) SSL Certifcate @@ -39,10 +43,6 @@ Parameters Intermediate certificate value - private_key (True, str, None) - (Required for new resource) SSL Private Key - - tags (False, list, None) Tags set for resource diff --git a/docs/ibm_compute_user.rst b/docs/ibm_compute_user.rst index 13b23c89b..d8d1cbd14 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,42 +31,46 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - permissions (False, list, None) - set of persmissions assigned for the user + tags (False, list, None) + Tags set for the resources - company_name (True, str, None) - (Required for new resource) comapany name + email (True, str, None) + (Required for new resource) email address of the user - address2 (False, str, None) - Address info of the user + company_name (True, str, None) + (Required for new resource) comapany name city (True, str, None) (Required for new resource) City name - password (False, str, None) - password for the user + country (True, str, None) + (Required for new resource) Country name - first_name (True, str, None) - (Required for new resource) First name of the user + timezone (True, str, None) + (Required for new resource) time zone info - address1 (True, str, None) - (Required for new resource) Address info of the user + first_name (True, str, None) + (Required for new resource) First name of the user - country (True, str, None) - (Required for new resource) Country name + last_name (True, str, None) + (Required for new resource) Last name 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 @@ -79,24 +83,20 @@ Parameters (Required for new resource) Satate name - timezone (True, str, None) - (Required for new resource) time zone info + permissions (False, list, None) + set of persmissions assigned for the user has_api_key (False, bool, False) API Key info of the user - last_name (True, str, None) - (Required for new resource) Last name of the user - - - 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 - tags (False, list, None) - Tags set for the resources + address2 (False, str, None) + Address info of the user id (False, str, None) diff --git a/docs/ibm_compute_vm_instance.rst b/docs/ibm_compute_vm_instance.rst index 2f1816657..cb0037ae2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,71 +31,59 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - dedicated_host_name (False, str, None) + public_security_group_ids (False, list, None) None - private_security_group_ids (False, list, None) + notes (False, str, None) None - ipv6_static_enabled (False, bool, False) + local_disk (False, bool, True) None - reserved_capacity_name (False, str, None) - The reserved group id + dedicated_host_name (False, str, None) + None placement_group_name (False, str, None) The placement group name - reserved_instance_primary_disk (False, int, None) - The primary disk of reserved instance - - - ssh_key_ids (False, list, None) - None - - - file_storage_ids (False, list, None) - None - - - local_disk (False, bool, True) + memory (False, int, None) None - private_network_only (False, bool, False) + dedicated_acct_host_only (False, bool, None) None - post_install_script_uri (False, str, None) + private_subnet (False, str, None) None - public_subnet (False, str, None) + evault (False, int, None) None - user_metadata (False, str, None) + hourly_billing (False, bool, True) None - quote_id (False, int, None) - Quote ID for Quote based provisioning + datacenter_choice (False, list, None) + The user provided datacenter options - dedicated_acct_host_only (False, bool, None) + bulk_vms (False, list, None) None - notes (False, str, None) + dedicated_host_id (False, int, None) None - tags (False, list, None) + image_id (False, int, None) None @@ -103,47 +91,43 @@ Parameters None - datacenter_choice (False, list, None) - The user provided datacenter options - - secondary_ip_count (False, int, None) None - hostname (False, str, None) + file_storage_ids (False, list, None) None - block_storage_ids (False, list, None) + public_bandwidth_limited (False, int, None) None - public_vlan_id (False, int, None) - None + quote_id (False, int, None) + Quote ID for Quote based provisioning flavor_key_name (False, str, None) Flavor key name used to provision vm. - transient (False, bool, None) + post_install_script_uri (False, str, None) None - network_speed (False, int, 100) + transient (False, bool, None) None - public_bandwidth_unlimited (False, bool, False) + public_subnet (False, str, None) None - bulk_vms (False, list, None) + datacenter (False, str, None) None - private_vlan_id (False, int, None) + user_metadata (False, str, None) None @@ -151,47 +135,55 @@ Parameters The reserved group id - memory (False, int, None) + private_vlan_id (False, int, None) None - private_subnet (False, str, None) + network_speed (False, int, 100) None - image_id (False, int, None) + hostname (False, str, None) None - public_bandwidth_limited (False, int, None) + cores (False, int, None) None - cores (False, int, None) + ipv6_static_enabled (False, bool, False) None - placement_group_id (False, int, None) - The placement group id + reserved_instance_primary_disk (False, int, None) + The primary disk of reserved instance - public_security_group_ids (False, list, None) + public_bandwidth_unlimited (False, bool, False) None - dedicated_host_id (False, int, None) + os_reference_code (False, str, None) None - evault (False, int, None) + reserved_capacity_name (False, str, None) + The reserved group id + + + private_security_group_ids (False, list, None) None - hourly_billing (False, bool, True) + ssh_key_ids (False, list, None) None - datacenter (False, str, None) + private_network_only (False, bool, False) + None + + + public_vlan_id (False, int, None) None @@ -203,10 +195,18 @@ Parameters None - os_reference_code (False, str, None) + block_storage_ids (False, list, None) None + tags (False, list, None) + None + + + placement_group_id (False, int, None) + The placement group id + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_compute_vm_instance_info.rst b/docs/ibm_compute_vm_instance_info.rst index deac218cf..e084dda7a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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 + hostname (True, str, None) + The hostname of the virtual guest + + 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 8d625f8ab..0efa579f2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_addons_info.rst b/docs/ibm_container_addons_info.rst index 0f1f1fbed..d3d48d2c1 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_alb.rst b/docs/ibm_container_alb.rst index e568eb0c2..6e61e8725 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_alb_cert.rst b/docs/ibm_container_alb_cert.rst index 03e470be5..ce8c9955b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + cert_crn (True, str, None) + (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 @@ -39,18 +47,10 @@ 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 - cert_crn (True, str, None) - (Required for new resource) Certificate CRN id - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_alb_cert_info.rst b/docs/ibm_container_alb_cert_info.rst index f353b3513..945b8765b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_alb_create.rst b/docs/ibm_container_alb_create.rst index 80868ba36..ff1a02190 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,20 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cluster (True, str, None) - (Required for new resource) The ID of the cluster that the ALB belongs to. - - - 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. + nlb_version (False, str, None) + The version of the network load balancer that you want to use for the ALB. - 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. enable (False, bool, True) @@ -55,12 +47,20 @@ Parameters 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. + 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. + + + cluster (True, str, None) + (Required for new resource) The ID of the cluster that the ALB belongs to. id (False, str, None) diff --git a/docs/ibm_container_alb_info.rst b/docs/ibm_container_alb_info.rst index 32fd779f8..7ab1bfdd4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_api_key_reset.rst b/docs/ibm_container_api_key_reset.rst index 9e37d4131..af1537145 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_bind_service.rst b/docs/ibm_container_bind_service.rst index 77591c89f..35c2cde27 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,34 +35,34 @@ Parameters serivice instance name - tags (False, list, None) - List of tags for the resource + service_instance_id (False, str, None) + Service instance ID key (False, str, None) Key info - role (False, str, None) - Role info - - resource_group_id (False, str, None) ID of the resource group. - cluster_name_id (True, str, None) - (Required for new resource) Cluster name or ID + tags (False, list, None) + List of tags for the resource - service_instance_id (False, str, None) - Service instance ID + cluster_name_id (True, str, None) + (Required for new resource) Cluster name or ID namespace_id (True, str, None) (Required for new resource) namespace ID + role (False, str, None) + Role info + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_bind_service_info.rst b/docs/ibm_container_bind_service_info.rst index 22d917405..64ded54ef 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cluster_name_id (True, str, None) - Cluster name or ID - - - service_instance_id (False, str, None) - Service instance ID - - service_instance_name (False, str, None) serivice instance name @@ -45,6 +37,14 @@ Parameters namespace ID + cluster_name_id (True, str, None) + Cluster name or ID + + + service_instance_id (False, str, None) + Service instance 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_cluster.rst b/docs/ibm_container_cluster.rst index d701fa3ed..e6c1f4d0b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,132 +31,132 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - no_subnet (False, bool, False) - Boolean value set to true when subnet creation is not required. + tags (False, list, None) + Tags for the resource - public_service_endpoint (False, bool, None) - None + image_security_enforcement (False, bool, False) + Set true to enable image security enforcement policies - operating_system (False, str, None) - The operating system of the workers in the default worker pool. + workers_info (False, list, None) + The IDs of the worker node - subnet_id (False, list, None) - List of subnet IDs + 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 - private_vlan_id (False, str, None) - Private VLAN ID + resource_group_id (False, str, None) + ID of the resource group. - name (True, str, None) - (Required for new resource) The cluster name + taints (False, list, None) + WorkerPool Taints - 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 - 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 - disk_encryption (False, bool, True) - disc encryption done, if set to true. + hardware (True, str, None) + (Required for new resource) Hardware type - 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 + private_service_endpoint (False, bool, None) + None - machine_type (False, str, None) - Machine type + force_delete_storage (False, bool, False) + Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered - hardware (True, str, None) - (Required for new resource) Hardware type + wait_till (False, str, IngressReady) + wait_till can be configured for Master Ready, One worker Ready, Ingress Ready or Normal - service_subnet (False, str, None) - Custom subnet CIDR to provide private IP addresses for services + private_vlan_id (False, str, None) + Private VLAN ID - pod_subnet (False, str, None) - Custom subnet CIDR to provide private IP addresses for pods + entitlement (False, str, None) + Entitlement option reduces additional OCP Licence cost in Openshift Clusters - datacenter (True, str, None) - (Required for new resource) The datacenter where this cluster will be deployed + subnet_id (False, list, None) + List of subnet IDs - wait_for_worker_update (False, bool, True) - Wait for worker node to update during kube version update. + name (True, str, None) + (Required for new resource) The cluster name - labels (False, dict, None) - list of labels to the default worker pool + datacenter (True, str, None) + (Required for new resource) The datacenter where this cluster will be deployed - webhook (False, list, None) - None + patch_version (False, str, None) + Kubernetes patch version - default_pool_size (False, int, 1) - The size of the default worker pool + wait_for_worker_update (False, bool, True) + Wait for worker node to update during kube version update. - taints (False, list, None) - WorkerPool Taints + update_all_workers (False, bool, False) + Updates all the woker nodes if sets to true - workers_info (False, list, None) - The IDs of the worker node + gateway_enabled (False, bool, False) + Set true for gateway enabled clusters - tags (False, list, None) - Tags for the resource + kms_config (False, list, None) + Enables KMS on a given cluster - wait_till (False, str, IngressReady) - wait_till can be configured for Master Ready, One worker Ready, Ingress Ready or Normal + kube_version (False, str, None) + Kubernetes version info - private_service_endpoint (False, bool, None) - None + operating_system (False, str, None) + The operating system of the workers in the default worker pool. - gateway_enabled (False, bool, False) - Set true for gateway enabled clusters + default_pool_size (False, int, 1) + The size of the default worker pool - image_security_enforcement (False, bool, False) - Set true to enable image security enforcement policies + no_subnet (False, bool, False) + Boolean value set to true when subnet creation is not required. - resource_group_id (False, str, None) - ID of the resource group. + labels (False, dict, None) + list of labels to the default worker pool - kms_config (False, list, None) - Enables KMS on a given cluster + public_vlan_id (False, str, None) + Public VLAN ID - kube_version (False, str, None) - Kubernetes version info + webhook (False, list, None) + None - patch_version (False, str, None) - Kubernetes patch version + public_service_endpoint (False, bool, None) + None - public_vlan_id (False, str, None) - Public VLAN ID + disk_encryption (False, bool, True) + disc encryption done, if set to true. - entitlement (False, str, None) - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + machine_type (False, str, None) + Machine type id (False, str, None) diff --git a/docs/ibm_container_cluster_config_info.rst b/docs/ibm_container_cluster_config_info.rst index db8e95cb8..33bb2893d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,6 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + admin (False, bool, False) + If set to true will download the config for admin + + + network (False, bool, False) + If set to true will download the Calico network config with the Admin config + + resource_group_id (False, str, None) ID of the resource group. @@ -37,20 +45,12 @@ Parameters The name/id of the cluster - 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 - admin (False, bool, False) - If set to true will download the config for admin - - - network (False, bool, False) - 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 ibmcloud_api_key (True, any, None) diff --git a/docs/ibm_container_cluster_feature.rst b/docs/ibm_container_cluster_feature.rst index f98e80c76..6f1b898fb 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,18 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - refresh_api_servers (False, bool, True) - Boolean value true of API server to be refreshed in K8S cluster - - - reload_workers (False, bool, True) - Boolean value set true if worker nodes to be reloaded - - - resource_group_id (False, str, None) - ID of the resource group. - - cluster (True, str, None) (Required for new resource) Cluster name of ID @@ -55,6 +43,18 @@ Parameters None + refresh_api_servers (False, bool, True) + Boolean value true of API server to be refreshed in K8S cluster + + + reload_workers (False, bool, True) + 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 2ec39db9f..96ccccbac 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -33,6 +33,10 @@ Parameters ID of the resource group. + name (False, str, None) + Name or id of the cluster + + alb_type (False, str, all) None @@ -41,10 +45,6 @@ Parameters If set to false bounded services won't be listed. - name (False, 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_cluster_versions_info.rst b/docs/ibm_container_cluster_versions_info.rst index c6a057728..6e493f0d7 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_cluster_worker_info.rst b/docs/ibm_container_cluster_worker_info.rst index 585e8732f..b003b823a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 22a161825..03aa5a7c6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - placement_enabled (False, bool, None) - Enables/disables placement on the dedicated host - - flavor (True, str, None) (Required for new resource) The flavor of the dedicated host @@ -47,6 +43,10 @@ Parameters (Required for new resource) The zone of the dedicated host + placement_enabled (False, bool, None) + Enables/disables placement on the dedicated host + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_dedicated_host_flavor_info.rst b/docs/ibm_container_dedicated_host_flavor_info.rst index 09cec7310..ada4442ba 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 37ee79b05..52a79f8f2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_dedicated_host_info.rst b/docs/ibm_container_dedicated_host_info.rst index d51604103..d6a124b5c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_dedicated_host_pool.rst b/docs/ibm_container_dedicated_host_pool.rst index a0d26351a..5a83bf079 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_dedicated_host_pool_info.rst b/docs/ibm_container_dedicated_host_pool_info.rst index b66a740ee..5a138db0e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_nlb_dns.rst b/docs/ibm_container_nlb_dns.rst index c935d1ddc..390e213c7 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,8 +31,8 @@ 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 cluster is in. To check the resource group ID of the cluster, use the GET /v1/clusters/idOrName API. To list available resource group IDs, run ibmcloud resource groups. + nlb_ips (True, list, None) + (Required for new resource) cluster (True, str, None) @@ -43,8 +43,8 @@ Parameters (Required for new resource) - nlb_ips (True, list, None) - (Required for new resource) + resource_group_id (False, str, None) + The ID of the resource group that the cluster is in. To check the resource group ID of the cluster, use the GET /v1/clusters/idOrName API. To list available resource group IDs, run ibmcloud resource groups. id (False, str, None) diff --git a/docs/ibm_container_nlb_dns_info.rst b/docs/ibm_container_nlb_dns_info.rst index 7ab423eaf..787e90aac 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_storage_attachment.rst b/docs/ibm_container_storage_attachment.rst index ed5a95ae8..3ad52fc79 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ 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. - - volume (True, str, None) (Required for new resource) VPC Volume ID @@ -47,6 +39,14 @@ Parameters (Required for new resource) Cluster name or ID + worker (True, str, None) + (Required for new resource) worker node ID + + + 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_storage_attachment_info.rst b/docs/ibm_container_storage_attachment_info.rst index 89954a0c7..470b14706 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - volume_attachment_id (True, str, None) - The volume attachment ID - - cluster (True, str, None) Cluster name or ID @@ -45,6 +41,10 @@ Parameters ID of the resource group. + volume_attachment_id (True, str, None) + The volume attachment 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 5c677c70d..e5bc0bb67 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,20 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - disable_deployment (False, bool, None) - Disable the ALB instance in the cluster + enable (False, bool, None) + Enable the ALB instance in the cluster - resource_group_id (False, str, None) - ID of the resource group. + disable_deployment (False, bool, None) + Disable the ALB instance in the cluster alb_id (True, str, None) (Required for new resource) ALB ID - enable (False, bool, None) - Enable the ALB instance in the cluster + resource_group_id (False, str, None) + ID of the resource group. id (False, str, None) diff --git a/docs/ibm_container_vpc_alb_create.rst b/docs/ibm_container_vpc_alb_create.rst index 2d221eb2a..3e099c904 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,18 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cluster (True, str, None) - (Required for new resource) The ID of the cluster that the ALB belongs to. - - resource_group_id (False, str, None) ID of the resource group. - 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. @@ -51,6 +43,14 @@ Parameters (Required for new resource) The zone where you want to deploy the ALB. + 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 + + 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 fd2f6b0c1..e704a5624 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 fe97f5ae4..8cff4c158 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,40 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - taints (False, list, None) - WorkerPool Taints - - - disable_public_service_endpoint (False, bool, False) - Boolean value true if Public service endpoint to be disabled - - - wait_till (False, str, IngressReady) - wait_till can be configured for Master Ready, One worker Ready or Ingress Ready or Normal - - - host_pool_id (False, str, None) - The ID of the cluster's associated host pool - - - patch_version (False, str, None) - Kubernetes patch version - - - 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 - 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 + flavor (True, str, None) + (Required for new resource) Cluster nodes flavour - worker_count (False, int, 1) - Number of worker nodes in the cluster + wait_for_worker_update (False, bool, True) + Wait for worker node to update during kube version update. - secondary_storage (False, str, None) - The secondary storage option for the default worker pool. + wait_till (False, str, IngressReady) + wait_till can be configured for Master Ready, One worker Ready or Ingress Ready or Normal operating_system (False, str, None) @@ -75,64 +55,76 @@ Parameters Root Key ID for boot volume encryption - image_security_enforcement (False, bool, False) - Set true to enable image security enforcement policies + kms_config (False, list, None) + Enables KMS on a given cluster - name (True, str, None) - (Required for new resource) The cluster name + worker_labels (False, dict, None) + Labels for default worker pool - zones (True, list, None) - (Required for new resource) Zone info + taints (False, list, None) + WorkerPool Taints + + + 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 entitlement (False, str, None) Entitlement option reduces additional OCP Licence cost in Openshift Clusters - force_delete_storage (False, bool, False) - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered + host_pool_id (False, str, None) + The ID of the cluster's associated host pool - kms_config (False, list, None) - Enables KMS on a given cluster + update_all_workers (False, bool, False) + Updates all the woker nodes if sets to true - wait_for_worker_update (False, bool, True) - Wait for worker node to update during kube version update. + pod_subnet (False, str, None) + Custom subnet CIDR to provide private IP addresses for pods - worker_labels (False, dict, None) - Labels for default worker pool + 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 - 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. + + + name (True, str, None) + (Required for new resource) The cluster name service_subnet (False, str, None) Custom subnet CIDR to provide private IP addresses for services - kms_instance_id (False, str, None) - Instance ID for boot volume encryption + worker_count (False, int, 1) + Number of worker nodes in the cluster kube_version (False, str, None) Kubernetes version - update_all_workers (False, bool, False) - Updates all the woker nodes if sets to true + secondary_storage (False, str, None) + The secondary storage option for the default worker pool. - resource_group_id (False, str, None) - ID of the resource group. + 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 + tags (False, list, None) + List of tags for the resources + + + force_delete_storage (False, bool, False) + Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered kms_account_id (False, str, None) @@ -143,8 +135,16 @@ Parameters (Required for new resource) The vpc id where the cluster is - tags (False, list, None) - List of tags for the resources + zones (True, list, None) + (Required for new resource) Zone info + + + patch_version (False, str, None) + Kubernetes patch version + + + image_security_enforcement (False, bool, False) + Set true to enable image security enforcement policies 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 b71b5dbf6..c26812204 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - alb_id (True, str, None) - ALB ID - - resource_group_id (False, str, None) ID of the resource group. + alb_id (True, str, None) + ALB 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_cluster_info.rst b/docs/ibm_container_vpc_cluster_info.rst index 91f72799e..896e9a1b8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters None - name (False, str, None) - Name or id of the cluster - - resource_group_id (False, str, None) ID of the resource group. + name (False, 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_info.rst b/docs/ibm_container_vpc_cluster_worker_info.rst index a87b7490e..eb864af88 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 377cd9cb1..427225bdc 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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) Cluster name + 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_vpc_worker.rst b/docs/ibm_container_vpc_worker.rst index aca2b0b23..199354140 100644 --- a/docs/ibm_container_vpc_worker.rst +++ b/docs/ibm_container_vpc_worker.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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 @@ -55,6 +47,14 @@ Parameters (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 + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_container_vpc_worker_pool.rst b/docs/ibm_container_vpc_worker_pool.rst index 15e54b7ac..c699f24ef 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,68 +31,68 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cluster (True, str, None) - (Required for new resource) Cluster name + operating_system (False, str, None) + The operating system of the workers in the worker pool. - labels (False, dict, None) - Labels + host_pool_id (False, str, None) + The ID of the dedicated host pool associated with the worker pool - operating_system (False, str, None) - The operating system of the workers in the worker pool. + worker_pool_name (True, str, None) + (Required for new resource) worker pool name - secondary_storage (False, str, None) - The secondary storage option for the workers in the worker pool. + resource_group_id (False, str, None) + ID of the resource group. - host_pool_id (False, str, None) - The ID of the dedicated host pool associated with the worker pool + secondary_storage (False, str, None) + The secondary storage option for the workers in the worker pool. kms_account_id (False, str, None) Account ID of kms instance holder - if not provided, defaults to the account in use - taints (False, list, None) - WorkerPool Taints + cluster (True, str, None) + (Required for new resource) Cluster name + + + labels (False, dict, None) + Labels vpc_id (True, str, None) (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 crk (False, str, None) Root Key ID for boot volume encryption - flavor (True, str, None) - (Required for new resource) cluster node falvor - - - worker_pool_name (True, str, None) - (Required for new resource) worker pool name - - - zones (True, list, None) - (Required for new resource) Zones info + taints (False, list, None) + WorkerPool Taints - resource_group_id (False, str, None) - ID of the resource group. + worker_count (True, int, None) + (Required for new resource) The number of workers entitlement (False, str, None) Entitlement option reduces additional OCP Licence cost in Openshift Clusters - kms_instance_id (False, str, None) - Instance ID for boot volume encryption + flavor (True, str, None) + (Required for new resource) cluster node falvor + + + zones (True, list, None) + (Required for new resource) Zones info 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 684c3a0bc..211829d91 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_worker_pool.rst b/docs/ibm_container_worker_pool.rst index db0a55bba..9dc5cd50b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,20 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - machine_type (True, str, None) - (Required for new resource) worker nodes machine type + labels (False, dict, None) + list of labels to worker pool + + + resource_group_id (False, str, None) + ID of the resource group. + + + size_per_zone (True, int, None) + (Required for new resource) Number of nodes per zone operating_system (False, str, None) The operating system of the workers in the worker pool. - labels (False, dict, None) - list of labels to worker pool + taints (False, list, None) + WorkerPool Taints - worker_pool_name (True, str, None) - (Required for new resource) worker pool name + cluster (True, str, None) + (Required for new resource) Cluster name entitlement (False, str, None) @@ -55,24 +63,16 @@ Parameters Hardware type - cluster (True, str, None) - (Required for new resource) Cluster name + worker_pool_name (True, str, None) + (Required for new resource) worker pool name disk_encryption (False, bool, True) worker node disk encrypted if set to true - taints (False, list, None) - WorkerPool Taints - - - 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. + machine_type (True, str, None) + (Required for new resource) worker nodes machine type id (False, str, None) diff --git a/docs/ibm_container_worker_pool_info.rst b/docs/ibm_container_worker_pool_info.rst index 2bf50e617..3c5c5b99e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_container_worker_pool_zone_attachment.rst b/docs/ibm_container_worker_pool_zone_attachment.rst index 840978795..ddcfd4035 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,8 +31,8 @@ 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) @@ -43,12 +43,8 @@ Parameters (Required for new resource) Zone name - cluster (True, str, None) - (Required for new resource) cluster name or ID - - - worker_pool (True, str, None) - (Required for new resource) Workerpool name + private_vlan_id (False, str, None) + None public_vlan_id (False, str, None) @@ -59,6 +55,10 @@ Parameters ID of the resource group. + cluster (True, str, None) + (Required for new resource) cluster name or ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_cos_bucket.rst b/docs/ibm_cos_bucket.rst index 5c6fcab0d..4a9101800 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,84 +31,84 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - bucket_name (True, str, None) - (Required for new resource) COS Bucket name + abort_incomplete_multipart_upload_days (False, list, None) + Enable abort incomplete multipart upload to COS Bucket after a defined period of time - allowed_ip (False, list, None) - List of IPv4 or IPv6 addresses + 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 + storage_class (False, str, None) + Storage class info - 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 - 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 - 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 - resource_instance_id (True, str, None) - (Required for new resource) resource instance ID + key_protect (False, str, None) + CRN of the key you want to use data at rest encryption - region_location (False, str, None) - Region Location info. + single_site_location (False, str, None) + single site location info - endpoint_type (False, str, public) - public or private + 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. + satellite_location_id (False, str, None) + Provide satellite location info. - hard_quota (False, int, None) - sets a maximum amount of storage (in bytes) available for a bucket + allowed_ip (False, list, None) + List of IPv4 or IPv6 addresses - abort_incomplete_multipart_upload_days (False, list, None) - Enable abort incomplete multipart upload to COS Bucket after a defined period of time + activity_tracking (False, list, None) + Enables sending log data to Activity Tracker and LogDNA to provide visibility into object read and write events archive_rule (False, list, None) Enable configuration archive_rule (glacier/accelerated) to COS Bucket after a defined period of time - key_protect (False, str, None) - CRN of the key you want to use data at rest encryption + 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 + bucket_name (True, str, None) + (Required for new resource) COS Bucket name - storage_class (False, str, None) - Storage class info + resource_instance_id (True, str, None) + (Required for new resource) resource instance ID - activity_tracking (False, list, None) - Enables sending log data to Activity Tracker and LogDNA to provide visibility into object read and write events + 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. - metrics_monitoring (False, list, None) - Enables sending metrics to IBM Cloud Monitoring. + 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. - expire_rule (False, list, None) - Enable configuration expire_rule to COS Bucket after a defined period of time + region_location (False, str, None) + Region 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 id (False, str, None) diff --git a/docs/ibm_cos_bucket_info.rst b/docs/ibm_cos_bucket_info.rst index 6f20cb9b9..47c897575 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,15 +29,15 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - bucket_name (True, str, None) + bucket_region (False, str, None) None - endpoint_type (False, str, public) - public or private + resource_instance_id (True, str, None) + None - bucket_region (False, str, None) + bucket_name (True, str, None) None @@ -49,8 +49,8 @@ Parameters None - resource_instance_id (True, 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 e1bccb5bb..c2bc0ba1f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 namespace. + + resource_group_id (False, str, None) The ID of the resource group that the namespace will be created within. @@ -39,10 +43,6 @@ Parameters List of tags - name (True, str, None) - (Required for new resource) The name of the namespace. - - 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 dd0a8f223..4c2ccdb51 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_cr_retention_policy.rst b/docs/ibm_cr_retention_policy.rst index 049878e4f..708916f4f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - namespace (True, str, None) - (Required for new resource) The namespace to which the retention policy is attached. - - images_per_repo (True, int, None) (Required for new resource) Determines how many images will be retained for each repository when the retention policy is executed. The value -1 denotes 'Unlimited' (all images are retained). @@ -43,6 +39,10 @@ Parameters Determines if untagged images are retained when executing the retention policy. This is false by default meaning untagged images will be deleted when the policy is executed. + namespace (True, str, None) + (Required for new resource) The namespace to which the retention policy is attached. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_database.rst b/docs/ibm_database.rst index 3b12cc157..aaf1e2e35 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,98 +31,98 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - backup_id (False, str, None) - The CRN of backup source database + key_protect_instance (False, str, None) + The CRN of Key protect instance - point_in_time_recovery_time (False, str, None) - The point in time recovery time stamp of the deployed instance + users (False, list, None) + None - adminpassword (False, str, None) - The admin user password for the instance + group (False, list, None) + None - logical_replication_slot (False, list, None) - None + service_endpoints (False, str, public) + Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. - resource_group_id (False, str, None) - The id of the resource group in which the Database instance is present + point_in_time_recovery_deployment_id (False, str, None) + The CRN of source instance - plan (True, str, None) - (Required for new resource) The plan type of the Database instance + auto_scaling (False, list, None) + ICD Auto Scaling configuration (False, str, None) The configuration in JSON format - 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 + + + location (True, str, None) + (Required for new resource) The location or the region in which Database instance exists service (True, str, None) (Required for new resource) The name of the Cloud Internet database service - key_protect_instance (False, str, None) - The CRN of Key protect instance + adminpassword (False, str, None) + The admin user password for the instance - users (False, list, None) + tags (False, list, None) None + name (True, str, None) + (Required for new resource) Resource instance name for example, my Database 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. - tags (False, list, None) - None + version (False, str, None) + The database version to provision if specified - auto_scaling (False, list, None) - ICD Auto Scaling + remote_leader_id (False, str, None) + The CRN of leader database - point_in_time_recovery_deployment_id (False, str, None) - The CRN of source instance + backup_encryption_key_crn (False, str, None) + The Backup Encryption Key CRN - group (False, list, None) - None + resource_group_id (False, str, None) + The id of the resource group in which the Database instance is present - service_endpoints (False, str, public) - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + allowlist (False, list, None) + None - location (True, str, None) - (Required for new resource) The location or the region in which Database instance exists + plan (True, str, None) + (Required for new resource) The plan type of the Database instance - version (False, str, None) - The database version to provision if specified + backup_id (False, str, None) + The CRN of backup source database key_protect_key (False, str, None) The CRN of Key protect key - backup_encryption_key_crn (False, str, None) - The Backup Encryption Key CRN - - - allowlist (False, list, None) + logical_replication_slot (False, list, None) None - name (True, str, None) - (Required for new resource) Resource instance name for example, my Database instance - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_database_backup_info.rst b/docs/ibm_database_backup_info.rst index 77e1ccdba..7dcb8127c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_database_backups_info.rst b/docs/ibm_database_backups_info.rst index b956ff51f..c19581e47 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_database_connection_info.rst b/docs/ibm_database_connection_info.rst index 2e0872e55..589a0a462 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - user_type (True, str, None) - User type. - - user_id (True, str, None) User ID. @@ -41,6 +37,10 @@ Parameters Endpoint Type. The endpoint must be enabled on the deployment before its connection information can be fetched. + user_type (True, str, None) + User type. + + deployment_id (True, str, None) Deployment ID. diff --git a/docs/ibm_database_info.rst b/docs/ibm_database_info.rst index b020c8665..fc0f42c06 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,12 +29,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - None + name (True, str, None) + Resource instance name for example, my Database instance - resource_group_id (False, str, None) - The id of the resource group in which the Database instance is present + tags (False, list, None) + None location (False, str, None) @@ -45,8 +45,8 @@ Parameters The name of the Cloud Database service - name (True, str, None) - Resource instance name for example, my Database instance + 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) diff --git a/docs/ibm_database_point_in_time_recovery_info.rst b/docs/ibm_database_point_in_time_recovery_info.rst index 0098ed9d6..119d6b880 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_database_remotes_info.rst b/docs/ibm_database_remotes_info.rst index 3a9f6912f..241b506a5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_database_task_info.rst b/docs/ibm_database_task_info.rst index 291958441..658776e57 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_database_tasks_info.rst b/docs/ibm_database_tasks_info.rst index 42d24b337..e07505fd9 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_gateway.rst b/docs/ibm_dl_gateway.rst index 79f3e3575..ba3f736a3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,104 +31,104 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - speed_mbps (True, int, None) - (Required for new resource) Gateway speed in megabits per second + 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 - type (True, str, None) - (Required for new resource) Gateway type + location_name (False, str, None) + Gateway location - resource_group (False, str, None) - Gateway resource group + bgp_cer_cidr (False, str, None) + BGP customer edge router CIDR - bfd_multiplier (False, int, None) - BFD Multiplier + 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 + bgp_asn (True, int, None) + (Required for new resource) BGP ASN - location_name (False, str, None) - Gateway location + port (False, str, None) + Gateway port carrier_name (False, str, None) Carrier name - bfd_interval (False, int, None) - BFD Interval + tags (False, list, None) + Tags for the direct link gateway - bfd_status_updated_at (False, str, None) - Date and time BFD status was updated + bfd_status (False, str, None) + Gateway BFD status - port (False, str, None) - Gateway port + bfd_status_updated_at (False, str, None) + Date and time BFD status was updated - metered (True, bool, None) - (Required for new resource) Metered billing option + bgp_base_cidr (False, str, None) + BGP base CIDR macsec_config (False, list, None) MACsec configuration information - bfd_status (False, str, None) - Gateway BFD status - - - 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 - - - authentication_key (False, str, None) - BGP MD5 authentication key + bfd_multiplier (False, int, None) + BFD Multiplier - name (True, str, None) - (Required for new resource) The unique user-defined name for this gateway + global_ (True, bool, None) + (Required for new resource) Gateways with global routing (true) can connect to networks outside their associated region loa_reject_reason (False, str, None) Loa reject reason - bgp_cer_cidr (False, str, None) - BGP customer edge router CIDR + as_prepends (False, list, None) + List of AS Prepend configuration information - bgp_ibm_cidr (False, str, None) - BGP IBM CIDR + metered (True, bool, None) + (Required for new resource) Metered billing option + + + type (True, str, None) + (Required for new resource) Gateway type cross_connect_router (False, str, None) Cross connect router - customer_name (False, str, None) - Customer name + resource_group (False, str, None) + Gateway resource group - tags (False, list, None) - Tags for the direct link gateway + bfd_interval (False, int, None) + BFD Interval - as_prepends (False, list, None) - List of AS Prepend configuration information + name (True, str, None) + (Required for new resource) The unique user-defined name for this gateway - bgp_asn (True, int, None) - (Required for new resource) BGP ASN + customer_name (False, str, None) + Customer name - bgp_base_cidr (False, str, None) - BGP base CIDR + speed_mbps (True, int, None) + (Required for new resource) Gateway speed in megabits per second + + + authentication_key (False, str, None) + BGP MD5 authentication key id (False, str, None) diff --git a/docs/ibm_dl_gateway_info.rst b/docs/ibm_dl_gateway_info.rst index f97120c5c..d340995c1 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_gateways_info.rst b/docs/ibm_dl_gateways_info.rst index 2a132ad41..bd1ad79f1 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_locations_info.rst b/docs/ibm_dl_locations_info.rst index d15b4814e..767bf84e6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_offering_speeds_info.rst b/docs/ibm_dl_offering_speeds_info.rst index 7be13d401..b2cad2f96 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_port_info.rst b/docs/ibm_dl_port_info.rst index 3ee6c3ad5..6aa961976 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_ports_info.rst b/docs/ibm_dl_ports_info.rst index 612f0f635..403d6d6da 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_provider_gateway.rst b/docs/ibm_dl_provider_gateway.rst index 1edfd0be1..c0847cde8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -39,16 +39,12 @@ Parameters BGP customer edge router CIDR - 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 - bgp_ibm_cidr (False, str, None) - BGP IBM CIDR + speed_mbps (True, int, None) + (Required for new resource) Gateway speed in megabits per second tags (False, list, None) @@ -63,6 +59,10 @@ Parameters (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. + bgp_ibm_cidr (False, str, None) + BGP IBM CIDR + + vlan (False, int, None) VLAN allocated for this gateway diff --git a/docs/ibm_dl_provider_gateways_info.rst b/docs/ibm_dl_provider_gateways_info.rst index be23f8f84..980acf733 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_provider_ports_info.rst b/docs/ibm_dl_provider_ports_info.rst index a52525f42..4e156b9c3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_route_report.rst b/docs/ibm_dl_route_report.rst index b3c5b1c91..920c2e0b5 100644 --- a/docs/ibm_dl_route_report.rst +++ b/docs/ibm_dl_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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_route_report_info.rst b/docs/ibm_dl_route_report_info.rst index 63784015f..3ca36b92c 100644 --- a/docs/ibm_dl_route_report_info.rst +++ b/docs/ibm_dl_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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_route_reports_info.rst b/docs/ibm_dl_route_reports_info.rst index e678e9329..11ca2bbdf 100644 --- a/docs/ibm_dl_route_reports_info.rst +++ b/docs/ibm_dl_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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_routers_info.rst b/docs/ibm_dl_routers_info.rst index 1e7bed776..ccc7e4c04 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dl_virtual_connection.rst b/docs/ibm_dl_virtual_connection.rst index ef2941add..b11ec5ff0 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,8 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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. gateway (True, str, None) @@ -43,8 +43,8 @@ Parameters (Required for new resource) The type of virtual connection.Allowable values (classic,vpc) - 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. + 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) diff --git a/docs/ibm_dns_custom_resolver.rst b/docs/ibm_dns_custom_resolver.rst index 9f2c646c0..c0ebb2425 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,28 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_id (True, str, None) - (Required for new resource) Instance ID - - - description (False, str, None) - Descriptive text of the custom resolver. + high_availability (False, bool, True) + Whether High Availability is enabled in custom resolver - locations (False, list, None) - Locations on which the custom resolver will be running + instance_id (True, str, None) + (Required for new resource) Instance ID name (True, str, None) (Required for new resource) Name of the custom resolver + description (False, str, None) + Descriptive text of the custom resolver. + + enabled (False, bool, True) Whether the custom resolver is enabled - high_availability (False, bool, True) - Whether High Availability is enabled in custom resolver + locations (False, list, None) + Locations on which the custom resolver will be running id (False, str, None) diff --git a/docs/ibm_dns_custom_resolver_forwarding_rule.rst b/docs/ibm_dns_custom_resolver_forwarding_rule.rst index 3960d12e0..7133300f6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_custom_resolver_forwarding_rules_info.rst b/docs/ibm_dns_custom_resolver_forwarding_rules_info.rst index 25db557d1..dc121ff89 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_custom_resolver_location.rst b/docs/ibm_dns_custom_resolver_location.rst index 8eb379d57..079aeafe1 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + cr_enabled (False, bool, True) + None + + instance_id (True, str, None) (Required for new resource) Instance ID @@ -47,10 +51,6 @@ Parameters CRLocation Enabled - cr_enabled (False, bool, True) - None - - 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 cba0aab3f..f2d8be0d2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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) - Descriptive text of the secondary zone - - zone (True, str, None) (Required for new resource) The name of the zone. @@ -55,6 +51,10 @@ Parameters (Required for new resource) The unique identifier of a custom resolver. + description (False, str, None) + Descriptive text of the secondary zone + + 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 9571a92cb..b08c8e4f4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_custom_resolvers_info.rst b/docs/ibm_dns_custom_resolvers_info.rst index 7c1853c69..f9d32bbbf 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_domain.rst b/docs/ibm_dns_domain.rst index e5163019f..16e7a628f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + target (False, str, None) + DNS target info + + tags (False, list, None) tags associated with reosurce. @@ -39,10 +43,6 @@ Parameters (Required for new resource) DNS name - target (False, str, None) - DNS target info - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_domain_info.rst b/docs/ibm_dns_domain_info.rst index 0b4e74530..b0d7ffc42 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_domain_registration_info.rst b/docs/ibm_dns_domain_registration_info.rst index c1da95f36..ae63242a6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_domain_registration_nameservers.rst b/docs/ibm_dns_domain_registration_nameservers.rst index 64f44120f..8a5d29d32 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_glb.rst b/docs/ibm_dns_glb.rst index 744016646..950206c31 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,20 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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. - default_pools (True, list, None) - (Required for new resource) A list of pool IDs ordered by their failover priority + zone_id (True, str, None) + (Required for new resource) Zone Id name (True, str, None) (Required for new resource) Name of the load balancer - zone_id (True, str, None) - (Required for new resource) Zone Id + 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 + + + instance_id (True, str, None) + (Required for new resource) The GUID of the private DNS. description (False, str, None) @@ -59,14 +67,6 @@ Parameters Time to live in second - az_pools (False, list, None) - Map availability zones to pool ID's. - - - instance_id (True, str, None) - (Required for new resource) The GUID of the private DNS. - - 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 9a9f7a03e..6f1f9a1c7 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,26 +31,26 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - retries (False, int, 1) - The number of retries to attempt in case of a timeout before marking the origin as unhealthy - - - timeout (False, int, 5) - The timeout (in seconds) before marking the health check as failed + type (False, str, HTTP) + The protocol to use for the health check - path (False, str, None) - The endpoint path to health check against + port (False, int, None) + Port number to connect to for the health check - headers (False, list, None) - The HTTP request headers to send in the health check + interval (False, int, 60) + The interval between each health check instance_id (True, str, None) (Required for new resource) Instance Id + headers (False, list, None) + The HTTP request headers to send in the health check + + name (True, str, None) (Required for new resource) The unique identifier of a service instance. @@ -59,32 +59,32 @@ Parameters Descriptive text of the load balancer monitor - type (False, str, HTTP) - The protocol to use for the 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. + expected_body (False, str, None) + A case-insensitive sub-string to look for in the response body - 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 - port (False, int, None) - Port number to connect to for the health check + timeout (False, int, 5) + The timeout (in seconds) before marking the health check as failed - interval (False, int, 60) - The interval between each health check + 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 + allow_insecure (False, bool, None) + Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTPS monitors. + + + 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 id (False, str, None) diff --git a/docs/ibm_dns_glb_monitors_info.rst b/docs/ibm_dns_glb_monitors_info.rst index 4d2baccf4..e4729c42c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_glb_pool.rst b/docs/ibm_dns_glb_pool.rst index 98849efad..ab4001c83 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,44 +31,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - monitor (False, str, None) - The ID of the load balancer monitor to be associated to this pool + 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. + enabled (False, bool, None) + Whether the load balancer pool is enabled - description (False, str, None) - Descriptive text of the load balancer pool + origins (True, list, None) + (Required for new resource) Origins info - enabled (False, bool, None) - Whether the load balancer pool is enabled + monitor (False, str, None) + The ID of the load balancer monitor to be associated to this pool - healthy_origins_threshold (False, int, None) - The minimum number of origins that must be healthy for this pool to serve traffic + 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. 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 - origins (True, list, None) - (Required for new resource) Origins info + healthy_origins_threshold (False, int, None) + The minimum number of origins that must be healthy for this pool to serve traffic - healthcheck_subnets (False, list, None) - Health check subnet crn of VSIs + notification_channel (False, str, None) + The notification channel,It is a webhook url id (False, str, None) diff --git a/docs/ibm_dns_glb_pools_info.rst b/docs/ibm_dns_glb_pools_info.rst index 094010e46..ffbe72620 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_glbs_info.rst b/docs/ibm_dns_glbs_info.rst index 26466e998..2c9ad6fe8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_permitted_network.rst b/docs/ibm_dns_permitted_network.rst index e02692b16..54d4ec4a5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - type (False, str, vpc) - Network Type - - - vpc_crn (True, str, None) - (Required for new resource) VPC CRN id - - instance_id (True, str, None) (Required for new resource) Instance Id @@ -47,6 +39,14 @@ Parameters (Required for new resource) Zone Id + type (False, str, vpc) + Network Type + + + vpc_crn (True, str, None) + (Required for new resource) VPC CRN 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 6c248ec35..cbd7686e8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_record.rst b/docs/ibm_dns_record.rst index b9bdfcf8f..1f9b3cac6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,28 +31,32 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - priority (False, int, 0) - priority info + domain_id (True, int, None) + (Required for new resource) Domain ID of dns record instance - weight (False, int, 0) - weight info + protocol (False, str, None) + protocol info - expire (False, int, None) - DNS record expiry info + data (True, str, None) + (Required for new resource) DNS record data - ttl (True, int, None) - (Required for new resource) TTL configuration + mx_priority (False, int, 0) + Maximum priority - port (False, int, None) - port number + type (True, str, None) + (Required for new resource) DNS record type - data (True, str, None) - (Required for new resource) DNS record data + tags (False, list, None) + tags set for the resource + + + expire (False, int, None) + DNS record expiry info refresh (False, int, None) @@ -63,32 +67,20 @@ Parameters Responsible person for DNS record - protocol (False, str, None) - protocol info - - - tags (False, list, None) - tags set for the resource - - - mx_priority (False, int, 0) - Maximum priority - - minimum_ttl (False, int, None) Minimun TTL configuration - type (True, str, None) - (Required for new resource) DNS record type + ttl (True, int, None) + (Required for new resource) TTL configuration service (False, str, None) service info - domain_id (True, int, None) - (Required for new resource) Domain ID of dns record instance + port (False, int, None) + port number host (True, str, None) @@ -99,6 +91,14 @@ Parameters Retry count + priority (False, int, 0) + priority info + + + weight (False, int, 0) + weight info + + 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 f6c2e5999..1e4caead8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -39,40 +39,40 @@ Parameters (Required for new resource) Instance ID - zone_id (True, str, None) - (Required for new resource) Zone ID - - - ttl (False, int, 900) - DNS record TTL + type (True, str, None) + (Required for new resource) DNS record Type - weight (False, int, 0) - DNS server weight + rdata (True, str, None) + (Required for new resource) DNS record Data - preference (False, int, 0) - DNS maximum preference + port (False, int, None) + DNS server Port service (False, str, None) Service info - name (True, str, None) - (Required for new resource) DNS record name + zone_id (True, str, None) + (Required for new resource) Zone ID - type (True, str, None) - (Required for new resource) DNS record Type + preference (False, int, 0) + DNS maximum preference - rdata (True, str, None) - (Required for new resource) DNS record Data + weight (False, int, 0) + DNS server weight - port (False, int, None) - DNS server Port + name (True, str, None) + (Required for new resource) DNS record name + + + ttl (False, int, 900) + DNS record TTL priority (False, int, 0) diff --git a/docs/ibm_dns_resource_records_info.rst b/docs/ibm_dns_resource_records_info.rst index 0ff99df00..f4b90b926 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_reverse_record.rst b/docs/ibm_dns_reverse_record.rst index e45fe41ab..c4c4a7f10 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_secondary.rst b/docs/ibm_dns_secondary.rst index 83e574938..0c924d110 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_secondary_info.rst b/docs/ibm_dns_secondary_info.rst index d22127678..414b422b1 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_dns_zone.rst b/docs/ibm_dns_zone.rst index 75e83a64f..3810c7383 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - label (False, str, None) - Label - - - instance_id (True, str, None) - (Required for new resource) Instance ID - - name (True, str, None) (Required for new resource) Zone name @@ -47,6 +39,14 @@ Parameters Zone description + label (False, str, None) + Label + + + instance_id (True, str, None) + (Required for new resource) Instance ID + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_dns_zones_info.rst b/docs/ibm_dns_zones_info.rst index 740dc5137..737fb0fd8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination_android.rst b/docs/ibm_en_destination_android.rst index a7d921fdc..7a96c0caa 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,6 +35,10 @@ Parameters (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + type (True, str, None) + (Required for new resource) The type of Destination push_android. + + description (False, str, None) The Destination description. @@ -43,10 +47,6 @@ Parameters (Required for new resource) The Destintion name. - type (True, str, None) - (Required for new resource) The type of Destination push_android. - - config (False, list, None) Payload describing a destination configuration. diff --git a/docs/ibm_en_destination_android_info.rst b/docs/ibm_en_destination_android_info.rst index 60e71541a..31b981524 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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_cf.rst b/docs/ibm_en_destination_cf.rst new file mode 100644 index 000000000..b9afd1a94 --- /dev/null +++ b/docs/ibm_en_destination_cf.rst @@ -0,0 +1,93 @@ + +ibm_en_destination_cf -- Configure IBM Cloud 'ibm_en_destination_cf' resource +============================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_en_destination_cf' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/en_destination_cf + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + name (True, str, None) + (Required for new resource) The Destintion name. + + + type (True, str, None) + (Required for new resource) The type of Destination ibmcf. + + + 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. + + + description (False, str, None) + The Destination description. + + + 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_en_destination_cf_info.rst b/docs/ibm_en_destination_cf_info.rst new file mode 100644 index 000000000..72900d32a --- /dev/null +++ b/docs/ibm_en_destination_cf_info.rst @@ -0,0 +1,71 @@ + +ibm_en_destination_cf_info -- Retrieve IBM Cloud 'ibm_en_destination_cf' resource +================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_en_destination_cf' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_destination_cf + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + 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'. + + + 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_en_destination_chrome.rst b/docs/ibm_en_destination_chrome.rst index 38912405a..eae66e92d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,12 +31,16 @@ 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) 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. name (True, str, None) @@ -47,10 +51,6 @@ Parameters (Required for new resource) The type of Destination type push_chrome. - config (False, list, None) - Payload describing a destination configuration. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_destination_chrome_info.rst b/docs/ibm_en_destination_chrome_info.rst index b946f62b8..78dbb95f5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination_firefox.rst b/docs/ibm_en_destination_firefox.rst index 20d2978b6..6d2ea0b4f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,6 +35,10 @@ Parameters (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 type push_firefox. @@ -47,10 +51,6 @@ Parameters Payload describing a destination configuration. - 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_destination_firefox_info.rst b/docs/ibm_en_destination_firefox_info.rst index 99b3e10bd..81d58f211 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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_destination_ios.rst b/docs/ibm_en_destination_ios.rst index b46f17485..73604897c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,18 +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. - - - 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. @@ -59,6 +47,18 @@ Parameters (Required for new resource) The Certificate File. + 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. + + + config (False, list, None) + Payload describing a destination configuration. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_destination_ios_info.rst b/docs/ibm_en_destination_ios_info.rst index 1c9dd8cf3..270eabda1 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination_msteams.rst b/docs/ibm_en_destination_msteams.rst new file mode 100644 index 000000000..5318b5044 --- /dev/null +++ b/docs/ibm_en_destination_msteams.rst @@ -0,0 +1,93 @@ + +ibm_en_destination_msteams -- Configure IBM Cloud 'ibm_en_destination_msteams' resource +======================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_en_destination_msteams' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/en_destination_msteams + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + name (True, str, None) + (Required for new resource) The Destintion name. + + + type (True, str, None) + (Required for new resource) The type of Destination msteams. + + + description (False, str, None) + The Destination description. + + + 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. + + + 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_en_destination_msteams_info.rst b/docs/ibm_en_destination_msteams_info.rst new file mode 100644 index 000000000..9ffade703 --- /dev/null +++ b/docs/ibm_en_destination_msteams_info.rst @@ -0,0 +1,71 @@ + +ibm_en_destination_msteams_info -- Retrieve IBM Cloud 'ibm_en_destination_msteams' resource +=========================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_en_destination_msteams' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_destination_msteams + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + 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'. + + + 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_en_destination_pagerduty.rst b/docs/ibm_en_destination_pagerduty.rst new file mode 100644 index 000000000..7f0ac2894 --- /dev/null +++ b/docs/ibm_en_destination_pagerduty.rst @@ -0,0 +1,93 @@ + +ibm_en_destination_pagerduty -- Configure IBM Cloud 'ibm_en_destination_pagerduty' resource +=========================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_en_destination_pagerduty' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/en_destination_pagerduty + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + type (True, str, None) + (Required for new resource) The type of Destination type push_chrome. + + + 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. + + + description (False, str, None) + The Destination description. + + + 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_en_destination_pagerduty_info.rst b/docs/ibm_en_destination_pagerduty_info.rst new file mode 100644 index 000000000..d3cd32bc4 --- /dev/null +++ b/docs/ibm_en_destination_pagerduty_info.rst @@ -0,0 +1,71 @@ + +ibm_en_destination_pagerduty_info -- Retrieve IBM Cloud 'ibm_en_destination_pagerduty' resource +=============================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_en_destination_pagerduty' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_destination_pagerduty + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + 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'. + + + 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_en_destination_safari.rst b/docs/ibm_en_destination_safari.rst index 363d68caa..81b52b912 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -39,67 +39,67 @@ Parameters (Required for new resource) The Certificate File. - icon_16x16_2x (False, str, None) + icon_32x32 (False, str, None) The Certificate File. - icon_16x16_content_type (False, str, None) + icon_32x32_2x (False, str, None) The Certificate File. - icon_16x16_2x_content_type (False, str, None) + icon_32x32_2x_content_type (False, str, None) The Certificate File. - description (False, str, None) - The Destination description. + icon_128x128_2x_content_type (False, str, None) + The Certificate File. - icon_16x16 (False, str, None) - The Certificate File. + config (False, list, None) + Payload describing a destination configuration. - icon_32x32_2x (False, str, None) - The Certificate File. + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - icon_128x128_2x (False, str, None) - 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. + description (False, str, None) + The Destination description. - config (False, list, None) - Payload describing a destination configuration. + icon_16x16 (False, str, None) + The Certificate File. - icon_32x32_2x_content_type (False, str, None) + icon_128x128 (False, str, None) The Certificate File. - icon_128x128_content_type (False, str, None) + icon_128x128_2x (False, str, None) The Certificate File. - icon_128x128_2x_content_type (False, str, None) + icon_32x32_content_type (False, str, None) The Certificate File. - type (True, str, None) - (Required for new resource) The type of Destination type push_ios. + icon_16x16_content_type (False, str, None) + The Certificate File. - icon_32x32 (False, str, None) + icon_16x16_2x_content_type (False, str, None) The Certificate File. - icon_128x128 (False, str, None) + icon_16x16_2x (False, str, None) The Certificate File. - icon_32x32_content_type (False, str, None) + icon_128x128_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 525ab803f..92ae4fc5c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination_slack.rst b/docs/ibm_en_destination_slack.rst index 3e09fbed2..4beadd0ab 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -43,14 +43,14 @@ Parameters 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. + 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_destination_slack_info.rst b/docs/ibm_en_destination_slack_info.rst index f1423e156..6dc4ba074 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_destination_webhook.rst b/docs/ibm_en_destination_webhook.rst index e2ce8e99d..ff1ee649e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,10 +35,6 @@ Parameters The Destination description. - 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. @@ -51,6 +47,10 @@ Parameters (Required for new resource) The type of Destination Webhook. + config (False, list, None) + Payload describing a destination configuration. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_destination_webhook_info.rst b/docs/ibm_en_destination_webhook_info.rst index 9d191244a..97305b6ce 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_destinations_info.rst b/docs/ibm_en_destinations_info.rst index bed6d3d51..db57938ad 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 destinations by name or type. + 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_integration.rst b/docs/ibm_en_integration.rst new file mode 100644 index 000000000..1f30aba72 --- /dev/null +++ b/docs/ibm_en_integration.rst @@ -0,0 +1,89 @@ + +ibm_en_integration -- Configure IBM Cloud 'ibm_en_integration' resource +======================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_en_integration' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/en_integration + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + instance_guid (True, str, None) + (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + + + integration_id (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 key integration kms/hs-crypto. + + + metadata (True, list, None) + (Required for new resource) + + + 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_en_integration_info.rst b/docs/ibm_en_integration_info.rst new file mode 100644 index 000000000..6106f2309 --- /dev/null +++ b/docs/ibm_en_integration_info.rst @@ -0,0 +1,71 @@ + +ibm_en_integration_info -- Retrieve IBM Cloud 'ibm_en_integration' resource +=========================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_en_integration' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_integration + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + instance_guid (True, str, None) + Unique identifier for IBM Cloud Event Notifications instance. + + + integration_id (True, str, None) + Unique identifier for Source. + + + 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_en_integrations_info.rst b/docs/ibm_en_integrations_info.rst new file mode 100644 index 000000000..240b71b28 --- /dev/null +++ b/docs/ibm_en_integrations_info.rst @@ -0,0 +1,71 @@ + +ibm_en_integrations_info -- Retrieve IBM Cloud 'ibm_en_integrations' resource +============================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_en_integrations' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_integrations + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + instance_guid (True, str, None) + Unique identifier for IBM Cloud Event Notifications instance. + + + search_key (False, str, None) + Filter the destinations by 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'. + + + 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_en_source.rst b/docs/ibm_en_source.rst index a26f7182e..d8994adb4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - enabled (True, bool, None) - (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. @@ -47,6 +43,10 @@ Parameters The Source description. + enabled (True, bool, None) + (Required for new resource) The enabled flag for source + + 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 c112d4a4f..062d09787 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_android.rst b/docs/ibm_en_subscription_android.rst index dcc3da1a8..3f00501ae 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,8 +35,8 @@ Parameters (Required for new resource) Subscription name. - description (False, str, None) - Subscription description. + destination_id (True, str, None) + (Required for new resource) Destination ID. topic_id (True, str, None) @@ -47,8 +47,8 @@ Parameters (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. id (False, str, None) diff --git a/docs/ibm_en_subscription_android_info.rst b/docs/ibm_en_subscription_android_info.rst index e817154ce..b0ec17d2b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_cf.rst b/docs/ibm_en_subscription_cf.rst new file mode 100644 index 000000000..7323248f8 --- /dev/null +++ b/docs/ibm_en_subscription_cf.rst @@ -0,0 +1,93 @@ + +ibm_en_subscription_cf -- Configure IBM Cloud 'ibm_en_subscription_cf' resource +=============================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_en_subscription_cf' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/en_subscription_cf + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +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) Subscription name. + + + topic_id (True, str, None) + (Required for new resource) Topic ID. + + + description (False, str, None) + Subscription description. + + + 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. + + + 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_en_subscription_cf_info.rst b/docs/ibm_en_subscription_cf_info.rst new file mode 100644 index 000000000..7ea84ab5c --- /dev/null +++ b/docs/ibm_en_subscription_cf_info.rst @@ -0,0 +1,71 @@ + +ibm_en_subscription_cf_info -- Retrieve IBM Cloud 'ibm_en_subscription_cf' resource +=================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_en_subscription_cf' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_subscription_cf + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + 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'. + + + 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_en_subscription_chrome.rst b/docs/ibm_en_subscription_chrome.rst index 756db3276..493d79071 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,22 +35,22 @@ Parameters (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. - - 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) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_subscription_chrome_info.rst b/docs/ibm_en_subscription_chrome_info.rst index f893bedaa..0c234079a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_email.rst b/docs/ibm_en_subscription_email.rst index c5c0388d1..257a931f0 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,6 +35,14 @@ Parameters (Required for new resource) Subscription name. + instance_guid (True, str, None) + (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. @@ -47,14 +55,6 @@ Parameters None - instance_guid (True, str, None) - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - - - description (False, str, None) - Subscription description. - - 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 77d52d29e..a1375b31f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_firefox.rst b/docs/ibm_en_subscription_firefox.rst index ddb39870b..cd38fd6fb 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ 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. @@ -51,6 +43,14 @@ 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. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_subscription_firefox_info.rst b/docs/ibm_en_subscription_firefox_info.rst index f89585375..b1bf846a5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_ios.rst b/docs/ibm_en_subscription_ios.rst index 879afabca..9fb313860 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,24 +31,24 @@ 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. - 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. - 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. - topic_id (True, str, None) - (Required for new resource) Topic ID. + description (False, str, None) + Subscription description. id (False, str, None) diff --git a/docs/ibm_en_subscription_ios_info.rst b/docs/ibm_en_subscription_ios_info.rst index 5462559ff..7e9b3aeb1 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_msteams.rst b/docs/ibm_en_subscription_msteams.rst new file mode 100644 index 000000000..72aed2da7 --- /dev/null +++ b/docs/ibm_en_subscription_msteams.rst @@ -0,0 +1,93 @@ + +ibm_en_subscription_msteams -- Configure IBM Cloud 'ibm_en_subscription_msteams' resource +========================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_en_subscription_msteams' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/en_subscription_msteams + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + instance_guid (True, str, None) + (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) + (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_en_subscription_msteams_info.rst b/docs/ibm_en_subscription_msteams_info.rst new file mode 100644 index 000000000..e2942542b --- /dev/null +++ b/docs/ibm_en_subscription_msteams_info.rst @@ -0,0 +1,71 @@ + +ibm_en_subscription_msteams_info -- Retrieve IBM Cloud 'ibm_en_subscription_msteams' resource +============================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_en_subscription_msteams' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_subscription_msteams + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + 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'. + + + 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_en_subscription_pagerduty.rst b/docs/ibm_en_subscription_pagerduty.rst new file mode 100644 index 000000000..1099dac07 --- /dev/null +++ b/docs/ibm_en_subscription_pagerduty.rst @@ -0,0 +1,93 @@ + +ibm_en_subscription_pagerduty -- Configure IBM Cloud 'ibm_en_subscription_pagerduty' resource +============================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_en_subscription_pagerduty' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/en_subscription_pagerduty + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + 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. + + + name (True, str, None) + (Required for new resource) Subscription name. + + + 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. + + + 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_en_subscription_pagerduty_info.rst b/docs/ibm_en_subscription_pagerduty_info.rst new file mode 100644 index 000000000..9dc5f60bf --- /dev/null +++ b/docs/ibm_en_subscription_pagerduty_info.rst @@ -0,0 +1,71 @@ + +ibm_en_subscription_pagerduty_info -- Retrieve IBM Cloud 'ibm_en_subscription_pagerduty' resource +================================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_en_subscription_pagerduty' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_subscription_pagerduty + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + 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'. + + + 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_en_subscription_safari.rst b/docs/ibm_en_subscription_safari.rst index 7ddeb9d9f..6800ca36c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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. + + description (False, str, None) Subscription description. @@ -39,10 +43,6 @@ 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. diff --git a/docs/ibm_en_subscription_safari_info.rst b/docs/ibm_en_subscription_safari_info.rst index 0b50af77f..b0ecf55a2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_slack.rst b/docs/ibm_en_subscription_slack.rst index db55254ba..fe3204d93 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,18 @@ 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. + + destination_id (True, str, None) (Required for new resource) Destination ID. @@ -43,14 +51,6 @@ 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. - - attributes (False, list, None) None diff --git a/docs/ibm_en_subscription_slack_info.rst b/docs/ibm_en_subscription_slack_info.rst index 754e941ae..e58d08ecb 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_sms.rst b/docs/ibm_en_subscription_sms.rst index c8486cb51..83768ab27 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,30 +31,30 @@ 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) - (Required for new resource) Subscription name. - - description (False, str, None) Subscription description. + destination_id (True, str, None) + (Required for new resource) Destination ID. + + attributes (False, list, None) None + 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) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_en_subscription_sms_info.rst b/docs/ibm_en_subscription_sms_info.rst index 5f6e4e24d..ae422b144 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscription_webhook.rst b/docs/ibm_en_subscription_webhook.rst index e65a3075f..30fd7b03a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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) Subscription name. - - attributes (False, list, None) None @@ -43,6 +39,10 @@ Parameters (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. diff --git a/docs/ibm_en_subscription_webhook_info.rst b/docs/ibm_en_subscription_webhook_info.rst index f9aa8949d..bc13c73f2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_subscriptions_info.rst b/docs/ibm_en_subscriptions_info.rst index 98b9f79c5..ede18a0f9 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_topic.rst b/docs/ibm_en_topic.rst index 5093722fa..162ac66c5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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) + Description of the topic. + + sources (False, list, None) List of sources. @@ -43,10 +47,6 @@ Parameters (Required for new resource) Name of the topic. - description (False, str, None) - Description 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 a30549a9a..d7f7d19b3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_en_topics_info.rst b/docs/ibm_en_topics_info.rst index df9c69785..3f37d456f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 ee068c353..e8b6346de 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,8 +31,8 @@ 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 enterprise. This field must have 3 - 60 characters. + primary_contact_iam_id (True, str, None) + (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) @@ -43,8 +43,8 @@ Parameters (Required for new resource) The ID of the account that is used to create the enterprise. - primary_contact_iam_id (True, str, None) - (Required for new resource) The IAM ID of the enterprise primary contact, such as `IBMid-0123ABC`. The IAM ID must already exist. + name (True, str, None) + (Required for new resource) The name of the enterprise. This field must have 3 - 60 characters. id (False, str, None) diff --git a/docs/ibm_enterprise_account.rst b/docs/ibm_enterprise_account.rst index 5a532c9e4..1066c522e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,28 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - enterprise_account_id (False, str, None) - The enterprise account ID. - - account_id (False, str, None) The source account id of account to be imported - 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. - 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) + The enterprise account ID. 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. + + + owner_iam_id (False, str, None) + The IAM ID of the account owner, such as `IBMid-0123ABC`. The IAM ID must already exist. id (False, str, None) diff --git a/docs/ibm_enterprise_account_group.rst b/docs/ibm_enterprise_account_group.rst index 52ac2201b..f2e1f487d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_enterprise_account_groups_info.rst b/docs/ibm_enterprise_account_groups_info.rst index bf0d6227f..37080669c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_enterprise_accounts_info.rst b/docs/ibm_enterprise_accounts_info.rst index 11239e083..f0cb60a33 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_enterprises_info.rst b/docs/ibm_enterprises_info.rst index 0fe2b6d44..1067c2c92 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_event_streams_schema.rst b/docs/ibm_event_streams_schema.rst index 41ba27802..07406fb7f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_event_streams_schema_info.rst b/docs/ibm_event_streams_schema_info.rst index 373fa99d1..a10573197 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_event_streams_topic.rst b/docs/ibm_event_streams_topic.rst index 16976cd33..3c82f478b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_instance_id (True, str, None) - (Required for new resource) The CRN of the Event Streams instance - - name (True, str, None) (Required for new resource) The name of the topic @@ -47,6 +43,10 @@ Parameters The configuration parameters of a topic + resource_instance_id (True, str, None) + (Required for new resource) The CRN of the Event Streams instance + + 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 2324d4345..33069b02f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 CRN of the Event Streams instance - - name (True, str, None) The name of the topic + resource_instance_id (True, str, None) + The CRN of the Event Streams 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_firewall.rst b/docs/ibm_firewall.rst index d1ce94575..d832f0d09 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_firewall_policy.rst b/docs/ibm_firewall_policy.rst index e129c83c8..36bce8b80 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_function_action.rst b/docs/ibm_function_action.rst index 7bc21b3e9..a653087e8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,12 +31,8 @@ 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 action. + name (True, str, None) + (Required for new resource) Name of action. namespace (True, str, None) @@ -47,16 +43,20 @@ Parameters None + publish (False, bool, None) + Action visibilty. + + exec (True, list, None) (Required for new resource) Execution info - name (True, str, None) - (Required for new resource) Name of action. + user_defined_annotations (False, str, []) + Annotation values in KEY VALUE format. - publish (False, bool, None) - 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) diff --git a/docs/ibm_function_action_info.rst b/docs/ibm_function_action_info.rst index abe70cadc..c5685bd60 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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) - Name of action. - - namespace (True, str, None) Name of the namespace. + name (True, str, None) + Name of action. + + function_namespace (True, any, None) The namespace in IBM Cloudâ„¢ Functions where you want to create your resources. This can also be provided via the environment variable 'FUNCTION_NAMESPACE'. diff --git a/docs/ibm_function_namespace.rst b/docs/ibm_function_namespace.rst index 25b00d502..d3072e863 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_function_namespace_info.rst b/docs/ibm_function_namespace_info.rst index d0fdafda0..d789cbc93 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_function_package.rst b/docs/ibm_function_package.rst index ff5321afa..3e488800e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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) Name of package. - - - 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,6 +43,14 @@ Parameters Annotation values in KEY VALUE format. + name (True, str, None) + (Required for new resource) Name of package. + + + user_defined_parameters (False, str, []) + Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the package. + + bind_package_name (False, str, None) Name of package to be binded. diff --git a/docs/ibm_function_package_info.rst b/docs/ibm_function_package_info.rst index 5c3d625a0..bc7821076 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_function_rule.rst b/docs/ibm_function_rule.rst index c93647214..cec151ccb 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - namespace (True, str, None) - (Required for new resource) IBM Cloud function namespace. - - name (True, str, None) (Required for new resource) Name of rule. @@ -47,6 +43,10 @@ Parameters (Required for new resource) Name of action. + namespace (True, str, None) + (Required for new resource) IBM Cloud function namespace. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_function_rule_info.rst b/docs/ibm_function_rule_info.rst index 701b4a592..3a4345887 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_function_trigger.rst b/docs/ibm_function_trigger.rst index 943ff89c1..9648db526 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,18 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - namespace (True, str, None) - (Required for new resource) IBM Cloud function namespace. - - name (True, str, None) (Required for new resource) Name of Trigger. - feed (False, list, None) - Trigger feed - - user_defined_annotations (False, str, []) Annotation values in KEY VALUE format. @@ -51,6 +43,14 @@ Parameters 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. + + + feed (False, list, None) + Trigger feed + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_function_trigger_info.rst b/docs/ibm_function_trigger_info.rst index afeb22cce..88c00e193 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_hardware_firewall_shared.rst b/docs/ibm_hardware_firewall_shared.rst index f49b599a5..7afa3801c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_hpcs.rst b/docs/ibm_hpcs.rst index c009e9e1f..d67b4b56f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,56 +31,56 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tags (False, list, None) - None - - - admins (True, list, None) - (Required for new resource) Crypto Unit Administrators - - name (True, str, None) (Required for new resource) A name for the HPCS instance - resource_group_id (False, str, None) - The resource group id + revocation_threshold (True, int, None) + (Required for new resource) Revocation Threshold Value signature_server_url (False, str, None) URL of signing service - plan (True, str, None) - (Required for new resource) The plan type of the HPCS Instance + signature_threshold (True, int, None) + (Required for new resource) Signature Threshold Value - service_endpoints (False, str, None) - Types of the service endpoints. Possible values are `public-and-private`, `private-only`. + admins (True, list, None) + (Required for new resource) Crypto Unit Administrators - signature_threshold (True, int, None) - (Required for new resource) Signature Threshold Value + failover_units (False, int, None) + The number of failover crypto units for your service instance - location (True, str, None) - (Required for new resource) The location where the HPCS instance available + service (False, str, hs-crypto) + The name of the service offering `hs-crypto` - revocation_threshold (True, int, None) - (Required for new resource) Revocation Threshold Value + service_endpoints (False, str, None) + Types of the service endpoints. Possible values are `public-and-private`, `private-only`. units (True, int, None) (Required for new resource) The number of operational crypto units for your service instance - service (False, str, hs-crypto) - The name of the service offering `hs-crypto` + tags (False, list, None) + None - failover_units (False, int, None) - The number of failover crypto units for your service instance + 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 + + + resource_group_id (False, str, None) + The resource group id id (False, str, None) diff --git a/docs/ibm_hpcs_info.rst b/docs/ibm_hpcs_info.rst index 1e977976e..6b0882952 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -33,10 +33,6 @@ Parameters Resource instance name for example, myobjectstorage - service (False, str, hs-crypto) - The service type of the instance - - resource_group_id (False, str, None) The id of the resource group in which the instance is present @@ -45,6 +41,10 @@ Parameters The location or the environment in which instance exists + service (False, str, hs-crypto) + The service type of the 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_hpcs_key_template.rst b/docs/ibm_hpcs_key_template.rst index fe2746a04..622017a9a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,18 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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. - - - vault (True, list, None) - (Required for new resource) ID of the Vault where the entity is to be created in. - - - description (False, str, None) - Description of the key template. - - instance_id (True, str, None) (Required for new resource) The ID of the UKO instance this resource exists in. @@ -55,14 +43,26 @@ Parameters (Required for new resource) The UUID of the Vault in which the update is to take place. + vault (True, list, None) + (Required for new resource) ID of the Vault where the entity is to be created in. + + name (True, str, None) (Required for new resource) Name of the template, it will be referenced when creating managed keys. + 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. + + key (True, list, None) (Required for new resource) Properties describing the properties of the managed key. + description (False, str, None) + Description of the key template. + + 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 0845d9c25..1e578ca34 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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'. - - template_id (True, str, None) UUID of the template. @@ -45,6 +37,14 @@ Parameters 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'. + + + uko_vault (True, str, None) + The UUID of the Vault in which the update is to take place. + + 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_keystore.rst b/docs/ibm_hpcs_keystore.rst index c08e4bef6..ade757588 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,104 +31,104 @@ 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'. + azure_location (False, str, None) + Location of the Azure Key Vault. - aws_access_key_id (False, str, None) - The access key id used for connecting to this instance of AWS KMS. + azure_subscription_id (False, str, None) + Subscription ID in Azure. - azure_resource_group (False, str, None) - Resource group in Azure. + azure_environment (False, str, None) + Azure environment, usually 'Azure'. - aws_secret_access_key (False, str, None) - The secret access key used for connecting to this instance of AWS KMS. + ibm_api_endpoint (False, str, None) + API endpoint of the IBM Cloud keystore. - azure_service_name (False, str, None) - Service name of the key vault instance from the Azure portal. + 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. + azure_resource_group (False, str, None) + Resource group in Azure. - azure_service_principal_client_id (False, str, None) - Azure service principal client ID. + instance_id (True, str, None) + (Required for new resource) The ID of the UKO instance this resource exists in. - ibm_iam_endpoint (False, str, None) - Endpoint of the IAM service for this IBM Cloud keystore. + ibm_instance_id (False, str, None) + The instance ID of the IBM Cloud keystore. - ibm_api_key (False, str, None) - The IBM Cloud API key to be used for connecting to this IBM Cloud keystore. + description (False, str, None) + Description of the keystore. - ibm_instance_id (False, str, None) - The instance ID of the IBM Cloud keystore. + groups (False, list, None) + List of groups that this keystore belongs to. - type (True, str, None) - (Required for new resource) Type of keystore. + aws_secret_access_key (False, str, None) + The secret access key used for connecting to this instance of AWS KMS. - azure_location (False, str, None) - Location of the Azure Key Vault. + azure_service_principal_password (False, str, None) + Azure service principal password. - azure_subscription_id (False, str, None) - Subscription ID in Azure. + azure_tenant (False, str, None) + Azure tenant that the Key Vault is associated with,. ibm_variant (False, str, None) Possible IBM Cloud KMS variants. - ibm_api_endpoint (False, str, None) - API endpoint of the IBM Cloud keystore. + aws_access_key_id (False, str, None) + The access key id used for connecting to this instance of AWS KMS. - azure_tenant (False, str, None) - Azure tenant that the Key Vault is associated with,. + aws_region (False, str, None) + AWS Region. + + + azure_service_principal_client_id (False, str, None) + Azure service principal client ID. ibm_key_ring (False, str, None) The key ring of an IBM Cloud KMS Keystore. - vault (True, list, None) - (Required for new resource) Reference to a 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'. name (False, str, None) Name of the target keystore. It can be changed in the future. - description (False, str, None) - Description of the keystore. - - - uko_vault (True, str, None) - (Required for new resource) The UUID of the Vault in which the update is to take place. + type (True, str, None) + (Required for new resource) Type of keystore. - aws_region (False, str, None) - AWS Region. + azure_service_name (False, str, None) + Service name of the key vault instance from the Azure portal. - 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. + vault (True, list, None) + (Required for new resource) Reference to a vault. - azure_service_principal_password (False, str, None) - Azure service principal password. + ibm_iam_endpoint (False, str, None) + Endpoint of the IAM service for this IBM Cloud keystore. id (False, str, None) diff --git a/docs/ibm_hpcs_keystore_info.rst b/docs/ibm_hpcs_keystore_info.rst index 3519471ac..cb2007ecf 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters UUID of the keystore. - uko_vault (True, str, None) - The UUID of the Vault in which the update is to take place. - - 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. + + 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'. diff --git a/docs/ibm_hpcs_managed_key.rst b/docs/ibm_hpcs_managed_key.rst index 167fb48b9..7e5ddbe82 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,24 +35,28 @@ 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. + template_name (False, str, None) + Name of the key template to use when creating a key. - state_ (False, str, None) - The state of the key. + label (True, str, None) + (Required for new resource) The label of the key. - template_name (False, str, None) - Name of the key template to use when creating a key. + description (False, str, None) + Description of the managed key. - tags (False, list, None) - Key-value pairs associated with the key. + state_ (False, str, None) + The state of the key. instance_id (True, str, None) @@ -63,10 +67,6 @@ Parameters (Required for new resource) The UUID of the Vault in which the update is to take place. - description (False, str, None) - Description 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_managed_key_info.rst b/docs/ibm_hpcs_managed_key_info.rst index c0213e043..d84ee2e27 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,20 +29,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - key_id (True, str, None) - UUID of the key. - - - uko_vault (True, str, None) - The UUID of the Vault in which the update is to take place. + instance_id (True, str, None) + 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'. - 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. iaas_classic_username (False, any, None) diff --git a/docs/ibm_hpcs_vault.rst b/docs/ibm_hpcs_vault.rst index 840e73beb..7ab43f047 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ 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'. + + 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. @@ -43,10 +47,6 @@ Parameters (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'. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_hpcs_vault_info.rst b/docs/ibm_hpcs_vault_info.rst index 45e4d3a2f..8e19949a4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -33,14 +33,14 @@ Parameters UUID of the vault. - instance_id (True, str, None) - 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'. + instance_id (True, str, None) + The ID of the UKO instance this resource exists in. + + 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 abff39ed5..ebeb98c61 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 dff476778..6ed2a34ba 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 966f8104b..56a67a50e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + identity_provider (True, str, None) + (Required for new resource) The realm name or identity proivider url + + + conditions (True, list, None) + (Required for new resource) conditions info + + access_group_id (True, str, None) (Required for new resource) Unique identifier of the access group @@ -43,14 +51,6 @@ Parameters (Required for new resource) The expiration in hours - identity_provider (True, str, None) - (Required for new resource) The realm name or identity proivider url - - - conditions (True, list, None) - (Required for new resource) conditions info - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_access_group_info.rst b/docs/ibm_iam_access_group_info.rst index 86f1f88c9..d43ee6023 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_access_group_members.rst b/docs/ibm_iam_access_group_members.rst index 7fdea153c..49592ceaa 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_access_group_policy.rst b/docs/ibm_iam_access_group_policy.rst index 3ba4aabd4..d13fbb648 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,30 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_attributes (False, list, None) - Set resource attributes. - - - transaction_id (False, str, None) - Set transactionID for debug - - roles (True, list, None) (Required for new resource) Role names of the policy definition - resources (False, list, None) - None - - account_management (False, bool, False) Give access to all account management services - tags (False, list, None) - None - - resource_tags (False, list, None) Set access management tags. @@ -67,6 +51,22 @@ Parameters (Required for new resource) ID of access group + resources (False, list, None) + None + + + resource_attributes (False, list, None) + Set resource attributes. + + + tags (False, list, None) + None + + + transaction_id (False, str, None) + Set transactionID for debug + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_access_group_policy_info.rst b/docs/ibm_iam_access_group_policy_info.rst index 16743fb63..76cb7debd 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + access_group_id (True, str, None) + ID of access group + + sort (False, str, None) Sort query for policies @@ -37,10 +41,6 @@ Parameters Set transactionID for debug - access_group_id (True, str, None) - ID of access group - - 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_account_settings_info.rst b/docs/ibm_iam_account_settings_info.rst index 68a6721e5..aa3ac2ae8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_api_key.rst b/docs/ibm_iam_api_key.rst index fda1c3491..6e6f4a737 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,30 +31,30 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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. + 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. - file (False, str, None) - File where api key is to be stored + 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. entity_lock (False, str, False) Indicates if the API key is locked for further write operations. False by default. - 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. - - - 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. + 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. 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 + + 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 65e9473c5..a919e28e0 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_auth_token_info.rst b/docs/ibm_iam_auth_token_info.rst index a63adb963..f1c23d2b1 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_authorization_policies_info.rst b/docs/ibm_iam_authorization_policies_info.rst index f0b2f177e..a1d9891d4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_authorization_policy.rst b/docs/ibm_iam_authorization_policy.rst index df3263722..5d48b7e84 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -39,52 +39,52 @@ Parameters The target service name - 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_group_id (False, str, None) + The target resource group Id - subject_attributes (False, list, None) - Set subject attributes. + source_resource_type (False, str, None) + Resource type of source service - description (False, str, None) - Description of the Policy + source_service_account (False, str, None) + Account GUID of source service - target_resource_instance_id (False, str, None) - The target resource instance Id + source_service_name (False, str, None) + The source service name - target_resource_group_id (False, str, None) - The target resource group Id + source_resource_instance_id (False, str, None) + The source resource instance Id target_resource_type (False, str, None) Resource type of target service - roles (True, list, None) - (Required for new resource) Role names of the policy definition + target_resource_instance_id (False, str, None) + The target resource instance Id - source_service_account (False, str, None) - Account GUID of source service + source_resource_group_id (False, str, None) + The source resource group Id resource_attributes (False, list, None) Set resource attributes. - source_service_name (False, str, None) - The source service name + description (False, str, None) + Description of the Policy - source_resource_type (False, str, None) - Resource type of source service + roles (True, list, None) + (Required for new resource) Role names of the policy definition + + + subject_attributes (False, list, None) + Set subject attributes. id (False, str, None) diff --git a/docs/ibm_iam_authorization_policy_detach.rst b/docs/ibm_iam_authorization_policy_detach.rst index 361e29583..715c32fbf 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_custom_role.rst b/docs/ibm_iam_custom_role.rst index 1a40b7251..3721af0ca 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,24 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - display_name (True, str, None) - (Required for new resource) Display Name of the Custom Role + 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 + actions (True, list, None) + (Required for new resource) The actions of the role - description (False, str, None) - The description of the role + display_name (True, str, None) + (Required for new resource) Display Name of the Custom Role - service (True, str, None) - (Required for new resource) The Service Name + description (False, str, None) + The description of the role - actions (True, list, None) - (Required for new resource) The actions of the role + name (True, str, None) + (Required for new resource) The name of the custom Role id (False, str, None) diff --git a/docs/ibm_iam_role_actions_info.rst b/docs/ibm_iam_role_actions_info.rst index 7fbcf89d2..069e4ea55 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_roles_info.rst b/docs/ibm_iam_roles_info.rst index 391db7a4d..abc58b163 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_service_api_key.rst b/docs/ibm_iam_service_api_key.rst index 24bb162a2..04c37bcc5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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) Name of the Service API key - - - description (False, str, None) - description of the API key - - iam_service_id (True, str, None) (Required for new resource) The service iam_id that this API key authenticates @@ -51,6 +43,14 @@ Parameters The API key cannot be changed if set to true + name (True, str, None) + (Required for new resource) Name of the Service API key + + + description (False, str, None) + description of the API key + + store_value (False, bool, None) Boolean value deciding whether API key value is retrievable in the future diff --git a/docs/ibm_iam_service_id.rst b/docs/ibm_iam_service_id.rst index 9fd564dad..e59e1ed5e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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) Name of the serviceID @@ -39,10 +43,6 @@ Parameters Description of the serviceID - 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_iam_service_id_info.rst b/docs/ibm_iam_service_id_info.rst index 12a79b3a5..2f847ab94 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_service_policy.rst b/docs/ibm_iam_service_policy.rst index cc4146209..d45d7f4ab 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + iam_service_id (False, str, None) + UUID of ServiceID + + + roles (True, list, None) + (Required for new resource) Role names of the policy definition + + resources (False, list, None) None @@ -39,6 +47,14 @@ Parameters Set resource attributes. + transaction_id (False, str, None) + Set transactionID for debug + + + iam_id (False, str, None) + IAM ID of ServiceID + + account_management (False, bool, False) Give access to all account management services @@ -51,26 +67,10 @@ Parameters Set access management tags. - iam_service_id (False, str, None) - UUID of ServiceID - - - iam_id (False, str, None) - IAM ID of ServiceID - - - roles (True, list, None) - (Required for new resource) Role names of the policy definition - - description (False, str, None) Description of the Policy - transaction_id (False, str, None) - Set transactionID for debug - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_service_policy_info.rst b/docs/ibm_iam_service_policy_info.rst index 92e1dfdf0..dcbb9afc6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profile.rst b/docs/ibm_iam_trusted_profile.rst index 5b1f25e83..f32b87d01 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 7a5e5a64b..69877a6de 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -43,22 +43,22 @@ Parameters Name of the claim rule to be created or updated. - profile_id (True, str, None) - (Required for new resource) ID of the trusted profile to create a claim rule. - - 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'. - 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'. + profile_id (True, str, None) + (Required for new resource) ID of the trusted profile to create a claim rule. + + + 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. + + 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 0f805bb1a..66576e96b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profile_claim_rules_info.rst b/docs/ibm_iam_trusted_profile_claim_rules_info.rst index a457d0939..11de7086c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profile_info.rst b/docs/ibm_iam_trusted_profile_info.rst index 7cca1cdb7..3e1315551 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profile_link.rst b/docs/ibm_iam_trusted_profile_link.rst index c3a80fff5..7106eddc1 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 c0388a6c3..e3be29000 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 903f21126..67de27752 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_trusted_profile_policy.rst b/docs/ibm_iam_trusted_profile_policy.rst index 0a2fd98aa..bcbc5698c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,44 +31,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resources (False, list, None) - None + transaction_id (False, str, None) + Set transactionID for debug - resource_attributes (False, list, None) - Set resource attributes. + profile_id (False, str, None) + UUID of Trusted Profile - 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 + resource_attributes (False, list, None) + Set resource attributes. - tags (False, list, None) - None + account_management (False, bool, False) + Give access to all account management services description (False, str, None) Description of the Policy - profile_id (False, str, None) - UUID of Trusted Profile - - iam_id (False, str, None) IAM ID of Trusted Profile - roles (True, list, None) - (Required for new resource) Role names of the policy definition + resources (False, list, None) + None - account_management (False, bool, False) - Give access to all account management services + tags (False, list, None) + None + + + resource_tags (False, list, None) + Set access management tags. 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 96e5dad4d..4c0e713a1 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + profile_id (False, str, None) + UUID of trusted profile + + iam_id (False, str, None) IAM ID of trusted profile @@ -41,10 +45,6 @@ Parameters Set transactionID for debug - profile_id (False, str, None) - UUID of trusted profile - - 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_profiles_info.rst b/docs/ibm_iam_trusted_profiles_info.rst index 4e9e98ddb..07a25d331 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_user_invite.rst b/docs/ibm_iam_user_invite.rst index 4b1711f6c..c4090a41f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - cloud_foundry_roles (False, list, None) - None - - - users (True, list, None) - (Required for new resource) List of ibm id or email of user - - access_groups (False, list, None) access group ids to associate the inviting user @@ -51,6 +43,14 @@ Parameters None + cloud_foundry_roles (False, list, None) + None + + + users (True, list, None) + (Required for new resource) List of ibm id or email of user + + 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 5d7c69704..d4cab3027 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,20 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_tags (False, list, None) - Set access management tags. - - - 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 - tags (False, list, None) - None + resource_tags (False, list, None) + Set access management tags. description (False, str, None) @@ -59,12 +55,16 @@ Parameters (Required for new resource) The ibm id or email of user - resources (False, list, None) - None + roles (True, list, None) + (Required for new resource) Role names of the policy definition - account_management (False, bool, False) - Give access to all account management services + resource_attributes (False, list, None) + Set resource attributes. + + + tags (False, list, None) + None id (False, str, None) diff --git a/docs/ibm_iam_user_policy_info.rst b/docs/ibm_iam_user_policy_info.rst index cc94af06c..8752692e6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_user_profile_info.rst b/docs/ibm_iam_user_profile_info.rst index 4a31988e2..c1dc88e98 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_iam_user_settings.rst b/docs/ibm_iam_user_settings.rst index 4830e691c..0996e4e0e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - allowed_ip_addresses (False, list, None) - List of allowed IPv4 or IPv6 addresses - - iam_id (True, str, None) (Required for new resource) User's IAM ID or or email of user + allowed_ip_addresses (False, list, None) + List of allowed IPv4 or IPv6 addresses + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_iam_users_info.rst b/docs/ibm_iam_users_info.rst index 22654a746..c6c0f1e26 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_ipsec_vpn.rst b/docs/ibm_ipsec_vpn.rst index 583d3e42b..3192a75ff 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,22 +31,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - phase_two (False, list, None) - None - - - preshared_key (False, str, None) - Preshared Key data + customer_peer_ip (False, str, None) + Customer Peer IP Address - remote_subnet_id (False, int, None) - Remote subnet ID value + internal_subnet_id (False, int, None) + Internal subnet ID value remote_subnet (False, list, None) None + service_subnet_id (False, int, None) + Service subnet ID value + + datacenter (True, str, None) (Required for new resource) Datacenter name @@ -59,16 +59,16 @@ Parameters None - customer_peer_ip (False, str, None) - Customer Peer IP Address + phase_two (False, list, None) + None - internal_subnet_id (False, int, None) - Internal subnet ID value + preshared_key (False, str, None) + Preshared Key data - service_subnet_id (False, int, None) - Service subnet ID value + remote_subnet_id (False, int, None) + Remote subnet ID value id (False, str, None) diff --git a/docs/ibm_is_backup_policies_info.rst b/docs/ibm_is_backup_policies_info.rst index 27b10c617..a28c0416e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_backup_policy.rst b/docs/ibm_is_backup_policy.rst index 31f480537..6616f52ab 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 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. + + 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. @@ -39,10 +43,6 @@ Parameters (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. diff --git a/docs/ibm_is_backup_policy_info.rst b/docs/ibm_is_backup_policy_info.rst index 214102127..30425dd70 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_backup_policy_job_info.rst b/docs/ibm_is_backup_policy_job_info.rst index 185156265..27c4f9193 100644 --- a/docs/ibm_is_backup_policy_job_info.rst +++ b/docs/ibm_is_backup_policy_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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_backup_policy_jobs_info.rst b/docs/ibm_is_backup_policy_jobs_info.rst index 15f309d93..6899669cc 100644 --- a/docs/ibm_is_backup_policy_jobs_info.rst +++ b/docs/ibm_is_backup_policy_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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - backup_policy_id (True, str, None) - The backup policy identifier. - - source_id (False, str, None) Filters the collection to backup policy jobs with a source with the specified identifier @@ -53,6 +49,10 @@ Parameters Filters the collection to backup policy jobs with the specified status + backup_policy_id (True, str, None) + The backup 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_backup_policy_plan.rst b/docs/ibm_is_backup_policy_plan.rst index ac634ad79..1549b77c0 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,8 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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. + 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. + + + copy_user_tags (False, bool, True) + Indicates whether to copy the source's user tags to the created backups (snapshots). cron_spec (True, str, None) @@ -43,22 +47,22 @@ Parameters Indicates whether the plan is active. - 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. - - backup_policy_id (True, str, None) (Required for new resource) The backup policy identifier. - copy_user_tags (False, bool, True) - Indicates whether to copy the source's user tags to the created backups (snapshots). + 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 + clone_policy (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_policy_plan_info.rst b/docs/ibm_is_backup_policy_plan_info.rst index a3e6b0a95..eab381a5b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - backup_policy_id (True, str, None) - The backup policy identifier. - - identifier (False, str, None) The backup policy plan identifier. @@ -41,6 +37,10 @@ Parameters The unique user-defined name for this backup policy plan. + backup_policy_id (True, str, None) + The backup 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_backup_policy_plans_info.rst b/docs/ibm_is_backup_policy_plans_info.rst index 9ea945463..612ca322a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_bare_metal_server.rst b/docs/ibm_is_bare_metal_server.rst index b10087c82..e6e15c0cb 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,16 +35,12 @@ Parameters (Required for new resource) Primary Network interface info - profile (True, str, None) - (Required for new resource) profile name - - - name (False, str, None) - Bare metal server name + network_interfaces (False, list, None) + None - action (False, str, None) - This restart/start/stops a bare metal server. + keys (True, list, None) + (Required for new resource) SSH key Ids for the bare metal server image (True, str, None) @@ -55,38 +51,42 @@ Parameters User data given for the bare metal server - vpc (False, str, None) - The VPC the bare metal server is to be a part of - - - network_interfaces (False, list, None) - None + name (False, str, None) + Bare metal server name - zone (True, str, None) - (Required for new resource) Zone name + action (False, str, None) + This restart/start/stops a bare metal server. tags (False, list, None) Tags for the Bare metal server - access_tags (False, list, None) - List of access management tags + 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 + vpc (False, str, None) + The VPC the bare metal server is to be a part of - keys (True, list, None) - (Required for new resource) SSH key Ids for the bare metal server + profile (True, str, None) + (Required for new resource) profile name resource_group (False, str, None) Resource group name + delete_type (False, str, hard) + Enables stopping type of the bare metal server before deleting + + + access_tags (False, list, None) + List of access management tags + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_bare_metal_server_action.rst b/docs/ibm_is_bare_metal_server_action.rst index 825b0b0d9..45b115350 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + action (True, str, None) + (Required for new resource) This restart/start/stops a bare metal server. + + bare_metal_server (True, str, None) (Required for new resource) Bare metal server identifier @@ -39,10 +43,6 @@ Parameters The type of stop operation - action (True, str, None) - (Required for new resource) This restart/start/stops a 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_disk.rst b/docs/ibm_is_bare_metal_server_disk.rst index d4998ea1d..25f721e6c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - bare_metal_server (True, str, None) - (Required for new resource) Bare metal server identifier - - disk (True, str, None) (Required for new resource) Bare metal server disk identifier @@ -43,6 +39,10 @@ Parameters Bare metal server disk name + bare_metal_server (True, str, None) + (Required for new resource) Bare metal server identifier + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_bare_metal_server_disk_info.rst b/docs/ibm_is_bare_metal_server_disk_info.rst index 664f0dcc9..2954e5bf2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 1ce0ce2d9..2fb5ddac5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 764d88b3b..5868182fa 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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) - None - - name (False, str, None) Bare metal server name + identifier (False, str, None) + None + + 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_initialization_info.rst b/docs/ibm_is_bare_metal_server_initialization_info.rst index e96f12c88..9f8eea26b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 87920bb9f..9dab2217e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + network_interface (True, str, None) + (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 @@ -39,10 +43,6 @@ Parameters (Required for new resource) Bare metal server identifier - network_interface (True, str, None) - (Required for new resource) Bare metal server network interface identifier - - 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 3c9035afe..1d042e8e8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,16 +29,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - floating_ip (True, str, None) - The floating ip identifier of the network interface associated with the bare metal server + network_interface (True, str, None) + The network interface identifier of bare metal server bare_metal_server (True, str, None) The bare metal server identifier - network_interface (True, str, None) - The network interface identifier of bare metal server + floating_ip (True, str, None) + The floating ip identifier of the network interface associated with the bare metal server generation (False, int, 2) 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 22b886c76..fc8912dd4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 285ab5aff..a80157625 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 deb57860c..e21fe0f1c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 5a9aae0d6..f6bab926f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 74494cbb5..622e7713a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 92b776859..77e34b536 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 bb3897ba8..96b6b1641 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 3768db6e8..58ee45fc5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -37,8 +37,8 @@ Parameters The vpc name this bare metal server is in - vpc_crn (False, str, None) - The vpc CRN this bare metal server is in + network_interfaces_subnet_name (False, str, None) + The name of the subnet of the bare metal server network interfaces network_interfaces_subnet (False, str, None) @@ -53,12 +53,12 @@ Parameters The unique identifier of the resource group this bare metal server belongs to - name (False, str, None) - The name of the bare metal server + vpc_crn (False, str, None) + The vpc CRN this bare metal server is in - network_interfaces_subnet_name (False, str, None) - The name of the subnet of the bare metal server network interfaces + name (False, str, None) + The name of the bare metal server generation (False, int, 2) diff --git a/docs/ibm_is_dedicated_host.rst b/docs/ibm_is_dedicated_host.rst index bad146ac7..9a408ab1e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -39,20 +39,20 @@ Parameters The unique user-defined name for this dedicated host. If unspecified, the name will be a hyphenated list of randomly-selected words. - profile (True, str, None) - (Required for new resource) The Globally unique name of the dedicated host profile to use for this dedicated host. - - - access_tags (False, list, None) - List of access management tags + 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. host_group (True, str, None) (Required for new resource) The unique identifier of the dedicated host group for this dedicated host. - 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. + + + access_tags (False, list, None) + List of access management tags id (False, str, None) diff --git a/docs/ibm_is_dedicated_host_disk_info.rst b/docs/ibm_is_dedicated_host_disk_info.rst index e53152c60..1786d6c1f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 94d0b891f..f71999336 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - dedicated_host (True, str, None) - (Required for new resource) ID of the dedicated host for which disks has to be managed - - disks (True, list, None) (Required for new resource) Disk information that has to be updated. + dedicated_host (True, str, None) + (Required for new resource) ID of the dedicated host for which disks has to be managed + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_dedicated_host_disks_info.rst b/docs/ibm_is_dedicated_host_disks_info.rst index 9a191d088..20e8da50f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_host_group.rst b/docs/ibm_is_dedicated_host_group.rst index 9f57d3b3b..f1abd9ff6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - zone (True, str, None) - (Required for new resource) The globally unique name of the zone this dedicated host group will reside in. - - family (True, str, None) (Required for new resource) The dedicated host profile family for hosts in this group. @@ -43,12 +39,16 @@ Parameters 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. + + class_ (True, str, None) (Required for new resource) The dedicated host profile class for hosts in this group. - 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. 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 9965d7b61..f2097a907 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 51857f535..a5796bade 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_host_info.rst b/docs/ibm_is_dedicated_host_info.rst index 820a176d6..860825472 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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 @@ -41,6 +37,10 @@ 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 + + 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 b052a9426..709097a86 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 69cbfa556..5392cca6f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_dedicated_hosts_info.rst b/docs/ibm_is_dedicated_hosts_info.rst index 11d5fc091..6371d3565 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + name (False, str, None) + The name of the dedicated host + + host_group (False, str, None) The unique identifier of the dedicated host group this dedicated host belongs to @@ -41,10 +45,6 @@ Parameters The zone name this dedicated host is in - name (False, str, None) - The name of the dedicated host - - 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_endpoint_gateway_targets_info.rst b/docs/ibm_is_endpoint_gateway_targets_info.rst index f8bf5ac8f..36c323dbe 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_floating_ip.rst b/docs/ibm_is_floating_ip.rst index 953e305d3..bd24337a4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +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 the floating IP - - target (False, str, None) Target info + tags (False, list, None) + Floating IP tags + + + name (True, str, None) + (Required for new resource) Name of the floating IP + + resource_group (False, str, None) Resource group info @@ -51,10 +55,6 @@ Parameters Zone name - tags (False, list, None) - Floating IP tags - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_floating_ip_info.rst b/docs/ibm_is_floating_ip_info.rst index a3b405924..2e6347a3b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_floating_ips_info.rst b/docs/ibm_is_floating_ips_info.rst index 17467c843..ef951fa82 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_flow_log.rst b/docs/ibm_is_flow_log.rst index 44fdb7d5b..a34a51834 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,32 +31,32 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - target (True, str, None) - (Required for new resource) The target id that the flow log collector is to collect flow logs + storage_bucket (True, str, None) + (Required for new resource) The Cloud Object Storage bucket name where the collected flows will be logged resource_group (False, str, None) The resource group of flow log - name (True, str, None) - (Required for new resource) Flow Log Collector name + active (False, bool, True) + Indicates whether this collector is active - storage_bucket (True, str, None) - (Required for new resource) The Cloud Object Storage bucket name where the collected flows will be logged + access_tags (False, list, None) + List of access management tags - tags (False, list, None) - Tags for the VPC Flow logs + name (True, str, None) + (Required for new resource) Flow Log Collector name - access_tags (False, list, None) - List of access management tags + target (True, str, None) + (Required for new resource) The target id that the flow log collector is to collect flow logs - active (False, bool, True) - Indicates whether this collector is active + tags (False, list, None) + Tags for the VPC Flow logs id (False, str, None) diff --git a/docs/ibm_is_flow_log_info.rst b/docs/ibm_is_flow_log_info.rst index 7916953a7..c21ef49f6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 a06a1599a..2bed67e95 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - vpc_crn (False, str, None) - The vpc CRN this flow log is in - - - name (False, str, None) - The name of the flow log - - target (False, str, None) The target id of the flow log @@ -57,6 +49,14 @@ Parameters The vpc name this flow log is in + vpc_crn (False, str, None) + The vpc CRN this flow log is in + + + name (False, str, None) + The name of the flow log + + 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_ike_policies_info.rst b/docs/ibm_is_ike_policies_info.rst index 6729e55f6..acb1d97ee 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_ike_policy.rst b/docs/ibm_is_ike_policy.rst index 849c2b5cb..221f73a64 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,8 +31,8 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - dh_group (True, int, None) - (Required for new resource) IKE DH group + name (True, str, None) + (Required for new resource) IKE name authentication_algorithm (True, str, None) @@ -43,20 +43,20 @@ Parameters (Required for new resource) Encryption alogorithm type - key_lifetime (False, int, 28800) - IKE Key lifetime + dh_group (True, int, None) + (Required for new resource) IKE DH group - ike_version (False, int, None) - IKE version + resource_group (False, str, None) + IKE resource group ID - name (True, str, None) - (Required for new resource) IKE name + key_lifetime (False, int, 28800) + IKE Key lifetime - resource_group (False, str, None) - IKE resource group ID + ike_version (False, int, None) + IKE version id (False, str, None) diff --git a/docs/ibm_is_ike_policy_info.rst b/docs/ibm_is_ike_policy_info.rst index b798782bd..414f74b9b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_image.rst b/docs/ibm_is_image.rst index 0422081c5..6da6cb0b0 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,40 +31,40 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - href (False, str, None) - Image Href value - - - name (True, str, None) - (Required for new resource) Image name + encryption_key (False, str, None) + The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource source_volume (False, str, None) Image volume id - operating_system (False, str, None) - Image Operating system + resource_group (False, str, None) + The resource group for this 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 - tags (False, list, None) - Tags for the image + operating_system (False, str, None) + Image Operating system + + + href (False, str, None) + Image Href value access_tags (False, list, None) List of access management tags - 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 - resource_group (False, str, None) - The resource group for this image + tags (False, list, None) + Tags for the image id (False, str, None) diff --git a/docs/ibm_is_image_info.rst b/docs/ibm_is_image_info.rst index daa2a380b..84b49dc84 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_images_info.rst b/docs/ibm_is_images_info.rst index 1143620ea..95bd48650 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 name of the image - - status (False, str, None) The status of the image @@ -49,6 +45,10 @@ Parameters 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 + + 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.rst b/docs/ibm_is_instance.rst index 4acc4844d..a73ba7926 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + image (False, str, None) + image id + + + 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. + + total_volume_bandwidth (False, int, None) The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes @@ -39,112 +47,104 @@ Parameters SSH key Ids for the instance - image (False, str, None) - image id + wait_before_delete (False, bool, True) + Enables stopping of instance before deleting and waits till deletion is complete - volumes (False, list, None) - List of volumes + dedicated_host_group (False, str, None) + Unique Identifier of the Dedicated Host Group where the instance will be placed - zone (False, str, None) - Zone name + boot_volume (False, list, None) + None - 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 - action (False, str, None) - Enables stopping of instance before deleting and waits till deletion is complete + dedicated_host (False, str, None) + Unique Identifier of the Dedicated Host where the instance will be placed - user_data (False, str, None) - User data given for the instance + tags (False, list, None) + list of tags for the 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. profile (False, str, None) Profile info - 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. + action (False, str, None) + Enables stopping of instance before deleting and waits till deletion is complete - 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 + metadata_service (False, list, None) + The metadata service configuration - vpc (False, str, None) - VPC id + zone (False, str, None) + Zone name - tags (False, list, None) - list of tags for the 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. - access_tags (False, list, None) - list of access tags for the instance + placement_group (False, str, None) + Unique Identifier of the Placement Group for restricting the placement of the 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. + user_data (False, str, None) + User data given for the instance - auto_delete_volume (False, bool, None) - Auto delete volume along with instance + primary_network_interface (False, list, None) + Primary Network interface info - 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 + resource_group (False, str, None) + Instance resource group name (True, str, None) (Required for new resource) Instance name - dedicated_host (False, str, None) - Unique Identifier of the Dedicated Host where the instance will be placed + vpc (False, str, None) + VPC id - placement_group (False, str, None) - Unique Identifier of the Placement Group for restricting the placement of the instance + instance_template (False, str, None) + Id of the instance template - 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. + access_tags (False, list, None) + list of access tags for the instance - primary_network_interface (False, list, None) - Primary Network interface info + 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. network_interfaces (False, list, None) None - boot_volume (False, list, None) - None - - - instance_template (False, str, None) - Id of the instance template - - - resource_group (False, str, None) - Instance resource group - - - metadata_service_enabled (False, bool, None) - Indicates whether the metadata service endpoint is available to the virtual server instance + force_recovery_time (False, int, None) + Define timeout to force the instances to start/stop in minutes. id (False, str, None) diff --git a/docs/ibm_is_instance_action.rst b/docs/ibm_is_instance_action.rst index 0758f11df..6ad4dca85 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 ad727f369..36017633a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_disk_management.rst b/docs/ibm_is_instance_disk_management.rst index 2c5b00fa9..66cf3aa1d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_disks_info.rst b/docs/ibm_is_instance_disks_info.rst index ec45259f8..fdc9260c7 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group.rst b/docs/ibm_is_instance_group.rst index fa677eb01..9910da953 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,44 +31,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) The user-defined name for this instance group - - - load_balancer (False, str, None) - load balancer ID + subnets (True, list, None) + (Required for new resource) list of subnet IDs load_balancer_pool (False, str, None) load balancer pool ID - tags (False, list, None) - List of tags for instance group + instance_template (True, str, None) + (Required for new resource) instance template 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. - access_tags (False, list, None) - List of access management tags + load_balancer (False, str, None) + load balancer ID - instance_template (True, str, None) - (Required for new resource) instance template ID + access_tags (False, list, None) + List of access management tags - instance_count (False, int, 0) - The number of instances in the instance group + name (True, str, None) + (Required for new resource) The user-defined name for this instance group resource_group (False, str, None) Resource group ID - subnets (True, list, None) - (Required for new resource) list of subnet IDs + tags (False, list, None) + List of tags for instance group + + + instance_count (False, int, 0) + The number of instances in the instance group id (False, str, None) diff --git a/docs/ibm_is_instance_group_info.rst b/docs/ibm_is_instance_group_info.rst index 75f55767f..ed47bb3e8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group_manager.rst b/docs/ibm_is_instance_group_manager.rst index e40b32655..483ecf95b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,14 +35,18 @@ Parameters The time window in seconds to aggregate metrics prior to evaluation - cooldown (False, int, 300) - The duration of time in seconds to pause further scale actions after scaling has taken place + max_membership_count (False, int, None) + The maximum number of members in a managed instance group min_membership_count (False, int, 1) The minimum number of members in a managed instance group + name (False, str, None) + instance group manager name + + instance_group (True, str, None) (Required for new resource) instance group ID @@ -51,18 +55,14 @@ Parameters The type of instance group manager. - max_membership_count (False, int, None) - The maximum number of members in a managed instance group - - - name (False, str, None) - instance group manager name - - enable_manager (False, bool, True) enable instance group manager + cooldown (False, int, 300) + The duration of time in seconds to pause further scale actions after scaling has taken place + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_instance_group_manager_action.rst b/docs/ibm_is_instance_group_manager_action.rst index b3e9aa6dd..f94df6ebd 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,34 +35,34 @@ Parameters The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min period. + membership_count (False, int, None) + The number of members the instance group should have at the scheduled time. + + 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. + 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 + target_manager (False, str, None) + The unique identifier for this instance group manager of type autoscale. - instance_group_manager (True, str, None) - (Required for new resource) Instance group manager ID of type scheduled + 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. + name (False, str, None) + instance group manager action name run_at (False, str, None) The date and time the scheduled action will run. - max_membership_count (False, int, None) - The maximum number of members in a managed instance group - - min_membership_count (False, int, 1) The minimum number of members in a managed instance group diff --git a/docs/ibm_is_instance_group_manager_action_info.rst b/docs/ibm_is_instance_group_manager_action_info.rst index e638355bd..6d90a5c0b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - instance_group_manager (True, str, None) - Instance group manager ID of type scheduled - - instance_group (True, str, None) instance group ID @@ -41,6 +37,10 @@ Parameters instance group manager action name + 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 fb2f96b34..73e3a1e21 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 374a2d3ff..4b9c8aec5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 d8fdfaae2..ed9d20eb4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 a2e38eb7b..d5652d923 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - metric_value (True, int, None) - (Required for new resource) The metric value to be evaluated - - policy_type (True, str, None) (Required for new resource) The type of Policy for the Instance Group @@ -55,6 +51,10 @@ Parameters (Required for new resource) The type of metric to be evaluated + metric_value (True, int, None) + (Required for new resource) The metric value to be evaluated + + 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 21a7f743e..5b81df96f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 8833cf754..2a393a146 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group_membership.rst b/docs/ibm_is_instance_group_membership.rst index 525f975a4..a7630f51c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_group_membership_info.rst b/docs/ibm_is_instance_group_membership_info.rst index 2513a5b0c..c9eaaff0a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 fa3f2fa2d..5dc2ce5e6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_groups_info.rst b/docs/ibm_is_instance_groups_info.rst index b1d1c3f9b..f04f0a74e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_info.rst b/docs/ibm_is_instance_info.rst index 8456be9ad..2dd49d783 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - Instance name - - private_key (False, str, None) Instance Private Key file @@ -41,6 +37,10 @@ Parameters Passphrase for Instance Private Key file + name (True, str, None) + 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.rst b/docs/ibm_is_instance_network_interface.rst index 2f18b8620..621577619 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,22 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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. - - - 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 - - subnet (True, str, None) (Required for new resource) The unique identifier of the subnet. + 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. + + 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. @@ -55,10 +47,18 @@ Parameters The ID of the floating IP to attach to this network interface + 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. + + instance (True, str, None) (Required for new resource) The unique identifier of the instance. + security_groups (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_instance_network_interface_floating_ip.rst b/docs/ibm_is_instance_network_interface_floating_ip.rst index f417e32ca..1eae293d5 100644 --- a/docs/ibm_is_instance_network_interface_floating_ip.rst +++ b/docs/ibm_is_instance_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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 + + network_interface (True, str, None) (Required for new resource) Instance network interface identifier @@ -39,10 +43,6 @@ Parameters (Required for new resource) The floating ip identifier of the network interface associated with the Instance - 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_network_interface_info.rst b/docs/ibm_is_instance_network_interface_info.rst index 08ddd9cba..1b20968ba 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 62accbcb6..22c71df8c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 27494ccf7..b95803235 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 5aa2ccc68..441d0e446 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_profile_info.rst b/docs/ibm_is_instance_profile_info.rst index c3f69ef8a..d9f90e486 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_profiles_info.rst b/docs/ibm_is_instance_profiles_info.rst index d806e6d8f..8eef757f9 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_template.rst b/docs/ibm_is_instance_template.rst index bf2295e39..9630aae51 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,88 +31,88 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - zone (True, str, None) - (Required for new resource) Zone name + total_volume_bandwidth (False, int, None) + The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes - profile (True, str, None) - (Required for new resource) Profile info + keys (True, list, None) + (Required for new resource) SSH key Ids for the instance template - total_volume_bandwidth (False, int, None) - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes + user_data (False, str, None) + User data given for the instance - dedicated_host (False, str, None) - Unique Identifier of the Dedicated Host where the instance will be placed + availability_policy_host_failure (False, str, None) + The availability policy to use for this virtual server instance - primary_network_interface (True, list, None) - (Required for new resource) Primary Network interface info + name (False, str, None) + Instance Template name - vpc (True, str, None) - (Required for new resource) VPC id + 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 + 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. - network_interfaces (False, list, None) - None + metadata_service (False, list, None) + The metadata service configuration - image (False, str, None) - image name + vpc (True, str, None) + (Required for new resource) VPC id - resource_group (False, str, None) - Instance template resource group + network_interfaces (False, list, None) + None - name (False, str, None) - Instance Template name + resource_group (False, str, None) + Instance template resource group - 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. + boot_volume (False, list, None) + None - 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. + profile (True, str, None) + (Required for new resource) Profile info - keys (True, list, None) - (Required for new resource) SSH key Ids for the instance template + dedicated_host (False, str, None) + Unique Identifier of the Dedicated Host where the instance will be placed dedicated_host_group (False, str, None) Unique Identifier of the Dedicated Host Group where the instance will be placed - volume_attachments (False, list, None) - None + 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 template. 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. + volume_attachments (False, list, None) + None - metadata_service_enabled (False, bool, False) - Indicates whether the metadata service endpoint is available to the 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. - user_data (False, str, None) - User data given for the instance + catalog_offering (False, list, None) + The catalog offering or offering version to use when provisioning this virtual server instance template. 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. - boot_volume (False, list, None) - None + primary_network_interface (True, list, None) + (Required for new resource) Primary Network interface info - availability_policy_host_failure (False, str, None) - The availability policy to use for this virtual server instance + image (False, str, None) + image name id (False, str, None) diff --git a/docs/ibm_is_instance_template_info.rst b/docs/ibm_is_instance_template_info.rst index d3aa4b765..b760c32d0 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_templates_info.rst b/docs/ibm_is_instance_templates_info.rst index 698deee6c..6de1a7ff8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instance_volume_attachment.rst b/docs/ibm_is_instance_volume_attachment.rst index 305622021..d121df583 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,40 +31,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + 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 + + 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. + volume_name (False, str, None) + The unique user-defined name for this volume - 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. + 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. - name (False, str, None) - The user-defined name for this volume attachment. + 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. - volume_name (False, str, None) - The unique user-defined name for this volume + delete_volume_on_instance_delete (False, bool, None) + If set to true, when deleting the instance the volume will also be deleted. - iops (False, int, None) - The maximum I/O operations per second (IOPS) for the volume. + 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. profile (False, str, None) The globally unique name for the volume profile to use for this volume. - 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. - - - snapshot (False, str, None) - The snapshot of the volume to be attached + name (False, str, None) + The user-defined name for this volume attachment. volume (False, str, None) @@ -75,10 +79,6 @@ Parameters UserTags for the volume instance - 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. - - 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 9b62a5914..6f0335412 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 febd6ce26..65cc7379b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_instances_info.rst b/docs/ibm_is_instances_info.rst index 167e39712..8e49d699d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,6 +29,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + instance_group (False, str, None) + Instance group ID to filter the instances attached to it + + + 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 + + resource_group (False, str, None) Instance resource group @@ -45,30 +57,18 @@ Parameters ID of the placement group to filter the instances attached to it - instance_group_name (False, str, None) - Instance group name to filter the instances attached to it + vpc (False, str, None) + VPC ID to filter the instances attached to it vpc_crn (False, str, None) VPC CRN to filter the instances attached to it - vpc (False, str, None) - VPC ID 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 - - - vpc_name (False, str, None) - Name of the vpc 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 99018c81c..9c59f5db3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_ipsec_policy.rst b/docs/ibm_is_ipsec_policy.rst index ba3229beb..13fa21299 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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) IPSEC name - - - pfs (True, str, None) - (Required for new resource) PFS info - - resource_group (False, str, None) Resource group info @@ -47,14 +39,22 @@ Parameters IPSEC key lifetime - authentication_algorithm (True, str, None) - (Required for new resource) Authentication alorothm + name (True, str, None) + (Required for new resource) IPSEC name encryption_algorithm (True, str, None) (Required for new resource) Encryption algorithm + authentication_algorithm (True, str, None) + (Required for new resource) Authentication alorothm + + + pfs (True, str, None) + (Required for new resource) PFS info + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_ipsec_policy_info.rst b/docs/ibm_is_ipsec_policy_info.rst index a9f6ececb..bbf3e0691 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb.rst b/docs/ibm_is_lb.rst index 4cf751bc4..5e1c09145 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,22 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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 - - 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) None @@ -55,20 +43,32 @@ Parameters Logging of Load Balancer + name (True, str, None) + (Required for new resource) Load Balancer name + + + access_tags (False, list, None) + List of access management tags + + resource_group (False, str, None) None - type (False, str, public) - Load Balancer type + profile (False, str, None) + The profile to use for this load balancer. - access_tags (False, list, None) - List of access management tags + route_mode (False, bool, False) + Indicates whether route mode is enabled for this load balancer - name (True, str, None) - (Required for new resource) Load Balancer name + type (False, str, public) + Load Balancer type + + + subnets (True, list, None) + (Required for new resource) Load Balancer subnets list id (False, str, None) diff --git a/docs/ibm_is_lb_info.rst b/docs/ibm_is_lb_info.rst index 8daea1a84..6c2090eca 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_listener.rst b/docs/ibm_is_lb_listener.rst index 8c13aaa27..aebda16f9 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,52 +31,52 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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 certificate_instance (False, str, None) certificate instance for the Loadbalancer - https_redirect_listener (False, str, None) - ID of the listener that will be set as http redirect target + lb (True, str, None) + (Required for new resource) Loadbalancer listener ID connection_limit (False, int, None) Connection limit for Loadbalancer - 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. + port (False, int, None) + Loadbalancer listener port - protocol (True, str, None) - (Required for new resource) Loadbalancer protocol + https_redirect_uri (False, str, None) + Target URI where traffic will be redirected + + + https_redirect_listener (False, str, None) + ID of the listener that will be set as http redirect target + + + 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. accept_proxy_protocol (False, bool, None) Listener will forward proxy protocol - https_redirect_uri (False, str, None) - Target URI where traffic will be redirected + https_redirect_status_code (False, int, None) + The HTTP status code to be returned in the redirect response default_pool (False, str, None) Loadbalancer default pool info - port (False, int, None) - Loadbalancer listener port - - - https_redirect_status_code (False, int, None) - The HTTP status code to be returned in the redirect response + 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 id (False, str, None) diff --git a/docs/ibm_is_lb_listener_info.rst b/docs/ibm_is_lb_listener_info.rst index c84bbeec2..eb79245ae 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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. - - listener_id (True, str, None) The listener 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_policies_info.rst b/docs/ibm_is_lb_listener_policies_info.rst index 9c94fbb4f..f9c5e79a6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - listener (True, str, None) - The listener identifier. - - lb (True, str, None) The load balancer identifier. + listener (True, str, None) + The listener 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.rst b/docs/ibm_is_lb_listener_policy.rst index e73f9653e..a0bdd4361 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,52 +31,52 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - lb (True, str, None) - (Required for new resource) Load Balancer Listener Policy - - - action (True, str, None) - (Required for new resource) Policy Action + priority (True, int, None) + (Required for new resource) Listener Policy Priority target_http_status_code (False, int, None) Listener Policy target HTTPS Status code. - listener (True, str, None) - (Required for new resource) Listener ID + 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 - name (False, str, None) - Policy name + target_https_redirect_uri (False, str, None) + Target URI where traffic will be redirected rules (False, list, None) Policy Rules + name (False, str, None) + Policy name + + target_url (False, str, None) Policy Target URL - target_https_redirect_uri (False, str, None) - Target URI where traffic will be redirected + action (True, str, None) + (Required for new resource) Policy Action - target_https_redirect_listener (False, str, None) - ID of the listener that will be set as http redirect target + listener (True, str, None) + (Required for new resource) Listener ID - target_id (False, str, None) - Listener Policy Target ID + target_https_redirect_status_code (False, int, None) + The HTTP status code to be returned in the redirect response 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 863cb0276..4b7a738ec 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - policy_id (True, str, None) - The policy identifier. - - lb (True, str, None) The load balancer identifier. @@ -41,6 +37,10 @@ Parameters The listener identifier. + policy_id (True, str, None) + The 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_listener_policy_rule.rst b/docs/ibm_is_lb_listener_policy_rule.rst index 902196fb0..d4e6c3dbe 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,12 +31,8 @@ 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 + lb (True, str, None) + (Required for new resource) Loadbalancer ID field (False, str, None) @@ -51,14 +47,18 @@ Parameters (Required for new resource) Listener Policy ID - lb (True, str, None) - (Required for new resource) Loadbalancer ID - - condition (True, str, None) (Required for new resource) Condition info of the rule. + type (True, str, None) + (Required for new resource) Policy rule type. + + + value (True, str, None) + (Required for new resource) policy rule value info + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_lb_listener_policy_rule_info.rst b/docs/ibm_is_lb_listener_policy_rule_info.rst index f1afd34b1..390c9df4b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - rule (True, str, None) - The rule identifier. - - lb (True, str, None) The load balancer identifier. + rule (True, str, None) + The rule identifier. + + listener (True, str, None) The listener identifier. diff --git a/docs/ibm_is_lb_listener_policy_rules_info.rst b/docs/ibm_is_lb_listener_policy_rules_info.rst index a7ef6daea..bef44ec4a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_listeners_info.rst b/docs/ibm_is_lb_listeners_info.rst index 307a996eb..a3eb60823 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_pool.rst b/docs/ibm_is_lb_pool.rst index 65af38c66..59cb7f8eb 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,12 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - proxy_protocol (False, str, None) - PROXY protocol setting for this pool + health_timeout (True, int, None) + (Required for new resource) Load Balancer health timeout interval - name (True, str, None) - (Required for new resource) Load Balancer Pool name + health_delay (True, int, None) + (Required for new resource) Load Blancer health delay time period + + + health_monitor_port (False, int, None) + Health monitor Port the LB Pool + + + lb (True, str, None) + (Required for new resource) Load Balancer ID algorithm (True, str, None) @@ -47,42 +55,34 @@ Parameters (Required for new resource) Load Balancer Protocol - 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 - session_persistence_app_cookie_name (False, str, None) - Load Balancer Pool session persisence app cookie name. + health_monitor_url (False, str, None) + Health monitor URL of LB Pool - lb (True, str, None) - (Required for new resource) Load Balancer ID + session_persistence_app_cookie_name (False, str, None) + Load Balancer Pool session persisence app cookie name. - health_monitor_url (False, str, None) - Health monitor URL of LB Pool + name (True, str, None) + (Required for new resource) Load Balancer Pool name - health_monitor_port (False, int, None) - Health monitor Port the LB Pool + session_persistence_type (False, str, None) + Load Balancer Pool session persisence type. - health_timeout (True, int, None) - (Required for new resource) Load Balancer health timeout interval + proxy_protocol (False, str, None) + PROXY protocol setting for this pool health_retries (True, int, None) (Required for new resource) Load Balancer health retry count - session_persistence_type (False, str, None) - Load Balancer Pool session persisence type. - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_lb_pool_info.rst b/docs/ibm_is_lb_pool_info.rst index 776efcd08..3d43de21e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 user-defined name for this load balancer pool. - - lb (True, str, None) The load balancer identifier. @@ -41,6 +37,10 @@ Parameters The pool identifier. + name (False, str, None) + The user-defined name for this load balancer pool. + + 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_pool_member.rst b/docs/ibm_is_lb_pool_member.rst index f3fcb37d3..f060a61a8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + target_id (False, str, None) + Load balancer pool member target id + + pool (True, str, None) (Required for new resource) Loadblancer Poold ID @@ -51,10 +55,6 @@ Parameters Load balcner pool member weight - target_id (False, str, None) - Load balancer pool member target id - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_lb_pool_member_info.rst b/docs/ibm_is_lb_pool_member_info.rst index 9456203df..79cb96a8a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 7697010e3..0b88f4717 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pool (True, str, None) - The pool identifier. - - lb (True, str, None) The load balancer identifier. + pool (True, str, None) + The pool 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_pools_info.rst b/docs/ibm_is_lb_pools_info.rst index 6af67515b..62d65324e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lb_profiles_info.rst b/docs/ibm_is_lb_profiles_info.rst index 0369cec7a..e5fe2bfaa 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_lbs_info.rst b/docs/ibm_is_lbs_info.rst index 9c2dfc220..31342b827 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_network_acl.rst b/docs/ibm_is_network_acl.rst index 6f29dbdd4..8a8ea1256 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,24 +35,24 @@ Parameters Network ACL name - rules (False, list, None) - None + resource_group (False, str, None) + Resource group ID for the network ACL - vpc (False, str, None) - Network ACL VPC name + access_tags (False, list, None) + List of access management tags - resource_group (False, str, None) - Resource group ID for the network ACL + vpc (False, str, None) + Network ACL VPC name tags (False, list, None) List of tags - access_tags (False, list, None) - List of access management tags + rules (False, list, None) + None id (False, str, None) diff --git a/docs/ibm_is_network_acl_info.rst b/docs/ibm_is_network_acl_info.rst index aae508bf2..b850dde02 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ 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. - - name (False, str, None) The network acl name. @@ -41,6 +37,10 @@ Parameters The network acl id. + 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 b5be05e1a..e2f9b6bff 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,44 +31,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - network_acl (True, str, None) - (Required for new resource) Network ACL id + 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. + action (True, str, None) + (Required for new resource) Whether to allow or deny matching traffic - tcp (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 + source (True, str, None) + (Required for new resource) The source CIDR block. The CIDR block 0.0.0.0/0 applies to all addresses. - direction (True, str, None) - (Required for new resource) Direction of traffic to enforce, either inbound or outbound + icmp (False, list, None) + None - udp (False, list, None) + tcp (False, list, None) None - 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 - icmp (False, list, None) - None + destination (True, str, None) + (Required for new resource) The destination CIDR block. The CIDR block 0.0.0.0/0 applies to all addresses. - before (False, str, None) - The rule that this rule is immediately before. If absent, this is the last rule. + udp (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. + direction (True, str, None) + (Required for new resource) Direction of traffic to enforce, either inbound or outbound 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 ee61a43dc..1bd554c06 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 c3b0370fd..d53c41aa3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - direction (False, str, None) - The direction of the rules to filter - - network_acl (True, str, None) Network ACL id + direction (False, str, None) + The direction of the rules to filter + + 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_acls_info.rst b/docs/ibm_is_network_acls_info.rst index a9a7352ff..a38236e68 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_operating_system_info.rst b/docs/ibm_is_operating_system_info.rst index 78acd9579..e7ffe23bd 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_operating_systems_info.rst b/docs/ibm_is_operating_systems_info.rst index a1018e93a..d1a0b0752 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_placement_group_info.rst b/docs/ibm_is_placement_group_info.rst index 701177880..4e6bc04c5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_placement_groups_info.rst b/docs/ibm_is_placement_groups_info.rst index 73e1f784c..bc73b98f9 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_public_gateway.rst b/docs/ibm_is_public_gateway.rst index 79c5b8f2b..9912cff65 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,30 +31,30 @@ 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 + zone (True, str, None) + (Required for new resource) Public gateway zone 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 - - - vpc (True, str, None) - (Required for new resource) Public gateway VPC info + tags (False, list, None) + Service tags for the public gateway instance floating_ip (False, dict, None) None + vpc (True, str, None) + (Required for new resource) Public gateway VPC info + + access_tags (False, list, None) List of access management tags diff --git a/docs/ibm_is_public_gateway_info.rst b/docs/ibm_is_public_gateway_info.rst index caebeeb0f..69840affc 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_public_gateways_info.rst b/docs/ibm_is_public_gateways_info.rst index 2abf04363..1d73e6189 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_region_info.rst b/docs/ibm_is_region_info.rst index 662ffb780..74964eb63 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_regions_info.rst b/docs/ibm_is_regions_info.rst index ceb5b89cd..e233c0d21 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_security_group.rst b/docs/ibm_is_security_group.rst index e8278347b..0a389631d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,6 +35,10 @@ Parameters Resource Group ID + name (False, str, None) + Security group name + + vpc (True, str, None) (Required for new resource) Security group's resource group id @@ -47,10 +51,6 @@ Parameters List of access management tags - name (False, str, None) - Security group name - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_security_group_info.rst b/docs/ibm_is_security_group_info.rst index db2401873..ae84685f5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 4ab800b72..4584a5053 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_security_group_rule_info.rst b/docs/ibm_is_security_group_rule_info.rst index a55b92087..28a4de01d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 43a0c015f..017f24760 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_security_group_target.rst b/docs/ibm_is_security_group_target.rst index 5fe9646f9..bf0bc1444 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_security_group_target_info.rst b/docs/ibm_is_security_group_target_info.rst index a05a1535e..0d583f714 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - security_group (True, str, None) - Security group id - - name (True, str, None) Security group target name + security_group (True, str, None) + Security 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_security_group_targets_info.rst b/docs/ibm_is_security_group_targets_info.rst index 2fdc1437e..f14c9a657 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_security_groups_info.rst b/docs/ibm_is_security_groups_info.rst index 5110fecd1..bc4f35675 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_snapshot.rst b/docs/ibm_is_snapshot.rst index 9184642b6..ed06b102c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,26 +31,30 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - source_volume (True, str, None) - (Required for new resource) Snapshot source volume + resource_group (False, str, None) + Resource group info name (False, str, None) Snapshot name - resource_group (False, str, None) - Resource group info - - - access_tags (False, list, None) - List of access management tags + source_volume (True, str, None) + (Required for new resource) Snapshot source volume tags (False, list, None) User Tags for the snapshot + clones (False, list, None) + Zones for creating the snapshot clone + + + access_tags (False, list, None) + List of access management tags + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_snapshot_clone_info.rst b/docs/ibm_is_snapshot_clone_info.rst new file mode 100644 index 000000000..d5167ad5b --- /dev/null +++ b/docs/ibm_is_snapshot_clone_info.rst @@ -0,0 +1,67 @@ + +ibm_is_snapshot_clone_info -- Retrieve IBM Cloud 'ibm_is_snapshot_clone' resource +================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_is_snapshot_clone' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/is_snapshot_clone + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + snapshot (True, str, None) + None + + + zone (True, str, None) + The zone this snapshot clone 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'. + + + region (False, str, 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_is_snapshot_clones_info.rst b/docs/ibm_is_snapshot_clones_info.rst new file mode 100644 index 000000000..9c855c7cf --- /dev/null +++ b/docs/ibm_is_snapshot_clones_info.rst @@ -0,0 +1,63 @@ + +ibm_is_snapshot_clones_info -- Retrieve IBM Cloud 'ibm_is_snapshot_clones' resource +=================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_is_snapshot_clones' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/is_snapshot_clones + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + snapshot (True, str, None) + None + + + 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'. + + + region (False, str, 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_is_snapshot_info.rst b/docs/ibm_is_snapshot_info.rst index bb38a2e3b..22887727b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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) - Snapshot identifier - - name (False, str, None) Snapshot name + identifier (False, str, None) + Snapshot 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_snapshots_info.rst b/docs/ibm_is_snapshots_info.rst index 4a6b3d509..cb3d5a781 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_ssh_key.rst b/docs/ibm_is_ssh_key.rst index ec6614fdd..361f5fcf3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,8 +35,8 @@ Parameters (Required for new resource) SSH Key name - public_key (True, str, None) - (Required for new resource) SSH Public key data + resource_group (False, str, None) + Resource group ID tags (False, list, None) @@ -47,8 +47,8 @@ Parameters List of access management tags for SSH key - resource_group (False, str, None) - Resource group ID + public_key (True, str, None) + (Required for new resource) SSH Public key data id (False, str, None) diff --git a/docs/ibm_is_ssh_key_info.rst b/docs/ibm_is_ssh_key_info.rst index d51889317..a21fe9963 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 281d930da..f45ba5196 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_subnet.rst b/docs/ibm_is_subnet.rst index def7b6beb..e77e3be39 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + network_acl (False, str, None) + The network ACL for this subnet + + + public_gateway (False, str, None) + Public Gateway of the subnet + + vpc (True, str, None) (Required for new resource) VPC instance ID @@ -47,38 +55,30 @@ Parameters The IP version(s) to support for this subnet. - name (True, str, None) - (Required for new resource) Subnet name + routing_table (False, str, None) + routing table id that is associated with the subnet - tags (False, list, None) - List of tags + total_ipv4_address_count (False, int, None) + The total number of IPv4 addresses in this subnet. - public_gateway (False, str, None) - Public Gateway of the subnet + name (True, str, None) + (Required for new resource) Subnet name - 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 - network_acl (False, str, None) - The network ACL for this subnet - - zone (True, str, None) (Required for new resource) Subnet zone info - routing_table (False, str, None) - routing table id that is associated with the 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 a3b96f4d4..2a3880762 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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_subnet_network_acl_attachment.rst b/docs/ibm_is_subnet_network_acl_attachment.rst index 68c2008c3..36ec8a7fe 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 380221281..cfe51da3c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_subnet_reserved_ip.rst b/docs/ibm_is_subnet_reserved_ip.rst index 82596c75d..4aa89d4dc 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - target (False, str, None) - The unique identifier for target. - - - address (False, str, None) - The address for this reserved IP. - - subnet (True, str, None) (Required for new resource) The subnet identifier. @@ -51,6 +43,14 @@ Parameters The user-defined or system-provided name for this reserved IP. + target (False, str, None) + The unique identifier for target. + + + address (False, str, None) + The address for this reserved IP. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_subnet_reserved_ip_info.rst b/docs/ibm_is_subnet_reserved_ip_info.rst index 8e6b67314..c44069b4d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - reserved_ip (True, str, None) - The reserved IP identifier. - - subnet (True, str, None) The subnet identifier. + reserved_ip (True, str, None) + The reserved IP 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 e36a15d89..ed5c60a34 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 1892f22c5..4682274dd 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - subnet (True, str, None) - (Required for new resource) The subnet identifier - - routing_table (True, str, None) (Required for new resource) The unique identifier of routing table + subnet (True, str, None) + (Required for new resource) The subnet identifier + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_subnets_info.rst b/docs/ibm_is_subnets_info.rst index d45a1cb89..ec8d2184f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,6 +29,10 @@ 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 @@ -37,10 +41,6 @@ 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 07c1f3202..97cf35bbb 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,38 +31,38 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - security_groups (False, list, None) - Endpoint gateway securitygroups list - - - ips (False, list, None) - Endpoint gateway IPs + resource_group (False, str, None) + The resource group id vpc (True, str, None) (Required for new resource) The VPC id + tags (False, list, None) + List of tags for VPE + + + access_tags (False, list, None) + List of access management tags + + 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 - access_tags (False, list, None) - List of access management tags + ips (False, list, None) + Endpoint gateway IPs target (True, list, None) (Required for new resource) Endpoint gateway target - tags (False, list, None) - List of tags for VPE - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_virtual_endpoint_gateway_info.rst b/docs/ibm_is_virtual_endpoint_gateway_info.rst index 5fc0b145a..806f3bb86 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 ef4515013..b803428b4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_virtual_endpoint_gateway_ips_info.rst b/docs/ibm_is_virtual_endpoint_gateway_ips_info.rst index 4fafafeef..6d19dbb50 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 4ce8f3530..d8a8c879e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_volume.rst b/docs/ibm_is_volume.rst index f8598413c..ddfe2bbc0 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,16 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - encryption_key (False, str, None) - Volume encryption key info + profile (True, str, None) + (Required for new resource) Volume profile name - capacity (False, int, None) - Volume capacity value + delete_all_snapshots (False, bool, None) + Deletes all snapshots created from this volume - resource_group (False, str, None) - Resource group name + iops (False, int, None) + IOPS value for the Volume + + + tags (False, list, None) + UserTags for the volume instance name (True, str, None) @@ -51,24 +55,20 @@ Parameters (Required for new resource) Zone name - iops (False, int, None) - IOPS value for the Volume - - - delete_all_snapshots (False, bool, None) - Deletes all snapshots created from this volume - - - profile (True, str, None) - (Required for new resource) Volume profile name + encryption_key (False, str, None) + Volume encryption key info source_snapshot (False, str, None) The unique identifier for this snapshot - tags (False, list, None) - UserTags for the volume instance + resource_group (False, str, None) + Resource group name + + + capacity (False, int, None) + Volume capacity value access_tags (False, list, None) diff --git a/docs/ibm_is_volume_info.rst b/docs/ibm_is_volume_info.rst index 5199655f1..914d9768f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_volume_profile_info.rst b/docs/ibm_is_volume_profile_info.rst index c6ec93743..3e1fcc898 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_volume_profiles_info.rst b/docs/ibm_is_volume_profiles_info.rst index 2f6358724..e69e829bc 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_volumes_info.rst b/docs/ibm_is_volumes_info.rst index 7ed4e785b..b05e8d828 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpc.rst b/docs/ibm_is_vpc.rst index 99eba2e49..630da4fee 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,24 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - address_prefix_management (False, str, auto) - Address Prefix management value - - - default_network_acl_name (False, str, None) - Default Network ACL name + tags (False, list, None) + List of tags - default_security_group_name (False, str, None) - Default security group name + classic_access (False, bool, False) + Set to true if classic access needs to enabled to VPC resource_group (False, str, None) Resource group info - classic_access (False, bool, False) - Set to true if classic access needs to enabled to VPC + address_prefix_management (False, str, auto) + Address Prefix management value default_routing_table_name (False, str, None) @@ -63,8 +59,12 @@ Parameters (Required for new resource) VPC name - tags (False, list, None) - List of tags + default_network_acl_name (False, str, None) + Default Network ACL name + + + default_security_group_name (False, str, None) + Default security group name id (False, str, None) diff --git a/docs/ibm_is_vpc_address_prefix.rst b/docs/ibm_is_vpc_address_prefix.rst index a52031ff0..abc03931b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 + + zone (True, str, None) (Required for new resource) Zone name @@ -47,10 +51,6 @@ Parameters (Required for new resource) VPC id - name (True, str, None) - (Required for new resource) Name - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_is_vpc_address_prefix_info.rst b/docs/ibm_is_vpc_address_prefix_info.rst index 99b58404e..4bf1cd881 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -37,14 +37,14 @@ Parameters The address prefix identifier. - address_prefix_name (False, str, None) - The address prefix name. - - 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 d3097dc8a..86672399b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 86ca7192c..02eaff6a6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpc_info.rst b/docs/ibm_is_vpc_info.rst index f7e9b7e51..3e3fef2c3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 a53522daa..b6872b222 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 b9bd73667..8f434605e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + name (False, str, None) + The user-defined name for this routing table. + + vpc (True, str, None) The VPC identifier. @@ -37,10 +41,6 @@ Parameters The routing table identifier. - name (False, str, None) - The user-defined name for this routing table. - - 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 8f2bdb0ee..9d891a74d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,22 +31,10 @@ 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) (Required for new resource) The routing table identifier. - vpc (True, str, None) - (Required for new resource) The VPC identifier. - - - destination (True, str, None) - (Required for new resource) The destination of 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. @@ -55,6 +43,18 @@ Parameters 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. + + + destination (True, str, None) + (Required for new resource) The destination of the route. + + zone (True, str, None) (Required for new resource) The zone to apply the route to. Traffic from subnets in this zone will be subject to this route. diff --git a/docs/ibm_is_vpc_routing_table_route_info.rst b/docs/ibm_is_vpc_routing_table_route_info.rst index 4b35eae0d..50e106c85 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpc_routing_table_routes_info.rst b/docs/ibm_is_vpc_routing_table_routes_info.rst index 1ccaaf3ff..bb88545ca 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 9f6da8a4f..94b4282d7 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpcs_info.rst b/docs/ibm_is_vpcs_info.rst index fbf365dea..2a5b830f0 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - classic_access (False, bool, None) - Filters the collection to VPCs with the specified classic_access value - - resource_group (False, str, None) The unique identifier of the resource group this vpc belongs to + classic_access (False, bool, None) + Filters the collection to VPCs with the specified classic_access 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_vpn_gateway.rst b/docs/ibm_is_vpn_gateway.rst index 6ddf5980a..d647689cf 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,28 +31,28 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) VPN Gateway instance name + tags (False, list, None) + VPN Gateway tags list - access_tags (False, list, None) - List of access management tags + 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 - tags (False, list, None) - VPN Gateway tags list + access_tags (False, list, None) + List of access management tags - mode (False, str, route) - mode in VPN gateway(route/policy) + resource_group (False, str, None) + The resource group for this VPN gateway id (False, str, None) diff --git a/docs/ibm_is_vpn_gateway_connection.rst b/docs/ibm_is_vpn_gateway_connection.rst index ccfa0141b..f194f2853 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,52 +31,52 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - local_cidrs (False, list, None) - VPN gateway connection local CIDRs + action (False, str, restart) + Action detection for dead peer detection action - peer_cidrs (False, list, None) - VPN gateway connection peer CIDRs + timeout (False, int, 10) + Timeout for dead peer detection - peer_address (True, str, None) - (Required for new resource) VPN gateway connection peer address + ipsec_policy (False, str, None) + IP security policy for vpn gateway connection - name (True, str, None) - (Required for new resource) VPN Gateway connection name + peer_cidrs (False, list, None) + VPN gateway connection peer CIDRs preshared_key (True, str, None) (Required for new resource) vpn gateway - interval (False, int, 2) - Interval for dead peer detection interval + admin_state_up (False, bool, False) + VPN gateway connection admin state - timeout (False, int, 10) - Timeout for dead peer detection + interval (False, int, 2) + Interval for dead peer detection interval - ipsec_policy (False, str, None) - IP security policy for vpn gateway connection + vpn_gateway (True, str, None) + (Required for new resource) VPN Gateway info - ike_policy (False, str, None) - VPN gateway connection IKE Policy + local_cidrs (False, list, None) + VPN gateway connection local CIDRs - vpn_gateway (True, str, None) - (Required for new resource) VPN Gateway info + name (True, str, None) + (Required for new resource) VPN Gateway connection name - admin_state_up (False, bool, False) - VPN gateway connection admin state + ike_policy (False, str, None) + VPN gateway connection IKE Policy - action (False, str, restart) - Action detection for dead peer detection action + peer_address (True, str, None) + (Required for new resource) VPN gateway connection peer address 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 d74ad9fdb..291b300e8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - vpn_gateway (False, str, None) - The VPN gateway identifier. - - vpn_gateway_connection (False, str, None) The VPN gateway connection identifier. @@ -41,6 +37,10 @@ Parameters The VPN gateway connection name. + vpn_gateway (False, str, None) + The VPN gateway identifier. + + vpn_gateway_name (False, str, None) The VPN gateway name. diff --git a/docs/ibm_is_vpn_gateway_connections_info.rst b/docs/ibm_is_vpn_gateway_connections_info.rst index 70274045f..1e46203b3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_gateway_info.rst b/docs/ibm_is_vpn_gateway_info.rst index 25c26f930..84b73ccbd 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - vpn_gateway (False, str, None) - The VPN gateway identifier. - - vpn_gateway_name (False, str, None) The VPN gateway name. + vpn_gateway (False, str, None) + The VPN gateway 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_vpn_gateways_info.rst b/docs/ibm_is_vpn_gateways_info.rst index 4ea3e80a4..3a1b672f5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_group (False, str, None) - The unique identifier of the resource group this vpn gateway belongs to - - mode (False, str, None) The mode of this vpn gateway. + resource_group (False, str, None) + The unique identifier of the resource group this vpn gateway 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_vpn_server_client.rst b/docs/ibm_is_vpn_server_client.rst index b7ac0862d..612c4d6a5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 1f00cd53e..9b8f8cbca 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 436dd1ff9..a3847bc3d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - identifier (True, str, None) - The VPN client identifier. - - vpn_server (True, str, None) The VPN server identifier. + identifier (True, str, None) + The VPN client 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_vpn_server_clients_info.rst b/docs/ibm_is_vpn_server_clients_info.rst index d80c7a52b..350a69a6a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_server_info.rst b/docs/ibm_is_vpn_server_info.rst index 882c9b10d..6eb882c2c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_server_route_info.rst b/docs/ibm_is_vpn_server_route_info.rst index a5f74572d..d44f9c989 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_server_routes_info.rst b/docs/ibm_is_vpn_server_routes_info.rst index 5a03a31d2..7f6d1a75f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_vpn_servers_info.rst b/docs/ibm_is_vpn_servers_info.rst index 4b0365906..67aeaecc9 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_zone_info.rst b/docs/ibm_is_zone_info.rst index 7dc6a66e2..63a781af0 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_is_zones_info.rst b/docs/ibm_is_zones_info.rst index 117074367..3daa3dd28 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_kms_instance_policies.rst b/docs/ibm_kms_instance_policies.rst index 370973497..2ac1306ed 100644 --- a/docs/ibm_kms_instance_policies.rst +++ b/docs/ibm_kms_instance_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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_kms_instance_policies_info.rst b/docs/ibm_kms_instance_policies_info.rst index 0362d5e6a..656af228e 100644 --- a/docs/ibm_kms_instance_policies_info.rst +++ b/docs/ibm_kms_instance_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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_kms_key.rst b/docs/ibm_kms_key.rst index d875eb018..f0d497f39 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,44 +31,44 @@ 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 or CRN + key_name (True, str, None) + (Required for new resource) Key name - key_ring_id (False, str, default) - Key Ring for the Key + standard_key (False, bool, False) + Standard key type - key_name (True, str, None) - (Required for new resource) Key name + payload (False, str, None) + None - endpoint_type (False, str, None) - public or private + encrypted_nonce (False, str, None) + Only for imported root key force_delete (False, bool, False) set to true to force delete the key - iv_value (False, str, None) - 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 - standard_key (False, bool, False) - Standard key type + endpoint_type (False, str, None) + public or private - payload (False, str, None) - None + instance_id (True, str, None) + (Required for new resource) Key protect or hpcs instance GUID or CRN - encrypted_nonce (False, str, None) + iv_value (False, str, None) 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 + key_ring_id (False, str, default) + Key Ring for the Key id (False, str, None) diff --git a/docs/ibm_kms_key_alias.rst b/docs/ibm_kms_key_alias.rst index 5eac0b0e1..8bfca8531 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ 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 + + key_id (False, str, None) Key ID @@ -43,14 +51,6 @@ Parameters public or private - 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 - - 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 cbfaf1a8c..ce92485be 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - limit (False, int, None) - Limit till the keys to be fetched - - key_id (False, str, None) None @@ -53,6 +49,10 @@ Parameters Key protect or hpcs instance GUID + limit (False, int, None) + Limit till the keys to be fetched + + 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 2e54f893a..bada7afa5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,18 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - alias (False, str, None) - None - - - key_id (False, str, None) - Key ID - - - endpoint_type (False, str, public) - public or private - - rotation (False, list, None) Specifies the key rotation time interval in months, with a minimum of 1, and a maximum of 12 @@ -55,6 +43,18 @@ Parameters (Required for new resource) Key protect or hpcs instance GUID + key_id (False, str, None) + Key ID + + + alias (False, str, None) + None + + + endpoint_type (False, str, public) + public or private + + 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 b938250cc..c792068e0 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +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 - - endpoint_type (False, str, public) public or private @@ -45,6 +41,10 @@ Parameters Alias of the Key + 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_key_rings.rst b/docs/ibm_kms_key_rings.rst index bf757da80..50d534a87 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_kms_key_rings_info.rst b/docs/ibm_kms_key_rings_info.rst index 21aa2e032..23e2b9c2e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_kms_key_with_policy_overrides.rst b/docs/ibm_kms_key_with_policy_overrides.rst index 7bbd214aa..58350e3b9 100644 --- a/docs/ibm_kms_key_with_policy_overrides.rst +++ b/docs/ibm_kms_key_with_policy_overrides.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,51 +31,51 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - iv_value (False, str, None) - Only for imported root key + dual_auth_delete (False, list, None) + Data associated with the dual authorization delete policy. - rotation (False, list, None) - Data associated with the key rotation policy + instance_id (True, str, None) + (Required for new resource) Key protect or HPCS instance GUID or CRN endpoint_type (False, str, None) Public or Private - key_name (True, str, None) - (Required for new resource) Key name + rotation (False, list, None) + Data associated with the key rotation policy - standard_key (False, bool, False) - Standard key type + key_ring_id (False, str, default) + Key Ring for the Key - dual_auth_delete (False, list, None) - Data associated with the dual authorization delete policy. + force_delete (False, bool, False) + 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 + standard_key (False, bool, False) + Standard key type payload (False, str, None) None - 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 + encrypted_nonce (False, str, None) + Only for imported root key - force_delete (False, bool, False) - set to true to force delete the 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 - key_ring_id (False, str, default) - Key Ring for the Key + key_name (True, str, None) + (Required for new resource) Key name - encrypted_nonce (False, str, None) + iv_value (False, str, None) Only for imported root key diff --git a/docs/ibm_kms_keys_info.rst b/docs/ibm_kms_keys_info.rst index e20d88198..d7346ecc3 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +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 - - key_name (False, str, None) The name of the key to be fetched @@ -53,6 +49,10 @@ Parameters 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 3c6d36928..21b42af76 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,31 +31,31 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - encrypted_nonce (False, str, None) + 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 - - standard_key (False, bool, False) Standard key type + key_name (True, str, None) + (Required for new resource) Key name + + force_delete (False, bool, False) set to true to force delete the key - iv_value (False, str, None) + payload (False, str, None) + None + + + encrypted_nonce (False, str, None) Only for imported root key diff --git a/docs/ibm_kp_key_info.rst b/docs/ibm_kp_key_info.rst index 62452fa76..30b51c5d2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_lb.rst b/docs/ibm_lb.rst index 116b5c4f6..8cf7e6a24 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,12 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - datacenter (True, str, None) - (Required for new resource) Datacenter name info + security_certificate_id (False, int, None) + Security certificate ID - ha_enabled (False, bool, False) - true if High availability is enabled + dedicated (False, bool, False) + Boolena value true if Load balncer is dedicated type ssl_offload (False, bool, False) @@ -47,12 +47,12 @@ Parameters (Required for new resource) Connections value - security_certificate_id (False, int, None) - Security certificate ID + datacenter (True, str, None) + (Required for new resource) Datacenter name info - dedicated (False, bool, False) - Boolena value true if Load balncer is dedicated type + ha_enabled (False, bool, False) + true if High availability is enabled tags (False, list, None) diff --git a/docs/ibm_lb_service.rst b/docs/ibm_lb_service.rst index f09475345..eae675abd 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - service_group_id (True, int, None) - (Required for new resource) service group ID - - ip_address_id (True, int, None) (Required for new resource) IP Address ID @@ -59,6 +55,10 @@ Parameters Tags for the resource + service_group_id (True, int, None) + (Required for new resource) service group ID + + 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 96dc3104b..2240adab6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,34 +31,34 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + tags (False, list, None) + List of tags + + allocation (True, int, None) (Required for new resource) Allocation type - routing_method (True, str, None) - (Required for new resource) Routing method + port (True, int, None) + (Required for new resource) Port number - routing_type (True, str, None) - (Required for new resource) Routing type + routing_method (True, str, None) + (Required for new resource) Routing method load_balancer_id (True, int, None) (Required for new resource) Loadbalancer ID - port (True, int, None) - (Required for new resource) Port number + routing_type (True, str, None) + (Required for new resource) Routing type timeout (False, int, None) Timeout value - 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_lb_vpx.rst b/docs/ibm_lb_vpx.rst index 96cc42623..d4fe1078d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,44 +31,44 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - datacenter (True, str, None) - (Required for new resource) Datacenter name - - - speed (True, int, None) - (Required for new resource) Speed value - - - version (True, str, None) - (Required for new resource) version info + plan (True, str, None) + (Required for new resource) Plan info private_vlan_id (False, int, None) Private VLAN id - ip_count (True, int, None) - (Required for new resource) IP address count + datacenter (True, str, None) + (Required for new resource) Datacenter name - public_subnet (False, str, None) - Public subnet + ip_count (True, int, None) + (Required for new resource) IP address count public_vlan_id (False, int, None) Piblic VLAN id - private_subnet (False, str, None) - Private subnet - - tags (False, list, None) List of the tags - plan (True, str, None) - (Required for new resource) Plan info + speed (True, int, None) + (Required for new resource) Speed value + + + version (True, str, None) + (Required for new resource) version info + + + public_subnet (False, str, None) + Public subnet + + + private_subnet (False, str, None) + Private subnet id (False, str, None) diff --git a/docs/ibm_lb_vpx_ha.rst b/docs/ibm_lb_vpx_ha.rst index 5873dd890..ad03107c4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 b87b97b71..f44dddffb 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,20 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - destination_ip_address (True, str, None) - (Required for new resource) Destination IP Address - - - weight (True, int, None) - (Required for new resource) Weight value - - - health_check (True, str, None) - (Required for new resource) Health check info + destination_port (True, int, None) + (Required for new resource) Destination Port number - usip (False, str, False) - usip info + connection_limit (True, int, None) + (Required for new resource) Number of connections limit tags (False, list, None) @@ -59,12 +51,20 @@ Parameters (Required for new resource) name - destination_port (True, int, None) - (Required for new resource) Destination Port number + destination_ip_address (True, str, None) + (Required for new resource) Destination IP Address - connection_limit (True, int, None) - (Required for new resource) Number of connections limit + weight (True, int, None) + (Required for new resource) Weight value + + + health_check (True, str, None) + (Required for new resource) Health check info + + + usip (False, str, False) + usip info id (False, str, None) diff --git a/docs/ibm_lb_vpx_vip.rst b/docs/ibm_lb_vpx_vip.rst index 84ac2d433..a751814f9 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - security_certificate_id (False, int, None) - security certificate ID - - - virtual_ip_address (True, str, None) - (Required for new resource) Virtual IP address - - nad_controller_id (True, int, None) (Required for new resource) NAD controller ID @@ -51,20 +43,28 @@ Parameters (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 + tags (False, list, None) + List of tags + + persistence (False, str, None) Persistance value - tags (False, list, None) - List of tags + source_port (True, int, None) + (Required for new resource) Source Port number + + + security_certificate_id (False, int, None) + security certificate ID + + + virtual_ip_address (True, str, None) + (Required for new resource) Virtual IP address id (False, str, None) diff --git a/docs/ibm_lbaas.rst b/docs/ibm_lbaas.rst index eeacb9b64..638708ac4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,32 +31,32 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - type (False, str, PUBLIC) - Specifies if a load balancer is public or private + protocols (False, list, None) + Protocols to be assigned to this load balancer. - use_system_public_ip_pool (False, bool, None) - in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet. + wait_time_minutes (False, int, 90) + None - description (False, str, None) - Description of a load balancer. + name (True, str, None) + (Required for new resource) The load balancer's name. - wait_time_minutes (False, int, 90) - None + type (False, str, PUBLIC) + Specifies if a load balancer is public or private - protocols (False, list, None) - Protocols to be assigned to this load balancer. + use_system_public_ip_pool (False, bool, None) + in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet. ssl_ciphers (False, list, None) None - name (True, str, None) - (Required for new resource) The load balancer's name. + description (False, str, None) + Description of a load balancer. subnets (True, list, None) diff --git a/docs/ibm_lbaas_health_monitor.rst b/docs/ibm_lbaas_health_monitor.rst index 83612fee4..a4c0d4f4a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + timeout (False, int, 2) + Timeout in seconds + + + url_path (False, str, /) + URL Path + + monitor_id (True, str, None) (Required for new resource) Monitor ID @@ -55,14 +63,6 @@ Parameters Maximum retry counts - timeout (False, int, 2) - Timeout in seconds - - - url_path (False, str, /) - URL Path - - 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 81caf207c..3c0fa835f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_lbaas_server_instance_attachment.rst b/docs/ibm_lbaas_server_instance_attachment.rst index c66ba3ae6..1c8b36d95 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_multi_vlan_firewall.rst b/docs/ibm_multi_vlan_firewall.rst index 29e6f67c4..da2749807 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,18 @@ 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 + firewall_type (True, str, None) + (Required for new resource) Firewall type + + name (True, str, None) (Required for new resource) name @@ -43,14 +51,6 @@ Parameters High Availability - [Web Filtering Add-on, NGFW Add-on, AV Add-on] or [Web Filtering Add-on, NGFW Add-on, AV Add-on] - datacenter (True, str, None) - (Required for new resource) Datacenter 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 ea186410a..e013de7f2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,6 +35,10 @@ Parameters (Required for new resource) The hardware members of this network Gateway + name (True, str, None) + (Required for new resource) The name of the gateway + + ssh_key_ids (False, list, None) None @@ -43,10 +47,6 @@ Parameters None - name (True, str, None) - (Required for new resource) The name of the gateway - - 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 5989d6d4c..3e5c278f8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_network_interface_sg_attachment.rst b/docs/ibm_network_interface_sg_attachment.rst index f61d7b23d..1b4e69d24 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_network_public_ip.rst b/docs/ibm_network_public_ip.rst index 19a107040..80f98f47e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_network_vlan.rst b/docs/ibm_network_vlan.rst index 2b9669f2e..7615a3535 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,24 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - type (True, str, None) - (Required for new resource) VLAN type + datacenter (True, str, None) + (Required for new resource) Datacenter name - tags (False, list, None) - List of tags + type (True, str, None) + (Required for new resource) VLAN type - datacenter (True, str, None) - (Required for new resource) Datacenter name + router_hostname (False, str, None) + router host name name (False, str, None) VLAN name - router_hostname (False, str, None) - router host name + tags (False, list, None) + List of tags id (False, str, None) diff --git a/docs/ibm_network_vlan_info.rst b/docs/ibm_network_vlan_info.rst index 3bdaae4f2..6c80d435f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,15 +29,15 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - number (False, int, None) + router_hostname (False, str, None) None - router_hostname (False, str, None) + name (False, str, None) None - name (False, str, None) + number (False, int, None) None diff --git a/docs/ibm_network_vlan_spanning.rst b/docs/ibm_network_vlan_spanning.rst index 1709a50d2..bd89de65c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_ob_logging.rst b/docs/ibm_ob_logging.rst index 082af7838..9b9d180da 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - logdna_ingestion_key (False, str, None) - LogDNA ingestion key - - private_endpoint (False, bool, None) Add this option to connect to your LogDNA service instance through the private service endpoint @@ -47,6 +43,10 @@ Parameters (Required for new resource) ID of the LogDNA service instance to latch + logdna_ingestion_key (False, str, None) + LogDNA ingestion key + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_ob_monitoring.rst b/docs/ibm_ob_monitoring.rst index 25432b0ec..f1d5cd3ae 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_object_storage_account.rst b/docs/ibm_object_storage_account.rst index c3e65059c..11b185717 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_org.rst b/docs/ibm_org.rst index a1fef35d5..0ca4f4731 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - billing_managers (False, list, None) - 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 @@ -59,6 +55,10 @@ Parameters Org quota guid + billing_managers (False, list, None) + The IBMID of the users who will have billing manager 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 5c8659714..6f200fec6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_org_quota_info.rst b/docs/ibm_org_quota_info.rst index 51e38d816..01e6af05b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_catalog_images_info.rst b/docs/ibm_pi_catalog_images_info.rst index 09d878d79..e3e4111e1 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,15 +29,15 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - vtl (False, bool, None) + sap (False, bool, None) None - pi_cloud_instance_id (True, str, None) + vtl (False, bool, None) None - sap (False, bool, None) + pi_cloud_instance_id (True, str, None) None diff --git a/docs/ibm_pi_cloud_connection.rst b/docs/ibm_pi_cloud_connection.rst index f2a6dc183..c351b7b2f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,52 +31,52 @@ 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_cloud_connection_name (True, str, None) + (Required for new resource) Name of the cloud connection pi_cloud_connection_global_routing (False, bool, False) Enable global routing for this cloud connection - pi_cloud_connection_metered (False, bool, False) - Enable metered for 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_vpc_crns (False, list, None) - Set of VPCs to attach to this cloud connection + pi_cloud_connection_transit_enabled (False, bool, False) + Enable transit gateway for this cloud connection - pi_cloud_connection_vpc_enabled (False, bool, False) - Enable VPC 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_transit_enabled (False, bool, False) - Enable transit gateway for this cloud connection + pi_cloud_connection_metered (False, bool, False) + Enable metered for this cloud connection - 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_name (True, str, None) - (Required for new resource) Name of the cloud connection + pi_cloud_connection_vpc_enabled (False, bool, False) + Enable VPC 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_vpc_crns (False, list, None) + Set of VPCs to attach to this cloud connection - pi_cloud_connection_classic_enabled (False, bool, False) - Enable classic endpoint destination + pi_cloud_instance_id (True, str, None) + (Required for new resource) PI cloud instance ID id (False, str, None) diff --git a/docs/ibm_pi_cloud_connection_info.rst b/docs/ibm_pi_cloud_connection_info.rst index 1b269c81f..afdad8fd6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_cloud_connection_network_attach.rst b/docs/ibm_pi_cloud_connection_network_attach.rst index aca324cc7..84efb4f45 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_cloud_connections_info.rst b/docs/ibm_pi_cloud_connections_info.rst index 97417361d..5b0b50944 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_cloud_instance_info.rst b/docs/ibm_pi_cloud_instance_info.rst index d77f0f8fc..a004813bf 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_console_language.rst b/docs/ibm_pi_console_language.rst index 57cdecc8a..18469e5e6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_console_languages_info.rst b/docs/ibm_pi_console_languages_info.rst index fe927c2df..9afdf7cc2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_dhcp.rst b/docs/ibm_pi_dhcp.rst index a240cc001..d2055c30d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -39,8 +39,8 @@ Parameters Optional DNS Server for DHCP service - pi_dhcp_name (False, str, None) - Optional name of DHCP Service (will be prefixed by DHCP identifier) + pi_dhcp_snat_enabled (False, bool, True) + Indicates if SNAT will be enabled for the DHCP service pi_cidr (False, str, None) @@ -51,8 +51,8 @@ Parameters Optional cloud connection uuid to connect with DHCP private network - pi_dhcp_snat_enabled (False, bool, True) - Indicates if SNAT will be enabled for the DHCP service + pi_dhcp_name (False, str, None) + Optional name of DHCP Service (will be prefixed by DHCP identifier) id (False, str, None) diff --git a/docs/ibm_pi_dhcp_info.rst b/docs/ibm_pi_dhcp_info.rst index 74b33d5a8..9f77e555f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_dhcp_id (True, str, None) - The ID of the DHCP Server - - pi_cloud_instance_id (True, str, None) None + pi_dhcp_id (True, str, None) + The ID of the DHCP Server + + 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_dhcps_info.rst b/docs/ibm_pi_dhcps_info.rst index ce381e971..7909f214a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_disaster_recovery_location_info.rst b/docs/ibm_pi_disaster_recovery_location_info.rst index bceb64049..633e94c0e 100644 --- a/docs/ibm_pi_disaster_recovery_location_info.rst +++ b/docs/ibm_pi_disaster_recovery_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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_disaster_recovery_locations_info.rst b/docs/ibm_pi_disaster_recovery_locations_info.rst index 59876f8c6..4d28b89bf 100644 --- a/docs/ibm_pi_disaster_recovery_locations_info.rst +++ b/docs/ibm_pi_disaster_recovery_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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_ike_policy.rst b/docs/ibm_pi_ike_policy.rst index 3d8aa5693..4f3384eb5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,24 +31,24 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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_policy_dh_group (True, int, None) (Required for new resource) DH group of the IKE Policy - pi_policy_encryption (True, str, None) - (Required for new resource) Encryption of the IKE Policy + pi_policy_version (True, int, None) + (Required for new resource) Version of the IKE Policy - 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_version (True, int, None) - (Required for new resource) Version of the IKE Policy + pi_policy_key_lifetime (True, int, None) + (Required for new resource) Policy key lifetime pi_cloud_instance_id (True, str, None) @@ -59,8 +59,8 @@ Parameters (Required for new resource) Name of the IKE Policy - pi_policy_authentication (False, str, none) - Authentication for the IKE Policy + pi_policy_encryption (True, str, None) + (Required for new resource) Encryption of the IKE Policy id (False, str, None) diff --git a/docs/ibm_pi_image.rst b/docs/ibm_pi_image.rst index 8596698ff..a3e3bee17 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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_image_name (True, str, None) (Required for new resource) Image name @@ -43,40 +39,40 @@ Parameters Instance image id - pi_image_access_key (False, str, None) - Cloud Object Storage access key; required for buckets with private access - - - pi_image_bucket_region (False, str, None) - Cloud Object Storage region + pi_image_bucket_name (False, str, None) + Cloud Object Storage bucket name; bucket-name[/optional/folder] 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_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_cloud_instance_id (True, str, None) + (Required for new resource) PI cloud instance ID pi_image_bucket_access (False, str, public) Indicates if the bucket has public or private access - 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_bucket_region (False, str, None) + Cloud Object Storage region - 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_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_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_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_image_bucket_name (False, str, None) - Cloud Object Storage bucket name; bucket-name[/optional/folder] + 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_secret_key (False, str, None) @@ -87,12 +83,16 @@ Parameters Type of storage - 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_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_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_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 id (False, str, None) diff --git a/docs/ibm_pi_image_export.rst b/docs/ibm_pi_image_export.rst index d1218e8e7..89b89b188 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_image_bucket_region (True, str, None) - (Required for new resource) Cloud Object Storage region - - pi_cloud_instance_id (True, str, None) (Required for new resource) PI cloud instance ID @@ -55,6 +51,10 @@ Parameters (Required for new resource) Cloud Object Storage secret key; required for buckets with private access + pi_image_bucket_region (True, str, None) + (Required for new resource) Cloud Object Storage region + + 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 9b85c56c7..7b612cddc 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_images_info.rst b/docs/ibm_pi_images_info.rst index a386ba169..f5be01b06 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_instance.rst b/docs/ibm_pi_instance.rst index db0fac7ae..68c0ab865 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,24 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_proc_type (False, str, None) - Instance processor type - - - pi_sap_profile_id (False, str, None) - SAP Profile ID for the amount of cores and memory + pi_replicants (False, int, 1) + PI Instance replicas count - pi_volume_ids (False, list, None) - List of PI volumes + pi_replication_policy (False, str, none) + Replication policy for the PI Instance pi_shared_processor_pool (False, str, None) Shared Processor Pool the instance is deployed on - pi_image_id (True, str, None) - (Required for new resource) PI instance image id + pi_proc_type (False, str, None) + Instance processor type pi_virtual_cores_assigned (False, int, None) @@ -59,108 +55,112 @@ Parameters (Required for new resource) This is the Power Instance id that is assigned to the account - 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_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_network (True, list, None) + (Required for new resource) List of one or more networks to attach to the instance - pi_license_repository_capacity (False, int, None) - The VTL license repository capacity TB value + pi_storage_pool_affinity (False, bool, True) + Indicates if all volumes attached to the server must reside in the same storage pool - pi_sap_deployment_type (False, str, None) - Custom SAP Deployment Type Information + pi_placement_group_id (False, str, None) + Placement group ID - pi_storage_type (False, str, None) - Storage type for server deployment + pi_replication_scheme (False, str, suffix) + Replication scheme - pi_network (True, list, None) - (Required for new resource) List of one or more networks to attach to the instance + 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_deployment_type (False, str, None) - Custom Deployment Type Information + 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_migratable (False, bool, None) - set to true to enable migration of the PI instance + pi_pin_policy (False, str, none) + Pin Policy of the instance - pi_replicants (False, int, 1) - PI Instance replicas count + 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_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_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_type (False, str, None) + Storage type 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_sys_type (False, str, None) + PI Instance system type - pi_key_pair_name (False, str, None) - SSH key name + pi_processors (False, float, None) + Processors count - pi_memory (False, float, None) - Memory size + pi_sap_deployment_type (False, str, None) + Custom SAP Deployment Type Information - 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_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_sys_type (False, str, None) - PI Instance system type + pi_image_id (True, str, None) + (Required for new resource) PI instance image id - pi_replication_scheme (False, str, suffix) - Replication scheme + pi_deployment_type (False, str, None) + Custom Deployment Type Information - 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_sap_profile_id (False, str, None) + SAP Profile ID for the amount of cores and memory + + + pi_license_repository_capacity (False, int, None) + The VTL license repository capacity TB value pi_storage_connection (False, str, None) Storage Connectivity Group for server deployment - pi_processors (False, float, None) - Processors count + pi_instance_name (True, str, None) + (Required for new resource) PI Instance name - pi_placement_group_id (False, str, None) - Placement group ID + pi_key_pair_name (False, str, None) + SSH key name - pi_instance_name (True, str, None) - (Required for new resource) PI Instance name + pi_memory (False, float, None) + Memory size - pi_pin_policy (False, str, none) - Pin Policy of the instance + pi_migratable (False, bool, None) + set to true to enable migration of the PI instance - pi_user_data (False, str, None) - Base64 encoded data to be passed in for invoking a cloud init script + pi_volume_ids (False, list, None) + List of PI volumes - 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_pool (False, str, None) + Storage Pool for server deployment; if provided then pi_affinity_policy and pi_storage_type will be ignored - 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 id (False, str, None) diff --git a/docs/ibm_pi_instance_action.rst b/docs/ibm_pi_instance_action.rst index 581779557..a13743548 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_action (True, str, None) - (Required for new resource) PVM instance action type - - - pi_health_status (False, str, OK) - Set the health status of the PVM instance to connect it faster - - pi_cloud_instance_id (True, str, None) (Required for new resource) PI Cloud instance id @@ -47,6 +39,14 @@ Parameters (Required for new resource) PVM instance ID + pi_action (True, str, None) + (Required for new resource) PVM instance action type + + + pi_health_status (False, str, OK) + Set the health status of the PVM instance to connect it faster + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_instance_info.rst b/docs/ibm_pi_instance_info.rst index 7113c3211..4c9209d7f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_instance_ip_info.rst b/docs/ibm_pi_instance_ip_info.rst index 05bf1a075..7f13a9b64 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + pi_instance_name (True, str, None) + Server Name to be used for pvminstances + + pi_cloud_instance_id (True, str, None) None @@ -37,10 +41,6 @@ Parameters None - pi_instance_name (True, str, None) - Server Name to be used for pvminstances - - 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_snapshots_info.rst b/docs/ibm_pi_instance_snapshots_info.rst index ea1d118b6..2aa92656f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_instance_volumes_info.rst b/docs/ibm_pi_instance_volumes_info.rst index e07207978..66158f9d6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_instances_info.rst b/docs/ibm_pi_instances_info.rst index ca51a2b2d..df72bf0af 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_ipsec_policy.rst b/docs/ibm_pi_ipsec_policy.rst index 459e5cdab..eeda7674b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + pi_policy_dh_group (True, int, None) + (Required for new resource) DH group of the IPSec Policy + + + pi_policy_encryption (True, str, None) + (Required for new resource) Encryption of the IPSec Policy + + + pi_policy_key_lifetime (True, int, None) + (Required for new resource) Policy key lifetime + + pi_policy_pfs (True, bool, None) (Required for new resource) Perfect Forward Secrecy @@ -47,18 +59,6 @@ Parameters (Required for new resource) Name of the IPSec Policy - pi_policy_dh_group (True, int, None) - (Required for new resource) DH group of the IPSec Policy - - - pi_policy_encryption (True, str, None) - (Required for new resource) Encryption of the IPSec Policy - - - pi_policy_key_lifetime (True, int, None) - (Required for new resource) Policy key lifetime - - 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 522a7c87b..30e3f3286 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + pi_key_name (True, str, None) + (Required for new resource) User defined name for the SSH key + + pi_ssh_key (True, str, None) (Required for new resource) SSH RSA key @@ -39,10 +43,6 @@ Parameters (Required for new resource) PI cloud instance ID - pi_key_name (True, str, None) - (Required for new resource) User defined name for the SSH 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 aac3db4bd..41833c241 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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_key_name (True, str, None) SSH key name for a pcloud tenant + 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_keys_info.rst b/docs/ibm_pi_keys_info.rst index fdd340f4b..219e4cd49 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_network.rst b/docs/ibm_pi_network.rst index abb034bcd..a9f28ecb6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -39,12 +39,8 @@ Parameters PI network CIDR - pi_network_jumbo (False, bool, None) - PI network enable MTU Jumbo option - - - pi_ipaddress_range (False, list, None) - List of one or more ip address range(s) + pi_gateway (False, str, None) + PI network gateway pi_network_name (True, str, None) @@ -55,14 +51,18 @@ Parameters List of PI network DNS name - pi_gateway (False, str, None) - PI network gateway + pi_network_jumbo (False, bool, None) + PI network enable MTU Jumbo option pi_cloud_instance_id (True, str, None) (Required for new resource) PI cloud instance ID + pi_ipaddress_range (False, list, None) + List of one or more ip address range(s) + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_network_info.rst b/docs/ibm_pi_network_info.rst index 1da144f82..2b188aee5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_network_port.rst b/docs/ibm_pi_network_port.rst index fee0ad7e7..c84a86ba5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_network_port_attach.rst b/docs/ibm_pi_network_port_attach.rst index 871d6a22c..805278caa 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -39,16 +39,16 @@ Parameters (Required for new resource) Network Name - This is the subnet name in the Cloud instance - pi_network_port_ipaddress (False, str, None) - None + pi_network_port_description (False, str, Port Created via Terraform) + A human readable description for this network Port pi_instance_id (True, str, None) (Required for new resource) Instance id to attach the network port to - pi_network_port_description (False, str, Port Created via Terraform) - A human readable description for this network Port + pi_network_port_ipaddress (False, str, None) + None id (False, str, None) diff --git a/docs/ibm_pi_network_port_info.rst b/docs/ibm_pi_network_port_info.rst index 71fac969d..ec1f57bb9 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_network_name (True, str, None) - Network Name to be used for pvminstances - - pi_cloud_instance_id (True, str, None) None + pi_network_name (True, str, None) + Network Name to be used for pvminstances + + 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_placement_group.rst b/docs/ibm_pi_placement_group.rst index 85163c2b5..af7ed540a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_placement_group_name (True, str, None) - (Required for new resource) Name of the placement group - - pi_placement_group_policy (True, str, None) (Required for new resource) Policy of the placement group @@ -43,6 +39,10 @@ Parameters (Required for new resource) PI cloud instance ID + pi_placement_group_name (True, str, None) + (Required for new resource) Name of the placement group + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_placement_group_info.rst b/docs/ibm_pi_placement_group_info.rst index db2a33678..0aabfa6de 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,11 +29,11 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_cloud_instance_id (True, str, None) + pi_placement_group_name (True, str, None) None - pi_placement_group_name (True, str, None) + pi_cloud_instance_id (True, str, None) None diff --git a/docs/ibm_pi_placement_groups_info.rst b/docs/ibm_pi_placement_groups_info.rst index c022b0aa7..f9722ff3f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_public_network_info.rst b/docs/ibm_pi_public_network_info.rst index f36e1e9df..d00e19bc4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_pvm_snapshots_info.rst b/docs/ibm_pi_pvm_snapshots_info.rst index df9b21f06..c74ffe1c4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_sap_profile_info.rst b/docs/ibm_pi_sap_profile_info.rst index 8fbde3a40..cb85bf04b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_sap_profiles_info.rst b/docs/ibm_pi_sap_profiles_info.rst index cc0d80745..41306262d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_shared_processor_pool.rst b/docs/ibm_pi_shared_processor_pool.rst index 3708b7f27..0c51d3369 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,18 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_shared_processor_pool_host_group (True, str, None) - (Required for new resource) Host group 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_placement_group_id (False, str, None) + Placement group the shared processor pool is created in + + + 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 @@ -51,10 +55,6 @@ Parameters (Required for new resource) Name of the shared processor pool - pi_shared_processor_pool_placement_group_id (False, str, None) - Placement group the shared processor pool is created in - - 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 262e022b1..17d0650ae 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 9eed47999..2dcbed411 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_snapshot.rst b/docs/ibm_pi_snapshot.rst index 838dcb93d..eae9f6b78 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,14 +35,6 @@ Parameters (Required for new resource) Unique name of the snapshot - 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_instance_name (True, str, None) (Required for new resource) Instance name / id of the pvm @@ -51,6 +43,14 @@ Parameters List of PI volumes + pi_description (False, str, None) + Description of the PVM instance snapshot + + + pi_cloud_instance_id (True, str, None) + (Required for new resource) Cloud Instance ID - This is the service_instance_id. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_pi_spp_placement_group.rst b/docs/ibm_pi_spp_placement_group.rst index 92fab09a2..23d9630a2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 8614ce190..83295fbc6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,11 +29,11 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_cloud_instance_id (True, str, None) + pi_spp_placement_group_id (True, str, None) None - pi_spp_placement_group_id (True, str, None) + pi_cloud_instance_id (True, str, None) None diff --git a/docs/ibm_pi_spp_placement_groups_info.rst b/docs/ibm_pi_spp_placement_groups_info.rst index fc468438d..d4313e5a4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 7fe870c89..a4ffed2ce 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 e1e53ddab..ccfdde0ee 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 b5212cd68..b895cb0d7 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 6248b4136..66c720b95 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_system_pools_info.rst b/docs/ibm_pi_system_pools_info.rst index 3a8bf6d31..597d47bff 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_tenant_info.rst b/docs/ibm_pi_tenant_info.rst index 011bf6d8f..d95bc3908 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_volume.rst b/docs/ibm_pi_volume.rst index f687da26d..e6377f6d8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,52 +31,52 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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_cloud_instance_id (True, str, None) + (Required for new resource) Cloud Instance ID - This is the service_instance_id. - pi_affinity_policy (False, str, None) - Affinity policy for data volume being created; ignored if pi_volume_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_volume_shareable (False, bool, None) + Flag to indicate if the volume can be shared across multiple instances? 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 pi_affinity_volume (False, str, None) Volume (ID or Name) to base volume affinity policy against; required if requesting affinity and pi_affinity_instance is not provided - pi_replication_enabled (False, bool, None) - Indicates if the volume should be replication enabled or not - - - pi_volume_shareable (False, bool, None) - Flag to indicate if the volume can be shared across multiple instances? + 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_volume_type (False, str, None) - Type of Disk, required if pi_affinity_policy and pi_volume_pool not provided, otherwise ignored + pi_volume_size (True, float, None) + (Required for new resource) Size of the volume in GB 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_replication_enabled (False, bool, None) + Indicates if the volume should be replication enabled or not - 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 + pi_volume_type (False, str, None) + Type of Disk, required if pi_affinity_policy and pi_volume_pool not provided, otherwise ignored + + + pi_affinity_policy (False, str, None) + Affinity policy for data volume being created; ignored if pi_volume_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 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 159bb3198..e762d30ee 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_volume_flash_copy_mappings_info.rst b/docs/ibm_pi_volume_flash_copy_mappings_info.rst index 6bd5fcfca..e3b45bfe3 100644 --- a/docs/ibm_pi_volume_flash_copy_mappings_info.rst +++ b/docs/ibm_pi_volume_flash_copy_mappings_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_volume_group.rst b/docs/ibm_pi_volume_group.rst index 5889592ed..2d2b95b1d 100644 --- a/docs/ibm_pi_volume_group.rst +++ b/docs/ibm_pi_volume_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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,20 +31,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_volume_ids (True, list, None) - (Required for new resource) List of volumes to add in volume group - - pi_cloud_instance_id (True, str, None) (Required for new resource) Cloud Instance ID - This is the service_instance_id. + pi_consistency_group_name (False, str, None) + The name of consistency group at storage controller level + + pi_volume_group_name (False, str, None) Volume Group Name to create - pi_consistency_group_name (False, str, None) - The name of consistency group at storage controller level + pi_volume_ids (True, list, None) + (Required for new resource) List of volumes to add in volume group id (False, str, None) diff --git a/docs/ibm_pi_volume_group_action.rst b/docs/ibm_pi_volume_group_action.rst index 17f68d55c..eee21b431 100644 --- a/docs/ibm_pi_volume_group_action.rst +++ b/docs/ibm_pi_volume_group_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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_volume_group_details_info.rst b/docs/ibm_pi_volume_group_details_info.rst index 129323f07..78a81bcdd 100644 --- a/docs/ibm_pi_volume_group_details_info.rst +++ b/docs/ibm_pi_volume_group_details_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_volume_group_id (True, str, None) - Name of the volume group - - pi_cloud_instance_id (True, str, None) None + pi_volume_group_id (True, str, None) + Name of the volume group + + 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_volume_group_info.rst b/docs/ibm_pi_volume_group_info.rst index d65fe3941..a8769a964 100644 --- a/docs/ibm_pi_volume_group_info.rst +++ b/docs/ibm_pi_volume_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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_volume_group_remote_copy_relationships_info.rst b/docs/ibm_pi_volume_group_remote_copy_relationships_info.rst index 9bcc94f1a..44b40d5a5 100644 --- a/docs/ibm_pi_volume_group_remote_copy_relationships_info.rst +++ b/docs/ibm_pi_volume_group_remote_copy_relationships_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_volume_group_storage_details_info.rst b/docs/ibm_pi_volume_group_storage_details_info.rst index 36b4cd8e4..4feeaf393 100644 --- a/docs/ibm_pi_volume_group_storage_details_info.rst +++ b/docs/ibm_pi_volume_group_storage_details_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_volume_groups_details_info.rst b/docs/ibm_pi_volume_groups_details_info.rst index 35b4e4213..a972c535c 100644 --- a/docs/ibm_pi_volume_groups_details_info.rst +++ b/docs/ibm_pi_volume_groups_details_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_volume_groups_info.rst b/docs/ibm_pi_volume_groups_info.rst index 0dab31830..efbfc73e0 100644 --- a/docs/ibm_pi_volume_groups_info.rst +++ b/docs/ibm_pi_volume_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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_volume_info.rst b/docs/ibm_pi_volume_info.rst index aa11a001a..c79ba596c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_volume_name (True, str, None) - Volume Name to be used for pvminstances - - pi_cloud_instance_id (True, str, None) None + pi_volume_name (True, str, None) + Volume Name to be used for pvminstances + + 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_volume_onboarding.rst b/docs/ibm_pi_volume_onboarding.rst index 702e76c1c..2bdcf824c 100644 --- a/docs/ibm_pi_volume_onboarding.rst +++ b/docs/ibm_pi_volume_onboarding.rst @@ -23,7 +23,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,14 +35,14 @@ Parameters (Required for new resource) Cloud Instance ID - This is the service_instance_id. - pi_onboarding_volumes (True, list, None) - (Required for new resource) - - pi_description (False, str, None) Description of the volume onboarding operation + pi_onboarding_volumes (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_pi_volume_onboarding_info.rst b/docs/ibm_pi_volume_onboarding_info.rst index 88e536afb..9413e40f7 100644 --- a/docs/ibm_pi_volume_onboarding_info.rst +++ b/docs/ibm_pi_volume_onboarding_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_volume_onboarding_id (True, str, None) - Volume onboarding ID - - pi_cloud_instance_id (True, str, None) None + pi_volume_onboarding_id (True, str, None) + Volume onboarding ID + + 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_volume_onboardings_info.rst b/docs/ibm_pi_volume_onboardings_info.rst index 783393cba..34784f84b 100644 --- a/docs/ibm_pi_volume_onboardings_info.rst +++ b/docs/ibm_pi_volume_onboardings_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_volume_remote_copy_relationship_info.rst b/docs/ibm_pi_volume_remote_copy_relationship_info.rst index 6962c155d..19ea194bd 100644 --- a/docs/ibm_pi_volume_remote_copy_relationship_info.rst +++ b/docs/ibm_pi_volume_remote_copy_relationship_info.rst @@ -21,7 +21,7 @@ Requirements ------------ The below requirements are needed on the host that executes this module. -- IBM-Cloud terraform-provider-ibm v1.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pi_vpn_connection.rst b/docs/ibm_pi_vpn_connection.rst index e519f69c2..ba929857b 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,36 +31,36 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - pi_peer_gateway_address (True, str, None) - (Required for new resource) Peer Gateway address + pi_cloud_instance_id (True, str, None) + (Required for new resource) PI cloud instance ID - pi_peer_subnets (True, list, None) - (Required for new resource) Set of CIDR of peer subnets + pi_ike_policy_id (True, str, None) + (Required for new resource) Unique identifier of IKE 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_subnets (True, list, None) + (Required for new resource) Set of CIDR of peer subnets - pi_networks (True, list, None) - (Required for new resource) Set of network IDs to attach to this VPN connection + pi_vpn_connection_name (True, str, None) + (Required for new resource) Name of the VPN Connection - pi_cloud_instance_id (True, str, None) - (Required for new resource) PI cloud instance ID + pi_ipsec_policy_id (True, str, None) + (Required for new resource) Unique identifier of IPSec Policy selected for this VPN Connection - pi_vpn_connection_name (True, str, None) - (Required for new resource) Name of the VPN Connection + 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_peer_gateway_address (True, str, None) + (Required for new resource) Peer Gateway address id (False, str, None) diff --git a/docs/ibm_pn_application_chrome.rst b/docs/ibm_pn_application_chrome.rst index 813a90737..78d3f2f4f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_pn_application_chrome_info.rst b/docs/ibm_pn_application_chrome_info.rst index 489d163da..f8045c0dc 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_resource_group.rst b/docs/ibm_resource_group.rst index 90b62056b..e5d338d02 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ 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 resource group - - tags (False, list, None) None + name (True, str, None) + (Required for new resource) The name of the resource group + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_resource_group_info.rst b/docs/ibm_resource_group_info.rst index fe3a5b20b..8f314de7f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_resource_instance.rst b/docs/ibm_resource_instance.rst index 491174121..772700543 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,42 +31,42 @@ 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 - service_endpoints (False, str, None) - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + resource_group_id (False, str, None) + The resource group id - name (True, str, None) - (Required for new resource) A name for the resource instance + location (True, str, None) + (Required for new resource) The location where the instance available - service (True, str, None) - (Required for new resource) The name of the service offering like cloud-object-storage, kms etc + parameters (False, dict, None) + Arbitrary parameters to pass. Must be a JSON object plan (True, str, None) (Required for new resource) The plan type of the service - tags (False, list, None) - None - - - location (True, str, None) - (Required for new resource) The location where the instance available + service_endpoints (False, str, None) + Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. - parameters (False, dict, None) - Arbitrary parameters to pass. Must be a JSON object + service (True, str, None) + (Required for new resource) The name of the service offering like cloud-object-storage, kms etc parameters_json (False, str, None) Arbitrary parameters to pass in Json string format + 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_resource_instance_info.rst b/docs/ibm_resource_instance_info.rst index 8a8a0fa1f..1dc78d7f9 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,20 +29,20 @@ 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 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 - 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 iaas_classic_username (False, any, None) diff --git a/docs/ibm_resource_key.rst b/docs/ibm_resource_key.rst index b1abf56ba..04f500bb4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,26 +35,26 @@ Parameters 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 - - tags (False, list, None) None - name (True, str, None) - (Required for new resource) The name of the resource key - - role (False, str, None) Name of the user role.Valid roles are Writer, Reader, Manager, Administrator, Operator, Viewer, Editor and Custom Roles. + 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 + parameters (False, dict, None) + Arbitrary parameters to pass. Must be a JSON object + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_resource_key_info.rst b/docs/ibm_resource_key_info.rst index a1ccd55cd..7aaa8dbd4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,20 +29,20 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - resource_instance_id (False, str, None) - The id of the resource instance + name (True, str, None) + The name of the resource key - resource_alias_id (False, str, None) - The id of the resource alias + resource_instance_id (False, str, None) + The id of the resource instance 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_alias_id (False, str, None) + The id of the resource alias iaas_classic_username (False, any, None) diff --git a/docs/ibm_resource_quota_info.rst b/docs/ibm_resource_quota_info.rst index b0cf8277b..befe31106 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_resource_tag_info.rst b/docs/ibm_resource_tag_info.rst index f1a1a5796..9bdd68327 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - tag_type (False, str, user) - 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 @@ -41,6 +37,10 @@ Parameters Resource type on which the tags should be fetched + tag_type (False, str, user) + Tag type on which the tags should be fetched + + 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 20618111a..b0fdd8bb1 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,22 @@ 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 + host_provider (False, str, None) + None + + + script_dir (False, str, None) + 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 + location (True, str, None) + A unique name for the new Satellite location + + coreos_host (False, bool, None) If true, returns a CoreOS ignition file for the host. Otherwise, returns a RHEL attach script @@ -45,14 +53,6 @@ Parameters List of labels for the attach host - host_provider (False, str, None) - None - - - script_dir (False, str, None) - The directory where the satellite attach host script to be downloaded. Default is home directory - - 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_info.rst b/docs/ibm_satellite_cluster_info.rst index caa4941c7..5144566f6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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) - Name or id of the cluster - - resource_group_id (False, str, None) ID of the resource group. + name (True, str, None) + Name or id of the cluster + + 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.rst b/docs/ibm_satellite_cluster_worker_pool.rst index a4851b8e6..cbd72c365 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,48 +31,48 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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 + + + entitlement (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_pool_labels (False, dict, None) - Labels on all the workers in the worker pool + worker_count (False, int, None) + Specify the desired number of workers per zone in this worker pool - 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. + 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 + resource_group_id (False, str, None) + ID of the resource group. disk_encryption (False, bool, None) Disk encryption for worker node - isolation (False, str, None) - None - - - entitlement (False, str, None) - None + cluster (True, str, None) + (Required for new resource) The unique name for the new IBM Cloud Satellite cluster - worker_count (False, int, None) - Specify the desired number of workers per zone in this worker pool + flavor (False, str, None) + The flavor defines the amount of virtual CPU, memory, and disk space that is set up in each worker node - zones (False, list, None) - Zone info for worker pool + host_labels (False, list, None) + Labels that describe a Satellite host name (True, str, None) diff --git a/docs/ibm_satellite_cluster_worker_pool_info.rst b/docs/ibm_satellite_cluster_worker_pool_info.rst index 5d43ec62f..7a875f0a2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_satellite_cluster_worker_pool_zone_attachment.rst b/docs/ibm_satellite_cluster_worker_pool_zone_attachment.rst index 49c7de332..d59327dbe 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 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 1a8e97ec2..5674671a8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_satellite_endpoint.rst b/docs/ibm_satellite_endpoint.rst index aa1352240..9469724c8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,16 +35,16 @@ Parameters (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'. - 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_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). - timeout (False, int, None) - The inactivity timeout in the Endpoint side. + client_protocol (True, str, None) + (Required for new resource) The protocol in the client application side. - created_by (False, str, None) - The service or person who created the endpoint. Must be 1000 characters or fewer. + timeout (False, int, None) + The inactivity timeout in the Endpoint side. certs (False, list, None) @@ -55,38 +55,38 @@ Parameters (Required for new resource) The Location ID. - 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. + connection_type (True, str, None) + (Required for new resource) The type of the endpoint. - client_protocol (True, str, None) - (Required for new resource) The protocol in the client application side. + created_by (False, str, None) + The service or person who created the endpoint. Must be 1000 characters or fewer. server_mutual_auth (False, bool, False) Whether enable mutual auth in the server application side, when client_protocol is 'tls', this field is required. - 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). + 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. - 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_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) 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'. - connection_type (True, str, None) - (Required for new resource) The type of the endpoint. - - 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. + sni (False, str, None) + The server name indicator (SNI) which used to connect to the server endpoint. Only useful if server side requires SNI. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_satellite_endpoint_info.rst b/docs/ibm_satellite_endpoint_info.rst index 17ca641f8..16b4c8c13 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 e77900fcd..8133cd2b7 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -39,10 +39,6 @@ Parameters (Required for new resource) The specific host ID to assign to a Satellite location or cluster - location (True, str, None) - (Required for new resource) The name or ID of the Satellite location - - labels (False, list, None) List of labels for the host @@ -59,6 +55,10 @@ Parameters 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 diff --git a/docs/ibm_satellite_link.rst b/docs/ibm_satellite_link.rst index 6f7bb8797..65d05a344 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -35,14 +35,14 @@ Parameters (Required for new resource) CRN of the Location. - location (True, str, None) - (Required for new resource) Location ID. - - ws_endpoint (False, str, None) The ws endpoint of the location. + location (True, str, None) + (Required for new resource) Location ID. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_satellite_link_info.rst b/docs/ibm_satellite_link_info.rst index f2f40101a..fc6bd0f56 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_satellite_location.rst b/docs/ibm_satellite_location.rst index a8f6b6602..d330ca140 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,26 +31,10 @@ 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 - - - managed_from (True, str, None) - (Required for new resource) The IBM Cloud metro from which the Satellite location is managed - - - zones (False, list, None) - The names of at least three high availability zones to use for the location - - resource_group_id (False, str, None) ID of the resource group. - description (False, str, None) - A description of the new Satellite location - - coreos_enabled (False, bool, None) Enable Red Hat CoreOS features within the Satellite location @@ -59,10 +43,6 @@ Parameters COSBucket - IBM Cloud Object Storage bucket configuration details - logging_account_id (False, str, None) - The account ID for IBM Log Analysis with LogDNA log forwarding - - cos_credentials (False, list, None) COSAuthorization - IBM Cloud Object Storage authorization keys @@ -71,6 +51,26 @@ Parameters List of tags associated with resource instance + location (True, str, None) + (Required for new resource) A unique name for the new Satellite location + + + description (False, str, None) + A description of the new Satellite location + + + managed_from (True, str, None) + (Required for new resource) The IBM Cloud metro from which the Satellite location is managed + + + logging_account_id (False, str, None) + The account ID for IBM Log Analysis with LogDNA log forwarding + + + zones (False, list, None) + The names of at least three high availability zones to use for the location + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_satellite_location_info.rst b/docs/ibm_satellite_location_info.rst index bcf19c37a..be7249715 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_satellite_location_nlb_dns.rst b/docs/ibm_satellite_location_nlb_dns.rst index d0313d440..37acbf311 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 1f0ba8338..3c3cb72af 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_account_location_info.rst b/docs/ibm_scc_account_location_info.rst index 1e53a156a..ec3dfd5ec 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 20f2278a5..d4e313b59 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_account_locations_info.rst b/docs/ibm_scc_account_locations_info.rst index 6ee8c6ccf..21c7c3658 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 a496bde92..051748696 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_account_settings.rst b/docs/ibm_scc_account_settings.rst index 7338e642b..c5e6c6fc7 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - event_notifications (False, list, None) - The Event Notification settings to register. - - location (False, list, None) Location Settings. + event_notifications (False, list, None) + The Event Notification settings to register. + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_scc_posture_collector.rst b/docs/ibm_scc_posture_collector.rst index 409681188..eb69716ec 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + managed_by (True, str, None) + (Required for new resource) Determines whether the collector is an IBM or customer-managed virtual machine. Use `ibm` to allow Security and Compliance Center to create, install, and manage the collector on your behalf. The collector is installed in an OpenShift cluster and approved automatically for use. Use `customer` if you would like to install the collector by using your own virtual machine. For more information, check out the [docs](https://cloud.ibm.com/docs/security-compliance?topic=security-compliance-collector). + + + description (False, str, None) + A detailed description of the collector. + + passphrase (False, str, None) To protect the credentials that you add to the service, a passphrase is used to generate a data encryption key. The key is used to securely store your credentials and prevent anyone from accessing them. @@ -47,14 +55,6 @@ Parameters (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. - managed_by (True, str, None) - (Required for new resource) Determines whether the collector is an IBM or customer-managed virtual machine. Use `ibm` to allow Security and Compliance Center to create, install, and manage the collector on your behalf. The collector is installed in an OpenShift cluster and approved automatically for use. Use `customer` if you would like to install the collector by using your own virtual machine. For more information, check out the [docs](https://cloud.ibm.com/docs/security-compliance?topic=security-compliance-collector). - - - description (False, str, None) - A detailed description of the 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 7ad1a2d8e..18a0a85e4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_collectors_info.rst b/docs/ibm_scc_posture_collectors_info.rst index 2f283e7a4..5d77b68f4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_credential.rst b/docs/ibm_scc_posture_credential.rst index c1e571430..2e91de636 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - enabled (True, bool, None) - (Required for new resource) Credentials status enabled/disbaled. - - type (True, str, None) (Required for new resource) Credentials type. @@ -55,6 +51,10 @@ Parameters (Required for new resource) Purpose for which the credential is created. + enabled (True, bool, None) + (Required for new resource) Credentials status enabled/disbaled. + + 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 8a39066ca..461a2dfd4 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_credentials_info.rst b/docs/ibm_scc_posture_credentials_info.rst index 181409748..68bb5fccd 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 c5cc5592b..b257482e9 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 ba7120fde..c370915db 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_profile_import.rst b/docs/ibm_scc_posture_profile_import.rst index 6584bdbe3..866f384ab 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_profile_info.rst b/docs/ibm_scc_posture_profile_info.rst index ff7a7e512..2bc660f20 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_profiles_info.rst b/docs/ibm_scc_posture_profiles_info.rst index d301208fa..44213fe89 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 890b4cd6e..2478a5f9d 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -39,12 +39,12 @@ Parameters 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. + no_of_occurrences (False, int, None) + The number of times that a scan should be run. end_time (False, str, None) @@ -55,12 +55,12 @@ Parameters (Required for new resource) The unique ID of the profile. - description (False, str, None) - The description of a scheduled scan. + name (False, str, None) + The name of a scheduled scan. - no_of_occurrences (False, int, None) - The number of times that a scan should be run. + frequency (False, int, None) + The frequency at which a scan is run specified in milliseconds. id (False, str, None) diff --git a/docs/ibm_scc_posture_scan_summaries_info.rst b/docs/ibm_scc_posture_scan_summaries_info.rst index 8c282d1ec..771a4b944 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 b3e5f7ebc..c57c8e0f2 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - profile_id (True, str, None) - The profile ID. This can be obtained from the Security and Compliance Center UI by clicking on the profile name. The URL contains the ID. - - scan_id (True, str, None) Your Scan ID. + profile_id (True, str, None) + The profile ID. This can be obtained from the Security and Compliance Center UI by clicking on the profile name. The URL contains the 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_scc_posture_scope.rst b/docs/ibm_scc_posture_scope.rst index d205a869b..478944aec 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,14 +31,6 @@ 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. @@ -51,6 +43,14 @@ 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 955a43d2a..5426c36a5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_scope_info.rst b/docs/ibm_scc_posture_scope_info.rst index d06661554..28fa02fd8 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_posture_scopes_info.rst b/docs/ibm_scc_posture_scopes_info.rst index 494740a3b..a3bfa2632 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_scc_rule.rst b/docs/ibm_scc_rule.rst index 192134024..e500f7e21 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,30 +31,30 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) A human-readable alias to assign to your rule. - - - description (True, str, None) - (Required for new resource) An extended description of your rule. + account_id (True, str, None) + (Required for new resource) Your IBM Cloud account ID. - 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. + name (True, str, None) + (Required for new resource) A human-readable alias to assign to your rule. 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. - account_id (True, str, None) - (Required for new resource) Your IBM Cloud account ID. - - 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. + description (True, str, None) + (Required for new resource) An extended description of your rule. + + + 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. diff --git a/docs/ibm_scc_rule_attachment.rst b/docs/ibm_scc_rule_attachment.rst index d6f9cecfb..2a00dce53 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - excluded_scopes (False, list, None) - 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. @@ -47,6 +43,10 @@ Parameters (Required for new resource) The extent at which the rule can be attached across your accounts. + excluded_scopes (False, list, None) + The extent at which the rule can be excluded from the included scope. + + 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 ba0af39f4..5f918a98e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + target (True, list, None) + (Required for new resource) The properties that describe the resource that you want to targetwith the rule or template. + + + customized_defaults (True, list, None) + (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. @@ -43,14 +51,6 @@ Parameters (Required for new resource) An extended description of your template. - target (True, list, None) - (Required for new resource) The properties that describe the resource that you want to targetwith the rule or template. - - - customized_defaults (True, list, None) - (Required for new resource) A list of default property values to apply to your template. - - 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 ed4f43c05..cd7326f90 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_action_info.rst b/docs/ibm_schematics_action_info.rst index 822401a8e..d9ae82223 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 40c0a280f..d9928b82c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 description of your Inventory definition. The description can be up to 2048 characters long in size. - - 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. - name (False, str, None) - 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. + inventories_ini (False, str, None) + Input inventory of host and host group for the playbook, in the `.ini` file format. 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. + name (False, str, None) + 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. + + + description (False, str, None) + The description of your Inventory definition. The description can be up to 2048 characters long in size. + + 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 310e02ffe..2fb2a6983 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - inventory_id (True, str, None) - Resource Inventory Id. Use `GET /v2/inventories` API to look up the Resource Inventory definition 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. + inventory_id (True, str, None) + Resource Inventory Id. Use `GET /v2/inventories` API to look up the Resource Inventory definition Ids in your IBM Cloud account. + + 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_job.rst b/docs/ibm_schematics_job.rst index 383323b1e..8709f2586 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,28 +31,12 @@ 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. - - - log_summary (False, list, None) - Job log summary record. - - tags (False, list, None) User defined tags, while running the job. - data (False, list, None) - Job data. - - - bastion (False, list, None) - Describes a bastion resource. - - - command_name (True, str, None) - (Required for new resource) Schematics job command name. + command_object (True, str, None) + (Required for new resource) Name of the Schematics automation resource. command_parameter (False, str, None) @@ -67,16 +51,32 @@ Parameters Job inputs used by Action or Workspace. + data (False, list, None) + Job data. + + command_object_id (True, str, None) (Required for new resource) Job command object id (workspace-id, action-id). + command_name (True, str, None) + (Required for new resource) Schematics job command name. + + + bastion (False, list, None) + Describes a bastion resource. + + job_env_settings (False, list, None) Environment variables used by the Job while performing Action or Workspace. - command_object (True, str, None) - (Required for new resource) Name of the Schematics automation resource. + 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. + + + log_summary (False, list, None) + Job log summary record. id (False, str, None) diff --git a/docs/ibm_schematics_job_info.rst b/docs/ibm_schematics_job_info.rst index defcfa1f4..56f69735a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_output_info.rst b/docs/ibm_schematics_output_info.rst index 1e909a453..18671cc74 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_resource_query.rst b/docs/ibm_schematics_resource_query.rst index 86e5bd736..f01835ae6 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_resource_query_info.rst b/docs/ibm_schematics_resource_query_info.rst index 035f6b29e..6cef3cc15 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_state_info.rst b/docs/ibm_schematics_state_info.rst index c99040fa5..621ecc35e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_schematics_workspace_info.rst b/docs/ibm_schematics_workspace_info.rst index e709db737..c69990868 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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. + workspace_id (True, str, None) + The ID of the workspace. To find the workspace ID, use the `GET /v1/workspaces` API. + + template_values_metadata (False, list, None) A list of input variables that are associated with the workspace. diff --git a/docs/ibm_security_group.rst b/docs/ibm_security_group.rst index 5c25d7c1a..003b4685f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_security_group_info.rst b/docs/ibm_security_group_info.rst index ffa5c76b1..d4df56010 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_service_instance.rst b/docs/ibm_service_instance.rst index cbb772c78..8b8cca9a1 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,22 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - name (True, str, None) - (Required for new resource) A name for the service instance - - space_guid (True, str, None) (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 - - plan (True, str, None) (Required for new resource) The plan type of the service @@ -55,6 +43,18 @@ Parameters None + name (True, str, None) + (Required for new resource) A name for the service instance + + + 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 + + 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 5c411f07a..ec5255a33 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_service_key.rst b/docs/ibm_service_key.rst index 08ec95046..9490fb40c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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 - - name (True, str, None) (Required for new resource) The name of the service key @@ -47,6 +43,10 @@ Parameters Arbitrary parameters to pass along to the service broker. 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_service_key_info.rst b/docs/ibm_service_key_info.rst index f668c02ca..a11f17583 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,6 +29,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + space_guid (True, str, None) + The guid of the space in which the service instance is present + + name (True, str, None) The name of the service key @@ -37,10 +41,6 @@ Parameters Service instance name for example, speech_to_text - space_guid (True, str, None) - The guid of the space in which the service 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_service_plan_info.rst b/docs/ibm_service_plan_info.rst index 91158bedd..290cf8f63 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_sm_arbitrary_secret.rst b/docs/ibm_sm_arbitrary_secret.rst new file mode 100644 index 000000000..e747a13d8 --- /dev/null +++ b/docs/ibm_sm_arbitrary_secret.rst @@ -0,0 +1,113 @@ + +ibm_sm_arbitrary_secret -- Configure IBM Cloud 'ibm_sm_arbitrary_secret' resource +================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_sm_arbitrary_secret' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_arbitrary_secret + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + endpoint_type (False, str, None) + public or private. + + + secret_group_id (False, str, None) + A v4 UUID identifier, or `default` secret group. + + + name (True, str, None) + (Required for new resource) A human-readable name to assign to your secret.To protect your privacy, do not use personal data, such as your name or location, as a name for your secret. + + + expiration_date (False, str, None) + The date a secret is expired. The date format follows RFC 3339. + + + labels (False, list, None) + Labels that you can use to search for secrets in your instance.Up to 30 labels can be created. + + + payload (True, str, None) + (Required for new resource) The arbitrary secret data payload. + + + custom_metadata (False, dict, None) + The secret metadata that a user can customize. + + + version_custom_metadata (False, dict, None) + The secret version metadata that a user can customize. + + + instance_id (True, str, None) + (Required for new resource) The ID of the Secrets Manager instance. + + + description (False, str, None) + An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group. + + + 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) + (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'. + + + 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_sm_arbitrary_secret_info.rst b/docs/ibm_sm_arbitrary_secret_info.rst new file mode 100644 index 000000000..ddeca0a67 --- /dev/null +++ b/docs/ibm_sm_arbitrary_secret_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_arbitrary_secret_info -- Retrieve IBM Cloud 'ibm_sm_arbitrary_secret' resource +===================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_arbitrary_secret' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_arbitrary_secret + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +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'. + + + secret_id (True, str, None) + The ID of the secret. + + + endpoint_type (False, str, None) + public or private. + + + instance_id (True, str, None) + The ID of the Secrets Manager 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'. + + + 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'. + + + 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_sm_arbitrary_secret_metadata_info.rst b/docs/ibm_sm_arbitrary_secret_metadata_info.rst new file mode 100644 index 000000000..6b5b4a417 --- /dev/null +++ b/docs/ibm_sm_arbitrary_secret_metadata_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_arbitrary_secret_metadata_info -- Retrieve IBM Cloud 'ibm_sm_arbitrary_secret_metadata' resource +======================================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_arbitrary_secret_metadata' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_arbitrary_secret_metadata + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +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'. + + + endpoint_type (False, str, None) + public or private. + + + secret_id (True, str, None) + The ID of the secret. + + + instance_id (True, str, None) + The ID of the Secrets Manager 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'. + + + 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'. + + + 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_sm_en_registration.rst b/docs/ibm_sm_en_registration.rst new file mode 100644 index 000000000..3b1bbd4e8 --- /dev/null +++ b/docs/ibm_sm_en_registration.rst @@ -0,0 +1,93 @@ + +ibm_sm_en_registration -- Configure IBM Cloud 'ibm_sm_en_registration' resource +=============================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_sm_en_registration' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_en_registration + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + event_notifications_source_name (True, str, None) + (Required for new resource) The name that is displayed as a source that is in your Event Notifications instance. + + + event_notifications_source_description (False, str, None) + An optional description for the source that is in your Event Notifications instance. + + + instance_id (True, str, None) + (Required for new resource) The ID of the Secrets Manager instance. + + + 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'. + + + endpoint_type (False, str, None) + public or private. + + + event_notifications_instance_crn (True, str, None) + (Required for new resource) A CRN that uniquely identifies an IBM Cloud resource. + + + 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'. + + + 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_sm_en_registration_info.rst b/docs/ibm_sm_en_registration_info.rst new file mode 100644 index 000000000..d3307a5fd --- /dev/null +++ b/docs/ibm_sm_en_registration_info.rst @@ -0,0 +1,71 @@ + +ibm_sm_en_registration_info -- Retrieve IBM Cloud 'ibm_sm_en_registration' resource +=================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_en_registration' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_en_registration + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + 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'. + + + endpoint_type (False, str, None) + public or private. + + + 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'. + + + 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_sm_iam_credentials_configuration.rst b/docs/ibm_sm_iam_credentials_configuration.rst new file mode 100644 index 000000000..e9bc0ce2d --- /dev/null +++ b/docs/ibm_sm_iam_credentials_configuration.rst @@ -0,0 +1,89 @@ + +ibm_sm_iam_credentials_configuration -- Configure IBM Cloud 'ibm_sm_iam_credentials_configuration' resource +=========================================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_sm_iam_credentials_configuration' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_iam_credentials_configuration + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +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'. + + + name (True, str, None) + (Required for new resource) A human-readable unique name to assign to your configuration.To protect your privacy, do not use personal data, such as your name or location, as an name for your secret. + + + api_key (True, str, None) + (Required for new resource) The API key that is generated for this secret.After the secret reaches the end of its lease (see the `ttl` field), the API key is deleted automatically. If you want to continue to use the same API key for future read operations, see the `reuse_api_key` field. + + + instance_id (True, str, None) + (Required for new resource) The ID of the Secrets Manager instance. + + + endpoint_type (False, str, None) + public or private. + + + 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'. + + + 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_sm_iam_credentials_configuration_info.rst b/docs/ibm_sm_iam_credentials_configuration_info.rst new file mode 100644 index 000000000..8d7967868 --- /dev/null +++ b/docs/ibm_sm_iam_credentials_configuration_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_iam_credentials_configuration_info -- Retrieve IBM Cloud 'ibm_sm_iam_credentials_configuration' resource +=============================================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_iam_credentials_configuration' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_iam_credentials_configuration + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + endpoint_type (False, str, None) + public or private. + + + name (True, str, None) + The name of the configuration. + + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + 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) + (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'. + + + 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_sm_iam_credentials_secret.rst b/docs/ibm_sm_iam_credentials_secret.rst new file mode 100644 index 000000000..0e0bbb5f9 --- /dev/null +++ b/docs/ibm_sm_iam_credentials_secret.rst @@ -0,0 +1,125 @@ + +ibm_sm_iam_credentials_secret -- Configure IBM Cloud 'ibm_sm_iam_credentials_secret' resource +============================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_sm_iam_credentials_secret' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_iam_credentials_secret + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + description (False, str, None) + An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group. + + + access_groups (False, list, None) + Access Groups that you can use for an `iam_credentials` secret.Up to 10 Access Groups can be used for each secret. + + + custom_metadata (False, dict, None) + The secret metadata that a user can customize. + + + secret_group_id (False, str, None) + A v4 UUID identifier, or `default` secret group. + + + service_id (False, str, None) + The service ID under which the API key (see the `api_key` field) is created.If you omit this parameter, Secrets Manager generates a new service ID for your secret at its creation and adds it to the access groups that you assign.Optionally, you can use this field to provide your own service ID if you prefer to manage its access directly or retain the service ID after your secret expires, is rotated, or deleted. If you provide a service ID, do not include the `access_groups` parameter. + + + reuse_api_key (True, bool, None) + (Required for new resource) Determines whether to use the same service ID and API key for future read operations on an`iam_credentials` secret.If it is set to `true`, the service reuses the current credentials. If it is set to `false`, a new service ID and API key are generated each time that the secret is read or accessed. + + + instance_id (True, str, None) + (Required for new resource) The ID of the Secrets Manager instance. + + + endpoint_type (False, str, None) + public or private. + + + name (True, str, None) + (Required for new resource) A human-readable name to assign to your secret.To protect your privacy, do not use personal data, such as your name or location, as a name for your secret. + + + ttl (True, str, None) + (Required for new resource) The time-to-live (TTL) or lease duration to assign to generated credentials.For `iam_credentials` secrets, the TTL defines for how long each generated API key remains valid. The value is an integer that specifies the number of seconds .Minimum duration is 1 minute. Maximum is 90 days. + + + rotation (False, list, None) + Determines whether Secrets Manager rotates your secrets automatically. + + + 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'. + + + labels (False, list, None) + Labels that you can use to search for secrets in your instance.Up to 30 labels can be created. + + + version_custom_metadata (False, dict, None) + The secret version metadata that a user can customize. + + + 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'. + + + 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_sm_iam_credentials_secret_info.rst b/docs/ibm_sm_iam_credentials_secret_info.rst new file mode 100644 index 000000000..f4e900621 --- /dev/null +++ b/docs/ibm_sm_iam_credentials_secret_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_iam_credentials_secret_info -- Retrieve IBM Cloud 'ibm_sm_iam_credentials_secret' resource +================================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_iam_credentials_secret' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_iam_credentials_secret + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + secret_id (True, str, None) + The ID of the secret. + + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + 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'. + + + endpoint_type (False, str, None) + public or private. + + + 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'. + + + 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_sm_iam_credentials_secret_metadata_info.rst b/docs/ibm_sm_iam_credentials_secret_metadata_info.rst new file mode 100644 index 000000000..08b51e18c --- /dev/null +++ b/docs/ibm_sm_iam_credentials_secret_metadata_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_iam_credentials_secret_metadata_info -- Retrieve IBM Cloud 'ibm_sm_iam_credentials_secret_metadata' resource +=================================================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_iam_credentials_secret_metadata' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_iam_credentials_secret_metadata + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + 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'. + + + secret_id (True, str, None) + The ID of the secret. + + + endpoint_type (False, str, None) + public or private. + + + 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'. + + + 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_sm_imported_certificate.rst b/docs/ibm_sm_imported_certificate.rst new file mode 100644 index 000000000..67ca9375c --- /dev/null +++ b/docs/ibm_sm_imported_certificate.rst @@ -0,0 +1,117 @@ + +ibm_sm_imported_certificate -- Configure IBM Cloud 'ibm_sm_imported_certificate' resource +========================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_sm_imported_certificate' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_imported_certificate + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + description (False, str, None) + An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group. + + + private_key (False, str, None) + (Optional) The PEM-encoded private key to associate with the certificate. + + + intermediate (False, str, None) + (Optional) The PEM-encoded intermediate certificate to associate with the root certificate. + + + version_custom_metadata (False, dict, None) + The secret version metadata that a user can customize. + + + instance_id (True, str, None) + (Required for new resource) The ID of the Secrets Manager instance. + + + secret_group_id (False, str, None) + A v4 UUID identifier, or `default` secret group. + + + certificate (True, str, None) + (Required for new resource) The PEM-encoded contents of your certificate. + + + 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'. + + + custom_metadata (False, dict, None) + The secret metadata that a user can customize. + + + name (True, str, None) + (Required for new resource) A human-readable name to assign to your secret.To protect your privacy, do not use personal data, such as your name or location, as a name for your secret. + + + labels (False, list, None) + Labels that you can use to search for secrets in your instance.Up to 30 labels can be created. + + + endpoint_type (False, str, None) + public or private. + + + 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'. + + + 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_sm_imported_certificate_info.rst b/docs/ibm_sm_imported_certificate_info.rst new file mode 100644 index 000000000..7b1e53e23 --- /dev/null +++ b/docs/ibm_sm_imported_certificate_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_imported_certificate_info -- Retrieve IBM Cloud 'ibm_sm_imported_certificate' resource +============================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_imported_certificate' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_imported_certificate + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + secret_id (True, str, None) + The ID of the secret. + + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + 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'. + + + endpoint_type (False, str, None) + public or private. + + + 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'. + + + 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_sm_imported_certificate_metadata_info.rst b/docs/ibm_sm_imported_certificate_metadata_info.rst new file mode 100644 index 000000000..8c3f058d6 --- /dev/null +++ b/docs/ibm_sm_imported_certificate_metadata_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_imported_certificate_metadata_info -- Retrieve IBM Cloud 'ibm_sm_imported_certificate_metadata' resource +=============================================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_imported_certificate_metadata' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_imported_certificate_metadata + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + endpoint_type (False, str, None) + public or private. + + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + secret_id (True, str, None) + The ID of the secret. + + + 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) + (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'. + + + 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_sm_kv_secret.rst b/docs/ibm_sm_kv_secret.rst new file mode 100644 index 000000000..97123c1cb --- /dev/null +++ b/docs/ibm_sm_kv_secret.rst @@ -0,0 +1,109 @@ + +ibm_sm_kv_secret -- Configure IBM Cloud 'ibm_sm_kv_secret' resource +=================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_sm_kv_secret' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_kv_secret + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + labels (False, list, None) + Labels that you can use to search for secrets in your instance.Up to 30 labels can be created. + + + data (True, dict, None) + (Required for new resource) The payload data of a key-value secret. + + + instance_id (True, str, None) + (Required for new resource) The ID of the Secrets Manager instance. + + + endpoint_type (False, str, None) + public or private. + + + description (False, str, None) + An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group. + + + name (True, str, None) + (Required for new resource) A human-readable name to assign to your secret.To protect your privacy, do not use personal data, such as your name or location, as a name for your secret. + + + secret_group_id (False, str, None) + A v4 UUID identifier, or `default` secret group. + + + version_custom_metadata (False, dict, None) + The secret version metadata that a user can customize. + + + 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'. + + + custom_metadata (False, dict, None) + The secret metadata that a user can customize. + + + 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'. + + + 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_sm_kv_secret_info.rst b/docs/ibm_sm_kv_secret_info.rst new file mode 100644 index 000000000..de165d54f --- /dev/null +++ b/docs/ibm_sm_kv_secret_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_kv_secret_info -- Retrieve IBM Cloud 'ibm_sm_kv_secret' resource +======================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_kv_secret' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_kv_secret + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + endpoint_type (False, str, None) + public or private. + + + secret_id (True, str, None) + The ID of the secret. + + + 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) + (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'. + + + 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_sm_kv_secret_metadata_info.rst b/docs/ibm_sm_kv_secret_metadata_info.rst new file mode 100644 index 000000000..8202b4b48 --- /dev/null +++ b/docs/ibm_sm_kv_secret_metadata_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_kv_secret_metadata_info -- Retrieve IBM Cloud 'ibm_sm_kv_secret_metadata' resource +========================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_kv_secret_metadata' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_kv_secret_metadata + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +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 Secrets Manager instance. + + + endpoint_type (False, str, None) + public or private. + + + secret_id (True, str, None) + The ID of the secret. + + + 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'. + + + 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_sm_private_certificate_configuration_intermediate_ca_info.rst b/docs/ibm_sm_private_certificate_configuration_intermediate_ca_info.rst new file mode 100644 index 000000000..18eec6d7f --- /dev/null +++ b/docs/ibm_sm_private_certificate_configuration_intermediate_ca_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_private_certificate_configuration_intermediate_ca_info -- Retrieve IBM Cloud 'ibm_sm_private_certificate_configuration_intermediate_ca' resource +======================================================================================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_private_certificate_configuration_intermediate_ca' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_private_certificate_configuration_intermediate_ca + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + name (True, str, None) + The name of the configuration. + + + endpoint_type (False, str, None) + public or private. + + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + 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) + (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'. + + + 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_sm_private_certificate_configuration_root_ca_info.rst b/docs/ibm_sm_private_certificate_configuration_root_ca_info.rst new file mode 100644 index 000000000..4b49166db --- /dev/null +++ b/docs/ibm_sm_private_certificate_configuration_root_ca_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_private_certificate_configuration_root_ca_info -- Retrieve IBM Cloud 'ibm_sm_private_certificate_configuration_root_ca' resource +======================================================================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_private_certificate_configuration_root_ca' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_private_certificate_configuration_root_ca + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + name (True, str, None) + The name of the configuration. + + + endpoint_type (False, str, None) + public or private. + + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + 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) + (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'. + + + 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_sm_private_certificate_configuration_template_info.rst b/docs/ibm_sm_private_certificate_configuration_template_info.rst new file mode 100644 index 000000000..a5de20008 --- /dev/null +++ b/docs/ibm_sm_private_certificate_configuration_template_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_private_certificate_configuration_template_info -- Retrieve IBM Cloud 'ibm_sm_private_certificate_configuration_template' resource +========================================================================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_private_certificate_configuration_template' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_private_certificate_configuration_template + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + name (True, str, None) + The name of the configuration. + + + endpoint_type (False, str, None) + public or private. + + + 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) + (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'. + + + 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_sm_private_certificate_info.rst b/docs/ibm_sm_private_certificate_info.rst new file mode 100644 index 000000000..3f67bdf38 --- /dev/null +++ b/docs/ibm_sm_private_certificate_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_private_certificate_info -- Retrieve IBM Cloud 'ibm_sm_private_certificate' resource +=========================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_private_certificate' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_private_certificate + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + endpoint_type (False, str, None) + public or private. + + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + secret_id (True, str, None) + The ID of the secret. + + + 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) + (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'. + + + 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_sm_private_certificate_metadata_info.rst b/docs/ibm_sm_private_certificate_metadata_info.rst new file mode 100644 index 000000000..a4b5f70a4 --- /dev/null +++ b/docs/ibm_sm_private_certificate_metadata_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_private_certificate_metadata_info -- Retrieve IBM Cloud 'ibm_sm_private_certificate_metadata' resource +============================================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_private_certificate_metadata' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_private_certificate_metadata + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +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 Secrets Manager instance. + + + secret_id (True, str, None) + The ID of the secret. + + + endpoint_type (False, str, None) + public or private. + + + 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'. + + + 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_sm_public_certificate_configuration_ca_lets_encrypt.rst b/docs/ibm_sm_public_certificate_configuration_ca_lets_encrypt.rst new file mode 100644 index 000000000..6eb85391e --- /dev/null +++ b/docs/ibm_sm_public_certificate_configuration_ca_lets_encrypt.rst @@ -0,0 +1,93 @@ + +ibm_sm_public_certificate_configuration_ca_lets_encrypt -- Configure IBM Cloud 'ibm_sm_public_certificate_configuration_ca_lets_encrypt' resource +================================================================================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_sm_public_certificate_configuration_ca_lets_encrypt' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_public_certificate_configuration_ca_lets_encrypt + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + lets_encrypt_environment (True, str, None) + (Required for new resource) The configuration of the Let's Encrypt CA environment. + + + lets_encrypt_private_key (True, str, None) + (Required for new resource) The PEM encoded private key of your Lets Encrypt account. + + + instance_id (True, str, None) + (Required for new resource) The ID of the Secrets Manager instance. + + + 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'. + + + endpoint_type (False, str, None) + public or private. + + + name (True, str, None) + (Required for new resource) A human-readable unique name to assign to your configuration.To protect your privacy, do not use personal data, such as your name or location, as an name for your secret. + + + 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'. + + + 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_sm_public_certificate_configuration_ca_lets_encrypt_info.rst b/docs/ibm_sm_public_certificate_configuration_ca_lets_encrypt_info.rst new file mode 100644 index 000000000..218c93963 --- /dev/null +++ b/docs/ibm_sm_public_certificate_configuration_ca_lets_encrypt_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_public_certificate_configuration_ca_lets_encrypt_info -- Retrieve IBM Cloud 'ibm_sm_public_certificate_configuration_ca_lets_encrypt' resource +===================================================================================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_public_certificate_configuration_ca_lets_encrypt' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_public_certificate_configuration_ca_lets_encrypt + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +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'. + + + name (True, str, None) + The name of the configuration. + + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + endpoint_type (False, str, None) + public or private. + + + 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'. + + + 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_sm_public_certificate_configuration_dns_cis.rst b/docs/ibm_sm_public_certificate_configuration_dns_cis.rst new file mode 100644 index 000000000..05f5a966f --- /dev/null +++ b/docs/ibm_sm_public_certificate_configuration_dns_cis.rst @@ -0,0 +1,93 @@ + +ibm_sm_public_certificate_configuration_dns_cis -- Configure IBM Cloud 'ibm_sm_public_certificate_configuration_dns_cis' resource +================================================================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_sm_public_certificate_configuration_dns_cis' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_public_certificate_configuration_dns_cis + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + cloud_internet_services_apikey (False, str, None) + An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (`internet-svcs`).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use the[IAM Policy Management API](https://cloud.ibm.com/apidocs/iam-policy-management#create-policy) to control specific domains. For more information, see the [docs](https://cloud.ibm.com/docs/secrets-manager?topic=secrets-manager-prepare-order-certificates#authorize-specific-domains). + + + instance_id (True, str, None) + (Required for new resource) The ID of the Secrets Manager instance. + + + 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'. + + + endpoint_type (False, str, None) + public or private. + + + name (True, str, None) + (Required for new resource) A human-readable unique name to assign to your configuration.To protect your privacy, do not use personal data, such as your name or location, as an name for your secret. + + + cloud_internet_services_crn (True, str, None) + (Required for new resource) A CRN that uniquely identifies an IBM Cloud resource. + + + 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'. + + + 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_sm_public_certificate_configuration_dns_cis_info.rst b/docs/ibm_sm_public_certificate_configuration_dns_cis_info.rst new file mode 100644 index 000000000..9724b3666 --- /dev/null +++ b/docs/ibm_sm_public_certificate_configuration_dns_cis_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_public_certificate_configuration_dns_cis_info -- Retrieve IBM Cloud 'ibm_sm_public_certificate_configuration_dns_cis' resource +===================================================================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_public_certificate_configuration_dns_cis' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_public_certificate_configuration_dns_cis + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + 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'. + + + endpoint_type (False, str, None) + public or private. + + + name (True, str, None) + The name of the configuration. + + + 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'. + + + 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_sm_public_certificate_configuration_dns_classic_infrastructure.rst b/docs/ibm_sm_public_certificate_configuration_dns_classic_infrastructure.rst new file mode 100644 index 000000000..ad2470b72 --- /dev/null +++ b/docs/ibm_sm_public_certificate_configuration_dns_classic_infrastructure.rst @@ -0,0 +1,93 @@ + +ibm_sm_public_certificate_configuration_dns_classic_infrastructure -- Configure IBM Cloud 'ibm_sm_public_certificate_configuration_dns_classic_infrastructure' resource +======================================================================================================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_sm_public_certificate_configuration_dns_classic_infrastructure' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_public_certificate_configuration_dns_classic_infrastructure + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + endpoint_type (False, str, None) + public or private. + + + classic_infrastructure_password (True, str, None) + (Required for new resource) Your classic infrastructure API key.For information about viewing and accessing your classic infrastructure API key, see the [docs](https://cloud.ibm.com/docs/account?topic=account-classic_keys). + + + classic_infrastructure_username (True, str, None) + (Required for new resource) The username that is associated with your classic infrastructure account.In most cases, your classic infrastructure username is your `_`. For more information, see the [docs](https://cloud.ibm.com/docs/account?topic=account-classic_keys). + + + instance_id (True, str, None) + (Required for new resource) The ID of the Secrets Manager instance. + + + 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) A human-readable unique name to assign to your configuration.To protect your privacy, do not use personal data, such as your name or location, as an name for your secret. + + + 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'. + + + 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_sm_public_certificate_configuration_dns_classic_infrastructure_info.rst b/docs/ibm_sm_public_certificate_configuration_dns_classic_infrastructure_info.rst new file mode 100644 index 000000000..2699abe1d --- /dev/null +++ b/docs/ibm_sm_public_certificate_configuration_dns_classic_infrastructure_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_public_certificate_configuration_dns_classic_infrastructure_info -- Retrieve IBM Cloud 'ibm_sm_public_certificate_configuration_dns_classic_infrastructure' resource +=========================================================================================================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_public_certificate_configuration_dns_classic_infrastructure' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_public_certificate_configuration_dns_classic_infrastructure + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + 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'. + + + endpoint_type (False, str, None) + public or private. + + + name (True, str, None) + The name of the configuration. + + + 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'. + + + 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_sm_public_certificate_info.rst b/docs/ibm_sm_public_certificate_info.rst new file mode 100644 index 000000000..2c6e0b24f --- /dev/null +++ b/docs/ibm_sm_public_certificate_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_public_certificate_info -- Retrieve IBM Cloud 'ibm_sm_public_certificate' resource +========================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_public_certificate' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_public_certificate + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + endpoint_type (False, str, None) + public or private. + + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + 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'. + + + secret_id (True, str, None) + The ID of the secret. + + + 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'. + + + 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_sm_public_certificate_metadata_info.rst b/docs/ibm_sm_public_certificate_metadata_info.rst new file mode 100644 index 000000000..2a511b1cb --- /dev/null +++ b/docs/ibm_sm_public_certificate_metadata_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_public_certificate_metadata_info -- Retrieve IBM Cloud 'ibm_sm_public_certificate_metadata' resource +=========================================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_public_certificate_metadata' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_public_certificate_metadata + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +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 Secrets Manager instance. + + + secret_id (True, str, None) + The ID of the secret. + + + endpoint_type (False, str, None) + public or private. + + + 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'. + + + 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_sm_secret_group.rst b/docs/ibm_sm_secret_group.rst new file mode 100644 index 000000000..fd0ce3b0a --- /dev/null +++ b/docs/ibm_sm_secret_group.rst @@ -0,0 +1,89 @@ + +ibm_sm_secret_group -- Configure IBM Cloud 'ibm_sm_secret_group' resource +========================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_sm_secret_group' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_secret_group + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + instance_id (True, str, None) + (Required for new resource) The ID of the Secrets Manager instance. + + + 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'. + + + endpoint_type (False, str, None) + public or private. + + + name (True, str, None) + (Required for new resource) The name of your secret group. + + + description (False, str, None) + An extended description of your secret group.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group. + + + 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'. + + + 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_sm_secret_group_info.rst b/docs/ibm_sm_secret_group_info.rst new file mode 100644 index 000000000..6c4205398 --- /dev/null +++ b/docs/ibm_sm_secret_group_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_secret_group_info -- Retrieve IBM Cloud 'ibm_sm_secret_group' resource +============================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_secret_group' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_secret_group + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + 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'. + + + endpoint_type (False, str, None) + public or private. + + + secret_group_id (True, str, None) + The ID of the secret group. + + + 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'. + + + 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_sm_secret_groups_info.rst b/docs/ibm_sm_secret_groups_info.rst new file mode 100644 index 000000000..cb5ae5fbf --- /dev/null +++ b/docs/ibm_sm_secret_groups_info.rst @@ -0,0 +1,71 @@ + +ibm_sm_secret_groups_info -- Retrieve IBM Cloud 'ibm_sm_secret_groups' resource +=============================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_secret_groups' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_secret_groups + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + 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'. + + + endpoint_type (False, str, None) + public or private. + + + 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'. + + + 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_sm_username_password_secret.rst b/docs/ibm_sm_username_password_secret.rst new file mode 100644 index 000000000..6ca9267f2 --- /dev/null +++ b/docs/ibm_sm_username_password_secret.rst @@ -0,0 +1,121 @@ + +ibm_sm_username_password_secret -- Configure IBM Cloud 'ibm_sm_username_password_secret' resource +================================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Create, update or destroy an IBM Cloud 'ibm_sm_username_password_secret' resource + +This module supports idempotency + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_username_password_secret + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + custom_metadata (False, dict, None) + The secret metadata that a user can customize. + + + name (True, str, None) + (Required for new resource) A human-readable name to assign to your secret.To protect your privacy, do not use personal data, such as your name or location, as a name for your secret. + + + password (True, str, None) + (Required for new resource) The password that is assigned to the secret. + + + endpoint_type (False, str, None) + public or private. + + + description (False, str, None) + An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group. + + + expiration_date (False, str, None) + The date a secret is expired. The date format follows RFC 3339. + + + rotation (False, list, None) + Determines whether Secrets Manager rotates your secrets automatically. + + + labels (False, list, None) + Labels that you can use to search for secrets in your instance.Up to 30 labels can be created. + + + secret_group_id (False, str, None) + A v4 UUID identifier, or `default` secret group. + + + instance_id (True, str, None) + (Required for new resource) The ID of the Secrets Manager instance. + + + 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'. + + + version_custom_metadata (False, dict, None) + The secret version metadata that a user can customize. + + + username (True, str, None) + (Required for new resource) The username that is assigned to the secret. + + + 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'. + + + 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_sm_username_password_secret_info.rst b/docs/ibm_sm_username_password_secret_info.rst new file mode 100644 index 000000000..599af0072 --- /dev/null +++ b/docs/ibm_sm_username_password_secret_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_username_password_secret_info -- Retrieve IBM Cloud 'ibm_sm_username_password_secret' resource +===================================================================================================== + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_username_password_secret' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_username_password_secret + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + secret_id (True, str, None) + The ID of the secret. + + + 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'. + + + endpoint_type (False, str, None) + public or private. + + + 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'. + + + 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_sm_username_password_secret_metadata_info.rst b/docs/ibm_sm_username_password_secret_metadata_info.rst new file mode 100644 index 000000000..2caf45531 --- /dev/null +++ b/docs/ibm_sm_username_password_secret_metadata_info.rst @@ -0,0 +1,75 @@ + +ibm_sm_username_password_secret_metadata_info -- Retrieve IBM Cloud 'ibm_sm_username_password_secret_metadata' resource +======================================================================================================================= + +.. contents:: + :local: + :depth: 1 + + +Synopsis +-------- + +Retrieve an IBM Cloud 'ibm_sm_username_password_secret_metadata' resource + + +ForMoreInfoRefer +---------------- +refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_username_password_secret_metadata + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- IBM-Cloud terraform-provider-ibm v1.51.0 +- Terraform v0.12.20 + + + +Parameters +---------- + + instance_id (True, str, None) + The ID of the Secrets Manager instance. + + + endpoint_type (False, str, None) + public or private. + + + 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'. + + + secret_id (True, str, None) + The ID of the secret. + + + 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'. + + + 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_space.rst b/docs/ibm_space.rst index 3a72b809f..8b474719c 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_space_info.rst b/docs/ibm_space_info.rst index e068fa611..46af017aa 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_ssl_certificate.rst b/docs/ibm_ssl_certificate.rst index 349bdfc9c..280cf85d9 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,66 +31,66 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - 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 + server_count (True, int, None) + (Required for new resource) Server count - technical_contact_same_as_org_address_flag (False, bool, False) - Technical contact same as org address flag + certificate_signing_request (True, str, None) + (Required for new resource) certificate signing request info administrative_address_same_as_organization_flag (False, bool, False) administrative address same as organization flag - organization_information (True, list, None) - (Required for new resource) Organization information - - - billing_contact (False, list, None) - None - - - administrative_contact (False, list, None) - None + server_type (True, str, None) + (Required for new resource) server type - server_count (True, int, None) - (Required for new resource) Server count + validity_months (True, int, None) + (Required for new resource) vslidity of the ssl certificate in month ssl_type (True, str, None) (Required for new resource) ssl type - administrative_contact_same_as_technical_flag (False, bool, False) - Administrative contact same as technical flag + order_approver_email_address (True, str, None) + (Required for new resource) Email address of the approver - billing_contact_same_as_technical_flag (False, bool, False) - billing contact + technical_contact_same_as_org_address_flag (False, bool, False) + Technical contact same as org address flag + + + billing_contact (False, list, None) + None billing_address_same_as_organization_flag (False, bool, False) billing address same as organization flag - server_type (True, str, None) - (Required for new resource) server type + organization_information (True, list, None) + (Required for new resource) Organization information - certificate_signing_request (True, str, None) - (Required for new resource) certificate signing request info + administrative_contact (False, list, None) + None renewal_flag (False, bool, True) Renewal flag + administrative_contact_same_as_technical_flag (False, bool, False) + Administrative contact same as technical flag + + + billing_contact_same_as_technical_flag (False, bool, False) + billing contact + + technical_contact (True, list, None) (Required for new resource) Technical contact info diff --git a/docs/ibm_storage_block.rst b/docs/ibm_storage_block.rst index cf10f17d6..db6ddd665 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,52 +31,52 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - datacenter (True, str, None) - (Required for new resource) Datacenter name + capacity (True, int, None) + (Required for new resource) Storage block size - 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 + allowed_virtual_guest_ids (False, list, None) + List of allowed virtual guest IDs - type (True, str, None) - (Required for new resource) Storage block type + allowed_hardware_ids (False, list, None) + List of allowe hardware IDs - notes (False, str, None) - Additional note info + type (True, str, None) + (Required for new resource) Storage block type - allowed_ip_addresses (False, list, None) - Allowed IP addresses + os_format_type (True, str, None) + (Required for new resource) OS formatr type - allowed_virtual_guest_ids (False, list, None) - List of allowed virtual guest IDs + notes (False, str, None) + Additional note info tags (False, list, None) List of tags associated with the resource - capacity (True, int, None) - (Required for new resource) Storage block size + hourly_billing (False, bool, False) + Billing done hourly, if set to true - snapshot_capacity (False, int, None) - Snapshot capacity in GB + datacenter (True, str, None) + (Required for new resource) Datacenter name - os_format_type (True, str, None) - (Required for new resource) OS formatr type + snapshot_capacity (False, int, None) + Snapshot capacity in GB - iops (True, float, None) - (Required for new resource) IOPS value required + allowed_ip_addresses (False, list, None) + Allowed IP addresses id (False, str, None) diff --git a/docs/ibm_storage_evault.rst b/docs/ibm_storage_evault.rst index 16b1ac329..46da9e843 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,6 +31,10 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + hardware_instance_id (False, int, None) + Hardware instance ID + + tags (False, list, None) Tags set for the resource @@ -47,10 +51,6 @@ Parameters Virtual instance ID - hardware_instance_id (False, int, None) - Hardware instance ID - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_storage_file.rst b/docs/ibm_storage_file.rst index e32fe7352..0af09d223 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,12 +31,12 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - type (True, str, None) - (Required for new resource) Storage type + tags (False, list, None) + Tags set for the storage volume - datacenter (True, str, None) - (Required for new resource) Datacenter name + hourly_billing (False, bool, False) + Hourly based billing type allowed_virtual_guest_ids (False, list, None) @@ -47,12 +47,12 @@ Parameters Hardaware ID - tags (False, list, None) - Tags set for the storage volume + allowed_subnets (False, list, None) + Allowed network subnets - hourly_billing (False, bool, False) - Hourly based billing type + allowed_ip_addresses (False, list, None) + Allowed range of IP addresses capacity (True, int, None) @@ -71,16 +71,16 @@ Parameters Snapshot capacity - allowed_subnets (False, list, None) - Allowed network subnets + notes (False, str, None) + Notes - allowed_ip_addresses (False, list, None) - Allowed range of IP addresses + type (True, str, None) + (Required for new resource) Storage type - notes (False, str, None) - Notes + datacenter (True, str, None) + (Required for new resource) Datacenter name id (False, str, None) diff --git a/docs/ibm_subnet.rst b/docs/ibm_subnet.rst index 6d397d7db..538aba5cf 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,28 +31,16 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - ip_version (False, int, 4) - ip version - - - tags (False, list, None) - tags set for the resource - - notes (False, str, None) Notes - private (False, bool, False) - private subnet - - type (True, str, None) (Required for new resource) subnet type - capacity (True, int, None) - (Required for new resource) number of ip addresses in the subnet + ip_version (False, int, 4) + ip version vlan_id (False, int, None) @@ -63,6 +51,18 @@ Parameters endpoint IP + tags (False, list, None) + tags set for the resource + + + private (False, bool, False) + private subnet + + + capacity (True, int, None) + (Required for new resource) number of ip addresses in the subnet + + id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_tg_connection.rst b/docs/ibm_tg_connection.rst index f56dc18b8..3801c1c70 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,56 +31,56 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - base_connection_id (False, str, None) - The ID of a network_type 'classic' connection a tunnel is configured over. 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' and 'unbound_gre_tunnel' connections. base_network_type (False, str, None) The type of network the unbound gre tunnel is targeting. This field is required for network type 'unbound_gre_tunnel'. - local_tunnel_ip (False, str, None) - The local tunnel IP address. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. + remote_tunnel_ip (False, str, None) + The remote tunnel IP address. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. zone (False, str, None) Location of GRE tunnel. This field only applies to network type 'gre_tunnel' and 'unbound_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,unbound_gre_tunnel) - - 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', 'gre_tunnel', and 'unbound_gre_tunnel'. + local_tunnel_ip (False, str, None) + The local tunnel IP address. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. - local_gateway_ip (False, str, None) - The local gateway IP address. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. + base_connection_id (False, str, None) + The ID of a network_type 'classic' connection a tunnel is configured over. This field only applies to network type 'gre_tunnel' connections. - gateway (True, str, None) - (Required for new resource) The Transit Gateway identifier + remote_gateway_ip (False, str, None) + The remote gateway IP address. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. - 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. This field is required for type 'unbound_gre_tunnel' when the associated_network_type is 'classic' and the GRE tunnel is in a different account than the gateway. + gateway (True, str, None) + (Required for new resource) The Transit Gateway identifier - remote_gateway_ip (False, str, None) - The remote gateway IP address. This field only applies to network type 'gre_tunnel' and 'unbound_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,unbound_gre_tunnel) remote_bgp_asn (False, int, None) The remote network BGP ASN. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. - remote_tunnel_ip (False, str, None) - The remote tunnel IP address. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. + 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', 'gre_tunnel', and 'unbound_gre_tunnel'. + + + 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. This field is required for type 'unbound_gre_tunnel' when the associated_network_type is 'classic' and the GRE tunnel is in a different account than the gateway. id (False, str, None) diff --git a/docs/ibm_tg_connection_prefix_filter.rst b/docs/ibm_tg_connection_prefix_filter.rst index 1b5f1617c..a89d33f19 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -31,10 +31,22 @@ The below requirements are needed on the host that executes this module. Parameters ---------- + prefix (True, str, None) + (Required for new resource) IP Prefix + + 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 + + gateway (True, str, None) (Required for new resource) The Transit Gateway identifier @@ -47,18 +59,6 @@ Parameters (Required for new resource) Whether to permit or deny the prefix filter - ge (False, int, None) - IP Prefix GE - - - le (False, int, None) - IP Prefix LE - - - prefix (True, str, None) - (Required for new resource) IP Prefix - - id (False, str, None) (Required when updating or destroying existing resource) IBM Cloud Resource ID. diff --git a/docs/ibm_tg_connection_prefix_filter_info.rst b/docs/ibm_tg_connection_prefix_filter_info.rst index 70f4766af..40ddde6b5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,10 +29,6 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - gateway (True, str, None) - The Transit Gateway identifier - - connection_id (True, str, None) The Transit Gateway Connection identifier @@ -41,6 +37,10 @@ Parameters The Transit Gateway Connection Prefix Filter identifier + gateway (True, str, None) + The Transit 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'. diff --git a/docs/ibm_tg_connection_prefix_filters_info.rst b/docs/ibm_tg_connection_prefix_filters_info.rst index e096e6a8e..66b34e72a 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_tg_gateway.rst b/docs/ibm_tg_gateway.rst index 21404bf6f..d3ec2d6d9 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - 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) Name Transit Gateway Services + resource_group (False, str, None) + None - tags (False, list, None) - Tags for the transit gateway instance + name (True, str, None) + (Required for new resource) Name Transit Gateway Services - resource_group (False, str, None) - None + 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 - location (True, str, None) - (Required for new resource) Location of Transit Gateway Services + tags (False, list, None) + Tags for the transit gateway instance id (False, str, None) diff --git a/docs/ibm_tg_gateway_info.rst b/docs/ibm_tg_gateway_info.rst index 621d03bce..d44b5dde5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_tg_gateways_info.rst b/docs/ibm_tg_gateways_info.rst index 128f461e0..2000c12c1 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_tg_location_info.rst b/docs/ibm_tg_location_info.rst index 2e6db3d32..0427da04f 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_tg_locations_info.rst b/docs/ibm_tg_locations_info.rst index 80351ceab..dcc2558c5 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_tg_route_report.rst b/docs/ibm_tg_route_report.rst index e34b6689e..5876bce80 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/docs/ibm_tg_route_report_info.rst b/docs/ibm_tg_route_report_info.rst index 08ca94ca0..90b901ac7 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 @@ -29,14 +29,14 @@ The below requirements are needed on the host that executes this module. Parameters ---------- - gateway (True, str, None) - The Transit Gateway identifier - - route_report (True, str, None) The Transit Gateway Route Report identifier + gateway (True, str, None) + The Transit 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'. diff --git a/docs/ibm_tg_route_reports_info.rst b/docs/ibm_tg_route_reports_info.rst index 6abcb3bf1..2af98d02e 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.50.0 +- IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 diff --git a/galaxy.yml b/galaxy.yml index 8a6514616..f5444b686 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: "ibm" name: "cloudcollection" -version: "1.49.0" +version: "1.51.0" readme: "README.md" authors: - "Jay W Carman" diff --git a/plugins/modules/ibm_account_info.py b/plugins/modules/ibm_account_info.py index 18d5301fe..c88da2e70 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 f289e8d77..56efa92bc 100644 --- a/plugins/modules/ibm_api_gateway_endpoint.py +++ b/plugins/modules/ibm_api_gateway_endpoint.py @@ -18,32 +18,32 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - service_instance_crn: - description: - - (Required for new resource) Api Gateway Service Instance Crn - required: True - type: str name: description: - (Required for new resource) Endpoint name required: True type: str + managed: + description: + - Managed indicates if endpoint is online or offline. + required: False + type: bool + default: False provider_id: description: - Provider ID of an endpoint allowable values user-defined and whisk required: False type: str default: user-defined - type: + service_instance_crn: description: - - Action type of Endpoint ALoowable values are share, unshare, manage, unmanage - required: False + - (Required for new resource) Api Gateway Service Instance Crn + required: True type: str - default: unshare open_api_doc_name: description: - (Required for new resource) Json File path @@ -55,12 +55,12 @@ required: False type: list elements: str - managed: + type: description: - - Managed indicates if endpoint is online or offline. + - Action type of Endpoint ALoowable values are share, unshare, manage, unmanage required: False - type: bool - default: 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 = [ - ('service_instance_crn', 'str'), ('name', 'str'), + ('service_instance_crn', 'str'), ('open_api_doc_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'service_instance_crn', 'name', + 'managed', 'provider_id', - 'type', + 'service_instance_crn', 'open_api_doc_name', 'routes', - 'managed', + 'type', ] # Params for Data source @@ -137,16 +137,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( - service_instance_crn=dict( - required=False, - type='str'), name=dict( required=False, type='str'), + managed=dict( + required=False, + type='bool'), provider_id=dict( required=False, type='str'), - type=dict( + service_instance_crn=dict( required=False, type='str'), open_api_doc_name=dict( @@ -156,9 +156,9 @@ required=False, elements='', type='list'), - managed=dict( + type=dict( required=False, - type='bool'), + 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.50.0', + ibm_provider_version='1.51.0', 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 3b36ffb9a..42e27b9eb 100644 --- a/plugins/modules/ibm_api_gateway_endpoint_subscription.py +++ b/plugins/modules/ibm_api_gateway_endpoint_subscription.py @@ -18,10 +18,15 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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 @@ -47,11 +52,6 @@ - (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 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', ] # Params for Data source @@ -129,6 +129,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'), client_secret=dict( required=False, type='str'), @@ -144,9 +147,6 @@ name=dict( required=False, type='str'), - type=dict( - required=False, - type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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 34159a648..a255c85af 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 5d397dcf5..337a877e9 100644 --- a/plugins/modules/ibm_app.py +++ b/plugins/modules/ibm_app.py @@ -18,41 +18,30 @@ - Create, update or destroy an IBM Cloud 'ibm_app' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - route_guid: + health_check_type: description: - - Define the route guids which should be bound to the application. + - Type of health check to perform. required: False - type: list - elements: str - name: - description: - - (Required for new resource) The name for the app - required: True type: str - disk_quota: + default: port + memory: description: - - The maximum amount of disk available to an instance of an app. In megabytes. + - The amount of memory each instance should have. In megabytes. required: False type: int - space_guid: + buildpack: description: - - (Required for new resource) Define space guid to which app belongs - required: True + - 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: str - service_instance_guid: + command: description: - - Define the service instance guids that should be bound to this application. + - The initial command for the app 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 tags: description: @@ -60,57 +49,68 @@ required: False type: list elements: str - instances: + space_guid: description: - - The number of instances - required: False - type: int - default: 1 - command: + - (Required for new resource) Define space guid to which app belongs + required: True + type: str + route_guid: description: - - The initial command for the app + - Define the route guids which should be bound to the application. required: False - type: str + type: list + elements: str wait_time_minutes: description: - Define timeout to wait for the app instances to start/update/restage etc. required: False type: int default: 20 - memory: + health_check_http_endpoint: description: - - The amount of memory each instance should have. In megabytes. + - Endpoint called to determine if the app is healthy. required: False - type: int - buildpack: + type: str + health_check_timeout: 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. + - Timeout in seconds for health checking of an staged app when starting up. 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. required: False type: dict + app_path: + description: + - (Required for new resource) Define the path of the zip file of the application. + required: True + type: str app_version: description: - Version of the application required: False type: str - health_check_http_endpoint: + service_instance_guid: description: - - Endpoint called to determine if the app is healthy. + - Define the service instance guids that should be bound to this application. required: False + type: list + elements: str + name: + description: + - (Required for new resource) The name for the app + required: True type: str - health_check_type: + instances: description: - - Type of health check to perform. + - The number of instances required: False - type: str - default: port - health_check_timeout: + type: int + default: 1 + disk_quota: description: - - Timeout in seconds for health checking of an staged app when starting up. + - The maximum amount of disk available to an instance of an app. In megabytes. required: False type: int id: @@ -159,41 +159,41 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('space_guid', 'str'), ('app_path', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'route_guid', - 'name', - 'disk_quota', - 'space_guid', - 'service_instance_guid', - 'app_path', - 'tags', - 'instances', - 'command', - 'wait_time_minutes', + 'health_check_type', 'memory', 'buildpack', - 'environment_json', - 'app_version', + 'command', + 'tags', + 'space_guid', + 'route_guid', + 'wait_time_minutes', 'health_check_http_endpoint', - 'health_check_type', 'health_check_timeout', + 'environment_json', + 'app_path', + 'app_version', + 'service_instance_guid', + 'name', + 'instances', + 'disk_quota', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('name', 'str'), ('space_guid', 'str'), + ('name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'name', 'space_guid', + 'name', ] TL_CONFLICTS_MAP = { @@ -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( - route_guid=dict( - required=False, - elements='', - type='list'), - name=dict( + health_check_type=dict( required=False, type='str'), - disk_quota=dict( + memory=dict( required=False, type='int'), - space_guid=dict( + buildpack=dict( required=False, type='str'), - service_instance_guid=dict( + command=dict( + required=False, + type='str'), + tags=dict( required=False, elements='', type='list'), - app_path=dict( + space_guid=dict( required=False, type='str'), - tags=dict( + route_guid=dict( required=False, elements='', type='list'), - instances=dict( + wait_time_minutes=dict( required=False, type='int'), - command=dict( + health_check_http_endpoint=dict( required=False, type='str'), - wait_time_minutes=dict( - required=False, - type='int'), - memory=dict( + health_check_timeout=dict( required=False, type='int'), - buildpack=dict( - required=False, - type='str'), environment_json=dict( required=False, type='dict'), - app_version=dict( + app_path=dict( required=False, type='str'), - health_check_http_endpoint=dict( + app_version=dict( required=False, type='str'), - health_check_type=dict( + service_instance_guid=dict( + required=False, + elements='', + type='list'), + name=dict( required=False, type='str'), - health_check_timeout=dict( + instances=dict( + required=False, + type='int'), + disk_quota=dict( required=False, type='int'), id=dict( @@ -322,7 +322,7 @@ def run_module(): resource_type='ibm_app', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 2d6bda423..353225b39 100644 --- a/plugins/modules/ibm_app_config_collection.py +++ b/plugins/modules/ibm_app_config_collection.py @@ -18,20 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_app_config_collection' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + tags: + description: + - Tags associated with the collection + 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 - description: - description: - - Collection description - required: False - type: str name: description: - (Required for new resource) Collection name. @@ -42,9 +42,9 @@ - (Required for new resource) Collection Id. required: True type: str - tags: + description: description: - - Tags associated with the collection + - Collection description required: False type: str id: @@ -100,11 +100,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'tags', 'guid', - 'description', 'name', 'collection_id', - 'tags', + 'description', ] # Params for Data source @@ -115,9 +115,9 @@ TL_ALL_PARAMETERS_DS = [ 'guid', + 'collection_id', 'include', 'expand', - 'collection_id', ] TL_CONFLICTS_MAP = { @@ -127,10 +127,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( - guid=dict( + tags=dict( required=False, type='str'), - description=dict( + guid=dict( required=False, type='str'), name=dict( @@ -139,7 +139,7 @@ collection_id=dict( required=False, type='str'), - tags=dict( + description=dict( required=False, type='str'), id=dict( @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_app_config_collection', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 da9c1b797..3f2a73251 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -26,6 +26,11 @@ - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. required: True type: str + collection_id: + description: + - Collection Id of the collection. + required: True + type: str include: description: - Include feature, property details in the response. @@ -37,11 +42,6 @@ - If set to true, returns expanded view of the resource details. required: False type: bool - collection_id: - description: - - Collection Id of the collection. - required: True - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -82,9 +82,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'guid', + 'collection_id', 'include', 'expand', - 'collection_id', ] @@ -98,6 +98,9 @@ guid=dict( required=True, type='str'), + collection_id=dict( + required=True, + type='str'), include=dict( required=False, elements='', @@ -105,9 +108,6 @@ expand=dict( required=False, type='bool'), - collection_id=dict( - required=True, - type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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 3b79bb1b1..38da47792 100644 --- a/plugins/modules/ibm_app_config_collections_info.py +++ b/plugins/modules/ibm_app_config_collections_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_collections' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - 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. @@ -47,6 +42,11 @@ 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 @@ -85,11 +85,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'expand', 'guid', 'limit', 'offset', 'include', + 'expand', ] @@ -100,9 +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( - expand=dict( - required=False, - type='bool'), guid=dict( required=True, type='str'), @@ -116,6 +113,9 @@ required=False, elements='', type='list'), + expand=dict( + required=False, + type='bool'), 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.50.0', + ibm_provider_version='1.51.0', 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 f51c94cc5..69effedd3 100644 --- a/plugins/modules/ibm_app_config_environment.py +++ b/plugins/modules/ibm_app_config_environment.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_app_config_environment' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + environment_id: + description: + - (Required for new resource) Environment Id. + required: True + 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. @@ -32,11 +37,6 @@ - (Required for new resource) Environment name. required: True type: str - environment_id: - description: - - (Required for new resource) Environment Id. - required: True - type: str description: description: - Environment description @@ -98,16 +98,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('environment_id', 'str'), ('guid', 'str'), ('name', 'str'), - ('environment_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'environment_id', 'guid', 'name', - 'environment_id', 'description', 'tags', 'color_code', @@ -115,14 +115,14 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('guid', 'str'), ('environment_id', 'str'), + ('guid', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'guid', 'environment_id', 'expand', + 'guid', ] TL_CONFLICTS_MAP = { @@ -132,13 +132,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( - guid=dict( + environment_id=dict( required=False, type='str'), - name=dict( + guid=dict( required=False, type='str'), - environment_id=dict( + name=dict( required=False, type='str'), description=dict( @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_app_config_environment', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 4a1313150..56592a059 100644 --- a/plugins/modules/ibm_app_config_environment_info.py +++ b/plugins/modules/ibm_app_config_environment_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_environment' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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. @@ -36,6 +31,11 @@ - 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 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 = [ - ('guid', 'str'), ('environment_id', 'str'), + ('guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'guid', 'environment_id', 'expand', + 'guid', ] @@ -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( - guid=dict( - required=True, - type='str'), environment_id=dict( required=True, type='str'), expand=dict( required=False, type='bool'), + guid=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -131,7 +131,7 @@ def run_module(): resource_type='ibm_app_config_environment', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 39afef461..21023aee5 100644 --- a/plugins/modules/ibm_app_config_environments_info.py +++ b/plugins/modules/ibm_app_config_environments_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_environments' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - 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 guid: description: - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. @@ -36,14 +31,19 @@ - If set to `true`, returns expanded view of the resource details. required: False type: bool + 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 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 - 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 iaas_classic_username: @@ -84,11 +84,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'offset', 'guid', 'expand', - 'tags', 'limit', + 'tags', + 'offset', ] @@ -99,19 +99,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( - offset=dict( - required=False, - type='int'), guid=dict( required=True, type='str'), expand=dict( required=False, type='bool'), + limit=dict( + required=False, + type='int'), tags=dict( required=False, type='str'), - limit=dict( + offset=dict( required=False, type='int'), iaas_classic_username=dict( @@ -148,7 +148,7 @@ def run_module(): resource_type='ibm_app_config_environments', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 74b188eb2..695bcff85 100644 --- a/plugins/modules/ibm_app_config_feature.py +++ b/plugins/modules/ibm_app_config_feature.py @@ -18,29 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_app_config_feature' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - type: - description: - - (Required for new resource) Type of the feature (BOOLEAN, STRING, NUMERIC). - required: True - type: str - description: - description: - - Feature description. - required: False - 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 - name: + disabled_value: description: - - (Required for new resource) Feature name. + - (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 collections: @@ -59,31 +43,47 @@ - (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: + - Tags associated with the feature. + required: False + type: str enabled_value: description: - (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 - disabled_value: + description: 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 + - Feature description. + required: False type: str - tags: + segment_rules: description: - - Tags associated with the feature. + - Specify the targeting rules that is used to set different feature flag values for different segments. required: False - type: str + type: list + elements: dict 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 + feature_id: + description: + - (Required for new resource) Feature id. + required: True + type: str + type: + description: + - (Required for new resource) Type of the feature (BOOLEAN, STRING, NUMERIC). + required: True + type: str 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 = [ - ('type', 'str'), - ('name', 'str'), + ('disabled_value', 'str'), ('environment_id', 'str'), - ('feature_id', 'str'), + ('name', 'str'), ('enabled_value', 'str'), - ('disabled_value', 'str'), ('guid', 'str'), + ('feature_id', 'str'), + ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'type', - 'description', - 'segment_rules', - 'name', + 'disabled_value', 'collections', 'rollout_percentage', 'environment_id', - 'feature_id', - 'enabled_value', - 'disabled_value', + 'name', 'tags', + 'enabled_value', + 'description', + 'segment_rules', 'guid', + 'feature_id', + 'type', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ + ('environment_id', 'str'), ('guid', 'str'), ('feature_id', 'str'), - ('environment_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ + 'includes', + 'environment_id', 'guid', 'feature_id', - 'environment_id', - 'includes', ] TL_CONFLICTS_MAP = { @@ -176,17 +176,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( - type=dict( - required=False, - type='str'), - description=dict( - required=False, - type='str'), - segment_rules=dict( - required=False, - elements='', - type='list'), - name=dict( + disabled_value=dict( required=False, type='str'), collections=dict( @@ -199,21 +189,31 @@ environment_id=dict( required=False, type='str'), - feature_id=dict( + name=dict( required=False, type='str'), - enabled_value=dict( + tags=dict( required=False, type='str'), - disabled_value=dict( + enabled_value=dict( required=False, type='str'), - tags=dict( + description=dict( required=False, type='str'), + segment_rules=dict( + required=False, + elements='', + type='list'), guid=dict( required=False, type='str'), + feature_id=dict( + required=False, + type='str'), + type=dict( + required=False, + type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 2c2771ebe..b6d4a3a70 100644 --- a/plugins/modules/ibm_app_config_feature_info.py +++ b/plugins/modules/ibm_app_config_feature_info.py @@ -17,29 +17,29 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_feature' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - guid: + includes: description: - - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - required: True + - Include the associated collections in the response. + required: False type: str - feature_id: + environment_id: description: - - Feature Id. + - Environment Id. required: True type: str - environment_id: + guid: description: - - Environment Id. + - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. required: True type: str - includes: + feature_id: description: - - Include the associated collections in the response. - required: False + - Feature Id. + required: True type: str iaas_classic_username: description: @@ -74,17 +74,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('environment_id', 'str'), ('guid', 'str'), ('feature_id', 'str'), - ('environment_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'includes', + 'environment_id', 'guid', 'feature_id', - 'environment_id', - 'includes', ] @@ -95,17 +95,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( - guid=dict( - required=True, + includes=dict( + required=False, type='str'), - feature_id=dict( + environment_id=dict( required=True, type='str'), - environment_id=dict( + guid=dict( required=True, type='str'), - includes=dict( - required=False, + feature_id=dict( + required=True, type='str'), iaas_classic_username=dict( type='str', @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_app_config_feature', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 2f74d5976..83852240a 100644 --- a/plugins/modules/ibm_app_config_features_info.py +++ b/plugins/modules/ibm_app_config_features_info.py @@ -17,25 +17,26 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_features' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - tags: + segments: 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. + - Filter features by a list of comma separated segments. required: False - type: str + type: list + elements: str includes: description: - Include the associated collections or targeting rules details in the response. required: False type: list elements: str - guid: + tags: description: - - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - required: True + - 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: @@ -47,33 +48,32 @@ - 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 - environment_id: - description: - - Environment Id. - required: True - type: str sort: description: - Sort the feature details based on the specified attribute. required: False type: str - 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 + environment_id: + description: + - Environment Id. + required: True + type: str collections: description: - Filter features by a list of comma separated collections. required: False type: list elements: str - segments: + offset: description: - - Filter features by a list of comma separated segments. + - 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: list - elements: str + type: int 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', + 'segments', 'includes', - 'guid', + 'tags', 'expand', 'limit', - 'environment_id', 'sort', - 'offset', + 'guid', + 'environment_id', 'collections', - 'segments', + 'offset', ] @@ -133,15 +133,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( + segments=dict( required=False, - type='str'), + elements='', + type='list'), includes=dict( required=False, elements='', type='list'), - guid=dict( - required=True, + tags=dict( + required=False, type='str'), expand=dict( required=False, @@ -149,23 +150,22 @@ limit=dict( required=False, type='int'), - environment_id=dict( - required=True, - type='str'), sort=dict( required=False, type='str'), - offset=dict( - required=False, - type='int'), + guid=dict( + required=True, + type='str'), + environment_id=dict( + required=True, + type='str'), collections=dict( required=False, elements='', type='list'), - segments=dict( + offset=dict( required=False, - elements='', - type='list'), + type='int'), 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.50.0', + ibm_provider_version='1.51.0', 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 b3d6e5a63..f77075da7 100644 --- a/plugins/modules/ibm_app_config_properties_info.py +++ b/plugins/modules/ibm_app_config_properties_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_properties' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -26,9 +26,9 @@ - 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 - environment_id: + guid: description: - - Environment Id. + - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. required: True type: str tags: @@ -36,17 +36,12 @@ - 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: + segments: description: - - Filter features by a list of comma separated collections. + - Filter features by a list of comma separated segments. required: False type: list elements: str - expand: - description: - - If set to `true`, returns expanded view of the resource details. - required: False - type: bool include: description: - Include the associated collections or targeting rules details in the response. @@ -58,9 +53,9 @@ - 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 sort: @@ -68,12 +63,17 @@ - Sort the feature details based on the specified attribute. required: False type: 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 + 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 @@ -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 = [ 'offset', - 'environment_id', + 'guid', 'tags', - 'collections', - 'expand', + 'segments', 'include', 'limit', - 'guid', + 'environment_id', 'sort', - 'segments', + 'collections', + 'expand', ] @@ -136,19 +136,16 @@ offset=dict( required=False, type='int'), - environment_id=dict( + guid=dict( required=True, type='str'), tags=dict( required=False, type='str'), - collections=dict( + segments=dict( required=False, elements='', type='list'), - expand=dict( - required=False, - type='bool'), include=dict( required=False, elements='', @@ -156,16 +153,19 @@ limit=dict( required=False, type='int'), - guid=dict( + environment_id=dict( required=True, type='str'), sort=dict( required=False, type='str'), - segments=dict( + collections=dict( required=False, elements='', type='list'), + expand=dict( + required=False, + type='bool'), iaas_classic_username=dict( type='str', no_log=True, @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_app_config_properties', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 36370acd9..24eaa4d3e 100644 --- a/plugins/modules/ibm_app_config_property.py +++ b/plugins/modules/ibm_app_config_property.py @@ -18,38 +18,23 @@ - Create, update or destroy an IBM Cloud 'ibm_app_config_property' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - property_id: - description: - - (Required for new resource) Property id. - required: True - type: str - type: - description: - - (Required for new resource) Type of the Property (BOOLEAN, STRING, NUMERIC). - required: True - type: str - environment_id: - description: - - (Required for new resource) Environment Id. - required: True - type: str name: description: - (Required for new resource) Property name. required: True type: str - format: + property_id: description: - - Format of the feature (TEXT, JSON, YAML). - required: False + - (Required for new resource) Property id. + required: True type: str - collections: + segment_rules: description: - - List of collection id representing the collections that are associated with the specified property. + - Specify the targeting rules that is used to set different property values for different segments. required: False type: list elements: dict @@ -68,17 +53,32 @@ - Property description. required: False type: str + environment_id: + description: + - (Required for new resource) Environment Id. + required: True + type: str + type: + description: + - (Required for new resource) Type of the Property (BOOLEAN, STRING, NUMERIC). + required: True + type: str + collections: + description: + - List of collection id representing the collections that are associated with the specified property. + required: False + type: list + elements: dict tags: description: - Tags associated with the property. required: False type: str - segment_rules: + format: description: - - Specify the targeting rules that is used to set different property values for different segments. + - Format of the feature (TEXT, JSON, YAML). required: False - type: list - elements: dict + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -125,41 +125,41 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('property_id', 'str'), - ('type', 'str'), - ('environment_id', 'str'), ('name', 'str'), + ('property_id', 'str'), ('guid', 'str'), ('value', 'str'), + ('environment_id', 'str'), + ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'property_id', - 'type', - 'environment_id', 'name', - 'format', - 'collections', + 'property_id', + 'segment_rules', 'guid', 'value', 'description', + 'environment_id', + 'type', + 'collections', 'tags', - 'segment_rules', + 'format', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ + ('property_id', 'str'), ('guid', 'str'), ('environment_id', 'str'), - ('property_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ + 'property_id', + 'include', 'guid', 'environment_id', - 'include', - 'property_id', ] TL_CONFLICTS_MAP = { @@ -169,22 +169,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( - property_id=dict( - required=False, - type='str'), - type=dict( - required=False, - type='str'), - environment_id=dict( - required=False, - type='str'), name=dict( required=False, type='str'), - format=dict( + property_id=dict( required=False, type='str'), - collections=dict( + segment_rules=dict( required=False, elements='', type='list'), @@ -197,13 +188,22 @@ description=dict( required=False, type='str'), - tags=dict( + environment_id=dict( required=False, type='str'), - segment_rules=dict( + type=dict( + required=False, + type='str'), + collections=dict( required=False, elements='', type='list'), + tags=dict( + required=False, + type='str'), + format=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -269,7 +269,7 @@ def run_module(): resource_type='ibm_app_config_property', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 d1727558f..afe355523 100644 --- a/plugins/modules/ibm_app_config_property_info.py +++ b/plugins/modules/ibm_app_config_property_info.py @@ -17,18 +17,13 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_property' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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: + property_id: description: - - Environment Id. + - Property Id. required: True type: str include: @@ -36,9 +31,14 @@ - Include the associated collections in the response. required: False type: str - property_id: + guid: description: - - Property Id. + - 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. required: True type: str iaas_classic_username: @@ -74,17 +74,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('property_id', 'str'), ('guid', 'str'), ('environment_id', 'str'), - ('property_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'property_id', + 'include', 'guid', 'environment_id', - 'include', - 'property_id', ] @@ -95,16 +95,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( - guid=dict( - required=True, - type='str'), - environment_id=dict( + property_id=dict( required=True, type='str'), include=dict( required=False, type='str'), - property_id=dict( + guid=dict( + required=True, + type='str'), + environment_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_app_config_property', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 243173d39..07d1c69ce 100644 --- a/plugins/modules/ibm_app_config_segment.py +++ b/plugins/modules/ibm_app_config_segment.py @@ -18,21 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_app_config_segment' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - 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 rules: 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 + 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 name: description: - (Required for new resource) Segment name. @@ -99,16 +99,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('guid', 'str'), ('rules', 'list'), + ('guid', 'str'), ('name', 'str'), ('segment_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'guid', 'rules', + 'guid', 'name', 'segment_id', 'description', @@ -123,8 +123,8 @@ TL_ALL_PARAMETERS_DS = [ 'guid', - 'segment_id', 'includes', + 'segment_id', ] TL_CONFLICTS_MAP = { @@ -134,13 +134,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( - guid=dict( - required=False, - type='str'), rules=dict( required=False, elements='', type='list'), + guid=dict( + required=False, + type='str'), name=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 d7d11ed6b..c5c1c994d 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -26,17 +26,17 @@ - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. required: True type: str - segment_id: - description: - - Segment id. - required: True - type: str includes: description: - Include feature and property details in the response. required: False type: list elements: str + segment_id: + description: + - Segment id. + required: True + type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -77,8 +77,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'guid', - 'segment_id', 'includes', + 'segment_id', ] @@ -92,13 +92,13 @@ guid=dict( required=True, type='str'), - segment_id=dict( - required=True, - type='str'), includes=dict( required=False, elements='', type='list'), + segment_id=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_app_config_segment', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 ba5433909..af759a3cf 100644 --- a/plugins/modules/ibm_app_config_segments_info.py +++ b/plugins/modules/ibm_app_config_segments_info.py @@ -17,30 +17,30 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_segments' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - guid: + include: description: - - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. - required: True + - Segment details to include the associated rules in the response + required: False type: str expand: description: - If set to `true`, returns expanded view of the resource details. required: False type: bool - 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 + 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. @@ -51,11 +51,11 @@ - Sort the segment details based on the specified attribute. required: False type: str - include: + limit: description: - - Segment details to include the associated rules in the response + - 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: str + type: int total_count: description: - Total number of records. @@ -99,13 +99,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'guid', + 'include', 'expand', - 'limit', 'offset', + 'guid', 'tags', 'sort', - 'include', + 'limit', 'total_count', ] @@ -117,27 +117,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( - guid=dict( - required=True, + include=dict( + required=False, type='str'), expand=dict( required=False, type='bool'), - limit=dict( - required=False, - type='int'), offset=dict( required=False, type='int'), + guid=dict( + required=True, + type='str'), tags=dict( required=False, type='str'), sort=dict( required=False, type='str'), - include=dict( + limit=dict( required=False, - type='str'), + type='int'), total_count=dict( required=False, type='int'), @@ -175,7 +175,7 @@ def run_module(): resource_type='ibm_app_config_segments', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 index fa7a404cf..a1ecfcbe4 100644 --- a/plugins/modules/ibm_app_config_snapshot.py +++ b/plugins/modules/ibm_app_config_snapshot.py @@ -18,18 +18,28 @@ - Create, update or destroy an IBM Cloud 'ibm_app_config_snapshot' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + 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_config_id: + action: description: - - (Required for new resource) Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only + - action promote + required: False + 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_branch: @@ -37,9 +47,9 @@ - (Required for new resource) Branch name to which you need to write or update the configuration. required: True type: str - collection_id: + environment_id: description: - - (Required for new resource) Collection id. + - (Required for new resource) Environment id. required: True type: str guid: @@ -47,29 +57,19 @@ - (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_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 - action: - description: - - action promote - required: False - type: str - git_config_name: + git_config_id: description: - - (Required for new resource) Git config name. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only + - (Required for new resource) Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only required: True type: str - environment_id: + git_url: description: - - (Required for new resource) Environment id. + - (Required for new resource) Git url which will be used to connect to the github account. required: True type: str - git_url: + collection_id: description: - - (Required for new resource) Git url which will be used to connect to the github account. + - (Required for new resource) Collection id. required: True type: str id: @@ -118,40 +118,40 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('git_token', 'str'), - ('git_config_id', 'str'), - ('git_branch', 'str'), - ('collection_id', 'str'), - ('guid', 'str'), ('git_file_path', 'str'), + ('git_token', 'str'), ('git_config_name', 'str'), + ('git_branch', 'str'), ('environment_id', 'str'), + ('guid', 'str'), + ('git_config_id', 'str'), ('git_url', 'str'), + ('collection_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'git_token', - 'git_config_id', - 'git_branch', - 'collection_id', - 'guid', 'git_file_path', + 'git_token', 'action', 'git_config_name', + 'git_branch', 'environment_id', + 'guid', + 'git_config_id', 'git_url', + 'collection_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('git_config_id', 'str'), ('guid', 'str'), + ('git_config_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'git_config_id', 'guid', + 'git_config_id', ] TL_CONFLICTS_MAP = { @@ -161,34 +161,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( - git_token=dict( + git_file_path=dict( required=False, type='str'), - git_config_id=dict( + git_token=dict( required=False, type='str'), - git_branch=dict( + action=dict( required=False, type='str'), - collection_id=dict( + git_config_name=dict( required=False, type='str'), - guid=dict( + git_branch=dict( required=False, type='str'), - git_file_path=dict( + environment_id=dict( required=False, type='str'), - action=dict( + guid=dict( required=False, type='str'), - git_config_name=dict( + git_config_id=dict( required=False, type='str'), - environment_id=dict( + git_url=dict( required=False, type='str'), - git_url=dict( + collection_id=dict( required=False, type='str'), id=dict( @@ -256,7 +256,7 @@ def run_module(): resource_type='ibm_app_config_snapshot', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -265,7 +265,7 @@ def run_module(): resource_type='ibm_app_config_snapshot', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_app_config_snapshot_info.py b/plugins/modules/ibm_app_config_snapshot_info.py index ee929dc53..2d2c79b1f 100644 --- a/plugins/modules/ibm_app_config_snapshot_info.py +++ b/plugins/modules/ibm_app_config_snapshot_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_snapshot' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - git_config_id: + guid: description: - - Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only + - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. required: True type: str - guid: + git_config_id: description: - - GUID of the App Configuration service. Get it from the service instance credentials section of the dashboard. + - Git config id. Allowed special characters are dot ( . ), hyphen( - ), underscore ( _ ) only required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('git_config_id', 'str'), ('guid', 'str'), + ('git_config_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'git_config_id', 'guid', + 'git_config_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( - git_config_id=dict( + guid=dict( required=True, type='str'), - guid=dict( + git_config_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_app_config_snapshot', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_config_snapshots_info.py b/plugins/modules/ibm_app_config_snapshots_info.py index c04cd7bcf..7118800a8 100644 --- a/plugins/modules/ibm_app_config_snapshots_info.py +++ b/plugins/modules/ibm_app_config_snapshots_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_app_config_snapshots' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -148,7 +148,7 @@ def run_module(): resource_type='ibm_app_config_snapshots', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_app_domain_private.py b/plugins/modules/ibm_app_domain_private.py index 6b7416dff..1c698a2c8 100644 --- a/plugins/modules/ibm_app_domain_private.py +++ b/plugins/modules/ibm_app_domain_private.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_app_domain_private' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_app_domain_private', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 f979527ae..cf30b15bd 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 0ced7fc00..bb216e8e3 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 ff26c1b11..247b11e1e 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 c52b895e4..ce627e3b5 100644 --- a/plugins/modules/ibm_app_info.py +++ b/plugins/modules/ibm_app_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_app' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: + space_guid: description: - - The name for the app + - Define space guid to which app belongs required: True type: str - space_guid: + name: description: - - Define space guid to which app belongs + - The name for the app required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('space_guid', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'space_guid', + '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( + space_guid=dict( required=True, type='str'), - space_guid=dict( + name=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_app', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 2aadb7d38..24871d0db 100644 --- a/plugins/modules/ibm_app_route.py +++ b/plugins/modules/ibm_app_route.py @@ -18,21 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_app_route' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - path: - description: - - 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 host: description: - The host portion of the route. Required for shared-domains. @@ -53,6 +42,17 @@ - The port of the route. Supported for domains of TCP router groups only. required: False type: int + path: + description: + - 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 = [ - 'path', - 'tags', 'host', 'space_guid', 'domain_guid', 'port', + 'path', + 'tags', ] # Params for Data source @@ -120,11 +120,11 @@ ] TL_ALL_PARAMETERS_DS = [ + 'space_guid', + 'domain_guid', 'host', 'path', 'port', - 'space_guid', - 'domain_guid', ] TL_CONFLICTS_MAP = { @@ -134,13 +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( - path=dict( - required=False, - type='str'), - tags=dict( - required=False, - elements='', - type='list'), host=dict( required=False, type='str'), @@ -153,6 +146,13 @@ port=dict( required=False, type='int'), + 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 1383edda2..59719b003 100644 --- a/plugins/modules/ibm_app_route_info.py +++ b/plugins/modules/ibm_app_route_info.py @@ -17,10 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_app_route' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + space_guid: + description: + - The guid of the space + required: True + type: str + domain_guid: + description: + - The guid of the domain + required: True + type: str host: description: - The host of the route @@ -36,16 +46,6 @@ - The port of the route required: False type: str - space_guid: - description: - - The guid of the space - required: True - type: str - domain_guid: - description: - - The guid of the domain - required: True - 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 = [ + 'space_guid', + 'domain_guid', 'host', 'path', 'port', - 'space_guid', - 'domain_guid', ] @@ -100,6 +100,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( + space_guid=dict( + required=True, + type='str'), + domain_guid=dict( + required=True, + type='str'), host=dict( required=False, type='str'), @@ -109,12 +115,6 @@ port=dict( required=False, type='str'), - space_guid=dict( - required=True, - type='str'), - domain_guid=dict( - required=True, - type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -149,7 +149,7 @@ def run_module(): resource_type='ibm_app_route', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 cff40ff30..68119b1d6 100644 --- a/plugins/modules/ibm_appid_action_url.py +++ b/plugins/modules/ibm_appid_action_url.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_action_url' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -187,7 +187,7 @@ def run_module(): resource_type='ibm_appid_action_url', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 802a1a4b5..b642e7e9e 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 4c1716b78..72c3344e9 100644 --- a/plugins/modules/ibm_appid_apm.py +++ b/plugins/modules/ibm_appid_apm.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_apm' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -233,7 +233,7 @@ def run_module(): resource_type='ibm_appid_apm', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 da8f7271c..16535e475 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 0c880cd9b..1ae2eddfe 100644 --- a/plugins/modules/ibm_appid_application.py +++ b/plugins/modules/ibm_appid_application.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_application' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -97,13 +97,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('tenant_id', 'str'), ('client_id', 'str'), + ('tenant_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'tenant_id', 'client_id', + 'tenant_id', ] TL_CONFLICTS_MAP = { @@ -187,7 +187,7 @@ def run_module(): resource_type='ibm_appid_application', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 671127362..9d47b2f86 100644 --- a/plugins/modules/ibm_appid_application_info.py +++ b/plugins/modules/ibm_appid_application_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_appid_application' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - tenant_id: + client_id: description: - - The service `tenantId` + - The `client_id` is a public identifier for applications required: True type: str - client_id: + tenant_id: description: - - The `client_id` is a public identifier for applications + - The service `tenantId` 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'), ('client_id', 'str'), + ('tenant_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tenant_id', 'client_id', + '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( + client_id=dict( required=True, type='str'), - client_id=dict( + tenant_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_appid_application', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 6d7dee93d..9161ffe2d 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 49af0207e..5c4c4500b 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 745bb8cf0..7a0af9f3f 100644 --- a/plugins/modules/ibm_appid_application_scopes.py +++ b/plugins/modules/ibm_appid_application_scopes.py @@ -18,16 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_application_scopes' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - scopes: - description: - - (Required for new resource) A `scope` is a runtime action in your application that you register with IBM Cloud App ID to create an access permission - required: True - type: list - elements: str tenant_id: description: - (Required for new resource) The service `tenantId` @@ -38,6 +32,12 @@ - (Required for new resource) The `client_id` is a public identifier for applications required: True type: str + scopes: + description: + - (Required for new resource) A `scope` is a runtime action in your application that you register with IBM Cloud App ID to create an access permission + required: True + type: list + elements: 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 = [ - ('scopes', 'list'), ('tenant_id', 'str'), ('client_id', 'str'), + ('scopes', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'scopes', 'tenant_id', 'client_id', + 'scopes', ] # Params for Data source @@ -114,16 +114,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( - scopes=dict( - required=False, - elements='', - type='list'), tenant_id=dict( required=False, type='str'), client_id=dict( required=False, type='str'), + scopes=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -189,7 +189,7 @@ def run_module(): resource_type='ibm_appid_application_scopes', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 29f787067..a5e59a0fd 100644 --- a/plugins/modules/ibm_appid_application_scopes_info.py +++ b/plugins/modules/ibm_appid_application_scopes_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_appid_application_scopes' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_appid_application_scopes', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 036e3e904..8d413d636 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 12990a8df..414f57ab7 100644 --- a/plugins/modules/ibm_appid_audit_status.py +++ b/plugins/modules/ibm_appid_audit_status.py @@ -18,20 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_audit_status' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - is_active: - description: - - (Required for new resource) The auditing status of the tenant. - required: True - type: bool tenant_id: description: - (Required for new resource) The AppID instance GUID required: True type: str + is_active: + description: + - (Required for new resource) The auditing status of the tenant. + required: True + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -78,14 +78,14 @@ # 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 = [ - 'is_active', 'tenant_id', + 'is_active', ] # Params for Data source @@ -104,12 +104,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( - is_active=dict( - required=False, - type='bool'), tenant_id=dict( required=False, type='str'), + is_active=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -175,7 +175,7 @@ def run_module(): resource_type='ibm_appid_audit_status', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 7d8a89ee3..39ec68627 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 5216113db..075a19105 100644 --- a/plugins/modules/ibm_appid_cloud_directory_template.py +++ b/plugins/modules/ibm_appid_cloud_directory_template.py @@ -18,25 +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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - subject: - description: - - (Required for new resource) The subject of the email - required: True - type: str - html_body: - description: - - The HTML body of the email - required: False - type: str - plain_text_body: - description: - - The text body of the email. - required: False - type: str tenant_id: description: - (Required for new resource) The AppID instance GUID @@ -53,6 +38,21 @@ required: False type: str default: en + subject: + description: + - (Required for new resource) The subject of the email + required: True + type: str + html_body: + description: + - The HTML body of the email + required: False + type: str + plain_text_body: + description: + - The text body of the email. + 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 = [ - ('subject', 'str'), ('tenant_id', 'str'), ('template_name', 'str'), + ('subject', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'subject', - 'html_body', - 'plain_text_body', 'tenant_id', 'template_name', 'language', + 'subject', + 'html_body', + 'plain_text_body', ] # Params for Data source @@ -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( - subject=dict( + tenant_id=dict( required=False, type='str'), - html_body=dict( + template_name=dict( required=False, type='str'), - plain_text_body=dict( + language=dict( required=False, type='str'), - tenant_id=dict( + subject=dict( required=False, type='str'), - template_name=dict( + html_body=dict( required=False, type='str'), - language=dict( + plain_text_body=dict( required=False, type='str'), id=dict( @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_appid_cloud_directory_template', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 48b03b510..e0e728dfc 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 78acd06e8..205d3b3ca 100644 --- a/plugins/modules/ibm_appid_cloud_directory_user.py +++ b/plugins/modules/ibm_appid_cloud_directory_user.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_cloud_directory_user' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,12 +27,28 @@ - (Required for new resource) The AppID instance GUID required: True type: str + 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 + required: False + type: int + display_name: + description: + - Cloud Directory user display name + required: False + type: str user_name: description: - Optional username @@ -49,22 +65,6 @@ required: False type: str default: PENDING - active: - description: - - Determines if the user account is active or not - required: False - type: bool - default: True - locked_until: - description: - - Integer (epoch time in milliseconds), determines till when the user account will be locked - required: False - type: int - display_name: - description: - - Cloud Directory user display name - required: False - type: str email: description: - (Required for new resource) A set of user emails @@ -125,13 +125,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'tenant_id', + 'active', 'create_profile', + 'locked_until', + 'display_name', 'user_name', 'password', 'status', - 'active', - 'locked_until', - 'display_name', 'email', ] @@ -156,9 +156,18 @@ tenant_id=dict( required=False, type='str'), + 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'), user_name=dict( required=False, type='str'), @@ -168,15 +177,6 @@ status=dict( required=False, type='str'), - active=dict( - required=False, - type='bool'), - locked_until=dict( - required=False, - type='int'), - display_name=dict( - required=False, - type='str'), email=dict( required=False, elements='', @@ -246,7 +246,7 @@ def run_module(): resource_type='ibm_appid_cloud_directory_user', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 cc390b8f4..4b8f0e916 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 dc6156c62..b98ff699c 100644 --- a/plugins/modules/ibm_appid_idp_cloud_directory.py +++ b/plugins/modules/ibm_appid_idp_cloud_directory.py @@ -18,67 +18,67 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_idp_cloud_directory' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - identity_field: + welcome_enabled: description: - None required: False - type: str - is_active: - description: - - (Required for new resource) - required: True type: bool - signup_enabled: + default: True + reset_password_notification_enabled: description: - None required: False type: bool default: True - welcome_enabled: + identity_confirm_access_mode: description: - None required: False - type: bool - default: True - reset_password_enabled: + type: str + default: FULL + identity_confirm_methods: + description: + - None + required: False + type: list + elements: str + identity_field: + description: + - None + required: False + type: str + self_service_enabled: description: - None required: False type: bool default: True - reset_password_notification_enabled: + signup_enabled: description: - None required: False type: bool default: True - identity_confirm_access_mode: + reset_password_enabled: description: - None required: False - type: str - default: FULL + type: bool + default: True tenant_id: description: - (Required for new resource) required: True type: str - self_service_enabled: + is_active: description: - - None - required: False + - (Required for new resource) + required: True type: bool - default: True - identity_confirm_methods: - description: - - None - required: False - type: list - elements: 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_field', - 'is_active', - 'signup_enabled', 'welcome_enabled', - 'reset_password_enabled', 'reset_password_notification_enabled', 'identity_confirm_access_mode', - 'tenant_id', - 'self_service_enabled', 'identity_confirm_methods', + 'identity_field', + 'self_service_enabled', + 'signup_enabled', + 'reset_password_enabled', + 'tenant_id', + 'is_active', ] # 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( + welcome_enabled=dict( + required=False, + type='bool'), + reset_password_notification_enabled=dict( + required=False, + type='bool'), + identity_confirm_access_mode=dict( + required=False, + type='str'), + identity_confirm_methods=dict( + required=False, + elements='', + type='list'), identity_field=dict( required=False, type='str'), - is_active=dict( + self_service_enabled=dict( required=False, type='bool'), signup_enabled=dict( required=False, type='bool'), - welcome_enabled=dict( - required=False, - type='bool'), reset_password_enabled=dict( required=False, type='bool'), - reset_password_notification_enabled=dict( - required=False, - type='bool'), - identity_confirm_access_mode=dict( - required=False, - type='str'), tenant_id=dict( required=False, type='str'), - self_service_enabled=dict( + is_active=dict( required=False, type='bool'), - identity_confirm_methods=dict( - required=False, - elements='', - type='list'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 6e5bc8ba1..b3580f87c 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 95b6112a2..a7f772c45 100644 --- a/plugins/modules/ibm_appid_idp_custom.py +++ b/plugins/modules/ibm_appid_idp_custom.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_idp_custom' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_appid_idp_custom', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 cad7eba46..947254f8c 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 25757eebe..984633c72 100644 --- a/plugins/modules/ibm_appid_idp_facebook.py +++ b/plugins/modules/ibm_appid_idp_facebook.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_idp_facebook' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_appid_idp_facebook', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 75334f07a..c840b2a67 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 3ce22fa43..aa2416911 100644 --- a/plugins/modules/ibm_appid_idp_google.py +++ b/plugins/modules/ibm_appid_idp_google.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_idp_google' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_appid_idp_google', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 c20cc2f2c..054f00340 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 51e1b31e1..5de922898 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 5979dcfeb..6468e5e70 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 c38e0fcec..893f72ed4 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 c08ba5b55..cce3b5259 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 c2aa78efa..7eb89a236 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 2834b8820..c680d0acc 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 fa4cf5050..be38d8174 100644 --- a/plugins/modules/ibm_appid_mfa_channel.py +++ b/plugins/modules/ibm_appid_mfa_channel.py @@ -18,16 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_mfa_channel' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - sms_config: - description: - - Configuration for `sms` channel. Create Vonage account (https://dashboard.nexmo.com/sign-up) to get an API key - required: False - type: list - elements: dict tenant_id: description: - (Required for new resource) The AppID instance GUID @@ -38,6 +32,12 @@ - (Required for new resource) Allowed values: `email`, `sms` required: True type: str + sms_config: + description: + - Configuration for `sms` channel. Create Vonage account (https://dashboard.nexmo.com/sign-up) to get an API key + required: False + type: list + elements: dict 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 = [ - 'sms_config', 'tenant_id', 'active', + 'sms_config', ] # Params for Data source @@ -111,16 +111,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( - sms_config=dict( - required=False, - elements='', - type='list'), tenant_id=dict( required=False, type='str'), active=dict( required=False, type='str'), + sms_config=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_appid_mfa_channel', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 11b8ec288..64ba4ab00 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 22505a0aa..123b910eb 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 43215459d..0a6ffaaed 100644 --- a/plugins/modules/ibm_appid_password_regex.py +++ b/plugins/modules/ibm_appid_password_regex.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_password_regex' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_appid_password_regex', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 25323151b..e6c6d87d0 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 a6c2c5bf5..896a8ee56 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 c71386721..8dfb41680 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 9d264004f..99d77f180 100644 --- a/plugins/modules/ibm_appid_role.py +++ b/plugins/modules/ibm_appid_role.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_role' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_appid_role', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 ad9272ed8..586186d41 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 d0ec59642..0c5e8d6a1 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 1926959f8..2f2e5e6df 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 e78d48471..81b6a2f86 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 0d65e68ec..4809f5118 100644 --- a/plugins/modules/ibm_appid_theme_text.py +++ b/plugins/modules/ibm_appid_theme_text.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_theme_text' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - footnote: - description: - - None - required: False - type: str tenant_id: description: - (Required for new resource) The AppID instance GUID @@ -37,6 +32,11 @@ - None required: False type: str + footnote: + description: + - None + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -88,9 +88,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'footnote', 'tenant_id', 'tab_title', + 'footnote', ] # 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( - footnote=dict( - required=False, - type='str'), tenant_id=dict( required=False, type='str'), tab_title=dict( required=False, type='str'), + footnote=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_appid_theme_text', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 9f563e1a7..6aff3ab62 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 670736135..ebc877134 100644 --- a/plugins/modules/ibm_appid_token_config.py +++ b/plugins/modules/ibm_appid_token_config.py @@ -18,10 +18,27 @@ - Create, update or destroy an IBM Cloud 'ibm_appid_token_config' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + access_token_claim: + description: + - A set of objects that are created when claims that are related to access tokens are mapped + required: False + type: list + elements: dict + id_token_claim: + description: + - A set of objects that are created when claims that are related to identity tokens are mapped + required: False + type: list + elements: dict + tenant_id: + description: + - (Required for new resource) The service `tenantId` + required: True + type: str access_token_expires_in: description: - The length of time for which access tokens are valid in seconds @@ -49,23 +66,6 @@ - None required: False type: bool - access_token_claim: - description: - - A set of objects that are created when claims that are related to access tokens are mapped - required: False - type: list - elements: dict - id_token_claim: - description: - - A set of objects that are created when claims that are related to identity tokens are mapped - required: False - type: list - elements: dict - 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. @@ -117,14 +117,14 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'access_token_claim', + 'id_token_claim', + 'tenant_id', 'access_token_expires_in', 'refresh_token_expires_in', 'anonymous_token_expires_in', 'anonymous_access_enabled', 'refresh_token_enabled', - 'access_token_claim', - 'id_token_claim', - 'tenant_id', ] # Params for Data source @@ -143,6 +143,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( + access_token_claim=dict( + required=False, + elements='', + type='list'), + id_token_claim=dict( + required=False, + elements='', + type='list'), + tenant_id=dict( + required=False, + type='str'), access_token_expires_in=dict( required=False, type='int'), @@ -158,17 +169,6 @@ refresh_token_enabled=dict( required=False, type='bool'), - access_token_claim=dict( - required=False, - elements='', - type='list'), - id_token_claim=dict( - required=False, - elements='', - type='list'), - tenant_id=dict( - required=False, - type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 1dcce5a1c..7f6d11db4 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 7396497ac..e59c140a9 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 c6222b78c..ce459bc49 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 10eded032..5f9c37c3d 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 0ce3377c0..36cff9c75 100644 --- a/plugins/modules/ibm_atracker_route.py +++ b/plugins/modules/ibm_atracker_route.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_atracker_route' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -175,7 +175,7 @@ def run_module(): resource_type='ibm_atracker_route', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 3153a4b56..38cdf30ab 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 d80a44729..96887b3b9 100644 --- a/plugins/modules/ibm_atracker_settings.py +++ b/plugins/modules/ibm_atracker_settings.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_atracker_settings' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + metadata_region_primary: + description: + - (Required for new resource) To store all your meta data in a single region. + required: True + type: str private_api_endpoint_only: description: - (Required for new resource) If you set this true then you cannot access api through public network. @@ -44,11 +49,6 @@ - Provide a back up region to store meta data. required: False type: str - metadata_region_primary: - description: - - (Required for new resource) To store all your meta data in a single region. - required: True - 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 = [ - ('private_api_endpoint_only', 'bool'), ('metadata_region_primary', 'str'), + ('private_api_endpoint_only', 'bool'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'metadata_region_primary', 'private_api_endpoint_only', 'default_targets', 'permitted_target_regions', 'metadata_region_backup', - 'metadata_region_primary', ] # Params for Data source @@ -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( + metadata_region_primary=dict( + required=False, + type='str'), private_api_endpoint_only=dict( required=False, type='bool'), @@ -136,9 +139,6 @@ metadata_region_backup=dict( required=False, type='str'), - metadata_region_primary=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -204,7 +204,7 @@ def run_module(): resource_type='ibm_atracker_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 17aa7be90..8df6f4cfe 100644 --- a/plugins/modules/ibm_atracker_target.py +++ b/plugins/modules/ibm_atracker_target.py @@ -18,13 +18,19 @@ - Create, update or destroy an IBM Cloud 'ibm_atracker_target' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: + eventstreams_endpoint: 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) - . _ :`. + - Property values for an Event Streams Endpoint in requests. + required: False + type: list + elements: dict + target_type: + description: + - (Required for new resource) The type of the target. It can be cloud_object_storage, logdna or event_streams. Based on this type you must include cos_endpoint, logdna_endpoint or eventstreams_endpoint. required: True type: str cos_endpoint: @@ -33,28 +39,22 @@ required: False type: list elements: dict - eventstreams_endpoint: + region: description: - - Property values for an Event Streams Endpoint in requests. + - 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 + 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) - . _ :`. + required: True + type: str logdna_endpoint: description: - Property values for a LogDNA Endpoint. required: False type: list elements: dict - target_type: - description: - - (Required for new resource) The type of the target. It can be cloud_object_storage, logdna or event_streams. Based on this type you must include cos_endpoint, logdna_endpoint or eventstreams_endpoint. - required: True - type: str - region: - description: - - 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: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -101,18 +101,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('target_type', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'cos_endpoint', 'eventstreams_endpoint', - 'logdna_endpoint', 'target_type', + 'cos_endpoint', 'region', + 'name', + 'logdna_endpoint', ] # Params for Data source @@ -129,27 +129,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( - name=dict( - required=False, - type='str'), - cos_endpoint=dict( - required=False, - elements='', - type='list'), eventstreams_endpoint=dict( required=False, elements='', type='list'), - logdna_endpoint=dict( + target_type=dict( + required=False, + type='str'), + cos_endpoint=dict( required=False, elements='', type='list'), - target_type=dict( + region=dict( required=False, type='str'), - region=dict( + name=dict( required=False, type='str'), + logdna_endpoint=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_atracker_target', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 a20ea9130..5df5b7c46 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 b3feceb2c..31ef75b0a 100644 --- a/plugins/modules/ibm_cbr_rule.py +++ b/plugins/modules/ibm_cbr_rule.py @@ -18,25 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_cbr_rule' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - resources: - description: - - (Required for new resource) The resources this rule apply to. - required: True - type: list - elements: dict - enforcement_mode: + x_correlation_id: 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. + - 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 - default: enabled - x_correlation_id: + transaction_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. + - 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 description: @@ -50,17 +43,24 @@ required: True type: list elements: dict + resources: + description: + - (Required for new resource) The resources this rule apply to. + required: True + type: list + elements: dict operations: description: - The operations this rule applies to. required: False type: list elements: dict - transaction_id: + enforcement_mode: 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`. + - 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 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 = [ - ('resources', 'list'), ('contexts', 'list'), + ('resources', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resources', - 'enforcement_mode', 'x_correlation_id', + 'transaction_id', 'description', 'contexts', + 'resources', 'operations', - 'transaction_id', + 'enforcement_mode', ] # 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( - resources=dict( - required=False, - elements='', - type='list'), - enforcement_mode=dict( + x_correlation_id=dict( required=False, type='str'), - x_correlation_id=dict( + transaction_id=dict( required=False, type='str'), description=dict( @@ -155,11 +151,15 @@ required=False, elements='', type='list'), + resources=dict( + required=False, + elements='', + type='list'), operations=dict( required=False, elements='', type='list'), - transaction_id=dict( + enforcement_mode=dict( required=False, type='str'), id=dict( @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_cbr_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 aad1be828..f5ca5aaba 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 27bd6d27f..a7bf0418e 100644 --- a/plugins/modules/ibm_cbr_zone.py +++ b/plugins/modules/ibm_cbr_zone.py @@ -18,29 +18,34 @@ - Create, update or destroy an IBM Cloud 'ibm_cbr_zone' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - 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: + description: + - The description of the zone. + required: False + type: str excluded: description: - 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: + account_id: description: - - (Required for new resource) The name of the zone. + - (Required for new resource) The id of the account owning this zone. required: True type: str - description: + x_correlation_id: description: - - The description of the zone. + - 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 addresses: @@ -49,11 +54,6 @@ required: True type: list elements: dict - 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 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`. @@ -105,19 +105,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('account_id', 'str'), ('name', 'str'), + ('account_id', 'str'), ('addresses', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'account_id', - 'excluded', 'name', 'description', - 'addresses', + 'excluded', + 'account_id', 'x_correlation_id', + 'addresses', 'transaction_id', ] @@ -137,26 +137,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( - account_id=dict( + name=dict( + required=False, + type='str'), + description=dict( required=False, type='str'), excluded=dict( required=False, elements='', type='list'), - name=dict( + account_id=dict( required=False, type='str'), - description=dict( + x_correlation_id=dict( required=False, type='str'), addresses=dict( required=False, elements='', type='list'), - x_correlation_id=dict( - required=False, - type='str'), transaction_id=dict( required=False, type='str'), @@ -225,7 +225,7 @@ def run_module(): resource_type='ibm_cbr_zone', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 fb73b9cea..ffe120c62 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 93056cd9c..8641c0cd1 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline.py +++ b/plugins/modules/ibm_cd_tekton_pipeline.py @@ -18,33 +18,33 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_tekton_pipeline' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - enable_notifications: + enable_partial_cloning: description: - - Flag whether to enable notifications for this pipeline. When enabled, pipeline run events are published on all slack integration specified channels in the parent 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 are read and cloned, this means that symbolic links might not work. required: False type: bool default: False - worker: - description: - - Worker object containing worker ID only. If omitted the IBM Managed shared workers are used by default. - required: False - type: list - elements: dict pipeline_id: description: - (Required for new resource) String. required: True type: str - enable_partial_cloning: + enable_notifications: 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 are read and cloned, this means that symbolic links might not work. + - Flag whether to enable notifications for this pipeline. When enabled, pipeline run events are published on all slack integration specified channels in the parent toolchain. required: False type: bool default: False + worker: + description: + - Worker object containing worker ID only. If omitted the IBM Managed shared workers are used by default. + required: False + type: list + elements: dict 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_partial_cloning', + 'pipeline_id', 'enable_notifications', 'worker', - 'pipeline_id', - 'enable_partial_cloning', ] # 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_notifications=dict( + enable_partial_cloning=dict( required=False, type='bool'), - worker=dict( - required=False, - elements='', - type='list'), pipeline_id=dict( required=False, type='str'), - enable_partial_cloning=dict( + enable_notifications=dict( required=False, type='bool'), + worker=dict( + required=False, + elements='', + type='list'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 cabe438d4..982d04aeb 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -91,13 +91,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('definition_id', 'str'), ('pipeline_id', 'str'), + ('definition_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'definition_id', 'pipeline_id', + 'definition_id', ] TL_CONFLICTS_MAP = { @@ -179,7 +179,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_definition', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_definition', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 795739e53..005dcae2b 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - definition_id: + pipeline_id: description: - - The definition ID. + - The Tekton pipeline ID. required: True type: str - pipeline_id: + definition_id: description: - - The Tekton pipeline ID. + - The definition ID. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('definition_id', 'str'), ('pipeline_id', 'str'), + ('definition_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'definition_id', 'pipeline_id', + 'definition_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( - definition_id=dict( + pipeline_id=dict( required=True, type='str'), - pipeline_id=dict( + definition_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.50.0', + ibm_provider_version='1.51.0', 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 940a99545..18965c22e 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 315b53087..b854c7f0a 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_property.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_property.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_tekton_pipeline_property' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pipeline_id: - description: - - (Required for new resource) The Tekton pipeline ID. - required: True - type: str - name: - description: - - (Required for new resource) Property name. - required: True - type: str type: description: - (Required for new resource) Property type. @@ -53,6 +43,16 @@ - A dot notation path for `integration` type properties only, to select a value from the tool integration. If left blank the full tool integration data will be used. required: False type: str + pipeline_id: + description: + - (Required for new resource) The Tekton pipeline ID. + required: True + type: str + name: + description: + - (Required for new resource) Property name. + 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 = [ + ('type', 'str'), ('pipeline_id', 'str'), ('name', 'str'), - ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pipeline_id', - 'name', 'type', 'value', 'enum', 'path', + 'pipeline_id', + 'name', ] # Params for Data source @@ -132,12 +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( - pipeline_id=dict( - required=False, - type='str'), - name=dict( - required=False, - type='str'), type=dict( required=False, type='str'), @@ -151,6 +145,12 @@ path=dict( required=False, type='str'), + pipeline_id=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -216,7 +216,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_property', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 1d1450d1e..99061cbe5 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 5cc28256a..5bf7de33f 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_trigger.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_trigger.py @@ -18,20 +18,14 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_tekton_pipeline_trigger' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - source: + timezone: description: - - Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools. + - Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the cron activates this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones. required: False - type: list - elements: dict - name: - description: - - (Required for new resource) Trigger name. - required: True type: str worker: description: @@ -39,26 +33,21 @@ required: False type: list elements: dict - cron: + max_concurrent_runs: description: - - Only needed for timer triggers. Cron expression that indicates when this trigger will activate. Maximum frequency is every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. Example: 0 *_/2 * * * - every 2 hours. + - Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled for this trigger. required: False - type: str - type: - description: - - (Required for new resource) Trigger type. - required: True - type: str - secret: + type: int + enabled: description: - - Only needed for generic webhook trigger type. Secret used to start generic webhook trigger. + - Flag whether the trigger is enabled. If omitted the trigger is enabled by default. required: False - type: list - elements: dict - event_listener: + type: bool + default: True + cron: 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: True + - Only needed for timer triggers. Cron expression that indicates when this trigger will activate. Maximum frequency is every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. Example: 0 *_/2 * * * - every 2 hours. + required: False type: str tags: description: @@ -66,22 +55,22 @@ required: False type: list elements: str - max_concurrent_runs: + type: description: - - Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled for this trigger. - required: False - type: int - enabled: + - (Required for new resource) Trigger type. + required: True + type: str + name: description: - - Flag whether the trigger is enabled. If omitted the trigger is enabled by default. - required: False - type: bool - default: True - timezone: + - (Required for new resource) Trigger name. + required: True + type: str + secret: description: - - Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the cron activates this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones. + - Only needed for generic webhook trigger type. Secret used to start generic webhook trigger. required: False - type: str + type: list + elements: dict events: description: - Only needed for Git triggers. List of events to which a Git trigger listens. Choose one or more from: 'push', 'pull_request' and 'pull_request_closed'. For SCM repositories that use 'merge request' events, such events map to the equivalent 'pull request' events. @@ -93,6 +82,17 @@ - (Required for new resource) The Tekton pipeline ID. required: True type: str + event_listener: + 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: True + type: str + source: + description: + - Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools. + required: False + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -139,38 +139,38 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('type', 'str'), - ('event_listener', 'str'), + ('name', 'str'), ('pipeline_id', 'str'), + ('event_listener', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'source', - 'name', + 'timezone', 'worker', + 'max_concurrent_runs', + 'enabled', 'cron', + 'tags', 'type', + 'name', 'secret', - 'event_listener', - 'tags', - 'max_concurrent_runs', - 'enabled', - 'timezone', 'events', 'pipeline_id', + 'event_listener', + 'source', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('trigger_id', 'str'), ('pipeline_id', 'str'), + ('trigger_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'trigger_id', 'pipeline_id', + 'trigger_id', ] TL_CONFLICTS_MAP = { @@ -180,50 +180,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( - source=dict( - required=False, - elements='', - type='list'), - name=dict( + timezone=dict( required=False, type='str'), worker=dict( required=False, elements='', type='list'), + max_concurrent_runs=dict( + required=False, + type='int'), + enabled=dict( + required=False, + type='bool'), cron=dict( required=False, type='str'), + tags=dict( + required=False, + elements='', + type='list'), type=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), secret=dict( required=False, elements='', type='list'), - event_listener=dict( - required=False, - type='str'), - tags=dict( + events=dict( required=False, elements='', type='list'), - max_concurrent_runs=dict( - required=False, - type='int'), - enabled=dict( + pipeline_id=dict( required=False, - type='bool'), - timezone=dict( + type='str'), + event_listener=dict( required=False, type='str'), - events=dict( + source=dict( required=False, elements='', type='list'), - pipeline_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -289,7 +289,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_trigger', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -298,7 +298,7 @@ def run_module(): resource_type='ibm_cd_tekton_pipeline_trigger', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 300efb40a..b85cd5c0d 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - trigger_id: + pipeline_id: description: - - The trigger ID. + - The Tekton pipeline ID. required: True type: str - pipeline_id: + trigger_id: description: - - The Tekton pipeline ID. + - The trigger ID. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('trigger_id', 'str'), ('pipeline_id', 'str'), + ('trigger_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'trigger_id', 'pipeline_id', + 'trigger_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( - trigger_id=dict( + pipeline_id=dict( required=True, type='str'), - pipeline_id=dict( + trigger_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.50.0', + ibm_provider_version='1.51.0', 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 c4cd7380b..00c7a66c5 100644 --- a/plugins/modules/ibm_cd_tekton_pipeline_trigger_property.py +++ b/plugins/modules/ibm_cd_tekton_pipeline_trigger_property.py @@ -18,25 +18,10 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) Property name. - required: True - type: str - type: - description: - - (Required for new resource) Property type. - required: True - type: str - value: - description: - - Property value. Any string value is valid. - required: False - type: str enum: description: - Options for `single_select` property type. Only needed for `single_select` property type. @@ -58,6 +43,21 @@ - (Required for new resource) The trigger ID. required: True type: str + name: + description: + - (Required for new resource) Property name. + required: True + type: str + type: + description: + - (Required for new resource) Property type. + required: True + type: str + value: + description: + - Property value. Any string value is valid. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -104,34 +104,34 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), - ('type', 'str'), ('pipeline_id', 'str'), ('trigger_id', 'str'), + ('name', 'str'), + ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'type', - 'value', 'enum', 'path', 'pipeline_id', 'trigger_id', + 'name', + 'type', + 'value', ] # 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 = { @@ -141,15 +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( - name=dict( - required=False, - type='str'), - type=dict( - required=False, - type='str'), - value=dict( - required=False, - type='str'), enum=dict( required=False, elements='', @@ -163,6 +154,15 @@ trigger_id=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), + type=dict( + required=False, + type='str'), + value=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 6e5f73e31..bbcd527ee 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 afa193099..16876a548 100644 --- a/plugins/modules/ibm_cd_toolchain.py +++ b/plugins/modules/ibm_cd_toolchain.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_cd_toolchain', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 63176e09a..fd868f7f1 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 552faf083..e0326197a 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_appconfig.py +++ b/plugins/modules/ibm_cd_toolchain_tool_appconfig.py @@ -18,10 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_appconfig' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + parameters: + description: + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + required: True + type: list + elements: dict toolchain_id: description: - (Required for new resource) ID of the toolchain to bind the tool to. @@ -32,12 +38,6 @@ - Name of the tool. required: False type: str - parameters: - description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. - 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', 'toolchain_id', 'name', - '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'), 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_appconfig', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 0f4238647..e94f2ceb2 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 9b1d4f27c..ed3d48510 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_artifactory.py +++ b/plugins/modules/ibm_cd_toolchain_tool_artifactory.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_artifactory' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. @@ -38,6 +33,11 @@ - Name of the 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_artifactory', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 2a83836d3..299181f53 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_artifactory_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_artifactory_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_artifactory' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_artifactory', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 47db8ef32..0869e79fe 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit.py +++ b/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit.py @@ -18,32 +18,32 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_bitbucketgit' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: - description: - - Name of the tool. - required: False - type: str - toolchain_id: + parameters: description: - - (Required for new resource) ID of the toolchain to bind the tool to. + - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True - type: str + type: list + elements: dict initialization: description: - (Required for new resource) required: True type: list elements: dict - parameters: + toolchain_id: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + - (Required for new resource) ID of the toolchain to bind the tool to. required: True - type: list - elements: dict + type: str + name: + description: + - Name of the tool. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,28 +90,28 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('toolchain_id', 'str'), - ('initialization', 'list'), ('parameters', 'list'), + ('initialization', 'list'), + ('toolchain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'toolchain_id', - 'initialization', 'parameters', + 'initialization', + 'toolchain_id', + 'name', ] # 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 = { @@ -121,20 +121,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( - name=dict( - required=False, - type='str'), - toolchain_id=dict( - required=False, - type='str'), - initialization=dict( + parameters=dict( required=False, elements='', type='list'), - parameters=dict( + initialization=dict( required=False, elements='', type='list'), + toolchain_id=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 9a8c8d6e7..4e9cc0ea9 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_bitbucketgit_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_bitbucketgit' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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_bitbucketgit', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 bdb3cb42f..dca50c4b1 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_custom.py +++ b/plugins/modules/ibm_cd_toolchain_tool_custom.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_custom' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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 the tool. - required: False - type: str parameters: description: - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict + name: + description: + - Name of the 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_custom', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 808fbb532..cf2b9486a 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_custom_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_custom_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_custom' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_custom', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 b0ea73263..d3ed7e1d3 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -89,13 +89,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 = { @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_devopsinsights', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 3c67eb75c..398589a35 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_devopsinsights_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_devopsinsights_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_devopsinsights' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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_devopsinsights', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 5c2d27f7a..c30d5505e 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_githubconsolidated.py +++ b/plugins/modules/ibm_cd_toolchain_tool_githubconsolidated.py @@ -18,10 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_githubconsolidated' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + initialization: + description: + - (Required for new resource) + required: True + type: list + elements: dict toolchain_id: description: - (Required for new resource) ID of the toolchain to bind the tool to. @@ -33,12 +39,6 @@ required: True type: list elements: dict - initialization: - description: - - (Required for new resource) - required: True - type: list - elements: dict name: description: - Name of the tool. @@ -90,16 +90,16 @@ # 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 = [ + 'initialization', 'toolchain_id', 'parameters', - 'initialization', 'name', ] @@ -121,6 +121,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( + initialization=dict( + required=False, + elements='', + type='list'), toolchain_id=dict( required=False, type='str'), @@ -128,10 +132,6 @@ required=False, elements='', type='list'), - initialization=dict( - required=False, - elements='', - type='list'), name=dict( required=False, type='str'), @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_githubconsolidated', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 e9b6fb8a1..d1763ffac 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 9fee343aa..389188cfd 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_gitlab.py +++ b/plugins/modules/ibm_cd_toolchain_tool_gitlab.py @@ -18,32 +18,32 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_gitlab' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - parameters: + name: description: - - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. - required: True - type: list - elements: dict + - Name of the 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. + required: True + type: list + elements: dict initialization: description: - (Required for new resource) required: True type: list elements: dict - name: - description: - - Name of the tool. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,28 +90,28 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('parameters', 'list'), ('toolchain_id', 'str'), + ('parameters', 'list'), ('initialization', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'parameters', + 'name', 'toolchain_id', + 'parameters', 'initialization', - 'name', ] # 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 = { @@ -121,20 +121,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( - parameters=dict( + name=dict( required=False, - elements='', - type='list'), + type='str'), toolchain_id=dict( required=False, type='str'), - initialization=dict( + parameters=dict( required=False, elements='', type='list'), - name=dict( + initialization=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_gitlab', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 87820c347..fba3a19c1 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_gitlab_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_gitlab_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_gitlab' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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_gitlab', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 a3d9fa3ac..05a6b1696 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_hashicorpvault.py +++ b/plugins/modules/ibm_cd_toolchain_tool_hashicorpvault.py @@ -18,21 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_hashicorpvault' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict - toolchain_id: - description: - - (Required for new resource) ID of the toolchain to bind the tool to. - required: True - type: str name: description: - Name of the tool. @@ -84,14 +84,14 @@ # 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', + 'parameters', 'name', ] @@ -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( + toolchain_id=dict( + required=False, + type='str'), parameters=dict( required=False, elements='', type='list'), - toolchain_id=dict( - required=False, - type='str'), name=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 32cd692bd..d753417a8 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 08a272140..311d7826d 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_hostedgit.py +++ b/plugins/modules/ibm_cd_toolchain_tool_hostedgit.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_hostedgit' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -28,6 +28,11 @@ required: True type: list elements: dict + toolchain_id: + description: + - (Required for new resource) ID of the toolchain to bind the tool to. + required: True + type: str initialization: description: - (Required for new resource) @@ -39,11 +44,6 @@ - Name of the 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. @@ -91,27 +91,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('parameters', 'list'), - ('initialization', 'list'), ('toolchain_id', 'str'), + ('initialization', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'parameters', + 'toolchain_id', 'initialization', 'name', - 'toolchain_id', ] # 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 = { @@ -125,6 +125,9 @@ required=False, elements='', type='list'), + toolchain_id=dict( + required=False, + type='str'), initialization=dict( required=False, elements='', @@ -132,9 +135,6 @@ name=dict( required=False, type='str'), - toolchain_id=dict( - required=False, - type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 2adfcf58c..80b206af2 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_hostedgit_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_hostedgit_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_hostedgit' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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_hostedgit', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 87227dccd..e2678d2c1 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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_jenkins', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 7f94b02e1..d90f8066a 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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_jenkins', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cd_toolchain_tool_jira.py b/plugins/modules/ibm_cd_toolchain_tool_jira.py index 11c2ea9b1..09c163760 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_jira.py +++ b/plugins/modules/ibm_cd_toolchain_tool_jira.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_jira' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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 the tool. + required: False + type: str parameters: description: - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict - name: - description: - - Name of the tool. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -91,19 +91,19 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'toolchain_id', - 'parameters', 'name', + 'parameters', ] # 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 = { @@ -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_jira', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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_jira', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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_jira_info.py b/plugins/modules/ibm_cd_toolchain_tool_jira_info.py index 5eee6427e..44d57c4b5 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_jira_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_jira_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_jira' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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_jira', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 fcac56a97..79c8e5601 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_keyprotect.py +++ b/plugins/modules/ibm_cd_toolchain_tool_keyprotect.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_keyprotect' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -28,16 +28,16 @@ required: True type: list elements: dict - toolchain_id: - description: - - (Required for new resource) ID of the toolchain to bind the tool to. - required: True - type: str name: description: - Name of the 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. @@ -91,8 +91,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'parameters', - 'toolchain_id', 'name', + 'toolchain_id', ] # Params for Data source @@ -117,10 +117,10 @@ required=False, elements='', type='list'), - toolchain_id=dict( + name=dict( required=False, type='str'), - name=dict( + toolchain_id=dict( required=False, type='str'), id=dict( @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_keyprotect', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 c570a8585..43d7132bb 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 ddb8ccc0a..722790a19 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_nexus.py +++ b/plugins/modules/ibm_cd_toolchain_tool_nexus.py @@ -18,21 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_nexus' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict + toolchain_id: + description: + - (Required for new resource) ID of the toolchain to bind the tool to. + required: True + type: str name: description: - Name of the tool. @@ -84,14 +84,14 @@ # 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', + 'toolchain_id', 'name', ] @@ -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( - toolchain_id=dict( - required=False, - type='str'), parameters=dict( required=False, elements='', type='list'), + toolchain_id=dict( + required=False, + type='str'), name=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_nexus', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 75bc6e56b..4d5f346d0 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_nexus_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_nexus_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_nexus' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_nexus', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 ab789f57f..0735d800c 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_pagerduty.py +++ b/plugins/modules/ibm_cd_toolchain_tool_pagerduty.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_pagerduty' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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 the tool. + required: False + type: str parameters: description: - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict - name: - description: - - Name of the tool. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -91,19 +91,19 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'toolchain_id', - 'parameters', '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 = { @@ -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_pagerduty', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 dcc4e136f..acf98c34f 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 aefcf3617..dd7f7f224 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_pipeline.py +++ b/plugins/modules/ibm_cd_toolchain_tool_pipeline.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_pipeline' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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 name: description: - Name of the tool. @@ -33,11 +38,6 @@ required: True type: list elements: dict - 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 = [ - ('parameters', 'list'), ('toolchain_id', 'str'), + ('parameters', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'toolchain_id', 'name', 'parameters', - 'toolchain_id', ] # 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,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'), name=dict( required=False, type='str'), @@ -120,9 +123,6 @@ required=False, elements='', type='list'), - 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_pipeline', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 22e0d7657..dd27d4c0d 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_pipeline_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_pipeline_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_pipeline' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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_pipeline', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 1b6a4569b..76ee88a99 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_privateworker.py +++ b/plugins/modules/ibm_cd_toolchain_tool_privateworker.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_privateworker' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. @@ -38,6 +33,11 @@ - Name of the 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_privateworker', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 cccb8cc41..83e7ec816 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 4e0adb804..91dc104fd 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_saucelabs.py +++ b/plugins/modules/ibm_cd_toolchain_tool_saucelabs.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_saucelabs' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_saucelabs', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 76596aab4..79f36bd90 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_saucelabs_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_saucelabs_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_saucelabs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_saucelabs', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 8fdde5fc0..72532cb00 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_secretsmanager.py +++ b/plugins/modules/ibm_cd_toolchain_tool_secretsmanager.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_secretsmanager' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. @@ -38,6 +33,11 @@ - Name of the 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 = [ - ('toolchain_id', 'str'), ('tool_id', 'str'), + ('toolchain_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'toolchain_id', 'tool_id', + 'toolchain_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_secretsmanager', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 88ff4eed1..cd82b4704 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_secretsmanager_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_secretsmanager_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_secretsmanager' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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_secretsmanager', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 cd1b03d23..1b511fa51 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_securitycompliance.py +++ b/plugins/modules/ibm_cd_toolchain_tool_securitycompliance.py @@ -18,21 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_securitycompliance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict - toolchain_id: - description: - - (Required for new resource) ID of the toolchain to bind the tool to. - required: True - type: str name: description: - Name of the tool. @@ -84,14 +84,14 @@ # 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', + 'parameters', 'name', ] @@ -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( + toolchain_id=dict( + required=False, + type='str'), parameters=dict( required=False, elements='', type='list'), - toolchain_id=dict( - required=False, - type='str'), name=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 f0c6e5d6d..a9c4e72a1 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 f5bce50f1..a21f408a6 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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 the tool. + required: False + type: str parameters: description: - (Required for new resource) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict - name: - description: - - Name of the 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', - 'parameters', 'name', + 'parameters', ] # 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_slack', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 11ba98e82..e4932cdf2 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_slack_info.py +++ b/plugins/modules/ibm_cd_toolchain_tool_slack_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cd_toolchain_tool_slack' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cd_toolchain_tool_slack', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 e2f4dc243..a27889193 100644 --- a/plugins/modules/ibm_cd_toolchain_tool_sonarqube.py +++ b/plugins/modules/ibm_cd_toolchain_tool_sonarqube.py @@ -18,21 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_cd_toolchain_tool_sonarqube' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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. A list of parameters for each tool integration can be found in the Configuring tool integrations page. required: True type: list elements: dict + toolchain_id: + description: + - (Required for new resource) ID of the toolchain to bind the tool to. + required: True + type: str name: description: - Name of the tool. @@ -84,14 +84,14 @@ # 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', + 'toolchain_id', 'name', ] @@ -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( - toolchain_id=dict( - required=False, - type='str'), parameters=dict( required=False, elements='', type='list'), + toolchain_id=dict( + required=False, + type='str'), name=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 bafa99a9c..296502658 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 bee3b5e50..43fe8777a 100644 --- a/plugins/modules/ibm_cdn.py +++ b/plugins/modules/ibm_cdn.py @@ -18,99 +18,99 @@ - Create, update or destroy an IBM Cloud 'ibm_cdn' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - host_name: - description: - - (Required for new resource) Host name - required: True - type: str - bucket_name: + file_extension: description: - - Bucket name + - File extension info required: False type: str - protocol: + certificate_type: description: - - Protocol name + - Certificate type required: False type: str - default: HTTP - http_port: + vendor_name: description: - - HTTP port number + - Vendor name required: False - type: int - default: 80 - https_port: + type: str + default: akamai + bucket_name: description: - - HTTPS port number + - Bucket name required: False - type: int - default: 443 - performance_configuration: + type: str + protocol: description: - - performance configuration info + - Protocol name required: False type: str - default: General web delivery - vendor_name: + default: HTTP + cname: description: - - Vendor name + - cname info required: False type: str - default: akamai - origin_type: + header: description: - - Origin type info + - Header info required: False type: str - default: HOST_SERVER respect_headers: description: - respect headers info required: False type: bool default: True - header: + performance_configuration: description: - - Header info + - performance configuration info required: False type: str - path: + default: General web delivery + cache_key_query_rule: description: - - Path details + - query rule info required: False type: str - default: /* - origin_address: + default: include-all + host_name: description: - - (Required for new resource) origin address info + - (Required for new resource) Host name required: True type: str - cname: + origin_type: description: - - cname info + - Origin type info required: False type: str - file_extension: + default: HOST_SERVER + origin_address: description: - - File extension info - required: False + - (Required for new resource) origin address info + required: True type: str - certificate_type: + http_port: description: - - Certificate type + - HTTP port number required: False - type: str - cache_key_query_rule: + type: int + default: 80 + https_port: description: - - query rule info + - HTTPS port number + required: False + type: int + default: 443 + path: + description: + - Path details required: False type: str - default: include-all + default: /* id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -163,22 +163,22 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'host_name', + 'file_extension', + 'certificate_type', + 'vendor_name', 'bucket_name', 'protocol', - 'http_port', - 'https_port', + 'cname', + 'header', + 'respect_headers', 'performance_configuration', - 'vendor_name', + 'cache_key_query_rule', + 'host_name', 'origin_type', - 'respect_headers', - 'header', - 'path', 'origin_address', - 'cname', - 'file_extension', - 'certificate_type', - 'cache_key_query_rule', + 'http_port', + 'https_port', + 'path', ] # Params for Data source @@ -195,52 +195,52 @@ 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_name=dict( + file_extension=dict( required=False, type='str'), - bucket_name=dict( + certificate_type=dict( required=False, type='str'), - protocol=dict( + vendor_name=dict( required=False, type='str'), - http_port=dict( - required=False, - type='int'), - https_port=dict( + bucket_name=dict( required=False, - type='int'), - performance_configuration=dict( + type='str'), + protocol=dict( required=False, type='str'), - vendor_name=dict( + cname=dict( required=False, type='str'), - origin_type=dict( + header=dict( required=False, type='str'), respect_headers=dict( required=False, type='bool'), - header=dict( + performance_configuration=dict( required=False, type='str'), - path=dict( + cache_key_query_rule=dict( required=False, type='str'), - origin_address=dict( + host_name=dict( required=False, type='str'), - cname=dict( + origin_type=dict( required=False, type='str'), - file_extension=dict( + origin_address=dict( required=False, type='str'), - certificate_type=dict( + http_port=dict( required=False, - type='str'), - cache_key_query_rule=dict( + type='int'), + https_port=dict( + required=False, + type='int'), + path=dict( required=False, type='str'), id=dict( @@ -308,7 +308,7 @@ def run_module(): resource_type='ibm_cdn', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 435dcd421..83a10c035 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 067817e1e..68336f9d6 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 322c0842a..b12e14382 100644 --- a/plugins/modules/ibm_certificate_manager_import.py +++ b/plugins/modules/ibm_certificate_manager_import.py @@ -18,15 +18,10 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - description: - description: - - 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 @@ -42,6 +37,11 @@ - (Required for new resource) certificate data required: True type: dict + description: + description: + - Description of the certificate instance + required: False + 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', 'certificate_manager_instance_id', 'name', 'data', + 'description', ] # Params for Data source @@ -115,9 +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( - description=dict( - required=False, - type='str'), certificate_manager_instance_id=dict( required=False, type='str'), @@ -127,6 +124,9 @@ data=dict( required=False, type='dict'), + description=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.50.0', + ibm_provider_version='1.51.0', 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 467afb40d..f3ba74748 100644 --- a/plugins/modules/ibm_certificate_manager_order.py +++ b/plugins/modules/ibm_certificate_manager_order.py @@ -18,66 +18,66 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - certificate_manager_instance_id: + key_algorithm: description: - - (Required for new resource) Certificate manager instance ID - required: True + - Keyalgorithm info + required: False type: str - rotate_keys: + default: rsaEncryption 2048 bit + name: description: - - Keys are sorated if set to true - required: False - type: bool - default: False + - (Required for new resource) Certificate name + required: True + type: str description: description: - Certicate description required: False type: str - auto_renew_enabled: + domain_validation_method: description: - - None + - Domain validation methods required: False - type: bool - default: False - name: + type: str + default: dns-01 + certificate_manager_instance_id: description: - - (Required for new resource) Certificate name + - (Required for new resource) Certificate manager instance ID required: True type: str + renew_certificate: + description: + - Invokes renew functionality + required: False + type: bool + default: False domains: description: - (Required for new resource) List of domain names required: True type: list elements: str - domain_validation_method: + rotate_keys: description: - - Domain validation methods + - Keys are sorated if set to true required: False - type: str - default: dns-01 + type: bool + default: False dns_provider_instance_crn: description: - DNS provider instance CRN required: False type: str - renew_certificate: + auto_renew_enabled: description: - - Invokes renew functionality + - None required: False type: bool default: False - key_algorithm: - description: - - 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 = [ - ('certificate_manager_instance_id', 'str'), ('name', 'str'), + ('certificate_manager_instance_id', 'str'), ('domains', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'certificate_manager_instance_id', - 'rotate_keys', - 'description', - 'auto_renew_enabled', + 'key_algorithm', 'name', - 'domains', + 'description', 'domain_validation_method', - 'dns_provider_instance_crn', + 'certificate_manager_instance_id', 'renew_certificate', - 'key_algorithm', + 'domains', + 'rotate_keys', + 'dns_provider_instance_crn', + 'auto_renew_enabled', ] # Params for Data source @@ -157,37 +157,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( - certificate_manager_instance_id=dict( + key_algorithm=dict( required=False, type='str'), - rotate_keys=dict( + name=dict( required=False, - type='bool'), + type='str'), description=dict( required=False, type='str'), - auto_renew_enabled=dict( + domain_validation_method=dict( required=False, - type='bool'), - name=dict( + type='str'), + certificate_manager_instance_id=dict( required=False, type='str'), + renew_certificate=dict( + required=False, + type='bool'), domains=dict( required=False, elements='', type='list'), - domain_validation_method=dict( + rotate_keys=dict( required=False, - type='str'), + type='bool'), dns_provider_instance_crn=dict( required=False, type='str'), - renew_certificate=dict( + auto_renew_enabled=dict( required=False, type='bool'), - key_algorithm=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -253,7 +253,7 @@ def run_module(): resource_type='ibm_certificate_manager_order', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 873489682..68cb8231c 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + plan: + description: + - (Required for new resource) The plan type of the service + required: True + type: str name: description: - (Required for new resource) A name for the resource instance required: True type: str + resource_group_id: + description: + - The resource group id + required: False + type: str location: description: - (Required for new resource) The location where the instance available required: True type: str - plan: + parameters: description: - - (Required for new resource) The plan type of the service - required: True - type: str + - Arbitrary parameters to pass. Must be a JSON object + required: False + type: dict tags: description: - None required: False type: list elements: str - resource_group_id: - description: - - The resource group id - required: False - type: str - parameters: - description: - - Arbitrary parameters to pass. Must be a JSON object - required: False - type: dict 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'), ('location', 'str'), - ('plan', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'location', 'plan', - 'tags', + 'name', 'resource_group_id', + 'location', 'parameters', + 'tags', ] # Params for Data source @@ -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( - name=dict( + plan=dict( required=False, type='str'), - location=dict( + name=dict( required=False, type='str'), - plan=dict( + resource_group_id=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), - resource_group_id=dict( + location=dict( required=False, type='str'), parameters=dict( required=False, type='dict'), + tags=dict( + required=False, + elements='', + type='list'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 9c2b2949c..8dfff51c2 100644 --- a/plugins/modules/ibm_cis_alert.py +++ b/plugins/modules/ibm_cis_alert.py @@ -18,49 +18,49 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_alert' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + cis_id: + description: + - (Required for new resource) CIS instance crn + required: True + type: str 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: + conditions: description: - - Filters based on filter type + - Conditions based on filter type required: False type: str - cis_id: + alert_type: description: - - (Required for new resource) CIS instance crn + - (Required for new resource) Condition for the alert required: True type: str - description: - description: - - Policy Description - required: False - 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 - conditions: + filters: description: - - Conditions based on filter type + - Filters based on filter type required: False type: str id: @@ -109,23 +109,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('cis_id', 'str'), ('name', 'str'), ('enabled', 'bool'), ('alert_type', 'str'), - ('cis_id', 'str'), ('mechanisms', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'cis_id', 'name', + 'description', 'enabled', + 'conditions', 'alert_type', - 'filters', - 'cis_id', - 'description', 'mechanisms', - 'conditions', + 'filters', ] # Params for Data source @@ -142,29 +142,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( - name=dict( + cis_id=dict( required=False, type='str'), - enabled=dict( - required=False, - type='bool'), - alert_type=dict( + name=dict( required=False, type='str'), - filters=dict( + description=dict( required=False, type='str'), - cis_id=dict( + enabled=dict( + required=False, + type='bool'), + conditions=dict( required=False, type='str'), - description=dict( + alert_type=dict( required=False, type='str'), mechanisms=dict( required=False, elements='', type='list'), - conditions=dict( + filters=dict( required=False, type='str'), id=dict( @@ -232,7 +232,7 @@ def run_module(): resource_type='ibm_cis_alert', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 13f77679f..4724e6af7 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 6de161bf6..da18271a7 100644 --- a/plugins/modules/ibm_cis_cache_settings.py +++ b/plugins/modules/ibm_cis_cache_settings.py @@ -18,15 +18,26 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_cache_settings' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + domain_id: + description: + - (Required for new resource) Associated CIS domain + required: True + type: str caching_level: description: - Cache level setting required: False type: str + serve_stale_content: + description: + - Serve Stale Content + required: False + type: str + default: on development_mode: description: - Development mode setting @@ -37,47 +48,36 @@ - Query String sort setting required: False type: str + cis_id: + description: + - (Required for new resource) CIS instance crn + required: True + type: str + browser_expiration: + description: + - Browser Expiration setting + required: False + type: int purge_all: description: - Purge all setting required: False type: bool - purge_by_tags: + purge_by_urls: description: - - Purge by tags + - Purge by URLs required: False type: list elements: str - purge_by_hosts: + purge_by_tags: description: - - Purge by hosts + - Purge by tags required: False type: list elements: str - 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 - serve_stale_content: - description: - - Serve Stale Content - required: False - type: str - default: on - browser_expiration: - description: - - Browser Expiration setting - required: False - type: int - purge_by_urls: + purge_by_hosts: description: - - Purge by URLs + - Purge by hosts required: False type: list elements: str @@ -127,23 +127,23 @@ # 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 = [ + 'domain_id', 'caching_level', + 'serve_stale_content', 'development_mode', 'query_string_sort', - 'purge_all', - 'purge_by_tags', - 'purge_by_hosts', 'cis_id', - 'domain_id', - 'serve_stale_content', 'browser_expiration', + 'purge_all', 'purge_by_urls', + 'purge_by_tags', + 'purge_by_hosts', ] # Params for Data source @@ -159,48 +159,48 @@ TL_CONFLICTS_MAP = { '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'], - 'purge_by_urls': ['purge_all', 'purge_by_tags', 'purge_by_hosts'], } # 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( + domain_id=dict( + required=False, + type='str'), caching_level=dict( required=False, type='str'), + serve_stale_content=dict( + required=False, + type='str'), development_mode=dict( required=False, type='str'), query_string_sort=dict( required=False, type='str'), + cis_id=dict( + required=False, + type='str'), + browser_expiration=dict( + required=False, + type='int'), purge_all=dict( required=False, type='bool'), - purge_by_tags=dict( + purge_by_urls=dict( required=False, elements='', type='list'), - purge_by_hosts=dict( + purge_by_tags=dict( required=False, elements='', type='list'), - cis_id=dict( - required=False, - type='str'), - domain_id=dict( - required=False, - type='str'), - serve_stale_content=dict( - required=False, - type='str'), - browser_expiration=dict( - required=False, - type='int'), - purge_by_urls=dict( + purge_by_hosts=dict( required=False, elements='', type='list'), @@ -269,7 +269,7 @@ def run_module(): resource_type='ibm_cis_cache_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 3ffc8e442..910c6b143 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 6e4aa12c7..a17df4f2c 100644 --- a/plugins/modules/ibm_cis_certificate_order.py +++ b/plugins/modules/ibm_cis_certificate_order.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_cis_certificate_order', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 ac608f731..674becaab 100644 --- a/plugins/modules/ibm_cis_certificate_upload.py +++ b/plugins/modules/ibm_cis_certificate_upload.py @@ -18,28 +18,33 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - domain_id: + priority: description: - - (Required for new resource) Associated CIS domain + - Certificate priority + required: False + type: int + certificate: + description: + - (Required for new resource) Certificate key required: True type: str - cis_id: + private_key: description: - - (Required for new resource) CIS instance crn + - (Required for new resource) Certificate private key required: True type: str - certificate: + cis_id: description: - - (Required for new resource) Certificate key + - (Required for new resource) CIS instance crn required: True type: str - private_key: + domain_id: description: - - (Required for new resource) Certificate private key + - (Required for new resource) Associated CIS domain required: True type: str bundle_method: @@ -48,11 +53,6 @@ required: False type: str default: ubiquitous - 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 = [ - ('domain_id', 'str'), - ('cis_id', 'str'), ('certificate', 'str'), ('private_key', 'str'), + ('cis_id', 'str'), + ('domain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'domain_id', - 'cis_id', + 'priority', 'certificate', 'private_key', + 'cis_id', + 'domain_id', 'bundle_method', - '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( + priority=dict( + required=False, + type='int'), + certificate=dict( required=False, type='str'), - cis_id=dict( + private_key=dict( required=False, type='str'), - certificate=dict( + cis_id=dict( required=False, type='str'), - private_key=dict( + domain_id=dict( required=False, type='str'), bundle_method=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.50.0', + ibm_provider_version='1.51.0', 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 55f482f1b..4be492e80 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 5a5184f03..98b7d22d2 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 2ea099d98..749bccbe7 100644 --- a/plugins/modules/ibm_cis_custom_page.py +++ b/plugins/modules/ibm_cis_custom_page.py @@ -18,28 +18,28 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - cis_id: + page_id: description: - - (Required for new resource) CIS instance crn + - (Required for new resource) Custom page identifier required: True type: str - domain_id: + url: description: - - (Required for new resource) Associated CIS domain + - (Required for new resource) Custom page url required: True type: str - url: + cis_id: description: - - (Required for new resource) Custom page url + - (Required for new resource) CIS instance crn required: True type: str - page_id: + domain_id: description: - - (Required for new resource) Custom page identifier + - (Required for new resource) Associated CIS domain required: True type: str id: @@ -88,18 +88,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('page_id', 'str'), + ('url', 'str'), ('cis_id', 'str'), ('domain_id', 'str'), - ('url', 'str'), - ('page_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'page_id', + 'url', 'cis_id', 'domain_id', - 'url', - 'page_id', ] # Params for Data source @@ -116,16 +116,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( - cis_id=dict( + page_id=dict( required=False, type='str'), - domain_id=dict( + url=dict( required=False, type='str'), - url=dict( + cis_id=dict( required=False, type='str'), - page_id=dict( + domain_id=dict( required=False, type='str'), id=dict( @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_cis_custom_page', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 5bc50e52f..19a58a256 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 c9310254b..afa57d3fb 100644 --- a/plugins/modules/ibm_cis_dns_record.py +++ b/plugins/modules/ibm_cis_dns_record.py @@ -18,15 +18,31 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + domain_id: + description: + - (Required for new resource) Associated CIS domain + required: True + type: str content: description: - DNS record content required: False type: str + proxied: + description: + - Boolean value true if proxied else flase + required: False + type: bool + default: False + type: + description: + - (Required for new resource) Record type + required: True + type: str data: description: - None @@ -37,38 +53,22 @@ - Priority Value required: False type: int + cis_id: + description: + - (Required for new resource) CIS object id or CRN + required: True + type: str name: description: - DNS record name required: False type: str - proxied: - description: - - Boolean value true if proxied else flase - required: False - type: bool - default: False ttl: description: - TTL value required: False type: int default: 1 - cis_id: - description: - - (Required for new resource) CIS object id or CRN - required: True - type: str - domain_id: - description: - - (Required for new resource) Associated CIS domain - required: True - type: str - type: - description: - - (Required for new resource) Record type - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -115,22 +115,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), ('domain_id', 'str'), ('type', 'str'), + ('cis_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'domain_id', 'content', + 'proxied', + 'type', 'data', 'priority', + 'cis_id', 'name', - 'proxied', 'ttl', - 'cis_id', - 'domain_id', - 'type', ] # Params for Data source @@ -149,33 +149,33 @@ 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=dict( + domain_id=dict( required=False, type='str'), - data=dict( - required=False, - type='dict'), - priority=dict( - required=False, - type='int'), - name=dict( + content=dict( required=False, type='str'), proxied=dict( required=False, type='bool'), - ttl=dict( + type=dict( + required=False, + type='str'), + data=dict( + required=False, + type='dict'), + priority=dict( required=False, type='int'), cis_id=dict( required=False, type='str'), - domain_id=dict( + name=dict( required=False, type='str'), - type=dict( + ttl=dict( required=False, - type='str'), + type='int'), id=dict( required=False, type='str'), @@ -241,7 +241,7 @@ def run_module(): resource_type='ibm_cis_dns_record', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 5797d8bd0..58cfbddcd 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - file: - description: - - (Required for new resource) File to import - required: True - type: str cis_id: description: - (Required for new resource) CIS instance crn @@ -37,6 +32,11 @@ - (Required for new resource) Associated CIS domain required: True 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,16 +83,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('file', 'str'), ('cis_id', 'str'), ('domain_id', 'str'), + ('file', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'file', 'cis_id', 'domain_id', + 'file', ] # 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( - file=dict( - required=False, - type='str'), cis_id=dict( required=False, type='str'), domain_id=dict( required=False, type='str'), + file=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.50.0', + ibm_provider_version='1.51.0', 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 5f48faff5..68dd1676a 100644 --- a/plugins/modules/ibm_cis_dns_records_info.py +++ b/plugins/modules/ibm_cis_dns_records_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_dns_records' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -131,7 +131,7 @@ def run_module(): resource_type='ibm_cis_dns_records', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 ad6ba57f9..c443d8b6b 100644 --- a/plugins/modules/ibm_cis_domain.py +++ b/plugins/modules/ibm_cis_domain.py @@ -18,18 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_domain' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - domain: + cis_id: description: - - (Required for new resource) CISzone - Domain + - (Required for new resource) CIS instance crn required: True type: str - cis_id: + domain: description: - - (Required for new resource) CIS instance crn + - (Required for new resource) CISzone - Domain required: True type: str type: @@ -84,28 +84,28 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('domain', 'str'), ('cis_id', 'str'), + ('domain', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'domain', 'cis_id', + 'domain', 'type', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('domain', 'str'), ('cis_id', 'str'), + ('domain', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'domain', - 'verification_key', 'cis_id', + 'verification_key', 'cname_suffix', + 'domain', ] TL_CONFLICTS_MAP = { @@ -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( - domain=dict( + cis_id=dict( required=False, type='str'), - cis_id=dict( + domain=dict( required=False, type='str'), type=dict( @@ -189,7 +189,7 @@ def run_module(): resource_type='ibm_cis_domain', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 f3eecfae1..3dce24308 100644 --- a/plugins/modules/ibm_cis_domain_info.py +++ b/plugins/modules/ibm_cis_domain_info.py @@ -17,13 +17,13 @@ description: - Retrieve an IBM Cloud 'ibm_cis_domain' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - domain: + cis_id: description: - - CISzone - Domain + - CIS instance crn required: True type: str verification_key: @@ -31,16 +31,16 @@ - None required: False type: str - cis_id: - description: - - CIS instance crn - required: True - type: str cname_suffix: description: - None required: False type: str + domain: + description: + - CISzone - Domain + 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 = [ - ('domain', 'str'), ('cis_id', 'str'), + ('domain', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'domain', - 'verification_key', 'cis_id', + 'verification_key', 'cname_suffix', + 'domain', ] @@ -94,18 +94,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( - domain=dict( + cis_id=dict( required=True, type='str'), verification_key=dict( required=False, type='str'), - cis_id=dict( - required=True, - type='str'), cname_suffix=dict( required=False, type='str'), + domain=dict( + required=True, + 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.50.0', + ibm_provider_version='1.51.0', 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 cdcf3ec38..291beb94f 100644 --- a/plugins/modules/ibm_cis_domain_settings.py +++ b/plugins/modules/ibm_cis_domain_settings.py @@ -18,178 +18,178 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + tls_client_auth: + description: + - tls_client_auth setting + required: False + type: str + domain_id: + description: + - (Required for new resource) Associated CIS domain + required: True + type: str + image_size_optimization: + description: + - image_size_optimization setting + required: False + type: str + ip_geolocation: + description: + - ip_geolocation setting + required: False + type: str challenge_ttl: description: - Challenge TTL setting required: False type: int - always_use_https: + max_upload: description: - - always_use_https setting + - Maximum upload required: False - type: str - hotlink_protection: + type: int + waf: description: - - hotlink_protection setting + - WAF setting required: False type: str - mobile_redirect: + script_load_optimization: description: - - None + - script_load_optimization setting required: False - type: list - elements: dict - cis_id: + type: str + server_side_exclude: description: - - (Required for new resource) CIS instance crn - required: True + - server_side_exclude setting + required: False type: str http2: description: - http2 setting required: False type: str - websockets: + dnssec: description: - - websockets setting + - DNS Sec setting required: False type: str - domain_id: - description: - - (Required for new resource) Associated CIS domain - required: True - type: str cname_flattening: description: - cname_flattening setting required: False type: str - brotli: + websockets: description: - - brotli setting + - websockets setting required: False type: str - minify: + browser_check: description: - - Minify setting + - browser_check setting required: False - type: list - elements: dict - origin_error_page_pass_thru: + type: str + hotlink_protection: description: - - origin_error_page_pass_thru setting + - hotlink_protection setting required: False type: str - ssl: + brotli: description: - - SSL/TLS setting + - brotli setting required: False type: str - min_tls_version: + cis_id: description: - - Minimum version of TLS required - required: False + - (Required for new resource) CIS instance crn + required: True type: str - default: 1.1 automatic_https_rewrites: description: - automatic_https_rewrites setting required: False type: str - ipv6: + true_client_ip_header: description: - - ipv6 setting + - true_client_ip_header setting required: False type: str - browser_check: + min_tls_version: description: - - browser_check setting + - Minimum version of TLS required required: False type: str - ip_geolocation: + default: 1.1 + origin_error_page_pass_thru: description: - - ip_geolocation setting + - origin_error_page_pass_thru setting required: False type: str - prefetch_preload: + mobile_redirect: description: - - prefetch_preload setting + - None required: False - type: str - opportunistic_encryption: + type: list + elements: dict + response_buffering: description: - - opportunistic_encryption setting + - response_buffering setting required: False type: str - image_size_optimization: + cipher: description: - - image_size_optimization setting + - Cipher settings required: False - type: str + type: list + elements: str security_header: description: - Security Header Setting required: False type: list elements: dict - waf: + ipv6: description: - - WAF setting + - ipv6 setting required: False type: str - response_buffering: + image_load_optimization: description: - - response_buffering setting + - image_load_optimization setting required: False type: str - script_load_optimization: + pseudo_ipv4: description: - - script_load_optimization setting + - pseudo_ipv4 setting required: False type: str - server_side_exclude: + prefetch_preload: description: - - server_side_exclude setting + - prefetch_preload setting required: False type: str - max_upload: - description: - - Maximum upload - required: False - type: int - cipher: + minify: description: - - Cipher settings + - Minify setting required: False type: list - elements: str - dnssec: - description: - - DNS Sec setting - required: False - type: str - image_load_optimization: - description: - - image_load_optimization setting - required: False - type: str - pseudo_ipv4: + elements: dict + ssl: description: - - pseudo_ipv4 setting + - SSL/TLS setting required: False type: str - tls_client_auth: + opportunistic_encryption: description: - - tls_client_auth setting + - opportunistic_encryption setting required: False type: str - true_client_ip_header: + always_use_https: description: - - true_client_ip_header setting + - always_use_https setting required: False type: str id: @@ -238,45 +238,45 @@ # 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 = [ + 'tls_client_auth', + 'domain_id', + 'image_size_optimization', + 'ip_geolocation', 'challenge_ttl', - 'always_use_https', - 'hotlink_protection', - 'mobile_redirect', - 'cis_id', + 'max_upload', + 'waf', + 'script_load_optimization', + 'server_side_exclude', 'http2', - 'websockets', - 'domain_id', + 'dnssec', 'cname_flattening', + 'websockets', + 'browser_check', + 'hotlink_protection', 'brotli', - 'minify', - 'origin_error_page_pass_thru', - 'ssl', - 'min_tls_version', + 'cis_id', 'automatic_https_rewrites', - 'ipv6', - 'browser_check', - 'ip_geolocation', - 'prefetch_preload', - 'opportunistic_encryption', - 'image_size_optimization', - 'security_header', - 'waf', + 'true_client_ip_header', + 'min_tls_version', + 'origin_error_page_pass_thru', + 'mobile_redirect', 'response_buffering', - 'script_load_optimization', - 'server_side_exclude', - 'max_upload', 'cipher', - 'dnssec', + 'security_header', + 'ipv6', 'image_load_optimization', 'pseudo_ipv4', - 'tls_client_auth', - 'true_client_ip_header', + 'prefetch_preload', + 'minify', + 'ssl', + 'opportunistic_encryption', + 'always_use_https', ] # 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( - challenge_ttl=dict( + tls_client_auth=dict( required=False, - type='int'), - always_use_https=dict( + type='str'), + domain_id=dict( required=False, type='str'), - hotlink_protection=dict( + image_size_optimization=dict( required=False, type='str'), - mobile_redirect=dict( + ip_geolocation=dict( required=False, - elements='', - type='list'), - cis_id=dict( + type='str'), + challenge_ttl=dict( + required=False, + type='int'), + max_upload=dict( + required=False, + type='int'), + waf=dict( required=False, type='str'), - http2=dict( + script_load_optimization=dict( required=False, type='str'), - websockets=dict( + server_side_exclude=dict( required=False, type='str'), - domain_id=dict( + http2=dict( + required=False, + type='str'), + dnssec=dict( required=False, type='str'), cname_flattening=dict( required=False, type='str'), - brotli=dict( + websockets=dict( required=False, type='str'), - minify=dict( + browser_check=dict( required=False, - elements='', - type='list'), - origin_error_page_pass_thru=dict( + type='str'), + hotlink_protection=dict( required=False, type='str'), - ssl=dict( + brotli=dict( required=False, type='str'), - min_tls_version=dict( + cis_id=dict( required=False, type='str'), automatic_https_rewrites=dict( required=False, type='str'), - ipv6=dict( + true_client_ip_header=dict( required=False, type='str'), - browser_check=dict( + min_tls_version=dict( required=False, type='str'), - ip_geolocation=dict( + origin_error_page_pass_thru=dict( required=False, type='str'), - prefetch_preload=dict( + mobile_redirect=dict( required=False, - type='str'), - opportunistic_encryption=dict( + elements='', + type='list'), + response_buffering=dict( required=False, type='str'), - image_size_optimization=dict( + cipher=dict( required=False, - type='str'), + elements='', + type='list'), security_header=dict( required=False, elements='', type='list'), - waf=dict( + ipv6=dict( required=False, type='str'), - response_buffering=dict( + image_load_optimization=dict( required=False, type='str'), - script_load_optimization=dict( + pseudo_ipv4=dict( required=False, type='str'), - server_side_exclude=dict( + prefetch_preload=dict( required=False, type='str'), - max_upload=dict( - required=False, - type='int'), - cipher=dict( + minify=dict( required=False, elements='', type='list'), - dnssec=dict( - required=False, - type='str'), - image_load_optimization=dict( - required=False, - type='str'), - pseudo_ipv4=dict( + ssl=dict( required=False, type='str'), - tls_client_auth=dict( + opportunistic_encryption=dict( required=False, type='str'), - true_client_ip_header=dict( + always_use_https=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.50.0', + ibm_provider_version='1.51.0', 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 e4ba0d4b1..4684aec21 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - cis_id: - description: - - (Required for new resource) CIS Intance CRN - required: True - type: str domain_id: description: - (Required for new resource) CIS Domain ID @@ -42,6 +37,11 @@ - (Required for new resource) Edge function action script required: True type: str + cis_id: + description: + - (Required for new resource) CIS Intance CRN + 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 = [ - ('cis_id', 'str'), ('domain_id', 'str'), ('action_name', 'str'), ('script', 'str'), + ('cis_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cis_id', 'domain_id', 'action_name', 'script', + 'cis_id', ] # 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( - cis_id=dict( - required=False, - type='str'), domain_id=dict( required=False, type='str'), @@ -128,6 +125,9 @@ script=dict( required=False, type='str'), + cis_id=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.50.0', + ibm_provider_version='1.51.0', 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 c852a42b9..29984ff92 100644 --- a/plugins/modules/ibm_cis_edge_functions_actions_info.py +++ b/plugins/modules/ibm_cis_edge_functions_actions_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_edge_functions_actions' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_edge_functions_actions', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 3974b7216..eab3837f6 100644 --- a/plugins/modules/ibm_cis_edge_functions_trigger.py +++ b/plugins/modules/ibm_cis_edge_functions_trigger.py @@ -18,20 +18,10 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - action_name: - description: - - Edge function trigger action name - required: False - type: str - cis_id: - description: - - (Required for new resource) CIS Intance CRN - required: True - type: str domain_id: description: - (Required for new resource) CIS Domain ID @@ -42,6 +32,16 @@ - (Required for new resource) Edge function trigger pattern required: True type: str + action_name: + description: + - Edge function trigger action name + required: False + type: str + cis_id: + description: + - (Required for new resource) CIS Intance CRN + 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 = [ - ('cis_id', 'str'), ('domain_id', 'str'), ('pattern_url', 'str'), + ('cis_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'action_name', - 'cis_id', 'domain_id', 'pattern_url', + 'action_name', + 'cis_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( - action_name=dict( + domain_id=dict( required=False, type='str'), - cis_id=dict( + pattern_url=dict( required=False, type='str'), - domain_id=dict( + action_name=dict( required=False, type='str'), - pattern_url=dict( + cis_id=dict( required=False, type='str'), id=dict( @@ -192,7 +192,7 @@ def run_module(): resource_type='ibm_cis_edge_functions_trigger', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 0db64529f..2f21df2fa 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 369528a8f..54a529cf2 100644 --- a/plugins/modules/ibm_cis_filter.py +++ b/plugins/modules/ibm_cis_filter.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_filter' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - description: - description: - - Filter Description - required: False - type: str cis_id: description: - (Required for new resource) CIS instance crn @@ -47,6 +42,11 @@ - (Required for new resource) Filter Expression required: True type: str + description: + description: + - Filter Description + 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 = [ - 'description', 'cis_id', 'domain_id', 'paused', 'expression', + 'description', ] # 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( - description=dict( - required=False, - type='str'), cis_id=dict( required=False, type='str'), @@ -136,6 +133,9 @@ expression=dict( required=False, type='str'), + description=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -201,7 +201,7 @@ def run_module(): resource_type='ibm_cis_filter', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 7ba9ce6cc..54e34082f 100644 --- a/plugins/modules/ibm_cis_filters_info.py +++ b/plugins/modules/ibm_cis_filters_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cis_filters' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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_filters', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 728f5d7ce..ba556b979 100644 --- a/plugins/modules/ibm_cis_firewall.py +++ b/plugins/modules/ibm_cis_firewall.py @@ -18,25 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_firewall' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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 - required: True - type: str - firewall_type: - description: - - (Required for new resource) Type of firewall.Allowable values are access-rules,ua-rules,lockdowns - required: True - type: str lockdown: description: - Lockdown Data @@ -55,6 +40,21 @@ required: False type: list elements: dict + cis_id: + description: + - (Required for new resource) CIS object id + required: True + type: str + domain_id: + description: + - (Required for new resource) Associated CIS domain + required: True + type: str + firewall_type: + description: + - (Required for new resource) Type of firewall.Allowable values are access-rules,ua-rules,lockdowns + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -108,12 +108,12 @@ # 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', + 'domain_id', + 'firewall_type', ] # Params for Data source @@ -136,15 +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( - cis_id=dict( - required=False, - type='str'), - domain_id=dict( - required=False, - type='str'), - firewall_type=dict( - required=False, - type='str'), lockdown=dict( required=False, elements='', @@ -157,6 +148,15 @@ required=False, elements='', type='list'), + cis_id=dict( + required=False, + type='str'), + domain_id=dict( + required=False, + type='str'), + firewall_type=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 d51777767..12a38b28a 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 907f4b16e..e7e38c5e6 100644 --- a/plugins/modules/ibm_cis_firewall_rule.py +++ b/plugins/modules/ibm_cis_firewall_rule.py @@ -18,10 +18,15 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + action: + description: + - (Required for new resource) Firewallrules Action + required: True + type: str priority: description: - Firewallrules Action @@ -52,11 +57,6 @@ - (Required for new resource) Firewallrules Existing FilterID required: True type: str - action: - description: - - (Required for new resource) Firewallrules Action - 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 = [ + ('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 = [ + 'action', 'priority', 'description', 'paused', 'cis_id', 'domain_id', 'filter_id', - 'action', ] # Params for Data source @@ -134,6 +134,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( + action=dict( + required=False, + type='str'), priority=dict( required=False, type='int'), @@ -152,9 +155,6 @@ filter_id=dict( required=False, type='str'), - action=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.50.0', + ibm_provider_version='1.51.0', 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 28fc3ad80..e526c80f3 100644 --- a/plugins/modules/ibm_cis_firewall_rules_info.py +++ b/plugins/modules/ibm_cis_firewall_rules_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_firewall_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_firewall_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 f4f678f83..fd40c5918 100644 --- a/plugins/modules/ibm_cis_global_load_balancer.py +++ b/plugins/modules/ibm_cis_global_load_balancer.py @@ -18,21 +18,21 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - cis_id: + description: description: - - (Required for new resource) CIS instance crn - required: True + - Description for the load balancer instance + required: False type: str - default_pool_ids: + ttl: description: - - (Required for new resource) List of default Pool IDs - required: True - type: list - elements: str + - TTL value + required: False + type: int + default: 60 steering_policy: description: - Steering policy info @@ -44,51 +44,51 @@ required: False type: bool default: False - domain_id: + session_affinity: description: - - (Required for new resource) Associated CIS domain - required: True + - Session affinity info + required: False type: str - fallback_pool_id: + default: none + cis_id: description: - - (Required for new resource) fallback pool ID + - (Required for new resource) CIS instance crn required: True type: str - name: + fallback_pool_id: description: - - (Required for new resource) name + - (Required for new resource) fallback pool ID required: True type: str - ttl: - description: - - TTL value - required: False - type: int - default: 60 - session_affinity: + enabled: description: - - Session affinity info + - set to true of LB needs to enabled required: False - type: str - default: none - region_pools: + type: bool + default: True + pop_pools: description: - None required: False type: list elements: dict - description: + domain_id: description: - - Description for the load balancer instance - required: False + - (Required for new resource) Associated CIS domain + required: True type: str - enabled: + name: description: - - set to true of LB needs to enabled - required: False - type: bool - default: True - pop_pools: + - (Required for new resource) name + required: True + type: str + 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 @@ -141,27 +141,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('cis_id', 'str'), - ('default_pool_ids', 'list'), - ('domain_id', 'str'), ('fallback_pool_id', 'str'), + ('domain_id', 'str'), ('name', 'str'), + ('default_pool_ids', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cis_id', - 'default_pool_ids', + 'description', + 'ttl', 'steering_policy', 'proxied', - 'domain_id', - 'fallback_pool_id', - 'name', - 'ttl', 'session_affinity', - 'region_pools', - 'description', + 'cis_id', + 'fallback_pool_id', 'enabled', 'pop_pools', + 'domain_id', + 'name', + 'default_pool_ids', + 'region_pools', ] # Params for Data source @@ -172,53 +172,53 @@ ] TL_CONFLICTS_MAP = { - 'proxied': ['ttl'], 'ttl': ['proxied'], + 'proxied': ['ttl'], } # 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( - cis_id=dict( + description=dict( required=False, type='str'), - default_pool_ids=dict( + ttl=dict( required=False, - elements='', - type='list'), + type='int'), steering_policy=dict( required=False, type='str'), proxied=dict( required=False, type='bool'), - domain_id=dict( + session_affinity=dict( required=False, type='str'), - fallback_pool_id=dict( + cis_id=dict( required=False, type='str'), - name=dict( + fallback_pool_id=dict( required=False, type='str'), - ttl=dict( - required=False, - type='int'), - session_affinity=dict( + enabled=dict( required=False, - type='str'), - region_pools=dict( + type='bool'), + pop_pools=dict( required=False, elements='', type='list'), - description=dict( + domain_id=dict( required=False, type='str'), - enabled=dict( + name=dict( required=False, - type='bool'), - pop_pools=dict( + type='str'), + default_pool_ids=dict( + required=False, + elements='', + type='list'), + region_pools=dict( required=False, elements='', type='list'), @@ -287,7 +287,7 @@ def run_module(): resource_type='ibm_cis_global_load_balancer', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 0b222191c..666cec870 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 b6bd8725a..97f5606fe 100644 --- a/plugins/modules/ibm_cis_healthcheck.py +++ b/plugins/modules/ibm_cis_healthcheck.py @@ -18,47 +18,35 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_healthcheck' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - cis_id: - description: - - (Required for new resource) CIS instance crn - required: True - type: str timeout: description: - timeout required: False type: int default: 5 - port: - description: - - port number - required: False - type: int - interval: - description: - - interval - required: False - type: int - default: 60 follow_redirects: description: - follow_redirects required: False type: bool default: False - allow_insecure: + port: description: - - allow_insecure + - port number required: False - type: bool - default: False - expected_codes: + type: int + cis_id: description: - - expected_codes + - (Required for new resource) CIS instance crn + required: True + type: str + expected_body: + description: + - expected_body required: False type: str description: @@ -67,41 +55,53 @@ required: False type: str default: - path: - description: - - path - required: False - type: str - default: / - expected_body: - description: - - expected_body - required: False - type: str method: description: - method required: False type: str default: GET + retries: + description: + - retries + required: False + type: int + default: 2 headers: description: - None required: False type: list elements: dict + path: + description: + - path + required: False + type: str + default: / type: description: - type required: False type: str default: http - retries: + allow_insecure: description: - - retries + - allow_insecure + required: False + type: bool + default: False + expected_codes: + description: + - expected_codes + required: False + type: str + interval: + description: + - interval required: False type: int - default: 2 + default: 60 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -153,20 +153,20 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cis_id', 'timeout', - 'port', - 'interval', 'follow_redirects', - 'allow_insecure', - 'expected_codes', - 'description', - 'path', + 'port', + 'cis_id', 'expected_body', + 'description', 'method', + 'retries', 'headers', + 'path', 'type', - 'retries', + 'allow_insecure', + 'expected_codes', + 'interval', ] # Params for Data source @@ -183,47 +183,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( - cis_id=dict( - required=False, - type='str'), timeout=dict( required=False, type='int'), - port=dict( - required=False, - type='int'), - interval=dict( - required=False, - type='int'), follow_redirects=dict( required=False, type='bool'), - allow_insecure=dict( - required=False, - type='bool'), - expected_codes=dict( + port=dict( required=False, - type='str'), - description=dict( + type='int'), + cis_id=dict( required=False, type='str'), - path=dict( + expected_body=dict( required=False, type='str'), - expected_body=dict( + description=dict( required=False, type='str'), method=dict( required=False, type='str'), + retries=dict( + required=False, + type='int'), headers=dict( required=False, elements='', type='list'), + path=dict( + required=False, + type='str'), type=dict( required=False, type='str'), - retries=dict( + allow_insecure=dict( + required=False, + type='bool'), + expected_codes=dict( + required=False, + type='str'), + interval=dict( required=False, type='int'), id=dict( @@ -291,7 +291,7 @@ def run_module(): resource_type='ibm_cis_healthcheck', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 45f8eff51..c28b648f5 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 465f4f72e..587564020 100644 --- a/plugins/modules/ibm_cis_info.py +++ b/plugins/modules/ibm_cis_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_cis', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 e336159df..f61b22bcf 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 41b7ba94f..63b0945ce 100644 --- a/plugins/modules/ibm_cis_logpush_job.py +++ b/plugins/modules/ibm_cis_logpush_job.py @@ -18,50 +18,50 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + dataset: + description: + - (Required for new resource) Dataset to be pulled + required: True + type: str frequency: description: - 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 logdna: description: - (Required for new resource) Information to identify the LogDNA instance the data will be pushed. required: True type: str - name: - description: - - Logpush Job Name - required: False - type: str enabled: description: - Whether the logpush job enabled or not required: False type: bool - domain_id: - description: - - (Required for new resource) Associated CIS domain - required: True - type: str logpull_options: description: - Configuration string required: False type: str - dataset: + cis_id: description: - - (Required for new resource) Dataset to be pulled + - (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 + name: + description: + - Logpush Job Name + required: False + 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'), + ('dataset', 'str'), ('logdna', 'str'), + ('cis_id', 'str'), ('domain_id', 'str'), - ('dataset', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'dataset', 'frequency', - 'cis_id', 'logdna', - 'name', 'enabled', - 'domain_id', 'logpull_options', - 'dataset', + 'cis_id', + 'domain_id', + 'name', ] # Params for Data source @@ -140,28 +140,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( - frequency=dict( + dataset=dict( required=False, type='str'), - cis_id=dict( + frequency=dict( required=False, type='str'), logdna=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), enabled=dict( required=False, type='bool'), - domain_id=dict( + logpull_options=dict( required=False, type='str'), - logpull_options=dict( + cis_id=dict( required=False, type='str'), - dataset=dict( + domain_id=dict( + required=False, + type='str'), + name=dict( required=False, type='str'), id=dict( @@ -229,7 +229,7 @@ def run_module(): resource_type='ibm_cis_logpush_job', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 fec62588a..32cdc8990 100644 --- a/plugins/modules/ibm_cis_logpush_jobs_info.py +++ b/plugins/modules/ibm_cis_logpush_jobs_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cis_logpush_jobs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cis_logpush_jobs', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 d20a0760c..57c2102f8 100644 --- a/plugins/modules/ibm_cis_mtls.py +++ b/plugins/modules/ibm_cis_mtls.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_mtls' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - certificate: - description: - - (Required for new resource) Certificate contents - required: True - type: str - domain_id: - description: - - (Required for new resource) Associated CIS domain - required: True - type: str associated_hostnames: description: - (Required for new resource) Host name list to be associated @@ -43,11 +33,21 @@ - (Required for new resource) CIS instance crn required: True type: str + certificate: + description: + - (Required for new resource) Certificate contents + required: True + type: str name: description: - (Required for new resource) Certificate name 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. @@ -94,20 +94,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('certificate', 'str'), - ('domain_id', 'str'), ('associated_hostnames', 'list'), ('cis_id', 'str'), + ('certificate', 'str'), ('name', 'str'), + ('domain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'certificate', - 'domain_id', 'associated_hostnames', 'cis_id', + 'certificate', 'name', + 'domain_id', ] # Params for Data source @@ -124,12 +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( - certificate=dict( - required=False, - type='str'), - domain_id=dict( - required=False, - type='str'), associated_hostnames=dict( required=False, elements='', @@ -137,9 +131,15 @@ cis_id=dict( required=False, type='str'), + certificate=dict( + required=False, + type='str'), name=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.50.0', + ibm_provider_version='1.51.0', 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 0bd5c8661..de9ab6509 100644 --- a/plugins/modules/ibm_cis_mtls_app.py +++ b/plugins/modules/ibm_cis_mtls_app.py @@ -18,22 +18,25 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - session_duration: + cis_id: description: - - Duration for app validatidity - required: False + - (Required for new resource) CIS instance crn + required: True type: str - default: 24h - policy_name: + name: description: - - Policy Name - required: False + - (Required for new resource) App Name + required: True + type: str + domain: + description: + - (Required for new resource) Associated host domain value + required: True type: str - default: mtls-policy policy_decision: description: - Policy Action @@ -45,32 +48,29 @@ - (Required for new resource) Associated CIS domain required: True type: str - common_rule_val: + cert_rule_val: description: - - Policy common rule value + - Policy certificate rule value required: False type: str - cis_id: - description: - - (Required for new resource) CIS instance crn - required: True - type: str - domain: + default: CA root certificate + session_duration: description: - - (Required for new resource) Associated host domain value - required: True + - Duration for app validatidity + required: False type: str - name: + default: 24h + policy_name: description: - - (Required for new resource) App Name - required: True + - Policy Name + required: False type: str - cert_rule_val: + default: mtls-policy + common_rule_val: description: - - Policy certificate rule value + - Policy common rule value required: False type: str - default: CA root certificate id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -117,23 +117,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('domain_id', 'str'), ('cis_id', 'str'), - ('domain', 'str'), ('name', 'str'), + ('domain', 'str'), + ('domain_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'session_duration', - 'policy_name', - 'policy_decision', - 'domain_id', - 'common_rule_val', 'cis_id', - 'domain', 'name', + 'domain', + 'policy_decision', + 'domain_id', 'cert_rule_val', + 'session_duration', + 'policy_name', + 'common_rule_val', ] # 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( - session_duration=dict( + cis_id=dict( required=False, type='str'), - policy_name=dict( + name=dict( required=False, type='str'), - policy_decision=dict( + domain=dict( required=False, type='str'), - domain_id=dict( + policy_decision=dict( required=False, type='str'), - common_rule_val=dict( + domain_id=dict( required=False, type='str'), - cis_id=dict( + cert_rule_val=dict( required=False, type='str'), - domain=dict( + session_duration=dict( required=False, type='str'), - name=dict( + policy_name=dict( required=False, type='str'), - cert_rule_val=dict( + common_rule_val=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.50.0', + ibm_provider_version='1.51.0', 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 24db53cb1..c03262ad7 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 f09bf3ee9..183e37066 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 46a791185..dfb3a1988 100644 --- a/plugins/modules/ibm_cis_origin_auth.py +++ b/plugins/modules/ibm_cis_origin_auth.py @@ -18,34 +18,28 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - domain_id: + cis_id: description: - - (Required for new resource) Associated CIS domain + - (Required for new resource) CIS instance crn required: True type: str - level: + domain_id: description: - - (Required for new resource) Origin auth level zone or hostname + - (Required for new resource) Associated CIS domain required: True type: str - enabled: - description: - - Enabel-disable origin auth for a zone or host - required: False - type: bool - default: True certificate: description: - (Required for new resource) Certificate content which needs to be uploaded required: True type: str - 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: @@ -53,6 +47,12 @@ - Host name needed for host level authentication required: False type: str + enabled: + description: + - Enabel-disable origin auth for a zone or host + required: False + type: bool + default: True private_key: description: - (Required for new resource) Private key content which needs to be uploaded @@ -104,21 +104,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('cis_id', 'str'), ('domain_id', 'str'), - ('level', 'str'), ('certificate', 'str'), - ('cis_id', 'str'), + ('level', 'str'), ('private_key', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'cis_id', 'domain_id', - 'level', - 'enabled', 'certificate', - 'cis_id', + 'level', 'hostname', + 'enabled', 'private_key', ] @@ -136,24 +136,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( + cis_id=dict( required=False, type='str'), - level=dict( + domain_id=dict( required=False, type='str'), - enabled=dict( - required=False, - type='bool'), certificate=dict( required=False, type='str'), - cis_id=dict( + level=dict( required=False, type='str'), hostname=dict( required=False, type='str'), + enabled=dict( + required=False, + type='bool'), private_key=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.50.0', + ibm_provider_version='1.51.0', 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 de848e9d9..0120276a1 100644 --- a/plugins/modules/ibm_cis_origin_auths_info.py +++ b/plugins/modules/ibm_cis_origin_auths_info.py @@ -17,16 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_cis_origin_auths' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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 @@ -43,6 +37,12 @@ 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,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( - request_type=dict( - required=False, - type='str'), cis_id=dict( required=True, type='str'), @@ -108,6 +105,9 @@ 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.50.0', + ibm_provider_version='1.51.0', 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 2c68a2d15..80fb2e3a8 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - description: + name: description: - - Description of the CIS Origin Pool - required: False + - (Required for new resource) name + required: True type: str - enabled: + minimum_origins: description: - - (Required for new resource) Boolean value set to true if cis origin pool needs to be enabled - required: True - type: bool + - Minimum number of Origins + required: False + type: int + default: 1 monitor: description: - Monitor value required: False type: str - cis_id: + notification_email: description: - - (Required for new resource) CIS instance crn - required: True + - Email address configured to recieve the notifications + required: False type: str - name: + origins: description: - - (Required for new resource) name + - (Required for new resource) Origins info required: True - type: str + type: list + elements: dict check_regions: description: - (Required for new resource) List of regions required: True type: list elements: str - notification_email: + enabled: description: - - Email address configured to recieve the notifications - required: False - type: str - origins: + - (Required for new resource) Boolean value set to true if cis origin pool needs to be enabled + required: True + type: bool + cis_id: description: - - (Required for new resource) Origins info + - (Required for new resource) CIS instance crn required: True - type: list - elements: dict - minimum_origins: + type: str + description: description: - - Minimum number of Origins + - Description of the CIS Origin Pool required: False - type: int - default: 1 + type: str 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 = [ - ('enabled', 'bool'), - ('cis_id', 'str'), ('name', 'str'), - ('check_regions', 'list'), ('origins', 'list'), + ('check_regions', 'list'), + ('enabled', 'bool'), + ('cis_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'description', - 'enabled', - 'monitor', - 'cis_id', 'name', - 'check_regions', + 'minimum_origins', + 'monitor', 'notification_email', 'origins', - 'minimum_origins', + 'check_regions', + 'enabled', + 'cis_id', + 'description', ] # 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( - description=dict( + name=dict( required=False, type='str'), - enabled=dict( + minimum_origins=dict( required=False, - type='bool'), + type='int'), monitor=dict( required=False, type='str'), - cis_id=dict( + notification_email=dict( required=False, type='str'), - name=dict( + origins=dict( required=False, - type='str'), + elements='', + type='list'), check_regions=dict( required=False, elements='', type='list'), - notification_email=dict( + enabled=dict( required=False, - type='str'), - origins=dict( + type='bool'), + cis_id=dict( required=False, - elements='', - type='list'), - minimum_origins=dict( + type='str'), + description=dict( required=False, - type='int'), + type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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 5127bc891..c8b8704cc 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 fe3525a44..167326fd1 100644 --- a/plugins/modules/ibm_cis_page_rule.py +++ b/plugins/modules/ibm_cis_page_rule.py @@ -18,20 +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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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 priority: description: - Page rule priority @@ -56,6 +46,16 @@ required: True type: list elements: dict + 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. @@ -102,20 +102,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), - ('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 = [ - 'cis_id', - 'domain_id', 'priority', 'status', 'targets', 'actions', + 'cis_id', + 'domain_id', ] # Params for Data source @@ -132,12 +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( - cis_id=dict( - required=False, - type='str'), - domain_id=dict( - required=False, - type='str'), priority=dict( required=False, type='int'), @@ -152,6 +146,12 @@ required=False, elements='', type='list'), + 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.50.0', + ibm_provider_version='1.51.0', 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 fed0e017b..9220f0de6 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 efdcaa012..56a07c0d1 100644 --- a/plugins/modules/ibm_cis_range_app.py +++ b/plugins/modules/ibm_cis_range_app.py @@ -18,36 +18,26 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - cis_id: + domain_id: description: - - (Required for new resource) CIS Intance CRN + - (Required for new resource) CIS Domain ID required: True type: str - origin_port: - description: - - Port at the origin that listens to traffic - required: False - type: int - proxy_protocol: + origin_direct: description: - - Allows for the true client IP to be passed to the service. + - IP address and port of the origin for this Range application. required: False - type: str - dns_type: - description: - - (Required for new resource) Type of the DNS record for this application - required: True - type: str - edge_ips_type: + type: list + elements: str + ip_firewall: description: - - The type of edge IP configuration. + - Enables the IP Firewall for this application. Only available for TCP applications. required: False - type: str - default: dynamic + type: bool edge_ips_connectivity: description: - Specifies the IP version. @@ -60,14 +50,25 @@ required: False type: str default: off - domain_id: + dns_type: description: - - (Required for new resource) CIS Domain ID + - (Required for new resource) Type of the DNS record for this application required: True type: str - protocol: + origin_dns: description: - - (Required for new resource) Defines the protocol and port for this application + - DNS record pointing to the origin for this Range application. + required: False + type: str + traffic_type: + description: + - Configure how traffic is handled at the edge. + required: False + type: str + default: direct + cis_id: + description: + - (Required for new resource) CIS Intance CRN required: True type: str dns: @@ -75,26 +76,25 @@ - (Required for new resource) Name of the DNS record for this application required: True type: str - origin_direct: + edge_ips_type: description: - - IP address and port of the origin for this Range application. + - The type of edge IP configuration. required: False - type: list - elements: str - ip_firewall: + type: str + default: dynamic + protocol: description: - - Enables the IP Firewall for this application. Only available for TCP applications. - required: False - type: bool - traffic_type: + - (Required for new resource) Defines the protocol and port for this application + required: True + type: str + origin_port: description: - - Configure how traffic is handled at the edge. + - Port at the origin that listens to traffic required: False - type: str - default: direct - origin_dns: + type: int + proxy_protocol: description: - - DNS record pointing to the origin for this Range application. + - Allows for the true client IP to be passed to the service. required: False type: str id: @@ -143,29 +143,29 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), - ('dns_type', 'str'), ('domain_id', 'str'), - ('protocol', 'str'), + ('dns_type', 'str'), + ('cis_id', 'str'), ('dns', 'str'), + ('protocol', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cis_id', - 'origin_port', - 'proxy_protocol', - 'dns_type', - 'edge_ips_type', - 'edge_ips_connectivity', - 'tls', 'domain_id', - 'protocol', - 'dns', 'origin_direct', 'ip_firewall', - 'traffic_type', + 'edge_ips_connectivity', + 'tls', + 'dns_type', 'origin_dns', + 'traffic_type', + 'cis_id', + 'dns', + 'edge_ips_type', + 'protocol', + 'origin_port', + 'proxy_protocol', ] # Params for Data source @@ -183,47 +183,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( - cis_id=dict( + domain_id=dict( required=False, type='str'), - origin_port=dict( + origin_direct=dict( required=False, - type='int'), - proxy_protocol=dict( + elements='', + type='list'), + ip_firewall=dict( required=False, - type='str'), - dns_type=dict( + type='bool'), + edge_ips_connectivity=dict( required=False, type='str'), - edge_ips_type=dict( + tls=dict( required=False, type='str'), - edge_ips_connectivity=dict( + dns_type=dict( required=False, type='str'), - tls=dict( + origin_dns=dict( required=False, type='str'), - domain_id=dict( + traffic_type=dict( required=False, type='str'), - protocol=dict( + cis_id=dict( required=False, type='str'), dns=dict( required=False, type='str'), - origin_direct=dict( - required=False, - elements='', - type='list'), - ip_firewall=dict( + edge_ips_type=dict( required=False, - type='bool'), - traffic_type=dict( + type='str'), + protocol=dict( required=False, type='str'), - origin_dns=dict( + origin_port=dict( + required=False, + type='int'), + proxy_protocol=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.50.0', + ibm_provider_version='1.51.0', 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 befefecc1..ab067a536 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 65c55c30a..053b8c4d5 100644 --- a/plugins/modules/ibm_cis_rate_limit.py +++ b/plugins/modules/ibm_cis_rate_limit.py @@ -18,27 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_rate_limit' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - domain_id: - description: - - (Required for new resource) CIS Domain ID - required: True - type: str disabled: description: - Whether this rate limiting rule is currently disabled. required: False type: bool default: False - match: + period: description: - - Rate Limiting Match - required: False - type: list - elements: dict + - (Required for new resource) Rate Limiting Period + required: True + type: int correlate: description: - Ratelimiting Correlate @@ -56,6 +50,11 @@ - (Required for new resource) CIS Intance CRN required: True type: str + domain_id: + description: + - (Required for new resource) CIS Domain ID + required: True + type: str description: description: - A note that you can use to describe the reason for a rate limiting rule. @@ -72,11 +71,12 @@ - (Required for new resource) Rate Limiting Threshold required: True type: int - period: + match: description: - - (Required for new resource) Rate Limiting Period - required: True - type: int + - Rate Limiting Match + required: False + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -123,25 +123,25 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('domain_id', 'str'), + ('period', 'int'), ('action', 'list'), ('cis_id', 'str'), + ('domain_id', 'str'), ('threshold', 'int'), - ('period', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'domain_id', 'disabled', - 'match', + 'period', 'correlate', 'action', 'cis_id', + 'domain_id', 'description', 'bypass', 'threshold', - 'period', + 'match', ] # Params for Data source @@ -162,16 +162,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( - domain_id=dict( - required=False, - type='str'), disabled=dict( required=False, type='bool'), - match=dict( + period=dict( required=False, - elements='', - type='list'), + type='int'), correlate=dict( required=False, elements='', @@ -183,6 +179,9 @@ cis_id=dict( required=False, type='str'), + domain_id=dict( + required=False, + type='str'), description=dict( required=False, type='str'), @@ -193,9 +192,10 @@ threshold=dict( required=False, type='int'), - period=dict( + match=dict( required=False, - type='int'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -261,7 +261,7 @@ def run_module(): resource_type='ibm_cis_rate_limit', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 8b5cfc908..4baab1a2f 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 ff7a9c594..de4efceb1 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 a40770fce..8ce8b87ae 100644 --- a/plugins/modules/ibm_cis_tls_settings.py +++ b/plugins/modules/ibm_cis_tls_settings.py @@ -18,10 +18,21 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + tls_1_3: + description: + - TLS 1.3 setting + required: False + type: str + 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 @@ -37,17 +48,6 @@ - Universal SSL setting required: False type: bool - tls_1_3: - description: - - 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 = [ + 'tls_1_3', + 'min_tls_version', 'cis_id', 'domain_id', 'universal_ssl', - 'tls_1_3', - 'min_tls_version', ] # Params for Data source @@ -121,6 +121,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( + tls_1_3=dict( + required=False, + type='str'), + min_tls_version=dict( + required=False, + type='str'), cis_id=dict( required=False, type='str'), @@ -130,12 +136,6 @@ universal_ssl=dict( required=False, type='bool'), - 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.50.0', + ibm_provider_version='1.51.0', 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 a10a06e78..a873b2d9c 100644 --- a/plugins/modules/ibm_cis_waf_group.py +++ b/plugins/modules/ibm_cis_waf_group.py @@ -18,15 +18,10 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - cis_id: - description: - - (Required for new resource) CIS Intance CRN - required: True - type: str package_id: description: - (Required for new resource) WAF Rule package id @@ -38,6 +33,11 @@ required: False type: bool default: False + cis_id: + description: + - (Required for new resource) CIS Intance CRN + required: True + type: str domain_id: description: - (Required for new resource) CIS Domain ID @@ -99,8 +99,8 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), ('package_id', 'str'), + ('cis_id', 'str'), ('domain_id', 'str'), ('group_id', 'str'), ('mode', 'str'), @@ -108,9 +108,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cis_id', 'package_id', 'check_mode', + 'cis_id', 'domain_id', 'group_id', 'mode', @@ -130,15 +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( - cis_id=dict( - required=False, - type='str'), package_id=dict( required=False, type='str'), check_mode=dict( required=False, type='bool'), + cis_id=dict( + required=False, + type='str'), domain_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.50.0', + ibm_provider_version='1.51.0', 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 45866f0b7..10fb51cd3 100644 --- a/plugins/modules/ibm_cis_waf_groups_info.py +++ b/plugins/modules/ibm_cis_waf_groups_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_cis_waf_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + package_id: + description: + - WAF Rule package id + required: True + type: str cis_id: description: - CIS Intance CRN @@ -31,11 +36,6 @@ - CIS Domain ID required: True type: str - package_id: - description: - - WAF Rule package 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 = [ + ('package_id', 'str'), ('cis_id', 'str'), ('domain_id', 'str'), - ('package_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'package_id', 'cis_id', 'domain_id', - 'package_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( - cis_id=dict( + package_id=dict( required=True, type='str'), - domain_id=dict( + cis_id=dict( required=True, type='str'), - package_id=dict( + domain_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_cis_waf_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 2f9872037..998ba211d 100644 --- a/plugins/modules/ibm_cis_waf_package.py +++ b/plugins/modules/ibm_cis_waf_package.py @@ -18,20 +18,10 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - package_id: - description: - - (Required for new resource) WAF pakcage ID - required: True - type: str - sensitivity: - description: - - (Required for new resource) WAF pakcage sensitivity - required: True - type: str action_mode: description: - (Required for new resource) WAF pakcage action mode @@ -47,6 +37,16 @@ - (Required for new resource) CIS Domain ID required: True type: str + package_id: + description: + - (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 = [ - ('package_id', 'str'), - ('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 = [ - 'package_id', - 'sensitivity', 'action_mode', 'cis_id', 'domain_id', + 'package_id', + 'sensitivity', ] # 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( - package_id=dict( + action_mode=dict( required=False, type='str'), - sensitivity=dict( + cis_id=dict( required=False, type='str'), - action_mode=dict( + domain_id=dict( required=False, type='str'), - cis_id=dict( + package_id=dict( required=False, type='str'), - domain_id=dict( + sensitivity=dict( required=False, type='str'), id=dict( @@ -203,7 +203,7 @@ def run_module(): resource_type='ibm_cis_waf_package', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 395de94ed..e12d9c9f5 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 ff45a7dca..5b6666538 100644 --- a/plugins/modules/ibm_cis_waf_rule.py +++ b/plugins/modules/ibm_cis_waf_rule.py @@ -18,15 +18,10 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - mode: - description: - - (Required for new resource) CIS WAF Rule mode - required: True - type: str cis_id: description: - (Required for new resource) CIS Intance CRN @@ -42,6 +37,11 @@ - (Required for new resource) CIS WAF Rule id required: True type: str + mode: + description: + - (Required for new resource) CIS WAF Rule mode + required: True + type: str package_id: description: - (Required for new resource) CIS WAF Rule package id @@ -93,19 +93,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('mode', 'str'), ('cis_id', 'str'), ('domain_id', 'str'), ('rule_id', 'str'), + ('mode', 'str'), ('package_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'mode', 'cis_id', 'domain_id', 'rule_id', + 'mode', 'package_id', ] @@ -123,9 +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( - mode=dict( - required=False, - type='str'), cis_id=dict( required=False, type='str'), @@ -135,6 +132,9 @@ rule_id=dict( required=False, type='str'), + mode=dict( + required=False, + type='str'), package_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.50.0', + ibm_provider_version='1.51.0', 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 597dde7cb..8f0a997c9 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 792263928..1e355de37 100644 --- a/plugins/modules/ibm_cis_webhook.py +++ b/plugins/modules/ibm_cis_webhook.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_cis_webhook' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - cis_id: - description: - - (Required for new resource) CIS instance crn - required: True - type: str name: description: - (Required for new resource) Webhook Name @@ -42,6 +37,11 @@ - API key needed to use the webhook 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. @@ -88,16 +88,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cis_id', 'str'), ('name', 'str'), + ('cis_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cis_id', 'name', 'url', 'secret', + 'cis_id', ] # Params for Data source @@ -114,9 +114,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( - cis_id=dict( - required=False, - type='str'), name=dict( required=False, type='str'), @@ -126,6 +123,9 @@ secret=dict( required=False, type='str'), + cis_id=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_cis_webhook', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 96e7df944..cd3f6c22e 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 d05b55207..2132aab7f 100644 --- a/plugins/modules/ibm_cloud_shell_account_settings.py +++ b/plugins/modules/ibm_cloud_shell_account_settings.py @@ -18,21 +18,26 @@ - Create, update or destroy an IBM Cloud 'ibm_cloud_shell_account_settings' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - regions: - description: - - List of Cloud Shell region settings. - required: False - type: list - elements: dict account_id: description: - (Required for new resource) The account ID in which the account settings belong to. required: True type: str + enabled: + description: + - When enabled, Cloud Shell is available to all users in the account. + required: False + type: bool + features: + description: + - List of Cloud Shell features. + required: False + type: list + elements: dict rev: description: - Unique revision number for the settings object. @@ -48,14 +53,9 @@ - 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. required: False type: bool - enabled: - description: - - When enabled, Cloud Shell is available to all users in the account. - required: False - type: bool - features: + regions: description: - - List of Cloud Shell features. + - List of Cloud Shell region settings. required: False type: list elements: dict @@ -110,13 +110,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'regions', 'account_id', + 'enabled', + 'features', 'rev', 'default_enable_new_features', 'default_enable_new_regions', - 'enabled', - 'features', + 'regions', ] # Params for Data source @@ -135,13 +135,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( - regions=dict( - required=False, - elements='', - type='list'), account_id=dict( required=False, type='str'), + enabled=dict( + required=False, + type='bool'), + features=dict( + required=False, + elements='', + type='list'), rev=dict( required=False, type='str'), @@ -151,10 +154,7 @@ default_enable_new_regions=dict( required=False, type='bool'), - enabled=dict( - required=False, - type='bool'), - features=dict( + regions=dict( required=False, elements='', type='list'), @@ -223,7 +223,7 @@ def run_module(): resource_type='ibm_cloud_shell_account_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 9702a6822..47ebc12db 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 5b5d685e0..c0562b6ae 100644 --- a/plugins/modules/ibm_cloudant.py +++ b/plugins/modules/ibm_cloudant.py @@ -18,31 +18,25 @@ - Create, update or destroy an IBM Cloud 'ibm_cloudant' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - cors_config: - description: - - Configuration for CORS. - required: False - type: list - elements: dict - tags: + include_data_events: description: - - None + - 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: str - name: + type: bool + default: False + location: description: - - (Required for new resource) A name for the resource instance + - (Required for new resource) The location where the instance available required: True type: str - plan: + service_endpoints: description: - - (Required for new resource) The plan type of the service - required: True + - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + required: False type: str parameters: description: @@ -54,50 +48,56 @@ - CRN of the IBM Cloudant Dedicated Hardware plan instance required: False type: str + legacy_credentials: + description: + - Use both legacy credentials and IAM for authentication + required: False + type: bool + default: False + plan: + description: + - (Required for new resource) The plan type of the service + required: True + type: str 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. required: False type: int default: 1 - include_data_events: + resource_group_id: 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. + - The resource group id required: False - type: bool - default: False - location: - description: - - (Required for new resource) The location where the instance available - required: True type: str parameters_json: description: - Arbitrary parameters to pass in Json string format required: False type: str - service_endpoints: + tags: description: - - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + - None required: False - type: str - resource_group_id: + type: list + elements: str + name: description: - - The resource group id - required: False + - (Required for new resource) A name for the resource instance + required: True type: str - legacy_credentials: - description: - - Use both legacy credentials and IAM for authentication - required: False - type: bool - default: False enable_cors: description: - Boolean value to turn CORS on and off. required: False type: bool default: True + cors_config: + description: + - Configuration for CORS. + required: False + type: list + elements: dict 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'), + ('plan', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cors_config', - 'tags', - 'name', - 'plan', - 'parameters', - 'environment_crn', - 'capacity', 'include_data_events', 'location', - 'parameters_json', 'service_endpoints', - 'resource_group_id', + 'parameters', + 'environment_crn', 'legacy_credentials', + 'plan', + 'capacity', + 'resource_group_id', + 'parameters_json', + 'tags', + 'name', 'enable_cors', + 'cors_config', ] # Params for Data source @@ -173,9 +173,9 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', - 'location', 'resource_group_id', + 'location', + 'name', ] TL_CONFLICTS_MAP = { @@ -187,18 +187,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( - cors_config=dict( - required=False, - elements='', - type='list'), - tags=dict( + include_data_events=dict( required=False, - elements='', - type='list'), - name=dict( + type='bool'), + location=dict( required=False, type='str'), - plan=dict( + service_endpoints=dict( required=False, type='str'), parameters=dict( @@ -207,30 +202,35 @@ environment_crn=dict( required=False, type='str'), + legacy_credentials=dict( + required=False, + type='bool'), + plan=dict( + required=False, + type='str'), capacity=dict( required=False, type='int'), - include_data_events=dict( - required=False, - type='bool'), - location=dict( + resource_group_id=dict( required=False, type='str'), parameters_json=dict( required=False, type='str'), - service_endpoints=dict( + tags=dict( required=False, - type='str'), - resource_group_id=dict( + elements='', + type='list'), + name=dict( required=False, type='str'), - legacy_credentials=dict( - required=False, - type='bool'), enable_cors=dict( required=False, type='bool'), + cors_config=dict( + required=False, + elements='', + type='list'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 0566db33f..55e572866 100644 --- a/plugins/modules/ibm_cloudant_database.py +++ b/plugins/modules/ibm_cloudant_database.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cloudant_database' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + 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. + required: False + type: int instance_crn: description: - (Required for new resource) Cloudant Instance CRN. @@ -37,11 +42,6 @@ - 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. - required: False - type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,21 +94,21 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'shards', 'instance_crn', 'db', 'partitioned', - 'shards', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('instance_crn', 'str'), ('db', 'str'), + ('instance_crn', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'instance_crn', 'db', + 'instance_crn', ] TL_CONFLICTS_MAP = { @@ -118,6 +118,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( + shards=dict( + required=False, + type='int'), instance_crn=dict( required=False, type='str'), @@ -127,9 +130,6 @@ partitioned=dict( required=False, type='bool'), - shards=dict( - required=False, - type='int'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 cdf8730d1..b864cffd5 100644 --- a/plugins/modules/ibm_cloudant_database_info.py +++ b/plugins/modules/ibm_cloudant_database_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_cloudant_database' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - instance_crn: + db: description: - - Cloudant Instance CRN. + - Path parameter to specify the database name. required: True type: str - db: + instance_crn: description: - - Path parameter to specify the database name. + - Cloudant Instance CRN. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_crn', 'str'), ('db', 'str'), + ('instance_crn', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_crn', 'db', + 'instance_crn', ] @@ -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_crn=dict( + db=dict( required=True, type='str'), - db=dict( + instance_crn=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cloudant_database', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 f5f481ca4..3dcd7372f 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: + resource_group_id: description: - - Resource instance name for example, myobjectstorage - required: True + - The id of the resource group in which the instance is present + required: False type: str location: description: - The location or the environment in which instance exists required: False type: str - resource_group_id: + name: description: - - The id of the resource group in which the instance is present - required: False + - Resource instance name for example, myobjectstorage + required: True type: str iaas_classic_username: description: @@ -74,9 +74,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'location', 'resource_group_id', + 'location', + 'name', ] @@ -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( - name=dict( - required=True, + resource_group_id=dict( + required=False, type='str'), location=dict( required=False, type='str'), - resource_group_id=dict( - required=False, + name=dict( + required=True, 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.50.0', + ibm_provider_version='1.51.0', 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 934f98f3e..3755cff8c 100644 --- a/plugins/modules/ibm_cm_catalog.py +++ b/plugins/modules/ibm_cm_catalog.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_cm_catalog' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - kind: + label: description: - - Kind of catalog. Supported kinds are offering and vpe. + - Display Name in the requested language. required: False type: str short_description_i18n: @@ -39,23 +39,17 @@ required: False type: list elements: str - metadata: + features: description: - - Catalog specific metadata. + - List of features associated with this catalog. required: False - type: dict - elements: str + type: list + elements: dict resource_group_id: description: - Resource group id the catalog is owned by. required: False type: str - features: - description: - - List of features associated with this catalog. - required: False - type: list - elements: dict short_description: description: - Description in the requested language. @@ -71,17 +65,23 @@ - Denotes whether a catalog is disabled. required: False type: bool - label: + metadata: description: - - Display Name in the requested language. + - Catalog specific metadata. required: False - type: str + type: dict + elements: str label_i18n: description: - A map of translated strings, by language code. required: False type: dict elements: str + kind: + description: + - Kind of catalog. Supported kinds are offering and vpe. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -132,17 +132,17 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'kind', + 'label', 'short_description_i18n', 'tags', - 'metadata', - 'resource_group_id', 'features', + 'resource_group_id', 'short_description', 'catalog_icon_url', 'disabled', - 'label', + 'metadata', 'label_i18n', + 'kind', ] # Params for Data source @@ -161,7 +161,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( - kind=dict( + label=dict( required=False, type='str'), short_description_i18n=dict( @@ -172,17 +172,13 @@ required=False, elements='', type='list'), - metadata=dict( + features=dict( required=False, elements='', - type='dict'), + type='list'), resource_group_id=dict( required=False, type='str'), - features=dict( - required=False, - elements='', - type='list'), short_description=dict( required=False, type='str'), @@ -192,13 +188,17 @@ disabled=dict( required=False, type='bool'), - label=dict( + metadata=dict( required=False, - type='str'), + elements='', + type='dict'), label_i18n=dict( required=False, elements='', type='dict'), + kind=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -264,7 +264,7 @@ def run_module(): resource_type='ibm_cm_catalog', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -273,7 +273,7 @@ def run_module(): resource_type='ibm_cm_catalog', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 5b6c9b6c1..ce0988302 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cm_object.py b/plugins/modules/ibm_cm_object.py index 00681dcb2..ee1ef32cb 100644 --- a/plugins/modules/ibm_cm_object.py +++ b/plugins/modules/ibm_cm_object.py @@ -18,24 +18,14 @@ - Create, update or destroy an IBM Cloud 'ibm_cm_object' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - catalog_id: - description: - - (Required for new resource) Catalog identifier. - required: True - type: str - kind: - description: - - (Required for new resource) Kind of object. Options are "vpe", "preset_configuration", or "proxy_source". - required: True - type: str - name: + parent_id: description: - - (Required for new resource) The programmatic name of this object. - required: True + - The parent for this specific object. + required: False type: str label_i18n: description: @@ -43,9 +33,9 @@ required: False type: dict elements: str - short_description: + data: description: - - Short description in the requested language. + - Stringified map of data values for this object. required: False type: str short_description_i18n: @@ -54,27 +44,37 @@ required: False type: dict elements: str - parent_id: + catalog_id: description: - - The parent for this specific object. - required: False + - (Required for new resource) Catalog identifier. + required: True + type: str + name: + description: + - (Required for new resource) The programmatic name of this object. + required: True type: str label: description: - Display name in the requested language. required: False type: str + short_description: + description: + - Short description in the requested language. + required: False + type: str + kind: + description: + - (Required for new resource) Kind of object. Options are "vpe", "preset_configuration", or "proxy_source". + required: True + type: str tags: description: - List of tags associated with this catalog. required: False type: list elements: str - data: - description: - - Stringified map of data values for this object. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -122,22 +122,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('catalog_id', 'str'), - ('kind', 'str'), ('name', 'str'), + ('kind', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'catalog_id', - 'kind', - 'name', + 'parent_id', 'label_i18n', - 'short_description', + 'data', 'short_description_i18n', - 'parent_id', + 'catalog_id', + 'name', 'label', + 'short_description', + 'kind', 'tags', - 'data', ] # Params for Data source @@ -158,39 +158,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( - catalog_id=dict( - required=False, - type='str'), - kind=dict( - required=False, - type='str'), - name=dict( + parent_id=dict( required=False, type='str'), label_i18n=dict( required=False, elements='', type='dict'), - short_description=dict( + data=dict( required=False, type='str'), short_description_i18n=dict( required=False, elements='', type='dict'), - parent_id=dict( + catalog_id=dict( + required=False, + type='str'), + name=dict( required=False, type='str'), label=dict( required=False, type='str'), + short_description=dict( + required=False, + type='str'), + kind=dict( + required=False, + type='str'), tags=dict( required=False, elements='', type='list'), - data=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -256,7 +256,7 @@ def run_module(): resource_type='ibm_cm_object', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -265,7 +265,7 @@ def run_module(): resource_type='ibm_cm_object', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_cm_object_info.py b/plugins/modules/ibm_cm_object_info.py index c719e0dda..9e6489d8e 100644 --- a/plugins/modules/ibm_cm_object_info.py +++ b/plugins/modules/ibm_cm_object_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cm_object' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_cm_object', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 75bdf3951..7fcc78fce 100644 --- a/plugins/modules/ibm_cm_offering.py +++ b/plugins/modules/ibm_cm_offering.py @@ -18,203 +18,203 @@ - Create, update or destroy an IBM Cloud 'ibm_cm_offering' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + deprecate_pending: + description: + - Deprecation information for an Offering. + required: False + type: list + elements: dict label: description: - Display Name in the requested language. required: False type: str - offering_docs_url: + tags: description: - - URL for an additional docs with this offering. + - List of tags associated with this catalog. required: False - type: str - short_description_i18n: + type: list + elements: str + keywords: description: - - A map of translated strings, by language code. + - List of keywords associated with offering, typically used to search for it. required: False - type: dict + type: list elements: str - publish_to_ibm: + share_with_ibm: description: - - Whether you would like to publish this offering to IBM or not. + - Denotes IBM employee availability of an Offering - if share_enabled is true. required: False type: bool - provider_info: + media: description: - - Information on the provider for this offering, or omitted if no provider information is given. + - A list of media items related to this offering. required: False type: list elements: dict - product_kind: + badges: description: - - The product kind. Valid values are module, solution, or empty string. + - A list of badges for this offering. required: False - type: str - name: + type: list + elements: dict + publish_public_crn: description: - - The programmatic name of this offering. + - The crn of the public catalog entry of this offering. required: False type: str - offering_support_url: + offering_id: description: - - [deprecated] - Use offering.support instead. URL to be displayed in the Consumption UI for getting support on this offering. + - Offering identifier. Provide this when an offering already exists and you wish to use it as a terraform resource. required: False type: str - public_original_crn: + short_description_i18n: description: - - The original offering CRN that this publish entry came from. + - A map of translated strings, by language code. required: False - type: str - offering_icon_url: + type: dict + elements: str + portal_approval_record: description: - - URL for an icon associated with this offering. + - The portal's approval record ID. required: False type: str - features: + catalog_id: description: - - list of features associated with this offering. - required: False - type: list - elements: dict - publish_to_public: + - (Required for new resource) Catalog identifier. + required: True + type: str + label_i18n: description: - - Whether you would like to publish this offering to the public catalog or not. + - A map of translated strings, by language code. required: False - type: bool - publish_public_crn: + type: dict + elements: str + long_description_i18n: description: - - The crn of the public catalog entry of this offering. + - A map of translated strings, by language code. required: False - type: str - portal_ui_url: + type: dict + elements: str + features: description: - - The portal UI URL. + - list of features associated with this offering. required: False - type: str - disclaimer: + type: list + elements: dict + publish_to_access_list: description: - - A disclaimer for this offering. + - A list of account IDs to add to this offering's access list. required: False - type: str - offering_id: + type: list + elements: str + public_original_crn: description: - - Offering identifier. Provide this when an offering already exists and you wish to use it as a terraform resource. + - The original offering CRN that this publish entry came from. required: False type: str - label_i18n: + metadata: description: - - A map of translated strings, by language code. + - Map of metadata values for this offering. required: False type: dict elements: str - pc_managed: + image_pull_keys: description: - - Offering is managed by Partner Center. + - Image pull keys for this offering. required: False - type: bool - share_with_all: + type: list + elements: dict + publish_to_ibm: description: - - Denotes public availability of an Offering - if share_enabled is true. + - Whether you would like to publish this offering to IBM or not. required: False type: bool - share_with_ibm: + name: description: - - Denotes IBM employee availability of an Offering - if share_enabled is true. + - The programmatic name of this offering. required: False - type: bool - share_enabled: + type: str + offering_docs_url: description: - - Denotes sharing including access list availability of an Offering is enabled. + - URL for an additional docs with this offering. required: False - type: bool - metadata: + type: str + offering_support_url: description: - - Map of metadata values for this offering. + - [deprecated] - Use offering.support instead. URL to be displayed in the Consumption UI for getting support on this offering. required: False - type: dict - elements: str - hidden: + type: str + short_description: description: - - Determine if this offering should be displayed in the Consumption UI. + - Short description in the requested language. required: False - type: bool - catalog_id: - description: - - (Required for new resource) Catalog identifier. - required: True type: str long_description: description: - Long description in the requested language. required: False type: str - long_description_i18n: - description: - - A map of translated strings, by language code. - required: False - type: dict - elements: str - publish_approved: + share_enabled: description: - - Offering has been approved to publish to permitted to IBM or Public Catalog. + - Denotes sharing including access list availability of an Offering is enabled. required: False type: bool - publish_to_access_list: + portal_ui_url: description: - - A list of account IDs to add to this offering's access list. + - The portal UI URL. required: False - type: list - elements: str - portal_approval_record: + type: str + hidden: description: - - The portal's approval record ID. + - Determine if this offering should be displayed in the Consumption UI. required: False - type: str - image_pull_keys: + type: bool + provider_info: description: - - Image pull keys for this offering. + - Information on the provider for this offering, or omitted if no provider information is given. required: False type: list elements: dict - tags: + product_kind: description: - - List of tags associated with this catalog. + - The product kind. Valid values are module, solution, or empty string. required: False - type: list - elements: str - keywords: + type: str + pc_managed: description: - - List of keywords associated with offering, typically used to search for it. + - Offering is managed by Partner Center. required: False - type: list - elements: str - badges: + type: bool + disclaimer: description: - - A list of badges for this offering. + - A disclaimer for this offering. required: False - type: list - elements: dict - short_description: + type: str + offering_icon_url: description: - - Short description in the requested language. + - URL for an icon associated with this offering. required: False type: str - media: + publish_approved: description: - - A list of media items related to this offering. + - Offering has been approved to publish to permitted to IBM or Public Catalog. required: False - type: list - elements: dict - deprecate_pending: + type: bool + share_with_all: description: - - Deprecation information for an Offering. + - Denotes public availability of an Offering - if share_enabled is true. required: False - type: list - elements: dict + type: bool + publish_to_public: + description: + - Whether you would like to publish this offering to the public catalog or not. + required: False + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -266,42 +266,42 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'deprecate_pending', 'label', - 'offering_docs_url', - 'short_description_i18n', - 'publish_to_ibm', - 'provider_info', - 'product_kind', - 'name', - 'offering_support_url', - 'public_original_crn', - 'offering_icon_url', - 'features', - 'publish_to_public', + 'tags', + 'keywords', + 'share_with_ibm', + 'media', + 'badges', 'publish_public_crn', - 'portal_ui_url', - 'disclaimer', 'offering_id', - 'label_i18n', - 'pc_managed', - 'share_with_all', - 'share_with_ibm', - 'share_enabled', - 'metadata', - 'hidden', + 'short_description_i18n', + 'portal_approval_record', 'catalog_id', - 'long_description', + 'label_i18n', 'long_description_i18n', - 'publish_approved', + 'features', 'publish_to_access_list', - 'portal_approval_record', + 'public_original_crn', + 'metadata', 'image_pull_keys', - 'tags', - 'keywords', - 'badges', + 'publish_to_ibm', + 'name', + 'offering_docs_url', + 'offering_support_url', 'short_description', - 'media', - 'deprecate_pending', + 'long_description', + 'share_enabled', + 'portal_ui_url', + 'hidden', + 'provider_info', + 'product_kind', + 'pc_managed', + 'disclaimer', + 'offering_icon_url', + 'publish_approved', + 'share_with_all', + 'publish_to_public', ] # Params for Data source @@ -322,127 +322,127 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( + deprecate_pending=dict( + required=False, + elements='', + type='list'), label=dict( required=False, type='str'), - offering_docs_url=dict( + tags=dict( required=False, - type='str'), - short_description_i18n=dict( + elements='', + type='list'), + keywords=dict( required=False, elements='', - type='dict'), - publish_to_ibm=dict( + type='list'), + share_with_ibm=dict( required=False, type='bool'), - provider_info=dict( + media=dict( required=False, elements='', type='list'), - product_kind=dict( - required=False, - type='str'), - name=dict( - required=False, - type='str'), - offering_support_url=dict( - required=False, - type='str'), - public_original_crn=dict( - required=False, - type='str'), - offering_icon_url=dict( - required=False, - type='str'), - features=dict( + badges=dict( required=False, elements='', type='list'), - publish_to_public=dict( - required=False, - type='bool'), publish_public_crn=dict( required=False, type='str'), - portal_ui_url=dict( + offering_id=dict( required=False, type='str'), - disclaimer=dict( + short_description_i18n=dict( + required=False, + elements='', + type='dict'), + portal_approval_record=dict( required=False, type='str'), - offering_id=dict( + catalog_id=dict( required=False, type='str'), label_i18n=dict( required=False, elements='', type='dict'), - pc_managed=dict( + long_description_i18n=dict( required=False, - type='bool'), - share_with_all=dict( + elements='', + type='dict'), + features=dict( required=False, - type='bool'), - share_with_ibm=dict( + elements='', + type='list'), + publish_to_access_list=dict( required=False, - type='bool'), - share_enabled=dict( + elements='', + type='list'), + public_original_crn=dict( required=False, - type='bool'), + type='str'), metadata=dict( required=False, elements='', type='dict'), - hidden=dict( + image_pull_keys=dict( + required=False, + elements='', + type='list'), + publish_to_ibm=dict( required=False, type='bool'), - catalog_id=dict( + name=dict( required=False, type='str'), - long_description=dict( + offering_docs_url=dict( required=False, type='str'), - long_description_i18n=dict( + offering_support_url=dict( required=False, - elements='', - type='dict'), - publish_approved=dict( + type='str'), + short_description=dict( required=False, - type='bool'), - publish_to_access_list=dict( + type='str'), + long_description=dict( required=False, - elements='', - type='list'), - portal_approval_record=dict( + type='str'), + share_enabled=dict( + required=False, + type='bool'), + portal_ui_url=dict( required=False, type='str'), - image_pull_keys=dict( + hidden=dict( required=False, - elements='', - type='list'), - tags=dict( + type='bool'), + provider_info=dict( required=False, elements='', type='list'), - keywords=dict( + product_kind=dict( required=False, - elements='', - type='list'), - badges=dict( + type='str'), + pc_managed=dict( required=False, - elements='', - type='list'), - short_description=dict( + type='bool'), + disclaimer=dict( required=False, type='str'), - media=dict( + offering_icon_url=dict( required=False, - elements='', - type='list'), - deprecate_pending=dict( + type='str'), + publish_approved=dict( required=False, - elements='', - type='list'), + type='bool'), + share_with_all=dict( + required=False, + type='bool'), + publish_to_public=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -508,7 +508,7 @@ def run_module(): resource_type='ibm_cm_offering', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -517,7 +517,7 @@ def run_module(): resource_type='ibm_cm_offering', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 bcf15f5cc..94043a7de 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 d5b1a9b5d..f480e1aa4 100644 --- a/plugins/modules/ibm_cm_offering_instance.py +++ b/plugins/modules/ibm_cm_offering_instance.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_cm_offering_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,9 +27,9 @@ - (Required for new resource) the label for this instance. required: True type: str - offering_id: + catalog_id: description: - - (Required for new resource) Offering ID this instance was created from. + - (Required for new resource) Catalog ID this instance was created from. required: True type: str version: @@ -37,6 +37,21 @@ - (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 + 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...). + required: True + type: str cluster_region: description: - (Required for new resource) Cluster region (e.g., us-south). @@ -48,15 +63,10 @@ required: True type: list elements: str - kind_format: - description: - - (Required for new resource) the format this instance has (helm, operator, ova...). - required: True - type: str - cluster_id: + channel: description: - - (Required for new resource) Cluster ID. - required: True + - channel to target for the operator subscription. Required for operator bundles + required: False type: str wait_until_successful: description: @@ -64,9 +74,9 @@ required: False type: bool default: True - catalog_id: + offering_id: description: - - (Required for new resource) Catalog ID this instance was created from. + - (Required for new resource) Offering ID this instance was created from. required: True type: str cluster_all_namespaces: @@ -74,21 +84,11 @@ - (Required for new resource) designate to install into all namespaces. required: True type: bool - 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 - channel: - description: - - channel to target for the operator subscription. Required for operator bundles - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -136,31 +136,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('label', 'str'), - ('offering_id', 'str'), + ('catalog_id', 'str'), ('version', 'str'), + ('cluster_id', 'str'), + ('kind_format', 'str'), ('cluster_region', 'str'), ('cluster_namespaces', 'list'), - ('kind_format', 'str'), - ('cluster_id', 'str'), - ('catalog_id', 'str'), + ('offering_id', 'str'), ('cluster_all_namespaces', 'bool'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'label', - 'offering_id', + 'catalog_id', 'version', + 'cluster_id', + 'resource_group_id', + 'kind_format', 'cluster_region', 'cluster_namespaces', - 'kind_format', - 'cluster_id', + 'channel', 'wait_until_successful', - 'catalog_id', + 'offering_id', 'cluster_all_namespaces', - 'resource_group_id', 'install_plan', - 'channel', ] # Params for Data source @@ -182,12 +182,21 @@ label=dict( required=False, type='str'), - offering_id=dict( + catalog_id=dict( required=False, type='str'), version=dict( required=False, type='str'), + cluster_id=dict( + required=False, + type='str'), + resource_group_id=dict( + required=False, + type='str'), + kind_format=dict( + required=False, + type='str'), cluster_region=dict( required=False, type='str'), @@ -195,30 +204,21 @@ required=False, elements='', type='list'), - kind_format=dict( - required=False, - type='str'), - cluster_id=dict( + channel=dict( required=False, type='str'), wait_until_successful=dict( required=False, type='bool'), - catalog_id=dict( + offering_id=dict( required=False, type='str'), cluster_all_namespaces=dict( required=False, type='bool'), - resource_group_id=dict( - required=False, - type='str'), install_plan=dict( required=False, type='str'), - channel=dict( - required=False, - type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 abb79721e..ad6569e7f 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cm_preset_info.py b/plugins/modules/ibm_cm_preset_info.py index b12ab1457..cf11a3169 100644 --- a/plugins/modules/ibm_cm_preset_info.py +++ b/plugins/modules/ibm_cm_preset_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cm_preset' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_cm_preset', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_cm_validation.py b/plugins/modules/ibm_cm_validation.py index 7067027b2..646e21be6 100644 --- a/plugins/modules/ibm_cm_validation.py +++ b/plugins/modules/ibm_cm_validation.py @@ -18,21 +18,37 @@ - Create, update or destroy an IBM Cloud 'ibm_cm_validation' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - region: + x_auth_refresh_token: description: - - Validation region. - required: False + - (Required for new resource) Authentication token used to submit validation job. + required: True type: str - schematics: + override_values: description: - - Other values to pass to the schematics workspace. + - Override values during validation. + required: False + type: dict + elements: str + environment_variables: + description: + - Environment variables to include in the schematics workspace. required: False type: list elements: dict + version_locator: + description: + - (Required for new resource) Version locator - the version that will be validated. + required: True + type: str + region: + description: + - Validation region. + required: False + type: str revalidate_if_validated: description: - If the version should be revalidated if it is already validated. @@ -43,28 +59,12 @@ - If the version should be marked as consumable or "ready to share". required: False type: bool - version_locator: - description: - - (Required for new resource) Version locator - the version that will be validated. - required: True - type: str - x_auth_refresh_token: - description: - - (Required for new resource) Authentication token used to submit validation job. - required: True - type: str - environment_variables: + schematics: description: - - Environment variables to include in the schematics workspace. + - Other values to pass to the schematics workspace. required: False type: list elements: dict - override_values: - description: - - Override values during validation. - required: False - type: dict - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -111,20 +111,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('version_locator', 'str'), ('x_auth_refresh_token', 'str'), + ('version_locator', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'x_auth_refresh_token', + 'override_values', + 'environment_variables', + 'version_locator', 'region', - 'schematics', 'revalidate_if_validated', 'mark_version_consumable', - 'version_locator', - 'x_auth_refresh_token', - 'environment_variables', - 'override_values', + 'schematics', ] # Params for Data source @@ -141,33 +141,33 @@ 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( + x_auth_refresh_token=dict( required=False, type='str'), - schematics=dict( + override_values=dict( + required=False, + elements='', + type='dict'), + environment_variables=dict( required=False, elements='', type='list'), + version_locator=dict( + required=False, + type='str'), + region=dict( + required=False, + type='str'), revalidate_if_validated=dict( required=False, type='bool'), mark_version_consumable=dict( required=False, type='bool'), - version_locator=dict( - required=False, - type='str'), - x_auth_refresh_token=dict( - required=False, - type='str'), - environment_variables=dict( + schematics=dict( required=False, elements='', type='list'), - override_values=dict( - required=False, - elements='', - type='dict'), id=dict( required=False, type='str'), @@ -233,7 +233,7 @@ def run_module(): resource_type='ibm_cm_validation', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 2f9ed5b59..002ad3112 100644 --- a/plugins/modules/ibm_cm_version.py +++ b/plugins/modules/ibm_cm_version.py @@ -18,114 +18,109 @@ - Create, update or destroy an IBM Cloud 'ibm_cm_version' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - install_kind: + content: description: - - Install type. Example: instance. Required for virtual server image for VPC. + - Byte array representing the content to be imported. Only supported for OVA images at this time. required: False type: str - working_directory: + label: description: - - Optional - The sub-folder within the specified tgz file that contains the software being onboarded. + - Display name of version. Required for virtual server image for VPC. required: False type: str - x_auth_token: + product_kind: description: - - Authentication token used to access the specified zip file. + - Optional product kind for the software being onboarded. Valid values are software, module, or solution. Default value is software. required: False type: str + offering_id: + description: + - (Required for new resource) Offering identification. + required: True + type: str include_config: description: - Add all possible configuration values to this version when importing. required: False type: bool - repotype: + x_auth_token: description: - - The type of repository containing this version. Valid values are 'public_git' or 'enterprise_git'. + - Authentication token used to access the specified zip file. required: False type: str - catalog_id: - description: - - (Required for new resource) Catalog identifier. - required: True - type: str - target_kinds: - description: - - Deployment target of the content being onboarded. Current valid values are iks, roks, vcenter, power-iaas, terraform, and vpc-x86. Required for virtual server image for VPC. - required: False - type: list - elements: str - install: + licenses: description: - - Script information. + - List of licenses the product was built with. required: False type: list elements: dict - label: - description: - - Display name of version. Required for virtual server image for VPC. - required: False - type: str tags: description: - Tags array. required: False type: list elements: str - licenses: + pre_install: description: - - List of licenses the product was built with. + - Optional pre-install instructions. required: False type: list elements: dict - content: + install_kind: description: - - Byte array representing the content to be imported. Only supported for OVA images at this time. + - Install type. Example: instance. Required for virtual server image for VPC. required: False type: str - format_kind: + iam_permissions: description: - - Format of content being onboarded. Example: vsi-image. Required for virtual server image for VPC. + - List of IAM permissions that are required to consume this version. required: False - type: str - product_kind: + type: list + elements: dict + catalog_id: description: - - Optional product kind for the software being onboarded. Valid values are software, module, or solution. Default value is software. - required: False + - (Required for new resource) Catalog identifier. + required: True type: str - is_vsi: + import_metadata: description: - - Indicates that the current terraform template is used to install a virtual server image. + - Generic data to be included with content being onboarded. Required for virtual server image for VPC. required: False - type: bool - import_sha: + type: list + elements: dict + target_version: description: - - SHA256 fingerprint of the image file. Required for virtual server image for VPC. + - The semver value for this new version, if not found in the zip url package content. required: False type: str - flavor: + install: description: - - Version Flavor Information. Only supported for Product kind Solution. + - Script information. required: False type: list elements: dict - import_metadata: + working_directory: description: - - Generic data to be included with content being onboarded. Required for virtual server image for VPC. + - Optional - The sub-folder within the specified tgz file that contains the software being onboarded. required: False - type: list - elements: dict + type: str + import_sha: + description: + - SHA256 fingerprint of the image file. Required for virtual server image for VPC. + required: False + type: str zipurl: description: - URL path to zip location. If not specified, must provide content in the body of this call. required: False type: str - pre_install: + flavor: description: - - Optional pre-install instructions. + - Version Flavor Information. Only supported for Product kind Solution. required: False type: list elements: dict @@ -135,32 +130,37 @@ required: False type: list elements: dict - name: + is_consumable: description: - - Name of version. Required for virtual server image for VPC. + - Is the version able to be shared. required: False - type: str - iam_permissions: + type: bool + format_kind: description: - - List of IAM permissions that are required to consume this version. + - Format of content being onboarded. Example: vsi-image. Required for virtual server image for VPC. required: False - type: list - elements: dict - is_consumable: + type: str + is_vsi: description: - - Is the version able to be shared. + - Indicates that the current terraform template is used to install a virtual server image. required: False type: bool - offering_id: + repotype: description: - - (Required for new resource) Offering identification. - required: True + - The type of repository containing this version. Valid values are 'public_git' or 'enterprise_git'. + required: False type: str - target_version: + name: description: - - The semver value for this new version, if not found in the zip url package content. + - Name of version. Required for virtual server image for VPC. required: False type: str + target_kinds: + description: + - Deployment target of the content being onboarded. Current valid values are iks, roks, vcenter, power-iaas, terraform, and vpc-x86. Required for virtual server image for VPC. + required: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -207,38 +207,38 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('catalog_id', 'str'), ('offering_id', 'str'), + ('catalog_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'install_kind', - 'working_directory', - 'x_auth_token', + 'content', + 'label', + 'product_kind', + 'offering_id', 'include_config', - 'repotype', + 'x_auth_token', + 'licenses', + 'tags', + 'pre_install', + 'install_kind', + 'iam_permissions', 'catalog_id', - 'target_kinds', + 'import_metadata', + 'target_version', 'install', - 'label', - 'tags', - 'licenses', - 'content', - 'format_kind', - 'product_kind', - 'is_vsi', + 'working_directory', 'import_sha', - 'flavor', - 'import_metadata', 'zipurl', - 'pre_install', + 'flavor', 'solution_info', - 'name', - 'iam_permissions', 'is_consumable', - 'offering_id', - 'target_version', + 'format_kind', + 'is_vsi', + 'repotype', + 'name', + 'target_kinds', ] # Params for Data source @@ -247,7 +247,6 @@ ] TL_ALL_PARAMETERS_DS = [ - 'metadata', 'version_loc_id', ] @@ -258,70 +257,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( - install_kind=dict( + content=dict( required=False, type='str'), - working_directory=dict( + label=dict( required=False, type='str'), - x_auth_token=dict( + product_kind=dict( + required=False, + type='str'), + offering_id=dict( required=False, type='str'), include_config=dict( required=False, type='bool'), - repotype=dict( + x_auth_token=dict( required=False, type='str'), - catalog_id=dict( + licenses=dict( required=False, - type='str'), - target_kinds=dict( + elements='', + type='list'), + tags=dict( required=False, elements='', type='list'), - install=dict( + pre_install=dict( required=False, elements='', type='list'), - label=dict( + install_kind=dict( required=False, type='str'), - tags=dict( + iam_permissions=dict( required=False, elements='', type='list'), - licenses=dict( + catalog_id=dict( + required=False, + type='str'), + import_metadata=dict( required=False, elements='', type='list'), - content=dict( + target_version=dict( required=False, type='str'), - format_kind=dict( + install=dict( required=False, - type='str'), - product_kind=dict( + elements='', + type='list'), + working_directory=dict( required=False, type='str'), - is_vsi=dict( - required=False, - type='bool'), import_sha=dict( required=False, type='str'), - flavor=dict( - required=False, - elements='', - type='list'), - import_metadata=dict( - required=False, - elements='', - type='list'), zipurl=dict( required=False, type='str'), - pre_install=dict( + flavor=dict( required=False, elements='', type='list'), @@ -329,22 +325,25 @@ required=False, elements='', type='list'), - name=dict( + is_consumable=dict( required=False, - type='str'), - iam_permissions=dict( + type='bool'), + format_kind=dict( required=False, - elements='', - type='list'), - is_consumable=dict( + type='str'), + is_vsi=dict( required=False, type='bool'), - offering_id=dict( + repotype=dict( required=False, type='str'), - target_version=dict( + name=dict( required=False, type='str'), + target_kinds=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -410,7 +409,7 @@ def run_module(): resource_type='ibm_cm_version', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -419,7 +418,7 @@ def run_module(): resource_type='ibm_cm_version', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 8455c9b9b..9b7d03645 100644 --- a/plugins/modules/ibm_cm_version_info.py +++ b/plugins/modules/ibm_cm_version_info.py @@ -17,16 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_cm_version' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - metadata: - description: - - Generic data to be included with content being onboarded. Required for virtual server image for VPC. - required: False - type: list - elements: dict version_loc_id: description: - A dotted value of `catalogID`.`versionID`. @@ -70,7 +64,6 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'metadata', 'version_loc_id', ] @@ -82,10 +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( - metadata=dict( - required=False, - elements='', - type='list'), version_loc_id=dict( required=True, type='str'), @@ -123,7 +112,7 @@ def run_module(): resource_type='ibm_cm_version', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 724307faa..7407f6924 100644 --- a/plugins/modules/ibm_compute_autoscale_group.py +++ b/plugins/modules/ibm_compute_autoscale_group.py @@ -18,35 +18,13 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - port: - description: - - Port number - required: False - type: int - health_check: - description: - - None - required: False - type: dict - virtual_guest_member_template: - description: - - (Required for new resource) Virtual guest member template - required: True - type: list - elements: dict - network_vlan_ids: - description: - - List of network VLAN ids - required: False - type: list - elements: int - regional_group: + name: description: - - (Required for new resource) regional group + - (Required for new resource) Name required: True type: str minimum_member_count: @@ -54,31 +32,53 @@ - (Required for new resource) Minimum member count required: True type: int + maximum_member_count: + description: + - (Required for new resource) Maximum member count + required: True + type: int cooldown: description: - (Required for new resource) Cooldown value required: True type: int - virtual_server_id: + termination_policy: description: - - virtual server ID + - (Required for new resource) Termination policy + required: True + type: str + health_check: + description: + - None required: False - type: int - name: + type: dict + regional_group: description: - - (Required for new resource) Name + - (Required for new resource) regional group required: True type: str - maximum_member_count: + virtual_server_id: description: - - (Required for new resource) Maximum member count - required: True + - virtual server ID + required: False type: int - termination_policy: + port: description: - - (Required for new resource) Termination policy + - Port number + required: False + type: int + virtual_guest_member_template: + description: + - (Required for new resource) Virtual guest member template required: True - type: str + type: list + elements: dict + network_vlan_ids: + description: + - List of network VLAN ids + required: False + type: list + elements: int tags: description: - List of tags @@ -131,28 +131,28 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('virtual_guest_member_template', 'list'), - ('regional_group', 'str'), - ('minimum_member_count', 'int'), - ('cooldown', 'int'), ('name', 'str'), + ('minimum_member_count', 'int'), ('maximum_member_count', 'int'), + ('cooldown', 'int'), ('termination_policy', 'str'), + ('regional_group', 'str'), + ('virtual_guest_member_template', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'port', - 'health_check', - 'virtual_guest_member_template', - 'network_vlan_ids', - 'regional_group', - 'minimum_member_count', - 'cooldown', - 'virtual_server_id', 'name', + 'minimum_member_count', 'maximum_member_count', + 'cooldown', 'termination_policy', + 'health_check', + 'regional_group', + 'virtual_server_id', + 'port', + 'virtual_guest_member_template', + 'network_vlan_ids', 'tags', ] @@ -170,41 +170,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( - port=dict( - required=False, - type='int'), - health_check=dict( - required=False, - type='dict'), - virtual_guest_member_template=dict( - required=False, - elements='', - type='list'), - network_vlan_ids=dict( - required=False, - elements='', - type='list'), - regional_group=dict( + name=dict( required=False, type='str'), minimum_member_count=dict( required=False, type='int'), - cooldown=dict( + maximum_member_count=dict( required=False, type='int'), - virtual_server_id=dict( + cooldown=dict( required=False, type='int'), - name=dict( + termination_policy=dict( required=False, type='str'), - maximum_member_count=dict( + health_check=dict( required=False, - type='int'), - termination_policy=dict( + type='dict'), + regional_group=dict( required=False, type='str'), + virtual_server_id=dict( + required=False, + type='int'), + port=dict( + required=False, + type='int'), + virtual_guest_member_template=dict( + required=False, + elements='', + type='list'), + network_vlan_ids=dict( + required=False, + elements='', + type='list'), tags=dict( required=False, elements='', @@ -274,7 +274,7 @@ def run_module(): resource_type='ibm_compute_autoscale_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 2737eefc9..8fe8773f4 100644 --- a/plugins/modules/ibm_compute_autoscale_policy.py +++ b/plugins/modules/ibm_compute_autoscale_policy.py @@ -18,10 +18,16 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + triggers: + description: + - None + required: False + type: list + elements: dict tags: description: - List of tags @@ -53,12 +59,6 @@ - (Required for new resource) scale group ID required: True type: int - triggers: - description: - - None - required: False - 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 = [ + 'triggers', 'tags', 'name', 'scale_type', 'scale_amount', 'cooldown', 'scale_group_id', - 'triggers', ] # Params for Data source @@ -136,6 +136,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( + triggers=dict( + required=False, + elements='', + type='list'), tags=dict( required=False, elements='', @@ -155,10 +159,6 @@ scale_group_id=dict( required=False, type='int'), - triggers=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -224,7 +224,7 @@ def run_module(): resource_type='ibm_compute_autoscale_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 60c351e1a..c9c3431e0 100644 --- a/plugins/modules/ibm_compute_bare_metal.py +++ b/plugins/modules/ibm_compute_bare_metal.py @@ -18,227 +18,227 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_bare_metal' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - os_reference_code: + private_vlan_id: description: - - OS refernece code value + - None + required: False + type: int + private_subnet: + description: + - None required: False type: str - datacenter: + process_key_name: description: - None required: False type: str - package_key_name: + gpu_secondary_key_name: description: - None required: False type: str - os_key_name: + disk_key_names: + description: + - None + required: False + type: list + elements: str + public_subnet: description: - None required: False type: str - redundant_network: + gpu_key_name: description: - None required: False - type: bool - default: False - memory: + type: str + unbonded_network: description: - None required: False - type: int + type: bool + default: False quote_id: description: - Quote ID for Quote based provisioning required: False type: int - ssh_key_ids: - description: - - SSH KEY IDS list - required: False - type: list - elements: int - user_metadata: + fixed_config_preset: description: - - User metadata info + - Fixed config preset value required: False type: str - file_storage_ids: - description: - - None - required: False - type: list - elements: int hourly_billing: description: - Enables hourly billing required: False type: bool default: True - ipv6_enabled: + tcp_monitoring: description: - - Boolean value true if IPV6 ia enabled or false + - TCP monitoring enabled if set as true required: False type: bool default: False - storage_groups: + os_key_name: + description: + - None + required: False + type: str + block_storage_ids: description: - None required: False type: list - elements: dict - public_subnet: + elements: int + private_network_only: + description: + - only private network configured if is true + required: False + type: bool + default: False + redundant_power_supply: description: - None required: False - type: str - hostname: + type: bool + secondary_ip_count: description: - - Host name + - Secondary IP addresses count required: False - type: str - notes: + type: int + hostname: description: - - Optional notes info + - Host name required: False type: str - extended_hardware_testing: + file_storage_ids: description: - None required: False - type: bool - default: False - public_bandwidth: + type: list + elements: int + post_install_script_uri: description: - None required: False - type: int - disk_key_names: + type: str + tags: description: - None required: False type: list elements: str - private_subnet: + public_vlan_id: description: - None required: False - type: str - image_template_id: - description: - - OS image template ID - required: False type: int - private_network_only: + ssh_key_ids: description: - - only private network configured if is true + - SSH KEY IDS list required: False - type: bool - default: False - process_key_name: + type: list + elements: int + public_bandwidth: description: - None required: False - type: str - gpu_key_name: + type: int + memory: description: - None required: False - type: str - tags: + type: int + storage_groups: description: - None required: False type: list - elements: str - secondary_ip_count: - description: - - Secondary IP addresses count - required: False - type: int - ipv6_static_enabled: + elements: dict + extended_hardware_testing: description: - - boolean value true if ipv6 static is enabled else false + - None required: False type: bool default: False - software_guard_extensions: + ipv6_static_enabled: description: - - None + - boolean value true if ipv6 static is enabled else false required: False type: bool default: False - gpu_secondary_key_name: + domain: description: - - None - required: False + - (Required for new resource) Domain name + required: True type: str - private_vlan_id: + user_metadata: description: - - None + - User metadata info required: False - type: int - post_install_script_uri: + type: str + os_reference_code: description: - - None + - OS refernece code value required: False type: str - fixed_config_preset: + redundant_network: description: - - Fixed config preset value + - None required: False - type: str - network_speed: + type: bool + default: False + image_template_id: description: - - Network speed in MBPS + - OS image template ID required: False type: int - default: 100 - redundant_power_supply: + datacenter: description: - None required: False - type: bool - block_storage_ids: + type: str + package_key_name: description: - None required: False - type: list - elements: int - restricted_network: + type: str + ipv6_enabled: description: - - None + - Boolean value true if IPV6 ia enabled or false required: False type: bool default: False - domain: + notes: description: - - (Required for new resource) Domain name - required: True + - Optional notes info + required: False type: str - tcp_monitoring: + network_speed: description: - - TCP monitoring enabled if set as true + - Network speed in MBPS required: False - type: bool - default: False - unbonded_network: + type: int + default: 100 + software_guard_extensions: description: - None required: False type: bool default: False - public_vlan_id: + restricted_network: description: - None required: False - type: int + type: bool + default: False id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -290,46 +290,46 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'os_reference_code', - 'datacenter', - 'package_key_name', - 'os_key_name', - 'redundant_network', - 'memory', - 'quote_id', - 'ssh_key_ids', - 'user_metadata', - 'file_storage_ids', - 'hourly_billing', - 'ipv6_enabled', - 'storage_groups', - 'public_subnet', - 'hostname', - 'notes', - 'extended_hardware_testing', - 'public_bandwidth', - 'disk_key_names', + 'private_vlan_id', 'private_subnet', - 'image_template_id', - 'private_network_only', 'process_key_name', + 'gpu_secondary_key_name', + 'disk_key_names', + 'public_subnet', 'gpu_key_name', - 'tags', + 'unbonded_network', + 'quote_id', + 'fixed_config_preset', + 'hourly_billing', + 'tcp_monitoring', + 'os_key_name', + 'block_storage_ids', + 'private_network_only', + 'redundant_power_supply', 'secondary_ip_count', - 'ipv6_static_enabled', - 'software_guard_extensions', - 'gpu_secondary_key_name', - 'private_vlan_id', + 'hostname', + 'file_storage_ids', 'post_install_script_uri', - 'fixed_config_preset', + 'tags', + 'public_vlan_id', + 'ssh_key_ids', + 'public_bandwidth', + 'memory', + 'storage_groups', + 'extended_hardware_testing', + 'ipv6_static_enabled', + 'domain', + 'user_metadata', + 'os_reference_code', + 'redundant_network', + 'image_template_id', + 'datacenter', + 'package_key_name', + 'ipv6_enabled', + 'notes', 'network_speed', - 'redundant_power_supply', - 'block_storage_ids', + 'software_guard_extensions', 'restricted_network', - 'domain', - 'tcp_monitoring', - 'unbonded_network', - 'public_vlan_id', ] # Params for Data source @@ -337,9 +337,9 @@ ] TL_ALL_PARAMETERS_DS = [ + 'most_recent', 'hostname', 'global_identifier', - 'most_recent', 'domain', ] @@ -352,132 +352,132 @@ 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_reference_code=dict( + private_vlan_id=dict( + required=False, + type='int'), + private_subnet=dict( required=False, type='str'), - datacenter=dict( + process_key_name=dict( required=False, type='str'), - package_key_name=dict( + gpu_secondary_key_name=dict( required=False, type='str'), - os_key_name=dict( + disk_key_names=dict( + required=False, + elements='', + type='list'), + public_subnet=dict( required=False, type='str'), - redundant_network=dict( + gpu_key_name=dict( required=False, - type='bool'), - memory=dict( + type='str'), + unbonded_network=dict( required=False, - type='int'), + type='bool'), quote_id=dict( required=False, type='int'), - ssh_key_ids=dict( - required=False, - elements='', - type='list'), - user_metadata=dict( + fixed_config_preset=dict( required=False, type='str'), - file_storage_ids=dict( - required=False, - elements='', - type='list'), hourly_billing=dict( required=False, type='bool'), - ipv6_enabled=dict( + tcp_monitoring=dict( required=False, type='bool'), - storage_groups=dict( - required=False, - elements='', - type='list'), - public_subnet=dict( + os_key_name=dict( required=False, type='str'), - hostname=dict( + block_storage_ids=dict( required=False, - type='str'), - notes=dict( + elements='', + type='list'), + private_network_only=dict( required=False, - type='str'), - extended_hardware_testing=dict( + type='bool'), + redundant_power_supply=dict( required=False, type='bool'), - public_bandwidth=dict( + secondary_ip_count=dict( required=False, type='int'), - disk_key_names=dict( + hostname=dict( + required=False, + type='str'), + file_storage_ids=dict( required=False, elements='', type='list'), - private_subnet=dict( + post_install_script_uri=dict( required=False, type='str'), - image_template_id=dict( + tags=dict( + required=False, + elements='', + type='list'), + public_vlan_id=dict( required=False, type='int'), - private_network_only=dict( + ssh_key_ids=dict( required=False, - type='bool'), - process_key_name=dict( + elements='', + type='list'), + public_bandwidth=dict( required=False, - type='str'), - gpu_key_name=dict( + type='int'), + memory=dict( required=False, - type='str'), - tags=dict( + type='int'), + storage_groups=dict( required=False, elements='', type='list'), - secondary_ip_count=dict( - required=False, - type='int'), - ipv6_static_enabled=dict( + extended_hardware_testing=dict( required=False, type='bool'), - software_guard_extensions=dict( + ipv6_static_enabled=dict( required=False, type='bool'), - gpu_secondary_key_name=dict( + domain=dict( required=False, type='str'), - private_vlan_id=dict( - required=False, - type='int'), - post_install_script_uri=dict( + user_metadata=dict( required=False, type='str'), - fixed_config_preset=dict( + os_reference_code=dict( required=False, type='str'), - network_speed=dict( + redundant_network=dict( + required=False, + type='bool'), + image_template_id=dict( required=False, type='int'), - redundant_power_supply=dict( + datacenter=dict( required=False, - type='bool'), - block_storage_ids=dict( + type='str'), + package_key_name=dict( required=False, - elements='', - type='list'), - restricted_network=dict( + type='str'), + ipv6_enabled=dict( required=False, type='bool'), - domain=dict( + notes=dict( required=False, type='str'), - tcp_monitoring=dict( + network_speed=dict( required=False, - type='bool'), - unbonded_network=dict( + type='int'), + software_guard_extensions=dict( required=False, type='bool'), - public_vlan_id=dict( + restricted_network=dict( required=False, - type='int'), + type='bool'), id=dict( required=False, type='str'), @@ -543,7 +543,7 @@ def run_module(): resource_type='ibm_compute_bare_metal', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 59e319025..2af2094ea 100644 --- a/plugins/modules/ibm_compute_bare_metal_info.py +++ b/plugins/modules/ibm_compute_bare_metal_info.py @@ -17,10 +17,16 @@ description: - Retrieve an IBM Cloud 'ibm_compute_bare_metal' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + 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 hostname: description: - The hostname of the bare metal server @@ -31,12 +37,6 @@ - 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 @@ -79,17 +79,17 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'most_recent', 'hostname', 'global_identifier', - 'most_recent', 'domain', ] TL_CONFLICTS_MAP = { + 'most_recent': ['global_identifier'], 'hostname': ['global_identifier'], 'global_identifier': ['hostname', 'domain', 'most_recent'], - 'most_recent': ['global_identifier'], 'domain': ['global_identifier'], } @@ -97,15 +97,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'), hostname=dict( required=False, type='str'), global_identifier=dict( required=False, type='str'), - most_recent=dict( - required=False, - type='bool'), domain=dict( required=False, type='str'), @@ -143,7 +143,7 @@ def run_module(): resource_type='ibm_compute_bare_metal', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 c57c619ee..e43e1df44 100644 --- a/plugins/modules/ibm_compute_dedicated_host.py +++ b/plugins/modules/ibm_compute_dedicated_host.py @@ -18,10 +18,16 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + tags: + description: + - None + required: False + type: list + elements: str hostname: description: - (Required for new resource) The host name of dedicatated host. @@ -37,35 +43,29 @@ - (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 - flavor: - description: - - The flavor of the dedicatated host. - required: False - type: str - default: 56_CORES_X_242_RAM_X_1_4_TB wait_time_minutes: description: - None required: False type: int default: 90 - tags: + flavor: description: - - None + - The flavor of the dedicatated host. required: False - type: list - elements: str + type: str + default: 56_CORES_X_242_RAM_X_1_4_TB + hourly_billing: + description: + - The billing type for the dedicatated host. + required: False + type: bool + default: True id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -120,14 +120,14 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'tags', 'hostname', 'domain', 'datacenter', - 'hourly_billing', 'router_hostname', - 'flavor', 'wait_time_minutes', - 'tags', + 'flavor', + 'hourly_billing', ] # Params for Data source @@ -144,6 +144,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'), hostname=dict( required=False, type='str'), @@ -153,22 +157,18 @@ datacenter=dict( required=False, type='str'), - hourly_billing=dict( - required=False, - type='bool'), router_hostname=dict( required=False, type='str'), - flavor=dict( - required=False, - type='str'), wait_time_minutes=dict( required=False, type='int'), - tags=dict( + flavor=dict( required=False, - elements='', - type='list'), + type='str'), + hourly_billing=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -234,7 +234,7 @@ def run_module(): resource_type='ibm_compute_dedicated_host', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 cb3843fc3..49a85b63d 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 d27e2dd79..9f27e20a8 100644 --- a/plugins/modules/ibm_compute_monitor.py +++ b/plugins/modules/ibm_compute_monitor.py @@ -18,15 +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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - guest_id: - description: - - (Required for new resource) Guest ID - required: True - type: int ip_address: description: - IP Address @@ -59,6 +54,11 @@ required: False type: list elements: str + guest_id: + description: + - (Required for new resource) Guest ID + required: True + type: 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 = [ - ('guest_id', 'int'), ('query_type_id', 'int'), ('response_action_id', 'int'), + ('guest_id', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'guest_id', 'ip_address', 'query_type_id', 'response_action_id', 'wait_cycles', 'notified_users', 'tags', + 'guest_id', ] # Params for Data source @@ -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( - guest_id=dict( - required=False, - type='int'), ip_address=dict( required=False, type='str'), @@ -158,6 +155,9 @@ required=False, elements='', type='list'), + guest_id=dict( + required=False, + type='int'), 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.50.0', + ibm_provider_version='1.51.0', 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 6e24cf0c1..ef61c2587 100644 --- a/plugins/modules/ibm_compute_placement_group.py +++ b/plugins/modules/ibm_compute_placement_group.py @@ -18,10 +18,22 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_placement_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + rule: + description: + - Rule info + 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 @@ -37,18 +49,6 @@ - (Required for new resource) Name required: True type: str - rule: - description: - - Rule info - required: False - type: str - default: SPREAD - tags: - description: - - List of tags - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -102,11 +102,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'rule', + 'tags', 'datacenter', 'pod', 'name', - 'rule', - 'tags', ] # 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( + rule=dict( + required=False, + type='str'), + tags=dict( + required=False, + elements='', + type='list'), datacenter=dict( required=False, type='str'), @@ -134,13 +141,6 @@ name=dict( required=False, type='str'), - rule=dict( - required=False, - type='str'), - tags=dict( - required=False, - elements='', - type='list'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 7c2b44601..0c358c6fd 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 136101172..32bf90324 100644 --- a/plugins/modules/ibm_compute_provisioning_hook.py +++ b/plugins/modules/ibm_compute_provisioning_hook.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_compute_provisioning_hook', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 2784a0543..dc96a037b 100644 --- a/plugins/modules/ibm_compute_reserved_capacity.py +++ b/plugins/modules/ibm_compute_reserved_capacity.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_reserved_capacity' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) Name - required: True - type: str instances: description: - (Required for new resource) no of the instances @@ -58,6 +53,11 @@ - (Required for new resource) Pod name 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. @@ -104,22 +104,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('instances', 'int'), ('flavor', 'str'), ('datacenter', 'str'), ('pod', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'instances', 'flavor', 'tags', 'force_create', 'datacenter', 'pod', + 'name', ] # Params for Data source @@ -139,9 +139,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'), instances=dict( required=False, type='int'), @@ -161,6 +158,9 @@ pod=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_compute_reserved_capacity', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 fc8815a05..b6c39c744 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 83f979800..61e9045ed 100644 --- a/plugins/modules/ibm_compute_ssh_key.py +++ b/plugins/modules/ibm_compute_ssh_key.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_ssh_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + notes: + description: + - Additional notes + required: False + type: str tags: description: - List of tags for the resource @@ -38,11 +43,6 @@ - (Required for new resource) Plublic Key info required: True type: str - notes: - description: - - Additional notes - required: False - 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 = [ + 'notes', 'tags', 'label', 'public_key', - 'notes', ] # Params for Data source @@ -118,6 +118,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( + notes=dict( + required=False, + type='str'), tags=dict( required=False, elements='', @@ -128,9 +131,6 @@ public_key=dict( required=False, type='str'), - notes=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 605ebf44b..6adcda2e4 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 988faf0f6..d57e706a8 100644 --- a/plugins/modules/ibm_compute_ssl_certificate.py +++ b/plugins/modules/ibm_compute_ssl_certificate.py @@ -18,10 +18,15 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + private_key: + description: + - (Required for new resource) SSL Private Key + required: True + type: str certificate: description: - (Required for new resource) SSL Certifcate @@ -32,11 +37,6 @@ - Intermediate certificate value required: False type: str - private_key: - description: - - (Required for new resource) SSL Private Key - required: True - type: str tags: description: - Tags set for resource @@ -89,15 +89,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('certificate', 'str'), ('private_key', 'str'), + ('certificate', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'private_key', 'certificate', 'intermediate_certificate', - 'private_key', 'tags', ] @@ -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( - certificate=dict( + private_key=dict( required=False, type='str'), - intermediate_certificate=dict( + certificate=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.50.0', + ibm_provider_version='1.51.0', 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 ca0e72e0c..2979abdaa 100644 --- a/plugins/modules/ibm_compute_user.py +++ b/plugins/modules/ibm_compute_user.py @@ -18,49 +18,49 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_user' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - permissions: + tags: description: - - set of persmissions assigned for the user + - Tags set for the resources required: False type: list elements: str - company_name: + email: description: - - (Required for new resource) comapany name + - (Required for new resource) email address of the user required: True type: str - address2: + company_name: description: - - Address info of the user - required: False + - (Required for new resource) comapany name + required: True type: str city: description: - (Required for new resource) City name required: True type: str - password: + country: description: - - password for the user - required: False + - (Required for new resource) Country name + required: True type: str - first_name: + timezone: description: - - (Required for new resource) First name of the user + - (Required for new resource) time zone info required: True type: str - address1: + first_name: description: - - (Required for new resource) Address info of the user + - (Required for new resource) First name of the user required: True type: str - country: + last_name: description: - - (Required for new resource) Country name + - (Required for new resource) Last name of the user required: True type: str user_status: @@ -69,6 +69,11 @@ required: False type: str default: ACTIVE + password: + description: + - password for the user + required: False + type: str api_key: description: - API key for the user @@ -84,33 +89,28 @@ - (Required for new resource) Satate name required: True type: str - timezone: + permissions: description: - - (Required for new resource) time zone info - required: True - type: str + - set of persmissions assigned for the user + required: False + type: list + elements: str has_api_key: description: - 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 - email: + address1: description: - - (Required for new resource) email address of the user + - (Required for new resource) Address info of the user required: True type: str - tags: + address2: description: - - Tags set for the resources + - Address info of the user required: False - type: list - elements: str + type: 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 = [ + ('email', 'str'), ('company_name', 'str'), ('city', 'str'), - ('first_name', 'str'), - ('address1', 'str'), ('country', 'str'), - ('state_', 'str'), ('timezone', 'str'), + ('first_name', 'str'), ('last_name', 'str'), - ('email', 'str'), + ('state_', 'str'), + ('address1', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'permissions', + 'tags', + 'email', 'company_name', - 'address2', 'city', - 'password', - 'first_name', - 'address1', 'country', + 'timezone', + 'first_name', + 'last_name', 'user_status', + 'password', 'api_key', 'username', 'state_', - 'timezone', + 'permissions', 'has_api_key', - 'last_name', - 'email', - 'tags', + 'address1', + 'address2', ] # Params for Data source @@ -203,34 +203,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( - permissions=dict( + tags=dict( required=False, elements='', type='list'), - company_name=dict( + email=dict( required=False, type='str'), - address2=dict( + company_name=dict( required=False, type='str'), city=dict( required=False, type='str'), - password=dict( + country=dict( required=False, type='str'), - first_name=dict( + timezone=dict( required=False, type='str'), - address1=dict( + first_name=dict( required=False, type='str'), - country=dict( + last_name=dict( required=False, type='str'), user_status=dict( required=False, type='str'), + password=dict( + required=False, + type='str'), api_key=dict( required=False, type='str'), @@ -240,22 +243,19 @@ state_=dict( required=False, type='str'), - timezone=dict( + permissions=dict( required=False, - type='str'), + elements='', + type='list'), has_api_key=dict( required=False, type='bool'), - last_name=dict( + address1=dict( required=False, type='str'), - email=dict( + address2=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), 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.50.0', + ibm_provider_version='1.51.0', 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 f7abb450e..c92feb9a3 100644 --- a/plugins/modules/ibm_compute_vm_instance.py +++ b/plugins/modules/ibm_compute_vm_instance.py @@ -18,30 +18,30 @@ - Create, update or destroy an IBM Cloud 'ibm_compute_vm_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - dedicated_host_name: + public_security_group_ids: description: - None required: False - type: str - private_security_group_ids: + type: list + elements: int + notes: description: - None required: False - type: list - elements: int - ipv6_static_enabled: + type: str + local_disk: description: - None required: False type: bool - default: False - reserved_capacity_name: + default: True + dedicated_host_name: description: - - The reserved group id + - None required: False type: str placement_group_name: @@ -49,198 +49,186 @@ - The placement group name required: False type: str - reserved_instance_primary_disk: - description: - - The primary disk of reserved instance - required: False - type: int - ssh_key_ids: - description: - - None - required: False - type: list - elements: int - file_storage_ids: - description: - - None - required: False - type: list - elements: int - local_disk: + memory: description: - None required: False - type: bool - default: True - private_network_only: + type: int + dedicated_acct_host_only: description: - None required: False type: bool - default: False - post_install_script_uri: + private_subnet: description: - None required: False type: str - public_subnet: + evault: description: - None required: False - type: str - user_metadata: + type: int + hourly_billing: description: - None required: False - type: str - quote_id: + type: bool + default: True + datacenter_choice: description: - - Quote ID for Quote based provisioning + - The user provided datacenter options required: False - type: int - dedicated_acct_host_only: + type: list + elements: dict + bulk_vms: description: - None required: False - type: bool - notes: + type: list + elements: dict + dedicated_host_id: description: - None required: False - type: str - tags: + type: int + image_id: description: - None required: False - type: list - elements: str + type: int domain: description: - None required: False type: str - datacenter_choice: - description: - - The user provided datacenter options - required: False - type: list - elements: dict secondary_ip_count: description: - None required: False type: int - hostname: - description: - - None - required: False - type: str - block_storage_ids: + file_storage_ids: description: - None required: False type: list elements: int - public_vlan_id: + public_bandwidth_limited: description: - None required: False type: int + quote_id: + description: + - Quote ID for Quote based provisioning + required: False + type: int flavor_key_name: description: - Flavor key name used to provision vm. required: False type: str - transient: + post_install_script_uri: description: - None required: False - type: bool - network_speed: + type: str + transient: description: - None required: False - type: int - default: 100 - public_bandwidth_unlimited: + type: bool + public_subnet: description: - None required: False - type: bool - default: False - bulk_vms: + type: str + datacenter: description: - None required: False - type: list - elements: dict - private_vlan_id: + type: str + user_metadata: description: - None required: False - type: int + type: str reserved_capacity_id: description: - The reserved group id required: False type: int - memory: + private_vlan_id: description: - None required: False type: int - private_subnet: + network_speed: description: - None required: False - type: str - image_id: + type: int + default: 100 + hostname: description: - None required: False - type: int - public_bandwidth_limited: + type: str + cores: description: - None required: False type: int - cores: + ipv6_static_enabled: description: - None required: False - type: int - placement_group_id: + type: bool + default: False + reserved_instance_primary_disk: description: - - The placement group id + - The primary disk of reserved instance required: False type: int - public_security_group_ids: + public_bandwidth_unlimited: description: - None required: False - type: list - elements: int - dedicated_host_id: + type: bool + default: False + os_reference_code: description: - None required: False - type: int - evault: + type: str + reserved_capacity_name: + description: + - The reserved group id + required: False + type: str + private_security_group_ids: description: - None required: False - type: int - hourly_billing: + type: list + elements: int + ssh_key_ids: + description: + - None + required: False + type: list + elements: int + private_network_only: description: - None required: False type: bool - default: True - datacenter: + default: False + public_vlan_id: description: - None required: False - type: str + type: int disks: description: - None @@ -253,11 +241,23 @@ required: False type: bool default: False - os_reference_code: + block_storage_ids: description: - None required: False - type: str + type: list + elements: int + tags: + description: + - None + required: False + type: list + elements: str + placement_group_id: + description: + - The placement group id + 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 = [ + 'public_security_group_ids', + 'notes', + 'local_disk', 'dedicated_host_name', - 'private_security_group_ids', - 'ipv6_static_enabled', - 'reserved_capacity_name', 'placement_group_name', - 'reserved_instance_primary_disk', - 'ssh_key_ids', - 'file_storage_ids', - 'local_disk', - 'private_network_only', - 'post_install_script_uri', - 'public_subnet', - 'user_metadata', - 'quote_id', + 'memory', 'dedicated_acct_host_only', - 'notes', - 'tags', - 'domain', + 'private_subnet', + 'evault', + 'hourly_billing', 'datacenter_choice', + 'bulk_vms', + 'dedicated_host_id', + 'image_id', + 'domain', 'secondary_ip_count', - 'hostname', - 'block_storage_ids', - 'public_vlan_id', + 'file_storage_ids', + 'public_bandwidth_limited', + 'quote_id', 'flavor_key_name', + 'post_install_script_uri', 'transient', - 'network_speed', - 'public_bandwidth_unlimited', - 'bulk_vms', - 'private_vlan_id', + 'public_subnet', + 'datacenter', + 'user_metadata', 'reserved_capacity_id', - 'memory', - 'private_subnet', - 'image_id', - 'public_bandwidth_limited', + 'private_vlan_id', + 'network_speed', + 'hostname', 'cores', - 'placement_group_id', - 'public_security_group_ids', - 'dedicated_host_id', - 'evault', - 'hourly_billing', - 'datacenter', + 'ipv6_static_enabled', + 'reserved_instance_primary_disk', + 'public_bandwidth_unlimited', + 'os_reference_code', + 'reserved_capacity_name', + 'private_security_group_ids', + 'ssh_key_ids', + 'private_network_only', + 'public_vlan_id', 'disks', 'ipv6_enabled', - 'os_reference_code', + 'block_storage_ids', + 'tags', + 'placement_group_id', ] # Params for Data source @@ -361,171 +361,163 @@ ] TL_ALL_PARAMETERS_DS = [ - 'hostname', 'most_recent', + 'hostname', 'domain', ] TL_CONFLICTS_MAP = { 'dedicated_host_name': ['dedicated_acct_host_only', 'dedicated_host_id', 'placement_group_name', 'placement_group_id'], - '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'], 'placement_group_name': ['datacenter_choice', 'dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'placement_group_id', 'reserved_capacity_id', 'reserved_capacity_name'], + 'memory': ['flavor_key_name'], 'dedicated_acct_host_only': ['dedicated_host_name', 'dedicated_host_id', 'placement_group_id', 'placement_group_name'], - 'domain': ['bulk_vms'], 'datacenter_choice': ['datacenter', 'public_vlan_id', 'private_vlan_id', 'placement_group_name', 'placement_group_id', 'reserved_capacity_id', 'reserved_capacity_name'], - 'hostname': ['bulk_vms'], - 'public_vlan_id': ['datacenter_choice'], - 'flavor_key_name': ['cores', 'memory'], - 'transient': ['dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'cores', 'memory', 'public_bandwidth_limited', 'public_bandwidth_unlimited'], - 'public_bandwidth_unlimited': ['private_network_only', 'public_bandwidth_limited'], 'bulk_vms': ['hostname', 'domain'], - 'private_vlan_id': ['datacenter_choice'], - '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'], - 'memory': ['flavor_key_name'], + 'dedicated_host_id': ['dedicated_acct_host_only', 'dedicated_host_name', 'placement_group_name', 'placement_group_id'], 'image_id': ['os_reference_code'], + 'domain': ['bulk_vms'], 'public_bandwidth_limited': ['private_network_only', 'public_bandwidth_unlimited'], - 'cores': ['flavor_key_name'], - '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'], + 'transient': ['dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'cores', 'memory', 'public_bandwidth_limited', 'public_bandwidth_unlimited'], 'datacenter': ['datacenter_choice'], + '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'], + 'private_vlan_id': ['datacenter_choice'], + 'hostname': ['bulk_vms'], + 'cores': ['flavor_key_name'], + 'public_bandwidth_unlimited': ['private_network_only', 'public_bandwidth_limited'], 'os_reference_code': ['image_id'], + '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'], + 'public_vlan_id': ['datacenter_choice'], + 'placement_group_id': ['datacenter_choice', 'dedicated_acct_host_only', 'dedicated_host_name', 'dedicated_host_id', 'placement_group_name', 'reserved_capacity_id', 'reserved_capacity_name'], } # 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( - dedicated_host_name=dict( - required=False, - type='str'), - private_security_group_ids=dict( + public_security_group_ids=dict( required=False, elements='', type='list'), - ipv6_static_enabled=dict( + notes=dict( + required=False, + type='str'), + local_disk=dict( required=False, type='bool'), - reserved_capacity_name=dict( + dedicated_host_name=dict( required=False, type='str'), placement_group_name=dict( required=False, type='str'), - reserved_instance_primary_disk=dict( + memory=dict( required=False, type='int'), - ssh_key_ids=dict( - required=False, - elements='', - type='list'), - file_storage_ids=dict( - required=False, - elements='', - type='list'), - local_disk=dict( - required=False, - type='bool'), - private_network_only=dict( + dedicated_acct_host_only=dict( required=False, type='bool'), - post_install_script_uri=dict( - required=False, - type='str'), - public_subnet=dict( - required=False, - type='str'), - user_metadata=dict( + private_subnet=dict( required=False, type='str'), - quote_id=dict( + evault=dict( required=False, type='int'), - dedicated_acct_host_only=dict( + hourly_billing=dict( required=False, type='bool'), - notes=dict( - required=False, - type='str'), - tags=dict( + datacenter_choice=dict( required=False, elements='', type='list'), - domain=dict( - required=False, - type='str'), - datacenter_choice=dict( + bulk_vms=dict( required=False, elements='', type='list'), - secondary_ip_count=dict( + dedicated_host_id=dict( required=False, type='int'), - hostname=dict( + image_id=dict( + required=False, + type='int'), + domain=dict( required=False, type='str'), - block_storage_ids=dict( + secondary_ip_count=dict( + required=False, + type='int'), + file_storage_ids=dict( required=False, elements='', type='list'), - public_vlan_id=dict( + public_bandwidth_limited=dict( + required=False, + type='int'), + quote_id=dict( required=False, type='int'), flavor_key_name=dict( required=False, type='str'), + post_install_script_uri=dict( + required=False, + type='str'), transient=dict( required=False, type='bool'), - network_speed=dict( + public_subnet=dict( required=False, - type='int'), - public_bandwidth_unlimited=dict( + type='str'), + datacenter=dict( required=False, - type='bool'), - bulk_vms=dict( + type='str'), + user_metadata=dict( required=False, - elements='', - type='list'), - private_vlan_id=dict( + type='str'), + reserved_capacity_id=dict( required=False, type='int'), - reserved_capacity_id=dict( + private_vlan_id=dict( required=False, type='int'), - memory=dict( + network_speed=dict( required=False, type='int'), - private_subnet=dict( + hostname=dict( required=False, type='str'), - image_id=dict( + cores=dict( required=False, type='int'), - public_bandwidth_limited=dict( + ipv6_static_enabled=dict( required=False, - type='int'), - cores=dict( + type='bool'), + reserved_instance_primary_disk=dict( required=False, type='int'), - placement_group_id=dict( + public_bandwidth_unlimited=dict( required=False, - type='int'), - public_security_group_ids=dict( + type='bool'), + os_reference_code=dict( + required=False, + type='str'), + reserved_capacity_name=dict( + required=False, + type='str'), + private_security_group_ids=dict( required=False, elements='', type='list'), - dedicated_host_id=dict( - required=False, - type='int'), - evault=dict( + ssh_key_ids=dict( required=False, - type='int'), - hourly_billing=dict( + elements='', + type='list'), + private_network_only=dict( required=False, type='bool'), - datacenter=dict( + public_vlan_id=dict( required=False, - type='str'), + type='int'), disks=dict( required=False, elements='', @@ -533,9 +525,17 @@ ipv6_enabled=dict( required=False, type='bool'), - os_reference_code=dict( + block_storage_ids=dict( required=False, - type='str'), + elements='', + type='list'), + tags=dict( + required=False, + elements='', + type='list'), + placement_group_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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 9843171ee..a082252cd 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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 = [ - 'hostname', 'most_recent', + 'hostname', '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( - hostname=dict( - required=True, - type='str'), most_recent=dict( required=False, type='bool'), + hostname=dict( + required=True, + type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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 86eec0a4b..1d51f9672 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 bc16a86f5..cc96e39a7 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 22f6c8b6b..e41959b45 100644 --- a/plugins/modules/ibm_container_alb.py +++ b/plugins/modules/ibm_container_alb.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_container_alb' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -160,7 +160,7 @@ def run_module(): resource_type='ibm_container_alb', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 743947223..151c7ebb8 100644 --- a/plugins/modules/ibm_container_alb_cert.py +++ b/plugins/modules/ibm_container_alb_cert.py @@ -18,10 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_container_alb_cert' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + cert_crn: + description: + - (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 @@ -32,22 +42,12 @@ - (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 required: False type: str default: ibm-cert-store - cert_crn: - description: - - (Required for new resource) Certificate CRN id - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -74,18 +74,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cluster_id', 'str'), - ('secret_name', 'str'), ('cert_crn', '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', - 'cert_crn', ] # Params for Data source @@ -107,19 +107,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( - persistence=dict( - required=False, - type='bool'), - cluster_id=dict( + cert_crn=dict( required=False, type='str'), secret_name=dict( required=False, type='str'), - namespace=dict( + persistence=dict( + required=False, + type='bool'), + cluster_id=dict( required=False, type='str'), - cert_crn=dict( + namespace=dict( required=False, type='str'), id=dict( @@ -173,7 +173,7 @@ def run_module(): resource_type='ibm_container_alb_cert', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 b5ec1d005..93abed03c 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -98,7 +98,7 @@ def run_module(): resource_type='ibm_container_alb_cert', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 68f277613..376cedb2b 100644 --- a/plugins/modules/ibm_container_alb_create.py +++ b/plugins/modules/ibm_container_alb_create.py @@ -18,28 +18,18 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - cluster: - description: - - (Required for new resource) The ID of the cluster that the ALB belongs to. - required: True - type: str - ingress_image: + nlb_version: description: - - The type of Ingress image that you want to use for your ALB deployment. + - The version of the network load balancer that you want to use for the ALB. required: False type: str - alb_type: - description: - - (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: @@ -53,15 +43,25 @@ - The IP address that you want to assign to the ALB. required: False type: str - zone: + ingress_image: description: - - (Required for new resource) The zone where you want to deploy the ALB. + - The type of Ingress image that you want to use for your ALB deployment. + required: False + type: str + alb_type: + description: + - (Required for new resource) The type of ALB that you want to create. required: True type: str - nlb_version: + vlan_id: description: - - The version of the network load balancer that you want to use for the ALB. - required: False + - (Required for new resource) The VLAN ID that you want to use for your ALBs. + 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: @@ -89,22 +89,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('cluster', 'str'), + ('zone', 'str'), ('alb_type', 'str'), ('vlan_id', 'str'), - ('zone', 'str'), + ('cluster', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cluster', + 'nlb_version', + 'zone', + 'enable', + 'ip', 'ingress_image', 'alb_type', 'vlan_id', - 'enable', - 'ip', - 'zone', - 'nlb_version', + 'cluster', ] # Params for Data source @@ -121,16 +121,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( - cluster=dict( - required=False, - type='str'), - ingress_image=dict( - required=False, - type='str'), - alb_type=dict( + nlb_version=dict( required=False, type='str'), - vlan_id=dict( + zone=dict( required=False, type='str'), enable=dict( @@ -139,10 +133,16 @@ ip=dict( required=False, type='str'), - zone=dict( + ingress_image=dict( required=False, type='str'), - nlb_version=dict( + alb_type=dict( + required=False, + type='str'), + vlan_id=dict( + required=False, + type='str'), + cluster=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.50.0', + ibm_provider_version='1.51.0', 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 584100186..41e27f273 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 43ba8be05..40250f6ab 100644 --- a/plugins/modules/ibm_container_api_key_reset.py +++ b/plugins/modules/ibm_container_api_key_reset.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -148,7 +148,7 @@ def run_module(): resource_type='ibm_container_api_key_reset', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 a47dbab4d..94d1aeb99 100644 --- a/plugins/modules/ibm_container_bind_service.py +++ b/plugins/modules/ibm_container_bind_service.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_container_bind_service' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,42 +27,42 @@ - serivice instance name required: False type: str - tags: + service_instance_id: description: - - List of tags for the resource + - Service instance ID required: False - type: list - elements: str + type: str key: description: - Key info required: False type: str - role: - description: - - Role info - required: False - type: str resource_group_id: description: - ID of the resource group. required: False type: str + tags: + description: + - List of tags for the resource + required: False + type: list + elements: str cluster_name_id: description: - (Required for new resource) Cluster name or ID required: True type: str - service_instance_id: - description: - - Service instance ID - required: False - type: str namespace_id: description: - (Required for new resource) namespace ID required: True type: str + role: + description: + - Role info + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -96,26 +96,26 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'service_instance_name', - 'tags', + 'service_instance_id', 'key', - 'role', 'resource_group_id', + 'tags', 'cluster_name_id', - 'service_instance_id', 'namespace_id', + 'role', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('cluster_name_id', 'str'), ('namespace_id', 'str'), + ('cluster_name_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'cluster_name_id', - 'service_instance_id', 'service_instance_name', 'namespace_id', + 'cluster_name_id', + 'service_instance_id', ] TL_CONFLICTS_MAP = { @@ -130,26 +130,26 @@ service_instance_name=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), - key=dict( + service_instance_id=dict( required=False, type='str'), - role=dict( + key=dict( required=False, type='str'), resource_group_id=dict( required=False, type='str'), + tags=dict( + required=False, + elements='', + type='list'), cluster_name_id=dict( required=False, type='str'), - service_instance_id=dict( + namespace_id=dict( required=False, type='str'), - namespace_id=dict( + role=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 c527fba21..fc7c13785 100644 --- a/plugins/modules/ibm_container_bind_service_info.py +++ b/plugins/modules/ibm_container_bind_service_info.py @@ -17,20 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_container_bind_service' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - cluster_name_id: - description: - - Cluster name or ID - required: True - type: str - service_instance_id: - description: - - Service instance ID - required: False - type: str service_instance_name: description: - serivice instance name @@ -41,6 +31,16 @@ - namespace ID required: True type: str + cluster_name_id: + description: + - Cluster name or ID + required: True + type: str + service_instance_id: + description: + - Service instance ID + required: False + type: str ibmcloud_api_key: description: - The IBM Cloud API key to authenticate with the IBM Cloud @@ -54,40 +54,40 @@ # 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 = [ - 'cluster_name_id', - 'service_instance_id', 'service_instance_name', 'namespace_id', + 'cluster_name_id', + 'service_instance_id', ] TL_CONFLICTS_MAP = { - 'service_instance_id': ['service_instance_name'], 'service_instance_name': ['service_instance_id'], + 'service_instance_id': ['service_instance_name'], } # 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_id=dict( - required=True, - type='str'), - service_instance_id=dict( - required=False, - type='str'), service_instance_name=dict( required=False, type='str'), namespace_id=dict( required=True, type='str'), + cluster_name_id=dict( + required=True, + type='str'), + service_instance_id=dict( + required=False, + type='str'), ibmcloud_api_key=dict( type='str', no_log=True, @@ -108,7 +108,7 @@ def run_module(): resource_type='ibm_container_bind_service', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 6517d7e88..8dccfea8c 100644 --- a/plugins/modules/ibm_container_cluster.py +++ b/plugins/modules/ibm_container_cluster.py @@ -18,184 +18,184 @@ - Create, update or destroy an IBM Cloud 'ibm_container_cluster' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - no_subnet: + tags: description: - - Boolean value set to true when subnet creation is not required. + - Tags for the resource + required: False + type: list + elements: str + image_security_enforcement: + description: + - Set true to enable image security enforcement policies required: False type: bool default: False - public_service_endpoint: + workers_info: description: - - None + - The IDs of the worker node required: False - type: bool - operating_system: + type: list + elements: dict + retry_patch_version: description: - - The operating system of the workers in the default worker pool. + - 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 + resource_group_id: + description: + - ID of the resource group. required: False type: str - subnet_id: + taints: description: - - List of subnet IDs + - WorkerPool Taints required: False type: list - elements: str - private_vlan_id: + elements: dict + pod_subnet: description: - - Private VLAN ID + - Custom subnet CIDR to provide private IP addresses for pods required: False type: str - name: + service_subnet: description: - - (Required for new resource) The cluster name + - Custom subnet CIDR to provide private IP addresses for services + required: False + type: str + hardware: + description: + - (Required for new resource) Hardware type required: True type: str - update_all_workers: + private_service_endpoint: description: - - Updates all the woker nodes if sets to true + - None required: False type: bool - default: False 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 - disk_encryption: - description: - - disc encryption done, if set to true. - required: False - type: bool - default: True - retry_patch_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 - required: False - type: int - machine_type: + wait_till: description: - - Machine type + - wait_till can be configured for Master Ready, One worker Ready, Ingress Ready or Normal required: False type: str - hardware: + default: IngressReady + private_vlan_id: description: - - (Required for new resource) Hardware type - required: True + - Private VLAN ID + required: False type: str - service_subnet: + entitlement: description: - - Custom subnet CIDR to provide private IP addresses for services + - Entitlement option reduces additional OCP Licence cost in Openshift Clusters required: False type: str - pod_subnet: + subnet_id: description: - - Custom subnet CIDR to provide private IP addresses for pods + - List of subnet IDs required: False + type: list + elements: str + name: + description: + - (Required for new resource) The cluster name + required: True type: str datacenter: description: - (Required for new resource) The datacenter where this cluster will be deployed required: True type: str + patch_version: + description: + - Kubernetes patch version + required: False + type: str wait_for_worker_update: description: - Wait for worker node to update during kube version update. required: False type: bool default: True - labels: - description: - - list of labels to the default worker pool - required: False - type: dict - elements: str - webhook: - description: - - None - required: False - type: list - elements: dict - default_pool_size: + update_all_workers: description: - - The size of the default worker pool + - Updates all the woker nodes if sets to true required: False - type: int - default: 1 - taints: + type: bool + default: False + gateway_enabled: description: - - WorkerPool Taints + - Set true for gateway enabled clusters required: False - type: list - elements: dict - workers_info: + type: bool + default: False + kms_config: description: - - The IDs of the worker node + - Enables KMS on a given cluster required: False type: list elements: dict - tags: + kube_version: description: - - Tags for the resource + - Kubernetes version info required: False - type: list - elements: str - wait_till: + type: str + operating_system: description: - - wait_till can be configured for Master Ready, One worker Ready, Ingress Ready or Normal + - The operating system of the workers in the default worker pool. required: False type: str - default: IngressReady - private_service_endpoint: + default_pool_size: description: - - None + - The size of the default worker pool required: False - type: bool - gateway_enabled: + type: int + default: 1 + no_subnet: description: - - Set true for gateway enabled clusters + - Boolean value set to true when subnet creation is not required. required: False type: bool default: False - image_security_enforcement: + labels: description: - - Set true to enable image security enforcement policies + - list of labels to the default worker pool required: False - type: bool - default: False - resource_group_id: + type: dict + elements: str + public_vlan_id: description: - - ID of the resource group. + - Public VLAN ID required: False type: str - kms_config: + webhook: description: - - Enables KMS on a given cluster + - None required: False type: list elements: dict - kube_version: - description: - - Kubernetes version info - required: False - type: str - patch_version: + public_service_endpoint: description: - - Kubernetes patch version + - None required: False - type: str - public_vlan_id: + type: bool + disk_encryption: description: - - Public VLAN ID + - disc encryption done, if set to true. required: False - type: str - entitlement: + type: bool + default: True + machine_type: description: - - Entitlement option reduces additional OCP Licence cost in Openshift Clusters + - Machine type required: False type: str id: @@ -224,45 +224,45 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('hardware', 'str'), + ('name', 'str'), ('datacenter', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'no_subnet', - 'public_service_endpoint', - 'operating_system', - 'subnet_id', - 'private_vlan_id', - 'name', - 'update_all_workers', - 'force_delete_storage', - 'disk_encryption', + 'tags', + 'image_security_enforcement', + 'workers_info', 'retry_patch_version', - 'machine_type', - 'hardware', - 'service_subnet', + 'resource_group_id', + 'taints', 'pod_subnet', + 'service_subnet', + 'hardware', + 'private_service_endpoint', + 'force_delete_storage', + 'wait_till', + 'private_vlan_id', + 'entitlement', + 'subnet_id', + 'name', 'datacenter', + 'patch_version', 'wait_for_worker_update', - 'labels', - 'webhook', - 'default_pool_size', - 'taints', - 'workers_info', - 'tags', - 'wait_till', - 'private_service_endpoint', + 'update_all_workers', 'gateway_enabled', - 'image_security_enforcement', - 'resource_group_id', 'kms_config', 'kube_version', - 'patch_version', + 'operating_system', + 'default_pool_size', + 'no_subnet', + 'labels', 'public_vlan_id', - 'entitlement', + 'webhook', + 'public_service_endpoint', + 'disk_encryption', + 'machine_type', ] # Params for Data source @@ -270,15 +270,15 @@ ] TL_ALL_PARAMETERS_DS = [ + 'cluster_name_id', 'account_guid', + 'region', 'resource_group_id', + 'name', 'alb_type', 'list_bounded_services', - 'name', - 'org_guid', - 'region', - 'cluster_name_id', 'space_guid', + 'org_guid', ] TL_CONFLICTS_MAP = { @@ -288,107 +288,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( - no_subnet=dict( + tags=dict( required=False, - type='bool'), - public_service_endpoint=dict( + elements='', + type='list'), + image_security_enforcement=dict( required=False, type='bool'), - operating_system=dict( + workers_info=dict( + required=False, + elements='', + type='list'), + retry_patch_version=dict( + required=False, + type='int'), + resource_group_id=dict( required=False, type='str'), - subnet_id=dict( + taints=dict( required=False, elements='', type='list'), - private_vlan_id=dict( + pod_subnet=dict( required=False, type='str'), - name=dict( + service_subnet=dict( required=False, type='str'), - update_all_workers=dict( + hardware=dict( required=False, - type='bool'), - force_delete_storage=dict( + type='str'), + private_service_endpoint=dict( required=False, type='bool'), - disk_encryption=dict( + force_delete_storage=dict( required=False, type='bool'), - retry_patch_version=dict( - required=False, - type='int'), - machine_type=dict( + wait_till=dict( required=False, type='str'), - hardware=dict( + private_vlan_id=dict( required=False, type='str'), - service_subnet=dict( + entitlement=dict( required=False, type='str'), - pod_subnet=dict( + subnet_id=dict( + required=False, + elements='', + type='list'), + name=dict( required=False, type='str'), datacenter=dict( required=False, type='str'), + patch_version=dict( + required=False, + type='str'), wait_for_worker_update=dict( required=False, type='bool'), - labels=dict( - required=False, - elements='', - type='dict'), - webhook=dict( - required=False, - elements='', - type='list'), - default_pool_size=dict( + update_all_workers=dict( required=False, - type='int'), - taints=dict( + type='bool'), + gateway_enabled=dict( required=False, - elements='', - type='list'), - workers_info=dict( + type='bool'), + kms_config=dict( required=False, elements='', type='list'), - tags=dict( + kube_version=dict( required=False, - elements='', - type='list'), - wait_till=dict( + type='str'), + operating_system=dict( required=False, type='str'), - private_service_endpoint=dict( + default_pool_size=dict( required=False, - type='bool'), - gateway_enabled=dict( + type='int'), + no_subnet=dict( required=False, type='bool'), - image_security_enforcement=dict( + labels=dict( required=False, - type='bool'), - resource_group_id=dict( + elements='', + type='dict'), + public_vlan_id=dict( required=False, type='str'), - kms_config=dict( + webhook=dict( required=False, elements='', type='list'), - kube_version=dict( - required=False, - type='str'), - patch_version=dict( + public_service_endpoint=dict( required=False, - type='str'), - public_vlan_id=dict( + type='bool'), + disk_encryption=dict( required=False, - type='str'), - entitlement=dict( + type='bool'), + machine_type=dict( required=False, type='str'), id=dict( @@ -442,7 +442,7 @@ def run_module(): resource_type='ibm_container_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -451,7 +451,7 @@ def run_module(): resource_type='ibm_container_cluster', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 e99b6124b..043c2a8cb 100644 --- a/plugins/modules/ibm_container_cluster_config_info.py +++ b/plugins/modules/ibm_container_cluster_config_info.py @@ -17,10 +17,22 @@ description: - Retrieve an IBM Cloud 'ibm_container_cluster_config' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + admin: + description: + - If set to true will download the config for admin + required: False + type: bool + default: False + network: + description: + - If set to true will download the Calico network config with the Admin config + required: False + type: bool + default: False resource_group_id: description: - ID of the resource group. @@ -31,29 +43,17 @@ - The name/id of the cluster required: True type: str - 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 required: False type: bool default: True - admin: - description: - - If set to true will download the config for admin - required: False - type: bool - default: False - network: + config_dir: description: - - If set to true will download the Calico network config with the Admin config + - The directory where the cluster config to be downloaded. Default is home directory required: False - type: bool - default: False + type: str ibmcloud_api_key: description: - The IBM Cloud API key to authenticate with the IBM Cloud @@ -72,12 +72,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'admin', + 'network', 'resource_group_id', 'cluster_name_id', - 'config_dir', 'download', - 'admin', - 'network', + 'config_dir', ] @@ -88,24 +88,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( + admin=dict( + required=False, + type='bool'), + network=dict( + required=False, + type='bool'), resource_group_id=dict( required=False, type='str'), cluster_name_id=dict( required=True, type='str'), - config_dir=dict( - required=False, - type='str'), download=dict( required=False, type='bool'), - admin=dict( - required=False, - type='bool'), - network=dict( + config_dir=dict( required=False, - type='bool'), + type='str'), ibmcloud_api_key=dict( type='str', no_log=True, @@ -126,7 +126,7 @@ def run_module(): resource_type='ibm_container_cluster_config', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 64dfeb319..2c23f2252 100644 --- a/plugins/modules/ibm_container_cluster_feature.py +++ b/plugins/modules/ibm_container_cluster_feature.py @@ -18,10 +18,25 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + cluster: + description: + - (Required for new resource) Cluster name of ID + required: True + type: str + public_service_endpoint: + description: + - None + required: False + type: bool + private_service_endpoint: + description: + - None + required: False + type: bool refresh_api_servers: description: - Boolean value true of API server to be refreshed in K8S cluster @@ -39,21 +54,6 @@ - ID of the resource group. required: False type: str - cluster: - description: - - (Required for new resource) Cluster name of ID - required: True - type: str - public_service_endpoint: - description: - - None - required: False - type: bool - private_service_endpoint: - description: - - None - required: False - type: bool 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 = [ - 'refresh_api_servers', - 'reload_workers', - 'resource_group_id', 'cluster', 'public_service_endpoint', 'private_service_endpoint', + 'refresh_api_servers', + 'reload_workers', + 'resource_group_id', ] # Params for Data source @@ -107,15 +107,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_api_servers=dict( - required=False, - type='bool'), - reload_workers=dict( - required=False, - type='bool'), - resource_group_id=dict( - required=False, - type='str'), cluster=dict( required=False, type='str'), @@ -125,6 +116,15 @@ private_service_endpoint=dict( required=False, type='bool'), + refresh_api_servers=dict( + required=False, + type='bool'), + 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.50.0', + ibm_provider_version='1.51.0', 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 ac4feeb7b..8b6717e50 100644 --- a/plugins/modules/ibm_container_cluster_info.py +++ b/plugins/modules/ibm_container_cluster_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_cluster' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -26,6 +26,11 @@ - ID of the resource group. required: False type: str + name: + description: + - Name or id of the cluster + required: False + type: str alb_type: description: - None @@ -38,11 +43,6 @@ required: False type: bool default: True - name: - description: - - Name or id of the cluster - required: False - type: str ibmcloud_api_key: description: - The IBM Cloud API key to authenticate with the IBM Cloud @@ -61,9 +61,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'resource_group_id', + 'name', 'alb_type', 'list_bounded_services', - 'name', ] @@ -77,15 +77,15 @@ resource_group_id=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), alb_type=dict( required=False, type='str'), list_bounded_services=dict( required=False, type='bool'), - name=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.50.0', + ibm_provider_version='1.51.0', 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 6935ce755..6ba89bda0 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 1d0cae37b..2ac1d360e 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 e05f203a3..f63fa98fc 100644 --- a/plugins/modules/ibm_container_dedicated_host.py +++ b/plugins/modules/ibm_container_dedicated_host.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_container_dedicated_host' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - placement_enabled: - description: - - Enables/disables placement on the dedicated host - required: False - type: bool flavor: description: - (Required for new resource) The flavor of the dedicated host @@ -42,6 +37,11 @@ - (Required for new resource) The zone of the dedicated host required: True type: str + placement_enabled: + description: + - Enables/disables placement on the dedicated host + required: False + type: bool 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 = [ - 'placement_enabled', 'flavor', 'host_pool_id', 'zone', + 'placement_enabled', ] # Params for Data source @@ -99,9 +99,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( - placement_enabled=dict( - required=False, - type='bool'), flavor=dict( required=False, type='str'), @@ -111,6 +108,9 @@ zone=dict( required=False, type='str'), + placement_enabled=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -162,7 +162,7 @@ def run_module(): resource_type='ibm_container_dedicated_host', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 223665b3e..16046e57b 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 3c86f9182..fdc11b31b 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 70b35fdb5..922b012f3 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 a212d599a..a22d9837b 100644 --- a/plugins/modules/ibm_container_dedicated_host_pool.py +++ b/plugins/modules/ibm_container_dedicated_host_pool.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_container_dedicated_host_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -160,7 +160,7 @@ def run_module(): resource_type='ibm_container_dedicated_host_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 a03c39da7..94f8a2aaa 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 f4bbc099b..b1d13db0d 100644 --- a/plugins/modules/ibm_container_nlb_dns.py +++ b/plugins/modules/ibm_container_nlb_dns.py @@ -18,15 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_container_nlb_dns' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - resource_group_id: + nlb_ips: description: - - The ID of the resource group that the cluster is in. To check the resource group ID of the cluster, use the GET /v1/clusters/idOrName API. To list available resource group IDs, run ibmcloud resource groups. - required: False - type: str + - (Required for new resource) + required: True + type: list + elements: str cluster: description: - (Required for new resource) The name or ID of the cluster. To list the clusters that you have access to, use the `GET /v1/clusters` API or run `ibmcloud ks cluster ls`. @@ -37,12 +38,11 @@ - (Required for new resource) required: True type: str - nlb_ips: + resource_group_id: description: - - (Required for new resource) - required: True - type: list - elements: str + - The ID of the resource group that the cluster is in. To check the resource group ID of the cluster, use the GET /v1/clusters/idOrName API. To list available resource group IDs, run ibmcloud resource groups. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -69,17 +69,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('nlb_ips', 'list'), ('cluster', 'str'), ('nlb_host', 'str'), - ('nlb_ips', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group_id', + 'nlb_ips', 'cluster', 'nlb_host', - 'nlb_ips', + 'resource_group_id', ] # Params for Data source @@ -98,19 +98,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( - resource_group_id=dict( + nlb_ips=dict( required=False, - type='str'), + elements='', + type='list'), cluster=dict( required=False, type='str'), nlb_host=dict( required=False, type='str'), - nlb_ips=dict( + resource_group_id=dict( required=False, - elements='', - type='list'), + type='str'), id=dict( required=False, type='str'), @@ -162,7 +162,7 @@ def run_module(): resource_type='ibm_container_nlb_dns', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 7e14b94ec..bbc442c84 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 8480c8956..bfaf8495f 100644 --- a/plugins/modules/ibm_container_storage_attachment.py +++ b/plugins/modules/ibm_container_storage_attachment.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_container_storage_attachment' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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. - required: False - type: str volume: description: - (Required for new resource) VPC Volume ID @@ -42,6 +32,16 @@ - (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 + 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. @@ -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', + 'resource_group_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('volume_attachment_id', 'str'), ('cluster', 'str'), ('worker', 'str'), + ('volume_attachment_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'volume_attachment_id', 'cluster', 'worker', 'resource_group_id', + 'volume_attachment_id', ] TL_CONFLICTS_MAP = { @@ -102,16 +102,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( - worker=dict( + volume=dict( required=False, type='str'), - resource_group_id=dict( + cluster=dict( required=False, type='str'), - volume=dict( + worker=dict( required=False, type='str'), - cluster=dict( + resource_group_id=dict( required=False, type='str'), id=dict( @@ -165,7 +165,7 @@ def run_module(): resource_type='ibm_container_storage_attachment', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 3e0500aaa..e1f742df0 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - volume_attachment_id: - description: - - The volume attachment ID - required: True - type: str cluster: description: - Cluster name or ID @@ -41,6 +36,11 @@ - ID of the resource group. required: False type: str + volume_attachment_id: + description: + - The volume attachment 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 = [ - ('volume_attachment_id', 'str'), ('cluster', 'str'), ('worker', 'str'), + ('volume_attachment_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'volume_attachment_id', 'cluster', 'worker', 'resource_group_id', + 'volume_attachment_id', ] @@ -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( - volume_attachment_id=dict( - required=True, - type='str'), cluster=dict( required=True, type='str'), @@ -87,6 +84,9 @@ resource_group_id=dict( required=False, type='str'), + volume_attachment_id=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.50.0', + ibm_provider_version='1.51.0', 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 c04920938..c7fe6f82c 100644 --- a/plugins/modules/ibm_container_vpc_alb.py +++ b/plugins/modules/ibm_container_vpc_alb.py @@ -18,30 +18,30 @@ - Create, update or destroy an IBM Cloud 'ibm_container_vpc_alb' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - disable_deployment: + enable: description: - - Disable the ALB instance in the cluster + - Enable the ALB instance in the cluster required: False type: bool - resource_group_id: + disable_deployment: description: - - ID of the resource group. + - Disable the ALB instance in the cluster required: False - type: str + type: bool alb_id: description: - (Required for new resource) ALB ID required: True type: str - enable: + resource_group_id: description: - - Enable the ALB instance in the cluster + - ID of the resource group. required: False - type: bool + type: str 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', + 'resource_group_id', ] # Params for Data source @@ -85,31 +85,31 @@ ] TL_ALL_PARAMETERS_DS = [ - 'resource_group_id', 'alb_id', + 'resource_group_id', ] 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( + enable=dict( required=False, type='bool'), - resource_group_id=dict( + disable_deployment=dict( required=False, - type='str'), + type='bool'), alb_id=dict( required=False, type='str'), - enable=dict( + resource_group_id=dict( required=False, - type='bool'), + type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 940b3f421..6c36c9214 100644 --- a/plugins/modules/ibm_container_vpc_alb_create.py +++ b/plugins/modules/ibm_container_vpc_alb_create.py @@ -18,25 +18,15 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - cluster: - description: - - (Required for new resource) The ID of the cluster that the ALB belongs to. - required: True - type: str resource_group_id: description: - ID of the resource group. required: False 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. @@ -47,6 +37,16 @@ - (Required for new resource) The zone where you want to deploy the ALB. required: True 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 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 = [ - ('cluster', 'str'), ('type', 'str'), ('zone', 'str'), + ('cluster', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cluster', 'resource_group_id', - 'enable', 'type', 'zone', + 'cluster', + 'enable', ] # 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( - cluster=dict( - required=False, - type='str'), resource_group_id=dict( required=False, type='str'), - enable=dict( - required=False, - type='bool'), type=dict( required=False, type='str'), zone=dict( required=False, type='str'), + cluster=dict( + required=False, + type='str'), + enable=dict( + required=False, + type='bool'), 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.50.0', + ibm_provider_version='1.51.0', 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 18446657d..9872c62d7 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 103dba95f..818c76af1 100644 --- a/plugins/modules/ibm_container_vpc_cluster.py +++ b/plugins/modules/ibm_container_vpc_cluster.py @@ -18,59 +18,32 @@ - Create, update or destroy an IBM Cloud 'ibm_container_vpc_cluster' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - taints: + kms_instance_id: description: - - WorkerPool Taints + - Instance ID for boot volume encryption required: False - type: list - elements: dict - disable_public_service_endpoint: + type: str + flavor: description: - - Boolean value true if Public service endpoint to be disabled + - (Required for new resource) Cluster nodes flavour + 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 + default: True wait_till: description: - wait_till can be configured for Master Ready, One worker Ready or Ingress Ready or Normal required: False type: str default: IngressReady - host_pool_id: - description: - - The ID of the cluster's associated host pool - required: False - type: str - patch_version: - description: - - Kubernetes patch version - required: False - type: str - pod_subnet: - description: - - Custom subnet CIDR to provide private IP addresses for pods - required: False - type: str - 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 - worker_count: - description: - - Number of worker nodes in the cluster - required: False - type: int - default: 1 - secondary_storage: - description: - - The secondary storage option for the default worker pool. - required: False - type: str operating_system: description: - The operating system of the workers in the default worker pool. @@ -81,88 +54,104 @@ - Root Key ID for boot volume encryption required: False type: str - image_security_enforcement: + kms_config: description: - - Set true to enable image security enforcement policies + - Enables KMS on a given cluster required: False - type: bool - default: False - name: + type: list + elements: dict + worker_labels: description: - - (Required for new resource) The cluster name - required: True - type: str - zones: + - Labels for default worker pool + required: False + type: dict + elements: str + taints: description: - - (Required for new resource) Zone info - required: True + - WorkerPool Taints + required: False type: list elements: dict + retry_patch_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 + required: False + type: int entitlement: description: - Entitlement option reduces additional OCP Licence cost in Openshift Clusters required: False type: str - force_delete_storage: + host_pool_id: description: - - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered + - The ID of the cluster's associated host pool + required: False + type: str + update_all_workers: + description: + - Updates all the woker nodes if sets to true required: False type: bool default: False - kms_config: + pod_subnet: description: - - Enables KMS on a given cluster + - Custom subnet CIDR to provide private IP addresses for pods required: False - type: list - elements: dict - wait_for_worker_update: + type: str + cos_instance_crn: description: - - Wait for worker node to update during kube version update. + - A standard cloud object storage instance CRN to back up the internal registry in your OpenShift on VPC Gen 2 cluster required: False - type: bool - default: True - worker_labels: + type: str + resource_group_id: description: - - Labels for default worker pool + - ID of the resource group. required: False - type: dict - elements: str - retry_patch_version: + type: str + name: 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 - required: False - type: int + - (Required for new resource) The cluster name + required: True + type: str service_subnet: description: - Custom subnet CIDR to provide private IP addresses for services required: False type: str - kms_instance_id: + worker_count: description: - - Instance ID for boot volume encryption + - Number of worker nodes in the cluster required: False - type: str + type: int + default: 1 kube_version: description: - Kubernetes version required: False type: str - update_all_workers: + secondary_storage: description: - - Updates all the woker nodes if sets to true + - The secondary storage option for the default worker pool. + 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 - resource_group_id: + tags: description: - - ID of the resource group. + - List of tags for the resources required: False - type: str - flavor: + type: list + elements: str + force_delete_storage: description: - - (Required for new resource) Cluster nodes flavour - required: True - type: str + - Force the removal of a cluster and its persistent storage. Deleted data cannot be recovered + required: False + type: bool + default: False kms_account_id: description: - Account ID of kms instance holder - if not provided, defaults to the account in use @@ -173,12 +162,23 @@ - (Required for new resource) The vpc id where the cluster is required: True type: str - tags: + zones: description: - - List of tags for the resources - required: False + - (Required for new resource) Zone info + required: True type: list - elements: str + elements: dict + patch_version: + description: + - Kubernetes patch version + required: False + type: str + image_security_enforcement: + description: + - Set true to enable image security enforcement policies + required: False + type: bool + default: False id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -205,43 +205,43 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), - ('zones', 'list'), ('flavor', 'str'), + ('name', 'str'), ('vpc_id', 'str'), + ('zones', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'taints', - 'disable_public_service_endpoint', + 'kms_instance_id', + 'flavor', + 'wait_for_worker_update', 'wait_till', - 'host_pool_id', - 'patch_version', - 'pod_subnet', - 'cos_instance_crn', - 'worker_count', - 'secondary_storage', 'operating_system', 'crk', - 'image_security_enforcement', - 'name', - 'zones', - 'entitlement', - 'force_delete_storage', 'kms_config', - 'wait_for_worker_update', 'worker_labels', + 'taints', 'retry_patch_version', - 'service_subnet', - 'kms_instance_id', - 'kube_version', + 'entitlement', + 'host_pool_id', 'update_all_workers', + 'pod_subnet', + 'cos_instance_crn', 'resource_group_id', - 'flavor', + 'name', + 'service_subnet', + 'worker_count', + 'kube_version', + 'secondary_storage', + 'disable_public_service_endpoint', + 'tags', + 'force_delete_storage', 'kms_account_id', 'vpc_id', - 'tags', + 'zones', + 'patch_version', + 'image_security_enforcement', ] # Params for Data source @@ -249,10 +249,10 @@ ] TL_ALL_PARAMETERS_DS = [ - 'cluster_name_id', 'alb_type', - 'name', 'resource_group_id', + 'cluster_name_id', + 'name', ] TL_CONFLICTS_MAP = { @@ -262,32 +262,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( - taints=dict( - required=False, - elements='', - type='list'), - disable_public_service_endpoint=dict( - required=False, - type='bool'), - wait_till=dict( - required=False, - type='str'), - host_pool_id=dict( - required=False, - type='str'), - patch_version=dict( - required=False, - type='str'), - pod_subnet=dict( + kms_instance_id=dict( required=False, type='str'), - cos_instance_crn=dict( + flavor=dict( required=False, type='str'), - worker_count=dict( + wait_for_worker_update=dict( required=False, - type='int'), - secondary_storage=dict( + type='bool'), + wait_till=dict( required=False, type='str'), operating_system=dict( @@ -296,64 +280,80 @@ crk=dict( required=False, type='str'), - image_security_enforcement=dict( + kms_config=dict( required=False, - type='bool'), - name=dict( + elements='', + type='list'), + worker_labels=dict( required=False, - type='str'), - zones=dict( + elements='', + type='dict'), + taints=dict( required=False, elements='', type='list'), + retry_patch_version=dict( + required=False, + type='int'), entitlement=dict( required=False, type='str'), - force_delete_storage=dict( + host_pool_id=dict( + required=False, + type='str'), + update_all_workers=dict( required=False, type='bool'), - kms_config=dict( + pod_subnet=dict( required=False, - elements='', - type='list'), - wait_for_worker_update=dict( + type='str'), + cos_instance_crn=dict( required=False, - type='bool'), - worker_labels=dict( + type='str'), + resource_group_id=dict( required=False, - elements='', - type='dict'), - retry_patch_version=dict( + type='str'), + name=dict( required=False, - type='int'), + type='str'), service_subnet=dict( required=False, type='str'), - kms_instance_id=dict( + worker_count=dict( required=False, - type='str'), + type='int'), kube_version=dict( required=False, type='str'), - update_all_workers=dict( + secondary_storage=dict( + required=False, + type='str'), + disable_public_service_endpoint=dict( required=False, type='bool'), - resource_group_id=dict( + tags=dict( required=False, - type='str'), - flavor=dict( + elements='', + type='list'), + force_delete_storage=dict( required=False, - type='str'), + type='bool'), kms_account_id=dict( required=False, type='str'), vpc_id=dict( required=False, type='str'), - tags=dict( + zones=dict( required=False, elements='', type='list'), + patch_version=dict( + required=False, + type='str'), + image_security_enforcement=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -405,7 +405,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -414,7 +414,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 9fe104f1a..b6a6882ff 100644 --- a/plugins/modules/ibm_container_vpc_cluster_alb_info.py +++ b/plugins/modules/ibm_container_vpc_cluster_alb_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_cluster_alb' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - alb_id: - description: - - ALB ID - required: True - type: str resource_group_id: description: - ID of the resource group. required: False type: str + alb_id: + description: + - ALB ID + required: True + 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 = [ - 'alb_id', 'resource_group_id', + 'alb_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( - alb_id=dict( - required=True, - type='str'), resource_group_id=dict( required=False, type='str'), + alb_id=dict( + required=True, + type='str'), ibmcloud_api_key=dict( type='str', no_log=True, @@ -87,7 +87,7 @@ def run_module(): resource_type='ibm_container_vpc_cluster_alb', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 8410468ba..cdac52cde 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,14 +27,14 @@ required: False type: str default: all - name: + resource_group_id: description: - - Name or id of the cluster + - ID of the resource group. required: False type: str - resource_group_id: + name: description: - - ID of the resource group. + - Name or id of the cluster required: False type: str ibmcloud_api_key: @@ -55,8 +55,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'alb_type', - 'name', 'resource_group_id', + 'name', ] @@ -70,10 +70,10 @@ alb_type=dict( required=False, type='str'), - name=dict( + resource_group_id=dict( required=False, type='str'), - resource_group_id=dict( + name=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.50.0', + ibm_provider_version='1.51.0', 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 fffb2ed7c..4d1bb1a25 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 c6237c101..b818d5925 100644 --- a/plugins/modules/ibm_container_vpc_cluster_worker_pool_info.py +++ b/plugins/modules/ibm_container_vpc_cluster_worker_pool_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_container_vpc_cluster_worker_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - worker_pool_name: + cluster: description: - - worker pool name + - Cluster name required: True type: str - cluster: + worker_pool_name: description: - - Cluster name + - 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_vpc_cluster_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 index 2e8ace76e..4ef550cce 100644 --- a/plugins/modules/ibm_container_vpc_worker.py +++ b/plugins/modules/ibm_container_vpc_worker.py @@ -18,20 +18,10 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - 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 @@ -54,6 +44,16 @@ - (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 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -86,12 +86,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group_id', - 'kube_config_path', 'check_ptx_status', 'ptx_timeout', 'cluster_name', 'replace_worker', + 'resource_group_id', + 'kube_config_path', ] # Params for Data source @@ -108,12 +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( - resource_group_id=dict( - required=False, - type='str'), - kube_config_path=dict( - required=False, - type='str'), check_ptx_status=dict( required=False, type='bool'), @@ -126,6 +120,12 @@ replace_worker=dict( required=False, type='str'), + resource_group_id=dict( + required=False, + type='str'), + kube_config_path=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -177,7 +177,7 @@ def run_module(): resource_type='ibm_container_vpc_worker', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_container_vpc_worker_pool.py b/plugins/modules/ibm_container_vpc_worker_pool.py index 44af637af..282458351 100644 --- a/plugins/modules/ibm_container_vpc_worker_pool.py +++ b/plugins/modules/ibm_container_vpc_worker_pool.py @@ -18,10 +18,40 @@ - Create, update or destroy an IBM Cloud 'ibm_container_vpc_worker_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + operating_system: + description: + - The operating system of the workers in the worker pool. + required: False + type: str + host_pool_id: + description: + - The ID of the dedicated host pool associated with the worker pool + required: False + type: str + worker_pool_name: + description: + - (Required for new resource) worker pool name + required: True + type: str + resource_group_id: + description: + - ID of the resource group. + required: False + type: str + secondary_storage: + description: + - The secondary storage option for the workers in the worker pool. + required: False + type: str + kms_account_id: + description: + - Account ID of kms instance holder - if not provided, defaults to the account in use + required: False + type: str cluster: description: - (Required for new resource) Cluster name @@ -33,24 +63,19 @@ required: False type: dict elements: str - operating_system: - description: - - The operating system of the workers in the worker pool. - required: False - type: str - secondary_storage: + vpc_id: description: - - The secondary storage option for the workers in the worker pool. - required: False + - (Required for new resource) The vpc id where the cluster is + required: True type: str - host_pool_id: + kms_instance_id: description: - - The ID of the dedicated host pool associated with the worker pool + - Instance ID for boot volume encryption required: False type: str - kms_account_id: + crk: description: - - Account ID of kms instance holder - if not provided, defaults to the account in use + - Root Key ID for boot volume encryption required: False type: str taints: @@ -59,19 +84,14 @@ required: False type: list elements: dict - vpc_id: - description: - - (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 - crk: + entitlement: description: - - Root Key ID for boot volume encryption + - Entitlement option reduces additional OCP Licence cost in Openshift Clusters required: False type: str flavor: @@ -79,32 +99,12 @@ - (Required for new resource) cluster node falvor required: True type: str - worker_pool_name: - description: - - (Required for new resource) worker pool name - required: True - type: str zones: description: - (Required for new resource) Zones info required: True type: list elements: dict - resource_group_id: - description: - - ID of the resource group. - required: False - type: str - entitlement: - description: - - Entitlement option reduces additional OCP Licence cost in Openshift Clusters - required: False - type: str - kms_instance_id: - description: - - Instance ID for boot volume encryption - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -131,32 +131,32 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('worker_pool_name', 'str'), ('cluster', 'str'), ('vpc_id', 'str'), ('worker_count', 'int'), ('flavor', 'str'), - ('worker_pool_name', 'str'), ('zones', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'cluster', - 'labels', 'operating_system', - 'secondary_storage', 'host_pool_id', + 'worker_pool_name', + 'resource_group_id', + 'secondary_storage', 'kms_account_id', - 'taints', + 'cluster', + 'labels', 'vpc_id', - 'worker_count', + 'kms_instance_id', 'crk', + 'taints', + 'worker_count', + 'entitlement', 'flavor', - 'worker_pool_name', 'zones', - 'resource_group_id', - 'entitlement', - 'kms_instance_id', ] # Params for Data source @@ -177,57 +177,57 @@ 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( + operating_system=dict( required=False, type='str'), - labels=dict( + host_pool_id=dict( required=False, - elements='', - type='dict'), - operating_system=dict( + type='str'), + worker_pool_name=dict( required=False, type='str'), - secondary_storage=dict( + resource_group_id=dict( required=False, type='str'), - host_pool_id=dict( + secondary_storage=dict( required=False, type='str'), kms_account_id=dict( required=False, type='str'), - taints=dict( - required=False, - elements='', - type='list'), - vpc_id=dict( + cluster=dict( required=False, type='str'), - worker_count=dict( + labels=dict( required=False, - type='int'), - crk=dict( + elements='', + type='dict'), + vpc_id=dict( required=False, type='str'), - flavor=dict( + kms_instance_id=dict( required=False, type='str'), - worker_pool_name=dict( + crk=dict( required=False, type='str'), - zones=dict( + taints=dict( required=False, elements='', type='list'), - resource_group_id=dict( + worker_count=dict( required=False, - type='str'), + type='int'), entitlement=dict( required=False, type='str'), - kms_instance_id=dict( + flavor=dict( required=False, type='str'), + zones=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -279,7 +279,7 @@ def run_module(): resource_type='ibm_container_vpc_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -288,7 +288,7 @@ def run_module(): resource_type='ibm_container_vpc_worker_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 f7a6d28fd..93a5c32dc 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 ba2301377..5f4e24b41 100644 --- a/plugins/modules/ibm_container_worker_pool.py +++ b/plugins/modules/ibm_container_worker_pool.py @@ -18,29 +18,40 @@ - Create, update or destroy an IBM Cloud 'ibm_container_worker_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - machine_type: + labels: description: - - (Required for new resource) worker nodes machine type - required: True + - list of labels to worker pool + required: False + type: dict + elements: str + resource_group_id: + description: + - ID of the resource group. + required: False type: str + size_per_zone: + description: + - (Required for new resource) Number of nodes per zone + required: True + type: int operating_system: description: - The operating system of the workers in the worker pool. required: False type: str - labels: + taints: description: - - list of labels to worker pool + - WorkerPool Taints required: False - type: dict - elements: str - worker_pool_name: + type: list + elements: dict + cluster: description: - - (Required for new resource) worker pool name + - (Required for new resource) Cluster name required: True type: str entitlement: @@ -54,9 +65,9 @@ required: False type: str default: shared - cluster: + worker_pool_name: description: - - (Required for new resource) Cluster name + - (Required for new resource) worker pool name required: True type: str disk_encryption: @@ -65,21 +76,10 @@ required: False type: bool default: True - taints: - description: - - WorkerPool Taints - required: False - type: list - elements: dict - size_per_zone: + machine_type: description: - - (Required for new resource) Number of nodes per zone + - (Required for new resource) worker nodes machine type required: True - type: int - resource_group_id: - description: - - ID of the resource group. - required: False type: str id: description: @@ -107,25 +107,25 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('machine_type', 'str'), - ('worker_pool_name', 'str'), - ('cluster', 'str'), ('size_per_zone', 'int'), + ('cluster', 'str'), + ('worker_pool_name', 'str'), + ('machine_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'machine_type', - 'operating_system', 'labels', - 'worker_pool_name', + 'resource_group_id', + 'size_per_zone', + 'operating_system', + 'taints', + 'cluster', 'entitlement', 'hardware', - 'cluster', + 'worker_pool_name', 'disk_encryption', - 'taints', - 'size_per_zone', - 'resource_group_id', + 'machine_type', ] # Params for Data source @@ -146,17 +146,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( - machine_type=dict( + labels=dict( + required=False, + elements='', + type='dict'), + resource_group_id=dict( required=False, type='str'), + size_per_zone=dict( + required=False, + type='int'), operating_system=dict( required=False, type='str'), - labels=dict( + taints=dict( required=False, elements='', - type='dict'), - worker_pool_name=dict( + type='list'), + cluster=dict( required=False, type='str'), entitlement=dict( @@ -165,20 +172,13 @@ hardware=dict( required=False, type='str'), - cluster=dict( + worker_pool_name=dict( required=False, type='str'), disk_encryption=dict( required=False, type='bool'), - taints=dict( - required=False, - elements='', - type='list'), - size_per_zone=dict( - required=False, - type='int'), - resource_group_id=dict( + machine_type=dict( required=False, type='str'), id=dict( @@ -232,7 +232,7 @@ def run_module(): resource_type='ibm_container_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -241,7 +241,7 @@ def run_module(): resource_type='ibm_container_worker_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 3f625ef60..799fadf3e 100644 --- a/plugins/modules/ibm_container_worker_pool_info.py +++ b/plugins/modules/ibm_container_worker_pool_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_container_worker_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -88,7 +88,7 @@ def run_module(): resource_type='ibm_container_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 2a00877c9..96df08c9a 100644 --- a/plugins/modules/ibm_container_worker_pool_zone_attachment.py +++ b/plugins/modules/ibm_container_worker_pool_zone_attachment.py @@ -18,14 +18,14 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - private_vlan_id: + worker_pool: description: - - None - required: False + - (Required for new resource) Workerpool name + required: True type: str wait_till_albs: description: @@ -38,15 +38,10 @@ - (Required for new resource) Zone name required: True type: str - cluster: - description: - - (Required for new resource) cluster name or ID - required: True - type: str - worker_pool: + private_vlan_id: description: - - (Required for new resource) Workerpool name - required: True + - None + required: False type: str public_vlan_id: description: @@ -58,6 +53,11 @@ - ID of the resource group. required: False type: str + cluster: + description: + - (Required for new resource) cluster name or ID + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,20 +84,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('worker_pool', 'str'), ('zone', 'str'), ('cluster', 'str'), - ('worker_pool', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'private_vlan_id', + 'worker_pool', 'wait_till_albs', 'zone', - 'cluster', - 'worker_pool', + 'private_vlan_id', 'public_vlan_id', 'resource_group_id', + 'cluster', ] # Params for Data source @@ -114,7 +114,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( - private_vlan_id=dict( + worker_pool=dict( required=False, type='str'), wait_till_albs=dict( @@ -123,10 +123,7 @@ zone=dict( required=False, type='str'), - cluster=dict( - required=False, - type='str'), - worker_pool=dict( + private_vlan_id=dict( required=False, type='str'), public_vlan_id=dict( @@ -135,6 +132,9 @@ resource_group_id=dict( required=False, type='str'), + cluster=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -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.50.0', + ibm_provider_version='1.51.0', 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 09db1dde8..b5f00ed77 100644 --- a/plugins/modules/ibm_cos_bucket.py +++ b/plugins/modules/ibm_cos_bucket.py @@ -18,51 +18,25 @@ - Create, update or destroy an IBM Cloud 'ibm_cos_bucket' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - bucket_name: - description: - - (Required for new resource) COS Bucket name - required: True - type: str - allowed_ip: + abort_incomplete_multipart_upload_days: description: - - List of IPv4 or IPv6 addresses + - Enable abort incomplete multipart upload to COS Bucket after a defined period of time required: False type: list - elements: str - noncurrent_version_expiration: + elements: dict + metrics_monitoring: description: - - Enable configuration expire_rule to COS Bucket after a defined period of time + - 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 - satellite_location_id: - description: - - Provide satellite location info. - required: False - type: str - cross_region_location: - description: - - Cros region location info - required: False - type: str - resource_instance_id: - description: - - (Required for new resource) resource instance ID - required: True - type: str - region_location: + storage_class: description: - - Region Location info. + - Storage class info required: False type: str endpoint_type: @@ -71,26 +45,15 @@ required: False type: str default: public - 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 - hard_quota: - description: - - sets a maximum amount of storage (in bytes) available for a bucket - required: False - type: int - abort_incomplete_multipart_upload_days: + expire_rule: description: - - Enable abort incomplete multipart upload to COS Bucket after a defined period of time + - Enable configuration expire_rule to COS Bucket after a defined period of time required: False type: list elements: dict - archive_rule: + noncurrent_version_expiration: description: - - Enable configuration archive_rule (glacier/accelerated) to COS Bucket after a defined period of time + - Enable configuration expire_rule to COS Bucket after a defined period of time required: False type: list elements: dict @@ -104,35 +67,72 @@ - single site location info required: False type: str - storage_class: + hard_quota: description: - - Storage class info + - sets a maximum amount of storage (in bytes) available for a bucket + required: False + type: int + satellite_location_id: + description: + - Provide satellite location info. required: False type: str + allowed_ip: + description: + - List of IPv4 or IPv6 addresses + required: False + type: list + elements: str 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: + archive_rule: description: - - Enables sending metrics to IBM Cloud Monitoring. + - Enable configuration archive_rule (glacier/accelerated) to COS Bucket after a defined period of time required: False type: list elements: dict - expire_rule: + object_versioning: description: - - Enable configuration expire_rule to COS Bucket after a defined period of time + - Protect objects from accidental deletion or overwrites. Versioning allows you to keep multiple versions of an object protecting from unintentional data loss. required: False type: list elements: dict - object_versioning: + bucket_name: description: - - Protect objects from accidental deletion or overwrites. Versioning allows you to keep multiple versions of an object protecting from unintentional data loss. + - (Required for new resource) COS Bucket name + required: True + type: str + resource_instance_id: + description: + - (Required for new resource) resource instance ID + required: True + 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 + 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 + region_location: + description: + - Region Location info. + required: False + type: str + cross_region_location: + description: + - Cros region location info + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -185,99 +185,77 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'bucket_name', - 'allowed_ip', - 'noncurrent_version_expiration', - 'force_delete', - 'satellite_location_id', - 'cross_region_location', - 'resource_instance_id', - 'region_location', - 'endpoint_type', - 'retention_rule', - 'hard_quota', 'abort_incomplete_multipart_upload_days', - 'archive_rule', + 'metrics_monitoring', + 'storage_class', + 'endpoint_type', + 'expire_rule', + 'noncurrent_version_expiration', 'key_protect', 'single_site_location', - 'storage_class', + 'hard_quota', + 'satellite_location_id', + 'allowed_ip', 'activity_tracking', - 'metrics_monitoring', - 'expire_rule', + 'archive_rule', 'object_versioning', + 'bucket_name', + 'resource_instance_id', + 'retention_rule', + 'force_delete', + 'region_location', + 'cross_region_location', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('bucket_name', 'str'), ('resource_instance_id', 'str'), + ('bucket_name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'bucket_name', - 'endpoint_type', 'bucket_region', + 'resource_instance_id', + 'bucket_name', 'satellite_location_id', 'bucket_type', - 'resource_instance_id', + 'endpoint_type', ] TL_CONFLICTS_MAP = { - 'allowed_ip': ['satellite_location_id'], - 'satellite_location_id': ['cross_region_location', 'single_site_location', 'region_location'], - 'cross_region_location': ['region_location', 'single_site_location', 'satellite_location_id'], - 'region_location': ['cross_region_location', 'single_site_location', 'satellite_location_id'], + 'storage_class': ['satellite_location_id'], 'endpoint_type': ['satellite_location_id'], 'single_site_location': ['region_location', 'cross_region_location', 'satellite_location_id'], - 'storage_class': ['satellite_location_id'], + 'satellite_location_id': ['cross_region_location', 'single_site_location', 'region_location'], + 'allowed_ip': ['satellite_location_id'], 'object_versioning': ['retention_rule'], + 'region_location': ['cross_region_location', 'single_site_location', 'satellite_location_id'], + 'cross_region_location': ['region_location', 'single_site_location', '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_name=dict( - required=False, - type='str'), - allowed_ip=dict( + abort_incomplete_multipart_upload_days=dict( required=False, elements='', type='list'), - noncurrent_version_expiration=dict( + metrics_monitoring=dict( required=False, elements='', type='list'), - force_delete=dict( - required=False, - type='bool'), - satellite_location_id=dict( - required=False, - type='str'), - cross_region_location=dict( - required=False, - type='str'), - resource_instance_id=dict( - required=False, - type='str'), - region_location=dict( + storage_class=dict( required=False, type='str'), endpoint_type=dict( required=False, type='str'), - retention_rule=dict( - required=False, - elements='', - type='list'), - hard_quota=dict( - required=False, - type='int'), - abort_incomplete_multipart_upload_days=dict( + expire_rule=dict( required=False, elements='', type='list'), - archive_rule=dict( + noncurrent_version_expiration=dict( required=False, elements='', type='list'), @@ -287,18 +265,21 @@ single_site_location=dict( required=False, type='str'), - storage_class=dict( + hard_quota=dict( + required=False, + type='int'), + satellite_location_id=dict( required=False, type='str'), - activity_tracking=dict( + allowed_ip=dict( required=False, elements='', type='list'), - metrics_monitoring=dict( + activity_tracking=dict( required=False, elements='', type='list'), - expire_rule=dict( + archive_rule=dict( required=False, elements='', type='list'), @@ -306,6 +287,25 @@ required=False, elements='', type='list'), + bucket_name=dict( + required=False, + type='str'), + resource_instance_id=dict( + required=False, + type='str'), + retention_rule=dict( + required=False, + elements='', + type='list'), + force_delete=dict( + required=False, + type='bool'), + region_location=dict( + required=False, + type='str'), + cross_region_location=dict( + required=False, + type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 6f191b9fa..da6a5654d 100644 --- a/plugins/modules/ibm_cos_bucket_info.py +++ b/plugins/modules/ibm_cos_bucket_info.py @@ -17,25 +17,24 @@ description: - Retrieve an IBM Cloud 'ibm_cos_bucket' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - bucket_name: + bucket_region: description: - None - required: True + required: False type: str - endpoint_type: + resource_instance_id: description: - - public or private - required: False + - None + required: True type: str - default: public - bucket_region: + bucket_name: description: - None - required: False + required: True type: str satellite_location_id: description: @@ -47,11 +46,12 @@ - None required: False type: str - resource_instance_id: + endpoint_type: description: - - None - required: True + - public or private + required: False type: str + default: public iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -85,49 +85,49 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('bucket_name', 'str'), ('resource_instance_id', 'str'), + ('bucket_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'bucket_name', - 'endpoint_type', 'bucket_region', + 'resource_instance_id', + 'bucket_name', 'satellite_location_id', 'bucket_type', - 'resource_instance_id', + 'endpoint_type', ] TL_CONFLICTS_MAP = { - 'endpoint_type': ['satellite_location_id'], 'bucket_region': ['satellite_location_id'], 'satellite_location_id': ['bucket_type', 'bucket_region'], 'bucket_type': ['satellite_location_id'], + 'endpoint_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_name=dict( - required=True, - type='str'), - endpoint_type=dict( - required=False, - type='str'), bucket_region=dict( required=False, type='str'), + resource_instance_id=dict( + required=True, + type='str'), + bucket_name=dict( + required=True, + type='str'), satellite_location_id=dict( required=False, type='str'), bucket_type=dict( required=False, type='str'), - resource_instance_id=dict( - required=True, + endpoint_type=dict( + required=False, type='str'), iaas_classic_username=dict( type='str', @@ -163,7 +163,7 @@ def run_module(): resource_type='ibm_cos_bucket', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 b4e95ce3b..70072de6c 100644 --- a/plugins/modules/ibm_cos_bucket_object.py +++ b/plugins/modules/ibm_cos_bucket_object.py @@ -18,29 +18,28 @@ - Create, update or destroy an IBM Cloud 'ibm_cos_bucket_object' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - force_delete: + content_base64: description: - - COS buckets need to be empty before they can be deleted. force_delete option empty the bucket and delete it. + - COS object content in base64 encoding required: False - type: bool - default: True - bucket_crn: + type: str + content_file: description: - - (Required for new resource) COS bucket CRN - required: True + - COS object content file path + required: False type: str - bucket_location: + bucket_crn: description: - - (Required for new resource) COS bucket location + - (Required for new resource) COS bucket CRN required: True type: str - content_base64: + content: description: - - COS object content in base64 encoding + - COS object content required: False type: str endpoint_type: @@ -49,26 +48,27 @@ required: False type: str default: public - etag: - description: - - COS object MD5 hexdigest - required: False - type: str key: description: - (Required for new resource) COS object key required: True type: str - content: + bucket_location: description: - - COS object content - required: False + - (Required for new resource) COS bucket location + required: True type: str - content_file: + etag: description: - - COS object content file path + - COS object MD5 hexdigest 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,21 +116,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('bucket_crn', 'str'), - ('bucket_location', 'str'), ('key', 'str'), + ('bucket_location', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'force_delete', - 'bucket_crn', - 'bucket_location', 'content_base64', + 'content_file', + 'bucket_crn', + 'content', 'endpoint_type', - 'etag', 'key', - 'content', - 'content_file', + 'bucket_location', + 'etag', + 'force_delete', ] # Params for Data source @@ -143,47 +143,47 @@ TL_ALL_PARAMETERS_DS = [ 'key', 'bucket_crn', - 'endpoint_type', 'bucket_location', + 'endpoint_type', ] TL_CONFLICTS_MAP = { 'content_base64': ['content', 'content_file'], - 'content': ['content_base64', 'content_file'], 'content_file': ['content', 'content_base64'], + 'content': ['content_base64', '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( - force_delete=dict( - required=False, - type='bool'), - bucket_crn=dict( + content_base64=dict( required=False, type='str'), - bucket_location=dict( + content_file=dict( required=False, type='str'), - content_base64=dict( + bucket_crn=dict( required=False, type='str'), - endpoint_type=dict( + content=dict( required=False, type='str'), - etag=dict( + endpoint_type=dict( required=False, type='str'), key=dict( required=False, type='str'), - content=dict( + bucket_location=dict( required=False, type='str'), - content_file=dict( + etag=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 e5b810f18..2e5bb7f3c 100644 --- a/plugins/modules/ibm_cos_bucket_object_info.py +++ b/plugins/modules/ibm_cos_bucket_object_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_cos_bucket_object' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -31,17 +31,17 @@ - COS bucket CRN required: True type: str + bucket_location: + description: + - COS bucket location + required: True + type: str endpoint_type: description: - COS endpoint type: public, private, direct required: False type: str default: public - bucket_location: - description: - - COS bucket location - required: True - type: str iaas_classic_username: description: - (Required when generation = 1) The IBM Cloud Classic @@ -84,8 +84,8 @@ TL_ALL_PARAMETERS = [ 'key', 'bucket_crn', - 'endpoint_type', 'bucket_location', + 'endpoint_type', ] @@ -102,12 +102,12 @@ bucket_crn=dict( required=True, type='str'), - endpoint_type=dict( - required=False, - type='str'), bucket_location=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_cos_bucket_object', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 c147a7f31..a405e5400 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 053faece2..2b8416ce9 100644 --- a/plugins/modules/ibm_cr_namespace.py +++ b/plugins/modules/ibm_cr_namespace.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_cr_namespace' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + name: + description: + - (Required for new resource) The name of the namespace. + required: True + type: str resource_group_id: description: - The ID of the resource group that the namespace will be created within. @@ -33,11 +38,6 @@ required: False type: list elements: str - name: - description: - - (Required for new resource) The name of the namespace. - 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 = [ + 'name', 'resource_group_id', 'tags', - 'name', ] # Params for Data source @@ -108,6 +108,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'), resource_group_id=dict( required=False, type='str'), @@ -115,9 +118,6 @@ required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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 89506ed8c..940977f78 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 236018d06..0c7162be3 100644 --- a/plugins/modules/ibm_cr_retention_policy.py +++ b/plugins/modules/ibm_cr_retention_policy.py @@ -18,15 +18,10 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - namespace: - description: - - (Required for new resource) The namespace to which the retention policy is attached. - required: True - type: str images_per_repo: description: - (Required for new resource) Determines how many images will be retained for each repository when the retention policy is executed. The value -1 denotes 'Unlimited' (all images are retained). @@ -38,6 +33,11 @@ required: False type: bool default: False + namespace: + description: + - (Required for new resource) The namespace to which the retention policy is attached. + 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 = [ - ('namespace', 'str'), ('images_per_repo', 'int'), + ('namespace', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'namespace', 'images_per_repo', 'retain_untagged', + 'namespace', ] # 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( - namespace=dict( - required=False, - type='str'), images_per_repo=dict( required=False, type='int'), retain_untagged=dict( required=False, type='bool'), + namespace=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_cr_retention_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 6546a7326..d7be894dd 100644 --- a/plugins/modules/ibm_database.py +++ b/plugins/modules/ibm_database.py @@ -18,110 +18,120 @@ - Create, update or destroy an IBM Cloud 'ibm_database' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - backup_id: - description: - - The CRN of backup source database - required: False - type: str - point_in_time_recovery_time: + key_protect_instance: description: - - The point in time recovery time stamp of the deployed instance + - The CRN of Key protect instance required: False type: str - adminpassword: + users: description: - - The admin user password for the instance + - None required: False - type: str - logical_replication_slot: + type: list + elements: dict + group: description: - None required: False type: list elements: dict - resource_group_id: + service_endpoints: description: - - The id of the resource group in which the Database instance is present + - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. required: False type: str - plan: + default: public + point_in_time_recovery_deployment_id: description: - - (Required for new resource) The plan type of the Database instance - required: True + - The CRN of source instance + required: False type: str + auto_scaling: + description: + - ICD Auto Scaling + required: False + type: list + elements: dict configuration: description: - The configuration in JSON format required: False type: str - remote_leader_id: + point_in_time_recovery_time: description: - - The CRN of leader database + - The point in time recovery time stamp of the deployed instance 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 - key_protect_instance: + adminpassword: description: - - The CRN of Key protect instance + - The admin user password for the instance required: False type: str - users: + tags: description: - None required: False type: list - elements: dict + elements: str + name: + description: + - (Required for new resource) Resource instance name for example, my 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: bool default: True - tags: + version: description: - - None + - The database version to provision if specified required: False - type: list - elements: str - auto_scaling: + type: str + remote_leader_id: description: - - ICD Auto Scaling + - The CRN of leader database required: False - type: list - elements: dict - point_in_time_recovery_deployment_id: + type: str + backup_encryption_key_crn: description: - - The CRN of source instance + - The Backup Encryption Key CRN required: False type: str - group: + resource_group_id: + description: + - The id of the resource group in which the Database instance is present + required: False + type: str + allowlist: description: - None required: False type: list elements: dict - service_endpoints: - description: - - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. - required: False - type: str - default: public - location: + plan: description: - - (Required for new resource) The location or the region in which Database instance exists + - (Required for new resource) The plan type of the Database instance required: True type: str - version: + backup_id: description: - - The database version to provision if specified + - The CRN of backup source database required: False type: str key_protect_key: @@ -129,22 +139,12 @@ - The CRN of Key protect key required: False type: str - backup_encryption_key_crn: - description: - - The Backup Encryption Key CRN - required: False - type: str - allowlist: + logical_replication_slot: description: - None required: False type: list elements: dict - name: - description: - - (Required for new resource) Resource instance name for example, my Database instance - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -191,37 +191,37 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('plan', 'str'), - ('service', 'str'), ('location', 'str'), + ('service', 'str'), ('name', 'str'), + ('plan', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'backup_id', - 'point_in_time_recovery_time', - 'adminpassword', - 'logical_replication_slot', - 'resource_group_id', - 'plan', - 'configuration', - 'remote_leader_id', - 'service', 'key_protect_instance', 'users', - 'plan_validation', - 'tags', - 'auto_scaling', - 'point_in_time_recovery_deployment_id', 'group', 'service_endpoints', + 'point_in_time_recovery_deployment_id', + 'auto_scaling', + 'configuration', + 'point_in_time_recovery_time', 'location', + 'service', + 'adminpassword', + 'tags', + 'name', + 'plan_validation', 'version', - 'key_protect_key', + 'remote_leader_id', 'backup_encryption_key_crn', + 'resource_group_id', 'allowlist', - 'name', + 'plan', + 'backup_id', + 'key_protect_key', + 'logical_replication_slot', ] # Params for Data source @@ -230,11 +230,11 @@ ] TL_ALL_PARAMETERS_DS = [ + 'name', 'tags', - 'resource_group_id', 'location', 'service', - 'name', + 'resource_group_id', ] TL_CONFLICTS_MAP = { @@ -246,81 +246,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( - backup_id=dict( - required=False, - type='str'), - point_in_time_recovery_time=dict( + key_protect_instance=dict( required=False, type='str'), - adminpassword=dict( + users=dict( required=False, - type='str'), - logical_replication_slot=dict( + elements='', + type='list'), + group=dict( required=False, elements='', type='list'), - resource_group_id=dict( + service_endpoints=dict( required=False, type='str'), - plan=dict( + point_in_time_recovery_deployment_id=dict( required=False, type='str'), + auto_scaling=dict( + required=False, + elements='', + type='list'), configuration=dict( required=False, type='str'), - remote_leader_id=dict( + point_in_time_recovery_time=dict( + required=False, + type='str'), + location=dict( required=False, type='str'), service=dict( required=False, type='str'), - key_protect_instance=dict( + adminpassword=dict( required=False, type='str'), - users=dict( + tags=dict( required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), plan_validation=dict( required=False, type='bool'), - tags=dict( + version=dict( required=False, - elements='', - type='list'), - auto_scaling=dict( + type='str'), + remote_leader_id=dict( required=False, - elements='', - type='list'), - point_in_time_recovery_deployment_id=dict( + type='str'), + backup_encryption_key_crn=dict( required=False, type='str'), - group=dict( + resource_group_id=dict( + required=False, + type='str'), + allowlist=dict( required=False, elements='', type='list'), - service_endpoints=dict( - required=False, - type='str'), - location=dict( + plan=dict( required=False, type='str'), - version=dict( + backup_id=dict( required=False, type='str'), key_protect_key=dict( required=False, type='str'), - backup_encryption_key_crn=dict( - required=False, - type='str'), - allowlist=dict( + logical_replication_slot=dict( required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -386,7 +386,7 @@ def run_module(): resource_type='ibm_database', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -395,7 +395,7 @@ def run_module(): resource_type='ibm_database', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 8c6f0d7b2..bf60d3c10 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 bfb99ce66..e97d0c232 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 323df3aa1..8f1280b31 100644 --- a/plugins/modules/ibm_database_connection_info.py +++ b/plugins/modules/ibm_database_connection_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_database_connection' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - user_type: - description: - - User type. - required: True - type: str user_id: description: - User ID. @@ -36,6 +31,11 @@ - Endpoint Type. The endpoint must be enabled on the deployment before its connection information can be fetched. required: True type: str + user_type: + description: + - User type. + required: True + type: str deployment_id: description: - Deployment ID. @@ -74,17 +74,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('user_type', 'str'), ('user_id', 'str'), ('endpoint_type', 'str'), + ('user_type', 'str'), ('deployment_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'user_type', 'user_id', 'endpoint_type', + 'user_type', 'deployment_id', ] @@ -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( - user_type=dict( - required=True, - type='str'), user_id=dict( required=True, type='str'), endpoint_type=dict( required=True, type='str'), + user_type=dict( + required=True, + type='str'), deployment_id=dict( required=True, type='str'), @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_database_connection', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 a05a763ea..9b96f0312 100644 --- a/plugins/modules/ibm_database_info.py +++ b/plugins/modules/ibm_database_info.py @@ -17,21 +17,21 @@ description: - Retrieve an IBM Cloud 'ibm_database' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + name: + description: + - Resource instance name for example, my Database instance + required: True + type: str tags: description: - None 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 location: description: - The location or the region in which the Database instance exists @@ -42,10 +42,10 @@ - The name of the Cloud Database service required: False type: str - name: + resource_group_id: description: - - Resource instance name for example, my Database instance - required: True + - The id of the resource group in which the Database instance is present + required: False type: str iaas_classic_username: description: @@ -85,11 +85,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'tags', - 'resource_group_id', 'location', 'service', - 'name', + 'resource_group_id', ] @@ -100,21 +100,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( + name=dict( + required=True, + type='str'), tags=dict( required=False, elements='', type='list'), - resource_group_id=dict( - required=False, - type='str'), location=dict( required=False, type='str'), service=dict( required=False, type='str'), - name=dict( - required=True, + resource_group_id=dict( + required=False, type='str'), iaas_classic_username=dict( type='str', @@ -150,7 +150,7 @@ def run_module(): resource_type='ibm_database', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 945897bf9..1d8d5df29 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 652965233..7706c851c 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 173c6ae04..f3f065e6a 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 4d1caaab8..a333c0e15 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 d389fb435..68e3ad17a 100644 --- a/plugins/modules/ibm_dl_gateway.py +++ b/plugins/modules/ibm_dl_gateway.py @@ -18,38 +18,38 @@ - Create, update or destroy an IBM Cloud 'ibm_dl_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - speed_mbps: + connection_mode: description: - - (Required for new resource) Gateway speed in megabits per second - required: True - type: int - type: + - 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 + location_name: description: - - (Required for new resource) Gateway type - required: True + - Gateway location + required: False type: str - resource_group: + bgp_cer_cidr: description: - - Gateway resource group + - BGP customer edge router CIDR required: False type: str - bfd_multiplier: + bgp_ibm_cidr: description: - - BFD Multiplier + - BGP IBM CIDR required: False - type: int - global_: + type: str + bgp_asn: description: - - (Required for new resource) Gateways with global routing (true) can connect to networks outside their associated region + - (Required for new resource) BGP ASN required: True - type: bool - location_name: + type: int + port: description: - - Gateway location + - Gateway port required: False type: str carrier_name: @@ -57,97 +57,97 @@ - Carrier name required: False type: str - bfd_interval: + tags: description: - - BFD Interval + - Tags for the direct link gateway required: False - type: int + type: list + elements: str + bfd_status: + description: + - Gateway BFD status + required: False + type: str bfd_status_updated_at: description: - Date and time BFD status was updated required: False type: str - port: + bgp_base_cidr: description: - - Gateway port + - BGP base CIDR required: False type: str - metered: - description: - - (Required for new resource) Metered billing option - required: True - type: bool macsec_config: description: - MACsec configuration information required: False type: list elements: dict - bfd_status: - description: - - Gateway BFD status - 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 - authentication_key: + bfd_multiplier: description: - - BGP MD5 authentication key + - BFD Multiplier required: False - type: str - name: + type: int + global_: description: - - (Required for new resource) The unique user-defined name for this gateway + - (Required for new resource) Gateways with global routing (true) can connect to networks outside their associated region required: True - type: str + type: bool loa_reject_reason: description: - Loa reject reason required: False type: str - bgp_cer_cidr: + as_prepends: description: - - BGP customer edge router CIDR + - List of AS Prepend configuration information required: False - type: str - bgp_ibm_cidr: + type: list + elements: dict + metered: description: - - BGP IBM CIDR - required: False + - (Required for new resource) Metered billing option + required: True + type: bool + type: + description: + - (Required for new resource) Gateway type + required: True type: str cross_connect_router: description: - Cross connect router required: False type: str - customer_name: + resource_group: description: - - Customer name + - Gateway resource group required: False type: str - tags: + bfd_interval: description: - - Tags for the direct link gateway + - BFD Interval required: False - type: list - elements: str - as_prepends: + type: int + name: description: - - List of AS Prepend configuration information + - (Required for new resource) The unique user-defined name for this gateway + required: True + type: str + customer_name: + description: + - Customer name required: False - type: list - elements: dict - bgp_asn: + type: str + speed_mbps: description: - - (Required for new resource) BGP ASN + - (Required for new resource) Gateway speed in megabits per second required: True type: int - bgp_base_cidr: + authentication_key: description: - - BGP base CIDR + - BGP MD5 authentication key required: False type: str id: @@ -196,41 +196,41 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('speed_mbps', 'int'), - ('type', 'str'), + ('bgp_asn', 'int'), ('global_', 'bool'), ('metered', 'bool'), + ('type', 'str'), ('name', 'str'), - ('bgp_asn', 'int'), + ('speed_mbps', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'speed_mbps', - 'type', - 'resource_group', - 'bfd_multiplier', - 'global_', + 'connection_mode', 'location_name', + 'bgp_cer_cidr', + 'bgp_ibm_cidr', + 'bgp_asn', + 'port', 'carrier_name', - 'bfd_interval', + 'tags', + 'bfd_status', 'bfd_status_updated_at', - 'port', - 'metered', + 'bgp_base_cidr', 'macsec_config', - 'bfd_status', - 'connection_mode', - 'authentication_key', - 'name', + 'bfd_multiplier', + 'global_', 'loa_reject_reason', - 'bgp_cer_cidr', - 'bgp_ibm_cidr', + 'as_prepends', + 'metered', + 'type', 'cross_connect_router', + 'resource_group', + 'bfd_interval', + 'name', 'customer_name', - 'tags', - 'as_prepends', - 'bgp_asn', - 'bgp_base_cidr', + 'speed_mbps', + 'authentication_key', ] # Params for Data source @@ -250,82 +250,82 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - speed_mbps=dict( - required=False, - type='int'), - type=dict( + connection_mode=dict( required=False, type='str'), - resource_group=dict( + location_name=dict( required=False, type='str'), - bfd_multiplier=dict( - required=False, - type='int'), - global_=dict( - required=False, - type='bool'), - location_name=dict( + bgp_cer_cidr=dict( required=False, type='str'), - carrier_name=dict( + bgp_ibm_cidr=dict( required=False, type='str'), - bfd_interval=dict( + bgp_asn=dict( required=False, type='int'), - bfd_status_updated_at=dict( - required=False, - type='str'), port=dict( required=False, type='str'), - metered=dict( + carrier_name=dict( required=False, - type='bool'), - macsec_config=dict( + type='str'), + tags=dict( required=False, elements='', type='list'), bfd_status=dict( required=False, type='str'), - connection_mode=dict( + bfd_status_updated_at=dict( required=False, type='str'), - authentication_key=dict( + bgp_base_cidr=dict( required=False, type='str'), - name=dict( + macsec_config=dict( required=False, - type='str'), + elements='', + type='list'), + bfd_multiplier=dict( + required=False, + type='int'), + global_=dict( + required=False, + type='bool'), loa_reject_reason=dict( required=False, type='str'), - bgp_cer_cidr=dict( + as_prepends=dict( required=False, - type='str'), - bgp_ibm_cidr=dict( + elements='', + type='list'), + metered=dict( + required=False, + type='bool'), + type=dict( required=False, type='str'), cross_connect_router=dict( required=False, type='str'), - customer_name=dict( + resource_group=dict( required=False, type='str'), - tags=dict( + bfd_interval=dict( required=False, - elements='', - type='list'), - as_prepends=dict( + type='int'), + name=dict( required=False, - elements='', - type='list'), - bgp_asn=dict( + type='str'), + customer_name=dict( + required=False, + type='str'), + speed_mbps=dict( required=False, type='int'), - bgp_base_cidr=dict( + authentication_key=dict( required=False, type='str'), id=dict( @@ -393,7 +393,7 @@ def run_module(): resource_type='ibm_dl_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -402,7 +402,7 @@ def run_module(): resource_type='ibm_dl_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 147f3a7fe..6bd29f290 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 964414cc8..a9d1140a7 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 38899baf1..c353b4b02 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 1745a8aca..01463f4e0 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 2e56af6fb..22449dd06 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 4784ac5fb..8c176e87e 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 36ca8a84c..9db3847a2 100644 --- a/plugins/modules/ibm_dl_provider_gateway.py +++ b/plugins/modules/ibm_dl_provider_gateway.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -32,21 +32,16 @@ - BGP customer edge router CIDR required: False type: str - speed_mbps: - description: - - (Required for new resource) Gateway speed in megabits per second - required: True - type: int name: description: - (Required for new resource) The unique user-defined name for this gateway required: True type: str - bgp_ibm_cidr: + speed_mbps: description: - - BGP IBM CIDR - required: False - type: str + - (Required for new resource) Gateway speed in megabits per second + required: True + type: int tags: description: - Tags for the direct link gateway @@ -63,6 +58,11 @@ - (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 + bgp_ibm_cidr: + description: + - BGP IBM CIDR + required: False + type: str vlan: description: - VLAN allocated for this gateway @@ -115,8 +115,8 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('bgp_asn', 'int'), - ('speed_mbps', 'int'), ('name', 'str'), + ('speed_mbps', 'int'), ('port', 'str'), ('customer_account_id', 'str'), ] @@ -125,12 +125,12 @@ TL_ALL_PARAMETERS = [ 'bgp_asn', 'bgp_cer_cidr', - 'speed_mbps', 'name', - 'bgp_ibm_cidr', + 'speed_mbps', 'tags', 'port', 'customer_account_id', + 'bgp_ibm_cidr', 'vlan', ] @@ -154,15 +154,12 @@ bgp_cer_cidr=dict( required=False, type='str'), - speed_mbps=dict( - required=False, - type='int'), name=dict( required=False, type='str'), - bgp_ibm_cidr=dict( + speed_mbps=dict( required=False, - type='str'), + type='int'), tags=dict( required=False, elements='', @@ -173,6 +170,9 @@ customer_account_id=dict( required=False, type='str'), + bgp_ibm_cidr=dict( + required=False, + type='str'), vlan=dict( required=False, type='int'), @@ -241,7 +241,7 @@ def run_module(): resource_type='ibm_dl_provider_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 47ea4c7a7..e196b65f3 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 953ab3a7c..4d6d583f0 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 index e475232c7..0365debac 100644 --- a/plugins/modules/ibm_dl_route_report.py +++ b/plugins/modules/ibm_dl_route_report.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_dl_route_report' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -167,7 +167,7 @@ def run_module(): resource_type='ibm_dl_route_report', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_dl_route_report', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_dl_route_report_info.py b/plugins/modules/ibm_dl_route_report_info.py index d94d3a9ca..3b2b4dc4e 100644 --- a/plugins/modules/ibm_dl_route_report_info.py +++ b/plugins/modules/ibm_dl_route_report_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_route_report' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_dl_route_report', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_route_reports_info.py b/plugins/modules/ibm_dl_route_reports_info.py index 42dd20a7d..f981a62a9 100644 --- a/plugins/modules/ibm_dl_route_reports_info.py +++ b/plugins/modules/ibm_dl_route_reports_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_route_reports' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -112,7 +112,7 @@ def run_module(): resource_type='ibm_dl_route_reports', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_dl_routers_info.py b/plugins/modules/ibm_dl_routers_info.py index c2192472b..6b63f768b 100644 --- a/plugins/modules/ibm_dl_routers_info.py +++ b/plugins/modules/ibm_dl_routers_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dl_routers' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_dl_routers', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 67f3efba7..0477ef62f 100644 --- a/plugins/modules/ibm_dl_virtual_connection.py +++ b/plugins/modules/ibm_dl_virtual_connection.py @@ -18,14 +18,14 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: + network_id: 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 + - 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. + required: False type: str gateway: description: @@ -37,10 +37,10 @@ - (Required for new resource) The type of virtual connection.Allowable values (classic,vpc) required: True type: str - network_id: + name: 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. - required: False + - (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: @@ -88,17 +88,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('gateway', 'str'), ('type', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', + 'network_id', 'gateway', 'type', - 'network_id', + 'name', ] # Params for Data source @@ -115,7 +115,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( - name=dict( + network_id=dict( required=False, type='str'), gateway=dict( @@ -124,7 +124,7 @@ type=dict( required=False, type='str'), - network_id=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.50.0', + ibm_provider_version='1.51.0', 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 287a23a7d..e4ee919c5 100644 --- a/plugins/modules/ibm_dns_custom_resolver.py +++ b/plugins/modules/ibm_dns_custom_resolver.py @@ -18,43 +18,43 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + high_availability: + description: + - Whether High Availability is enabled in custom resolver + required: False + type: bool + default: True instance_id: description: - (Required for new resource) Instance ID required: True type: str - description: - description: - - Descriptive text of the custom resolver. - required: False - type: str - locations: - description: - - Locations on which the custom resolver will be running - required: False - type: list - elements: dict name: description: - (Required for new resource) Name of the custom resolver required: True type: str + description: + description: + - Descriptive text of the custom resolver. + required: False + type: str enabled: description: - Whether the custom resolver is enabled required: False type: bool default: True - high_availability: + locations: description: - - Whether High Availability is enabled in custom resolver + - Locations on which the custom resolver will be running required: False - type: bool - default: True + type: list + elements: dict 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', 'instance_id', - 'description', - 'locations', 'name', + 'description', 'enabled', - 'high_availability', + 'locations', ] # Params for Data source @@ -129,25 +129,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( + high_availability=dict( + required=False, + type='bool'), instance_id=dict( required=False, type='str'), - description=dict( + name=dict( required=False, type='str'), - locations=dict( - required=False, - elements='', - type='list'), - name=dict( + description=dict( required=False, type='str'), enabled=dict( required=False, type='bool'), - high_availability=dict( + locations=dict( required=False, - type='bool'), + elements='', + type='list'), 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.50.0', + ibm_provider_version='1.51.0', 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 05499d1f1..ae46699aa 100644 --- a/plugins/modules/ibm_dns_custom_resolver_forwarding_rule.py +++ b/plugins/modules/ibm_dns_custom_resolver_forwarding_rule.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -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.50.0', + ibm_provider_version='1.51.0', 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 1221b1fff..59105b376 100644 --- a/plugins/modules/ibm_dns_custom_resolver_forwarding_rules_info.py +++ b/plugins/modules/ibm_dns_custom_resolver_forwarding_rules_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_custom_resolver_forwarding_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -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.50.0', + ibm_provider_version='1.51.0', 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 6cb6ed74e..af40774c6 100644 --- a/plugins/modules/ibm_dns_custom_resolver_location.py +++ b/plugins/modules/ibm_dns_custom_resolver_location.py @@ -18,10 +18,16 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + cr_enabled: + description: + - None + required: False + type: bool + default: True instance_id: description: - (Required for new resource) Instance ID @@ -43,12 +49,6 @@ required: False type: bool default: False - cr_enabled: - description: - - None - required: False - type: bool - default: True id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -102,11 +102,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'cr_enabled', 'instance_id', 'resolver_id', 'subnet_crn', 'enabled', - 'cr_enabled', ] # 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( + cr_enabled=dict( + required=False, + type='bool'), instance_id=dict( required=False, type='str'), @@ -135,9 +138,6 @@ enabled=dict( required=False, type='bool'), - cr_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.50.0', + ibm_provider_version='1.51.0', 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 c84f40d7a..42f211e42 100644 --- a/plugins/modules/ibm_dns_custom_resolver_secondary_zone.py +++ b/plugins/modules/ibm_dns_custom_resolver_secondary_zone.py @@ -18,15 +18,10 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - description: - description: - - Descriptive text of the secondary zone - required: False - type: str zone: description: - (Required for new resource) The name of the zone. @@ -53,6 +48,11 @@ - (Required for new resource) The unique identifier of a custom resolver. required: True type: str + description: + description: + - Descriptive text of the secondary zone + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -108,12 +108,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'description', 'zone', 'transfer_from', 'enabled', 'instance_id', 'resolver_id', + 'description', ] # Params for Data source @@ -130,9 +130,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'), zone=dict( required=False, type='str'), @@ -149,6 +146,9 @@ resolver_id=dict( required=False, type='str'), + description=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.50.0', + ibm_provider_version='1.51.0', 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 4c0640d32..37e9bec24 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 05df31c53..205ec2d0f 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 7f7478586..dc91a2f07 100644 --- a/plugins/modules/ibm_dns_domain.py +++ b/plugins/modules/ibm_dns_domain.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_domain' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + target: + description: + - DNS target info + required: False + type: str tags: description: - tags associated with reosurce. @@ -33,11 +38,6 @@ - (Required for new resource) DNS name required: True type: str - target: - description: - - DNS target info - 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 = [ + 'target', 'tags', 'name', - 'target', ] # Params for Data source @@ -110,6 +110,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( + target=dict( + required=False, + type='str'), tags=dict( required=False, elements='', @@ -117,9 +120,6 @@ name=dict( required=False, type='str'), - target=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_dns_domain', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 bdfa60687..2ded73de9 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 8483ed5c6..91037ddbe 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 4bff97d90..610ef5c25 100644 --- a/plugins/modules/ibm_dns_domain_registration_nameservers.py +++ b/plugins/modules/ibm_dns_domain_registration_nameservers.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -175,7 +175,7 @@ def run_module(): resource_type='ibm_dns_domain_registration_nameservers', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 7dd323adf..bb1a83f99 100644 --- a/plugins/modules/ibm_dns_glb.py +++ b/plugins/modules/ibm_dns_glb.py @@ -18,10 +18,26 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_glb' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + az_pools: + description: + - Map availability zones to pool ID's. + required: False + type: list + elements: dict + zone_id: + description: + - (Required for new resource) Zone Id + required: True + type: 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 @@ -33,14 +49,9 @@ required: True type: list elements: str - name: - description: - - (Required for new resource) Name of the load balancer - required: True - type: str - zone_id: + instance_id: description: - - (Required for new resource) Zone Id + - (Required for new resource) The GUID of the private DNS. required: True type: str description: @@ -59,17 +70,6 @@ required: False type: int default: 60 - az_pools: - description: - - Map availability zones to pool ID's. - required: False - type: list - elements: dict - instance_id: - description: - - (Required for new resource) The GUID of the private DNS. - required: True - type: str 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 = [ + ('zone_id', 'str'), + ('name', 'str'), ('fallback_pool', 'str'), ('default_pools', 'list'), - ('name', 'str'), - ('zone_id', 'str'), ('instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'az_pools', + 'zone_id', + 'name', 'fallback_pool', 'default_pools', - 'name', - 'zone_id', + 'instance_id', 'description', 'enabled', 'ttl', - 'az_pools', - 'instance_id', ] # Params for Data source @@ -150,6 +150,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( + az_pools=dict( + required=False, + elements='', + type='list'), + zone_id=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), fallback_pool=dict( required=False, type='str'), @@ -157,10 +167,7 @@ required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), - zone_id=dict( + instance_id=dict( required=False, type='str'), description=dict( @@ -172,13 +179,6 @@ ttl=dict( required=False, type='int'), - az_pools=dict( - required=False, - elements='', - type='list'), - instance_id=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.50.0', + ibm_provider_version='1.51.0', 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 55fd1f3ad..95f4903f9 100644 --- a/plugins/modules/ibm_dns_glb_monitor.py +++ b/plugins/modules/ibm_dns_glb_monitor.py @@ -18,26 +18,31 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - retries: + type: description: - - The number of retries to attempt in case of a timeout before marking the origin as unhealthy + - The protocol to use for the health check required: False - type: int - default: 1 - timeout: + type: str + default: HTTP + port: description: - - The timeout (in seconds) before marking the health check as failed + - Port number to connect to for the health check required: False type: int - default: 5 - path: + interval: description: - - The endpoint path to health check against + - The interval between each health check required: False + type: int + default: 60 + instance_id: + description: + - (Required for new resource) Instance Id + required: True type: str headers: description: @@ -45,11 +50,6 @@ required: False type: list elements: dict - instance_id: - description: - - (Required for new resource) Instance Id - required: True - type: str name: description: - (Required for new resource) The unique identifier of a service instance. @@ -60,41 +60,41 @@ - Descriptive text of the load balancer monitor required: False type: str - type: - description: - - The protocol to use for the health check - required: False - type: str - default: HTTP method: description: - The method to use for the health check required: False type: str - allow_insecure: - description: - - Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTPS monitors. - required: False - type: bool - expected_codes: + expected_body: description: - - The expected HTTP response code or code range of the health check. This parameter is only valid for HTTP and HTTPS + - A case-insensitive sub-string to look for in the response body required: False type: str - port: + retries: description: - - Port number to connect to for the health check + - The number of retries to attempt in case of a timeout before marking the origin as unhealthy required: False type: int - interval: + default: 1 + timeout: description: - - The interval between each health check + - The timeout (in seconds) before marking the health check as failed required: False type: int - default: 60 - expected_body: + default: 5 + path: description: - - A case-insensitive sub-string to look for in the response body + - The endpoint path to health check against + required: False + type: str + allow_insecure: + description: + - Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTPS monitors. + required: False + type: bool + expected_codes: + description: + - 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 id: @@ -149,20 +149,20 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'retries', - 'timeout', - 'path', - 'headers', + 'type', + 'port', + 'interval', 'instance_id', + 'headers', 'name', 'description', - 'type', 'method', + 'expected_body', + 'retries', + 'timeout', + 'path', 'allow_insecure', 'expected_codes', - 'port', - 'interval', - 'expected_body', ] # Params for Data source @@ -179,47 +179,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( - retries=dict( + type=dict( + required=False, + type='str'), + port=dict( required=False, type='int'), - timeout=dict( + interval=dict( required=False, type='int'), - path=dict( + instance_id=dict( required=False, type='str'), headers=dict( required=False, elements='', type='list'), - instance_id=dict( - required=False, - type='str'), name=dict( required=False, type='str'), description=dict( required=False, type='str'), - type=dict( - required=False, - type='str'), method=dict( required=False, type='str'), - allow_insecure=dict( - required=False, - type='bool'), - expected_codes=dict( + expected_body=dict( required=False, type='str'), - port=dict( + retries=dict( required=False, type='int'), - interval=dict( + timeout=dict( required=False, type='int'), - expected_body=dict( + path=dict( + required=False, + type='str'), + allow_insecure=dict( + required=False, + type='bool'), + expected_codes=dict( required=False, type='str'), id=dict( @@ -287,7 +287,7 @@ def run_module(): resource_type='ibm_dns_glb_monitor', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 f985133f8..19abcd56e 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 7e93c846f..9ba1aa3b6 100644 --- a/plugins/modules/ibm_dns_glb_pool.py +++ b/plugins/modules/ibm_dns_glb_pool.py @@ -18,30 +18,52 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + instance_id: + description: + - (Required for new resource) Instance Id + required: True + type: str + enabled: + description: + - Whether the load balancer pool is enabled + required: False + type: bool + origins: + description: + - (Required for new resource) Origins info + required: True + type: list + elements: dict monitor: description: - The ID of the load balancer monitor to be associated to this pool required: False type: str + healthcheck_subnets: + description: + - Health check subnet crn of VSIs + required: False + type: list + elements: str name: description: - (Required for new resource) The unique identifier of a service instance. required: True type: str - description: + healthcheck_region: description: - - Descriptive text of the load balancer pool + - Health check region of VSIs required: False type: str - enabled: + description: description: - - Whether the load balancer pool is enabled + - Descriptive text of the load balancer pool required: False - type: bool + type: str healthy_origins_threshold: description: - The minimum number of origins that must be healthy for this pool to serve traffic @@ -52,28 +74,6 @@ - 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 - origins: - description: - - (Required for new resource) Origins info - required: True - type: list - elements: dict - healthcheck_subnets: - description: - - Health check subnet crn of VSIs - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -120,23 +120,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('instance_id', 'str'), ('origins', 'list'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'instance_id', + 'enabled', + 'origins', 'monitor', + 'healthcheck_subnets', 'name', + 'healthcheck_region', 'description', - 'enabled', 'healthy_origins_threshold', 'notification_channel', - 'healthcheck_region', - 'instance_id', - 'origins', - 'healthcheck_subnets', ] # Params for Data source @@ -153,38 +153,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( - monitor=dict( - required=False, - type='str'), - name=dict( - required=False, - type='str'), - description=dict( + instance_id=dict( required=False, type='str'), enabled=dict( required=False, type='bool'), - healthy_origins_threshold=dict( + origins=dict( required=False, - type='int'), - notification_channel=dict( + elements='', + type='list'), + monitor=dict( + required=False, + type='str'), + healthcheck_subnets=dict( + required=False, + elements='', + type='list'), + name=dict( required=False, type='str'), healthcheck_region=dict( required=False, type='str'), - instance_id=dict( + description=dict( required=False, type='str'), - origins=dict( + healthy_origins_threshold=dict( required=False, - elements='', - type='list'), - healthcheck_subnets=dict( + type='int'), + notification_channel=dict( required=False, - elements='', - type='list'), + type='str'), id=dict( required=False, type='str'), @@ -250,7 +250,7 @@ def run_module(): resource_type='ibm_dns_glb_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 365de4ec9..2fc7b1b4c 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 f71613519..2f0e1b004 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 2a15a0e29..806476d41 100644 --- a/plugins/modules/ibm_dns_permitted_network.py +++ b/plugins/modules/ibm_dns_permitted_network.py @@ -18,10 +18,20 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + instance_id: + description: + - (Required for new resource) Instance Id + required: True + type: str + zone_id: + description: + - (Required for new resource) Zone Id + required: True + type: str type: description: - Network Type @@ -33,16 +43,6 @@ - (Required for new resource) VPC CRN id required: True type: str - instance_id: - description: - - (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 = [ - ('vpc_crn', 'str'), ('instance_id', 'str'), ('zone_id', 'str'), + ('vpc_crn', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'type', - 'vpc_crn', 'instance_id', 'zone_id', + 'type', + 'vpc_crn', ] # Params for Data source @@ -116,16 +116,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( + instance_id=dict( required=False, type='str'), - vpc_crn=dict( + zone_id=dict( required=False, type='str'), - instance_id=dict( + type=dict( required=False, type='str'), - zone_id=dict( + vpc_crn=dict( required=False, type='str'), id=dict( @@ -193,7 +193,7 @@ def run_module(): resource_type='ibm_dns_permitted_network', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 5658a41f9..f94b0381b 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 8b932c579..034d010f2 100644 --- a/plugins/modules/ibm_dns_record.py +++ b/plugins/modules/ibm_dns_record.py @@ -18,56 +18,35 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_record' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - priority: - description: - - priority info - required: False - type: int - default: 0 - weight: - description: - - weight info - required: False - type: int - default: 0 - expire: - description: - - DNS record expiry info - required: False - type: int - ttl: + domain_id: description: - - (Required for new resource) TTL configuration + - (Required for new resource) Domain ID of dns record instance required: True type: int - port: + protocol: description: - - port number + - protocol info required: False - type: int + type: str data: description: - (Required for new resource) DNS record data required: True type: str - refresh: + mx_priority: description: - - refresh rate + - Maximum priority required: False type: int - responsible_person: - description: - - Responsible person for DNS record - required: False - type: str - protocol: + default: 0 + type: description: - - protocol info - required: False + - (Required for new resource) DNS record type + required: True type: str tags: description: @@ -75,31 +54,40 @@ required: False type: list elements: str - mx_priority: + expire: description: - - Maximum priority + - DNS record expiry info required: False type: int - default: 0 + refresh: + description: + - refresh rate + required: False + type: int + responsible_person: + description: + - Responsible person for DNS record + required: False + type: str minimum_ttl: description: - Minimun TTL configuration required: False type: int - type: + ttl: description: - - (Required for new resource) DNS record type + - (Required for new resource) TTL configuration required: True - type: str + type: int service: description: - service info required: False type: str - domain_id: + port: description: - - (Required for new resource) Domain ID of dns record instance - required: True + - port number + required: False type: int host: description: @@ -111,6 +99,18 @@ - Retry count required: False type: int + priority: + description: + - priority info + required: False + type: int + default: 0 + weight: + description: + - weight info + required: False + type: int + default: 0 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 = [ - ('ttl', 'int'), + ('domain_id', 'int'), ('data', 'str'), ('type', 'str'), - ('domain_id', 'int'), + ('ttl', 'int'), ('host', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'priority', - 'weight', - 'expire', - 'ttl', - 'port', + 'domain_id', + 'protocol', 'data', + 'mx_priority', + 'type', + 'tags', + 'expire', 'refresh', 'responsible_person', - 'protocol', - 'tags', - 'mx_priority', 'minimum_ttl', - 'type', + 'ttl', 'service', - 'domain_id', + 'port', 'host', 'retry', + 'priority', + 'weight', ] # Params for Data source @@ -199,50 +199,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( - priority=dict( - required=False, - type='int'), - weight=dict( - required=False, - type='int'), - expire=dict( - required=False, - type='int'), - ttl=dict( + domain_id=dict( required=False, type='int'), - port=dict( + protocol=dict( required=False, - type='int'), + type='str'), data=dict( required=False, type='str'), - refresh=dict( + mx_priority=dict( required=False, type='int'), - responsible_person=dict( - required=False, - type='str'), - protocol=dict( + type=dict( required=False, type='str'), tags=dict( required=False, elements='', type='list'), - mx_priority=dict( + expire=dict( required=False, type='int'), - minimum_ttl=dict( + refresh=dict( required=False, type='int'), - type=dict( + responsible_person=dict( required=False, type='str'), + minimum_ttl=dict( + required=False, + type='int'), + ttl=dict( + required=False, + type='int'), service=dict( required=False, type='str'), - domain_id=dict( + port=dict( required=False, type='int'), host=dict( @@ -251,6 +245,12 @@ retry=dict( required=False, type='int'), + priority=dict( + required=False, + type='int'), + weight=dict( + required=False, + type='int'), 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.50.0', + ibm_provider_version='1.51.0', 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 36c451074..c6b1d4db3 100644 --- a/plugins/modules/ibm_dns_resource_record.py +++ b/plugins/modules/ibm_dns_resource_record.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -32,54 +32,54 @@ - (Required for new resource) Instance ID required: True type: str - zone_id: + type: description: - - (Required for new resource) Zone ID + - (Required for new resource) DNS record Type required: True type: str - ttl: + rdata: description: - - DNS record TTL + - (Required for new resource) DNS record Data + required: True + type: str + port: + description: + - DNS server Port required: False type: int - default: 900 - weight: + service: description: - - DNS server weight + - Service info required: False - type: int - default: 0 + type: str + zone_id: + description: + - (Required for new resource) Zone ID + required: True + type: str preference: description: - DNS maximum preference required: False type: int default: 0 - service: + weight: description: - - Service info + - DNS server weight required: False - type: str + type: int + default: 0 name: description: - (Required for new resource) DNS record name required: True type: str - type: - description: - - (Required for new resource) DNS record Type - required: True - type: str - rdata: - description: - - (Required for new resource) DNS record Data - required: True - type: str - port: + ttl: description: - - DNS server Port + - DNS record TTL required: False type: int + default: 900 priority: description: - DNS server Priority @@ -133,25 +133,25 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('instance_id', 'str'), - ('zone_id', 'str'), - ('name', 'str'), ('type', 'str'), ('rdata', 'str'), + ('zone_id', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'protocol', 'instance_id', - 'zone_id', - 'ttl', - 'weight', - 'preference', - 'service', - 'name', 'type', 'rdata', 'port', + 'service', + 'zone_id', + 'preference', + 'weight', + 'name', + 'ttl', 'priority', ] @@ -175,31 +175,31 @@ instance_id=dict( required=False, type='str'), - zone_id=dict( + type=dict( required=False, type='str'), - ttl=dict( - required=False, - type='int'), - weight=dict( + rdata=dict( required=False, - type='int'), - preference=dict( + type='str'), + port=dict( required=False, type='int'), service=dict( required=False, type='str'), - name=dict( + zone_id=dict( required=False, type='str'), - type=dict( + preference=dict( required=False, - type='str'), - rdata=dict( + type='int'), + weight=dict( + required=False, + type='int'), + name=dict( required=False, type='str'), - port=dict( + ttl=dict( required=False, type='int'), priority=dict( @@ -270,7 +270,7 @@ def run_module(): resource_type='ibm_dns_resource_record', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 3cda02185..242ebcd8c 100644 --- a/plugins/modules/ibm_dns_resource_records_info.py +++ b/plugins/modules/ibm_dns_resource_records_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_dns_resource_records' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_dns_resource_records', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 d06187078..e41ec6752 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 8bc776428..540f81dff 100644 --- a/plugins/modules/ibm_dns_secondary.py +++ b/plugins/modules/ibm_dns_secondary.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_secondary' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_dns_secondary', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 da68f9f01..400197bf9 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 08f034ba4..6b61026f8 100644 --- a/plugins/modules/ibm_dns_zone.py +++ b/plugins/modules/ibm_dns_zone.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_dns_zone' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - label: - description: - - Label - required: False - type: str - instance_id: - description: - - (Required for new resource) Instance ID - required: True - type: str name: description: - (Required for new resource) Zone name @@ -42,6 +32,16 @@ - Zone description required: False type: str + label: + description: + - Label + required: False + type: str + instance_id: + description: + - (Required for new resource) Instance ID + required: True + type: str 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 = [ - ('instance_id', 'str'), ('name', 'str'), + ('instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'label', - 'instance_id', 'name', 'description', + 'label', + 'instance_id', ] # Params for Data source @@ -114,16 +114,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( - label=dict( + name=dict( required=False, type='str'), - instance_id=dict( + description=dict( required=False, type='str'), - name=dict( + label=dict( required=False, type='str'), - description=dict( + instance_id=dict( required=False, type='str'), id=dict( @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_dns_zone', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 9cbfbb518..cebe89277 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination_android.py b/plugins/modules/ibm_en_destination_android.py index 43ddfe328..46e0aa47d 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,6 +27,11 @@ - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str + type: + description: + - (Required for new resource) The type of Destination push_android. + required: True + type: str description: description: - The Destination description. @@ -37,11 +42,6 @@ - (Required for new resource) The Destintion name. required: True type: str - type: - description: - - (Required for new resource) The type of Destination push_android. - required: True - type: str config: description: - Payload describing a destination configuration. @@ -95,28 +95,28 @@ # 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', + 'type', 'description', 'name', - 'type', 'config', ] # 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 = { @@ -129,13 +129,13 @@ instance_guid=dict( required=False, type='str'), - description=dict( + type=dict( required=False, type='str'), - name=dict( + description=dict( required=False, type='str'), - type=dict( + name=dict( required=False, type='str'), config=dict( @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_en_destination_android', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 580ce0b5b..45c4b35d4 100644 --- a/plugins/modules/ibm_en_destination_android_info.py +++ b/plugins/modules/ibm_en_destination_android_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination_android' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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_android', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination_cf.py b/plugins/modules/ibm_en_destination_cf.py new file mode 100644 index 000000000..34ace840d --- /dev/null +++ b/plugins/modules/ibm_en_destination_cf.py @@ -0,0 +1,236 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_en_destination_cf +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/en_destination_cf + +short_description: Configure IBM Cloud 'ibm_en_destination_cf' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_en_destination_cf' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - 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 ibmcf. + required: True + type: str + config: + description: + - Payload describing a destination configuration. + 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 + description: + description: + - The Destination description. + required: False + 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 = [ + ('name', 'str'), + ('type', 'str'), + ('instance_guid', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'name', + 'type', + 'config', + 'instance_guid', + 'description', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('destination_id', 'str'), + ('instance_guid', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'destination_id', + 'instance_guid', +] + +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( + name=dict( + required=False, + type='str'), + type=dict( + required=False, + type='str'), + config=dict( + required=False, + elements='', + type='list'), + instance_guid=dict( + required=False, + type='str'), + description=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_en_destination_cf', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_destination_cf', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_destination_cf_info.py b/plugins/modules/ibm_en_destination_cf_info.py new file mode 100644 index 000000000..33674e788 --- /dev/null +++ b/plugins/modules/ibm_en_destination_cf_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_en_destination_cf_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_destination_cf + +short_description: Retrieve IBM Cloud 'ibm_en_destination_cf' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_en_destination_cf' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + destination_id: + description: + - Unique identifier for Destination. + required: True + 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 + 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 = [ + ('destination_id', 'str'), + ('instance_guid', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'destination_id', + 'instance_guid', +] + + +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( + destination_id=dict( + required=True, + type='str'), + instance_guid=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_en_destination_cf', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_destination_chrome.py b/plugins/modules/ibm_en_destination_chrome.py index f7f0e4692..4e7c65026 100644 --- a/plugins/modules/ibm_en_destination_chrome.py +++ b/plugins/modules/ibm_en_destination_chrome.py @@ -18,20 +18,26 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination_chrome' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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: - The Destination description. required: False type: str - instance_guid: + config: description: - - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. - required: True - type: str + - Payload describing a destination configuration. + required: False + type: list + elements: dict name: description: - (Required for new resource) The Destintion name. @@ -42,12 +48,6 @@ - (Required for new resource) The type of Destination type push_chrome. required: True type: str - config: - description: - - Payload describing a destination configuration. - required: False - type: list - elements: dict 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 = [ - 'description', 'instance_guid', + 'description', + 'config', '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( - description=dict( + instance_guid=dict( required=False, type='str'), - instance_guid=dict( + description=dict( required=False, type='str'), + config=dict( + required=False, + elements='', + type='list'), name=dict( required=False, type='str'), type=dict( required=False, type='str'), - config=dict( - required=False, - elements='', - type='list'), id=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 c5729e30f..948a324db 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 8131c3677..11b96b72f 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,6 +27,11 @@ - (Required for new resource) The Destintion name. required: True type: str + instance_guid: + description: + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str type: description: - (Required for new resource) The type of Destination type push_firefox. @@ -43,11 +48,6 @@ 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. @@ -95,28 +95,28 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('name', 'str'), - ('type', 'str'), ('instance_guid', 'str'), + ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'name', + 'instance_guid', 'type', 'description', 'config', - 'instance_guid', ] # 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 = { @@ -129,6 +129,9 @@ name=dict( required=False, type='str'), + instance_guid=dict( + required=False, + type='str'), type=dict( required=False, type='str'), @@ -139,9 +142,6 @@ required=False, elements='', type='list'), - instance_guid=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 14e7203c5..28395802b 100644 --- a/plugins/modules/ibm_en_destination_firefox_info.py +++ b/plugins/modules/ibm_en_destination_firefox_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination_firefox' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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_firefox', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 d73cf957f..37301a3ad 100644 --- a/plugins/modules/ibm_en_destination_ios.py +++ b/plugins/modules/ibm_en_destination_ios.py @@ -18,26 +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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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 - config: - description: - - Payload describing a destination configuration. - required: False - type: list - elements: dict instance_guid: description: - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. @@ -58,6 +42,22 @@ - (Required for new resource) The Certificate File. required: True type: str + 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 + config: + description: + - Payload describing a destination configuration. + required: False + type: list + elements: dict 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 = [ - ('name', 'str'), - ('type', 'str'), ('instance_guid', 'str'), ('certificate_content_type', 'str'), ('certificate', 'str'), + ('name', 'str'), + ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'type', - 'config', 'instance_guid', 'description', 'certificate_content_type', 'certificate', + 'name', + 'type', + 'config', ] # Params for Data source @@ -140,16 +140,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'), - type=dict( - required=False, - type='str'), - config=dict( - required=False, - elements='', - type='list'), instance_guid=dict( required=False, type='str'), @@ -162,6 +152,16 @@ certificate=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), + type=dict( + required=False, + type='str'), + config=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_en_destination_ios', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 11128939b..0fdf90367 100644 --- a/plugins/modules/ibm_en_destination_ios_info.py +++ b/plugins/modules/ibm_en_destination_ios_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination_ios' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_destination_ios', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_destination_msteams.py b/plugins/modules/ibm_en_destination_msteams.py new file mode 100644 index 000000000..829f22155 --- /dev/null +++ b/plugins/modules/ibm_en_destination_msteams.py @@ -0,0 +1,236 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_en_destination_msteams +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/en_destination_msteams + +short_description: Configure IBM Cloud 'ibm_en_destination_msteams' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_en_destination_msteams' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - 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 msteams. + required: True + type: str + description: + description: + - The Destination description. + required: False + type: str + config: + description: + - Payload describing a destination configuration. + 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. + 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 = [ + ('name', 'str'), + ('type', 'str'), + ('instance_guid', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'name', + 'type', + 'description', + 'config', + 'instance_guid', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('instance_guid', 'str'), + ('destination_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'instance_guid', + 'destination_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( + name=dict( + required=False, + type='str'), + type=dict( + required=False, + type='str'), + description=dict( + required=False, + type='str'), + config=dict( + required=False, + elements='', + type='list'), + instance_guid=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_en_destination_msteams', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_destination_msteams', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_destination_msteams_info.py b/plugins/modules/ibm_en_destination_msteams_info.py new file mode 100644 index 000000000..18cdb55f9 --- /dev/null +++ b/plugins/modules/ibm_en_destination_msteams_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_en_destination_msteams_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_destination_msteams + +short_description: Retrieve IBM Cloud 'ibm_en_destination_msteams' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_en_destination_msteams' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + instance_guid: + description: + - Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str + destination_id: + description: + - Unique identifier for Destination. + 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 = [ + ('instance_guid', 'str'), + ('destination_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_guid', + 'destination_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( + instance_guid=dict( + required=True, + type='str'), + destination_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_en_destination_msteams', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_destination_pagerduty.py b/plugins/modules/ibm_en_destination_pagerduty.py new file mode 100644 index 000000000..a5b480cbc --- /dev/null +++ b/plugins/modules/ibm_en_destination_pagerduty.py @@ -0,0 +1,236 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_en_destination_pagerduty +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/en_destination_pagerduty + +short_description: Configure IBM Cloud 'ibm_en_destination_pagerduty' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_en_destination_pagerduty' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + type: + description: + - (Required for new resource) The type of Destination type push_chrome. + required: True + type: str + config: + description: + - Payload describing a destination configuration. + 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) 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. + 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 = [ + ('type', 'str'), + ('instance_guid', 'str'), + ('name', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'type', + 'config', + 'instance_guid', + 'name', + 'description', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('destination_id', 'str'), + ('instance_guid', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'destination_id', + 'instance_guid', +] + +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( + type=dict( + required=False, + type='str'), + config=dict( + required=False, + elements='', + type='list'), + instance_guid=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), + description=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_en_destination_pagerduty', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_destination_pagerduty', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_destination_pagerduty_info.py b/plugins/modules/ibm_en_destination_pagerduty_info.py new file mode 100644 index 000000000..b05f95818 --- /dev/null +++ b/plugins/modules/ibm_en_destination_pagerduty_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_en_destination_pagerduty_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_destination_pagerduty + +short_description: Retrieve IBM Cloud 'ibm_en_destination_pagerduty' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_en_destination_pagerduty' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + destination_id: + description: + - Unique identifier for Destination. + required: True + 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 + 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 = [ + ('destination_id', 'str'), + ('instance_guid', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'destination_id', + 'instance_guid', +] + + +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( + destination_id=dict( + required=True, + type='str'), + instance_guid=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_en_destination_pagerduty', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_destination_safari.py b/plugins/modules/ibm_en_destination_safari.py index 4e227954b..2c46d594e 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -32,83 +32,83 @@ - (Required for new resource) The Certificate File. required: True type: str - icon_16x16_2x: - description: - - The Certificate File. - required: False - type: str - icon_16x16_content_type: + icon_32x32: description: - The Certificate File. required: False type: str - icon_16x16_2x_content_type: + icon_32x32_2x: description: - The Certificate File. required: False type: str - description: - description: - - The Destination description. - required: False - type: str - icon_16x16: + icon_32x32_2x_content_type: description: - The Certificate File. required: False type: str - icon_32x32_2x: + icon_128x128_2x_content_type: description: - The Certificate File. required: False type: str - icon_128x128_2x: + config: description: - - The Certificate File. + - Payload describing a destination configuration. required: False - type: str + type: list + elements: dict instance_guid: description: - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str - config: + type: description: - - Payload describing a destination configuration. + - (Required for new resource) The type of Destination type push_ios. + required: True + type: str + description: + description: + - The Destination description. required: False - type: list - elements: dict - icon_32x32_2x_content_type: + type: str + icon_16x16: description: - The Certificate File. required: False type: str - icon_128x128_content_type: + icon_128x128: description: - The Certificate File. required: False type: str - icon_128x128_2x_content_type: + icon_128x128_2x: description: - The Certificate File. required: False type: str - type: + icon_32x32_content_type: description: - - (Required for new resource) The type of Destination type push_ios. - required: True + - The Certificate File. + required: False type: str - icon_32x32: + icon_16x16_content_type: description: - The Certificate File. required: False type: str - icon_128x128: + icon_16x16_2x_content_type: description: - The Certificate File. required: False type: str - icon_32x32_content_type: + icon_16x16_2x: + description: + - The Certificate File. + required: False + type: str + icon_128x128_content_type: description: - The Certificate File. required: False @@ -169,22 +169,22 @@ TL_ALL_PARAMETERS = [ 'name', 'certificate', - 'icon_16x16_2x', - 'icon_16x16_content_type', - 'icon_16x16_2x_content_type', - 'description', - 'icon_16x16', + 'icon_32x32', 'icon_32x32_2x', - 'icon_128x128_2x', - 'instance_guid', - 'config', 'icon_32x32_2x_content_type', - 'icon_128x128_content_type', 'icon_128x128_2x_content_type', + 'config', + 'instance_guid', 'type', - 'icon_32x32', + 'description', + 'icon_16x16', 'icon_128x128', + 'icon_128x128_2x', 'icon_32x32_content_type', + 'icon_16x16_content_type', + 'icon_16x16_2x_content_type', + 'icon_16x16_2x', + 'icon_128x128_content_type', ] # Params for Data source @@ -211,53 +211,53 @@ certificate=dict( required=False, type='str'), - icon_16x16_2x=dict( + icon_32x32=dict( required=False, type='str'), - icon_16x16_content_type=dict( + icon_32x32_2x=dict( required=False, type='str'), - icon_16x16_2x_content_type=dict( + icon_32x32_2x_content_type=dict( required=False, type='str'), - description=dict( + icon_128x128_2x_content_type=dict( required=False, type='str'), - icon_16x16=dict( + config=dict( required=False, - type='str'), - icon_32x32_2x=dict( + elements='', + type='list'), + instance_guid=dict( required=False, type='str'), - icon_128x128_2x=dict( + type=dict( required=False, type='str'), - instance_guid=dict( + description=dict( required=False, type='str'), - config=dict( + icon_16x16=dict( required=False, - elements='', - type='list'), - icon_32x32_2x_content_type=dict( + type='str'), + icon_128x128=dict( required=False, type='str'), - icon_128x128_content_type=dict( + icon_128x128_2x=dict( required=False, type='str'), - icon_128x128_2x_content_type=dict( + icon_32x32_content_type=dict( required=False, type='str'), - type=dict( + icon_16x16_content_type=dict( required=False, type='str'), - icon_32x32=dict( + icon_16x16_2x_content_type=dict( required=False, type='str'), - icon_128x128=dict( + icon_16x16_2x=dict( required=False, type='str'), - icon_32x32_content_type=dict( + icon_128x128_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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 ea554169b..929f2912c 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 333d878fb..0d3b7f2f6 100644 --- a/plugins/modules/ibm_en_destination_slack.py +++ b/plugins/modules/ibm_en_destination_slack.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination_slack' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -37,17 +37,17 @@ - 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. 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. @@ -104,8 +104,8 @@ 'name', 'type', 'description', - 'instance_guid', 'config', + 'instance_guid', ] # Params for Data source @@ -135,13 +135,13 @@ description=dict( required=False, type='str'), - instance_guid=dict( - required=False, - type='str'), config=dict( required=False, elements='', type='list'), + instance_guid=dict( + required=False, + type='str'), id=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 07c6eec04..292cb5676 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 06e5d9443..66c4867b4 100644 --- a/plugins/modules/ibm_en_destination_webhook.py +++ b/plugins/modules/ibm_en_destination_webhook.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_en_destination_webhook' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,12 +27,6 @@ - The Destination description. required: False type: str - config: - description: - - Payload describing a destination configuration. - required: False - type: list - elements: dict instance_guid: description: - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. @@ -48,6 +42,12 @@ - (Required for new resource) The type of Destination Webhook. required: True type: str + config: + description: + - Payload describing a destination configuration. + required: False + type: list + elements: dict 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 = [ 'description', - 'config', 'instance_guid', 'name', 'type', + 'config', ] # Params for Data source @@ -129,10 +129,6 @@ description=dict( required=False, type='str'), - config=dict( - required=False, - elements='', - type='list'), instance_guid=dict( required=False, type='str'), @@ -142,6 +138,10 @@ type=dict( required=False, type='str'), + config=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -207,7 +207,7 @@ def run_module(): resource_type='ibm_en_destination_webhook', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 8368c3e0e..0d93ca2ed 100644 --- a/plugins/modules/ibm_en_destination_webhook_info.py +++ b/plugins/modules/ibm_en_destination_webhook_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_destination_webhook' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_destination_webhook', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 feedda9fd..72dc99a2d 100644 --- a/plugins/modules/ibm_en_destinations_info.py +++ b/plugins/modules/ibm_en_destinations_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_en_destinations' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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 destinations by name or type. 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_destinations', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_integration.py b/plugins/modules/ibm_en_integration.py new file mode 100644 index 000000000..8fe2a8c3a --- /dev/null +++ b/plugins/modules/ibm_en_integration.py @@ -0,0 +1,228 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_en_integration +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/en_integration + +short_description: Configure IBM Cloud 'ibm_en_integration' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_en_integration' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + instance_guid: + description: + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str + integration_id: + description: + - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str + type: + description: + - (Required for new resource) The type of key integration kms/hs-crypto. + required: True + type: str + metadata: + description: + - (Required for new resource) + required: True + type: list + elements: dict + 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 = [ + ('instance_guid', 'str'), + ('integration_id', 'str'), + ('type', 'str'), + ('metadata', 'list'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_guid', + 'integration_id', + 'type', + 'metadata', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('instance_guid', 'str'), + ('integration_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'instance_guid', + 'integration_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( + instance_guid=dict( + required=False, + type='str'), + integration_id=dict( + required=False, + type='str'), + type=dict( + required=False, + type='str'), + metadata=dict( + required=False, + elements='', + type='list'), + 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_en_integration', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_integration', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_integration_info.py b/plugins/modules/ibm_en_integration_info.py new file mode 100644 index 000000000..119834d49 --- /dev/null +++ b/plugins/modules/ibm_en_integration_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_en_integration_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_integration + +short_description: Retrieve IBM Cloud 'ibm_en_integration' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_en_integration' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + instance_guid: + description: + - Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str + integration_id: + description: + - Unique identifier for Source. + 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 = [ + ('instance_guid', 'str'), + ('integration_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_guid', + 'integration_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( + instance_guid=dict( + required=True, + type='str'), + integration_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_en_integration', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_integrations_info.py b/plugins/modules/ibm_en_integrations_info.py new file mode 100644 index 000000000..56886a472 --- /dev/null +++ b/plugins/modules/ibm_en_integrations_info.py @@ -0,0 +1,140 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_en_integrations_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_integrations + +short_description: Retrieve IBM Cloud 'ibm_en_integrations' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_en_integrations' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - 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 destinations by type. + required: False + 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 = [ + ('instance_guid', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_guid', + 'search_key', +] + + +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( + instance_guid=dict( + required=True, + type='str'), + search_key=dict( + required=False, + 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_en_integrations', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_source.py b/plugins/modules/ibm_en_source.py index a7590be10..3bce97565 100644 --- a/plugins/modules/ibm_en_source.py +++ b/plugins/modules/ibm_en_source.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_en_source' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - enabled: - description: - - (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. @@ -42,6 +37,11 @@ - The Source description. required: False type: str + enabled: + description: + - (Required for new resource) The enabled flag for source + required: True + type: bool 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 = [ - ('enabled', 'bool'), ('instance_guid', 'str'), ('name', 'str'), + ('enabled', 'bool'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'enabled', 'instance_guid', 'name', 'description', + 'enabled', ] # 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( - enabled=dict( - required=False, - type='bool'), instance_guid=dict( required=False, type='str'), @@ -131,6 +128,9 @@ description=dict( required=False, type='str'), + enabled=dict( + required=False, + type='bool'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 4e76453ba..75ddf63a9 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_android.py b/plugins/modules/ibm_en_subscription_android.py index a4aec8620..a20acf18b 100644 --- a/plugins/modules/ibm_en_subscription_android.py +++ b/plugins/modules/ibm_en_subscription_android.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_android' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,10 +27,10 @@ - (Required for new resource) Subscription name. required: True type: str - description: + destination_id: description: - - Subscription description. - required: False + - (Required for new resource) Destination ID. + required: True type: str topic_id: description: @@ -42,10 +42,10 @@ - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. required: True type: str - destination_id: + description: description: - - (Required for new resource) Destination ID. - required: True + - Subscription description. + required: False type: str id: description: @@ -94,18 +94,18 @@ # 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', 'instance_guid', - 'destination_id', + 'description', ] # Params for Data source @@ -129,7 +129,7 @@ name=dict( required=False, type='str'), - description=dict( + destination_id=dict( required=False, type='str'), topic_id=dict( @@ -138,7 +138,7 @@ instance_guid=dict( required=False, type='str'), - destination_id=dict( + description=dict( required=False, type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 e271e71f2..edadcd479 100644 --- a/plugins/modules/ibm_en_subscription_android_info.py +++ b/plugins/modules/ibm_en_subscription_android_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_android' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_android', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_cf.py b/plugins/modules/ibm_en_subscription_cf.py new file mode 100644 index 000000000..2110f0b15 --- /dev/null +++ b/plugins/modules/ibm_en_subscription_cf.py @@ -0,0 +1,235 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_en_subscription_cf +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/en_subscription_cf + +short_description: Configure IBM Cloud 'ibm_en_subscription_cf' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_en_subscription_cf' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - 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) Subscription name. + 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 + 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. + 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 = [ + ('instance_guid', 'str'), + ('name', 'str'), + ('topic_id', 'str'), + ('destination_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_guid', + 'name', + 'topic_id', + 'description', + 'destination_id', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('instance_guid', 'str'), + ('subscription_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'instance_guid', + 'subscription_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( + instance_guid=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), + topic_id=dict( + required=False, + type='str'), + description=dict( + required=False, + type='str'), + destination_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_en_subscription_cf', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_subscription_cf', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_subscription_cf_info.py b/plugins/modules/ibm_en_subscription_cf_info.py new file mode 100644 index 000000000..49552b9c2 --- /dev/null +++ b/plugins/modules/ibm_en_subscription_cf_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_en_subscription_cf_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_subscription_cf + +short_description: Retrieve IBM Cloud 'ibm_en_subscription_cf' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_en_subscription_cf' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + instance_guid: + description: + - Unique identifier for IBM Cloud Event Notifications instance. + required: True + type: str + subscription_id: + description: + - Unique identifier for result. + 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 = [ + ('instance_guid', 'str'), + ('subscription_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_guid', + 'subscription_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( + instance_guid=dict( + required=True, + type='str'), + subscription_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_en_subscription_cf', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_subscription_chrome.py b/plugins/modules/ibm_en_subscription_chrome.py index cee21b671..49e9f5093 100644 --- a/plugins/modules/ibm_en_subscription_chrome.py +++ b/plugins/modules/ibm_en_subscription_chrome.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_chrome' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,24 +27,24 @@ - (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 description: description: - Subscription description. required: False type: str - topic_id: + destination_id: description: - - (Required for new resource) Topic ID. + - (Required for new resource) Destination ID. required: True type: str - destination_id: + name: description: - - (Required for new resource) Destination ID. + - (Required for new resource) Subscription name. + required: True + type: str + topic_id: + description: + - (Required for new resource) Topic ID. required: True type: str id: @@ -94,18 +94,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('instance_guid', 'str'), + ('destination_id', 'str'), ('name', 'str'), ('topic_id', 'str'), - ('destination_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'instance_guid', - 'name', 'description', - 'topic_id', 'destination_id', + 'name', + 'topic_id', ] # Params for Data source @@ -129,16 +129,16 @@ instance_guid=dict( required=False, type='str'), - name=dict( + description=dict( required=False, type='str'), - description=dict( + destination_id=dict( required=False, type='str'), - topic_id=dict( + name=dict( required=False, type='str'), - destination_id=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 1aa0bc5bb..bb98770fd 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 61ecccfab..5c3904b31 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,6 +27,16 @@ - (Required for new resource) Subscription name. 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 destination_id: description: - (Required for new resource) Destination ID. @@ -43,16 +53,6 @@ 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 - description: - description: - - Subscription description. - 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 = [ ('name', 'str'), + ('instance_guid', 'str'), ('destination_id', 'str'), ('topic_id', 'str'), - ('instance_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'name', + 'instance_guid', + 'description', 'destination_id', 'topic_id', 'attributes', - 'instance_guid', - 'description', ] # Params for Data source @@ -136,6 +136,12 @@ name=dict( required=False, type='str'), + instance_guid=dict( + required=False, + type='str'), + description=dict( + required=False, + type='str'), destination_id=dict( required=False, type='str'), @@ -146,12 +152,6 @@ required=False, elements='', type='list'), - instance_guid=dict( - required=False, - type='str'), - description=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 f296fd8a9..546b9352c 100644 --- a/plugins/modules/ibm_en_subscription_email_info.py +++ b/plugins/modules/ibm_en_subscription_email_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_email' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_email', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 37395c01e..49556976f 100644 --- a/plugins/modules/ibm_en_subscription_firefox.py +++ b/plugins/modules/ibm_en_subscription_firefox.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_firefox' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - destination_id: - description: - - (Required for new resource) Destination ID. - required: True - type: str - topic_id: - description: - - (Required for new resource) Topic ID. - required: True - type: str instance_guid: description: - (Required for new resource) Unique identifier for IBM Cloud Event Notifications instance. @@ -47,6 +37,16 @@ - 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. + required: True + 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 = [ - ('destination_id', 'str'), - ('topic_id', 'str'), ('instance_guid', 'str'), ('name', 'str'), + ('destination_id', 'str'), + ('topic_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'destination_id', - 'topic_id', 'instance_guid', 'name', 'description', + 'destination_id', + '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( - destination_id=dict( + instance_guid=dict( required=False, type='str'), - topic_id=dict( + name=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( + topic_id=dict( required=False, type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 883829f52..dcb662aec 100644 --- a/plugins/modules/ibm_en_subscription_firefox_info.py +++ b/plugins/modules/ibm_en_subscription_firefox_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_firefox' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_firefox', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 b7ddc2ba7..6508de36e 100644 --- a/plugins/modules/ibm_en_subscription_ios.py +++ b/plugins/modules/ibm_en_subscription_ios.py @@ -18,34 +18,34 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_ios' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - description: + name: description: - - Subscription description. - required: False + - (Required for new resource) Subscription name. + required: True type: str destination_id: description: - (Required for new resource) Destination ID. 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 - 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 - topic_id: + description: description: - - (Required for new resource) Topic ID. - required: True + - Subscription description. + required: False type: str id: description: @@ -93,19 +93,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('destination_id', 'str'), - ('instance_guid', 'str'), ('name', 'str'), + ('destination_id', 'str'), ('topic_id', 'str'), + ('instance_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'description', - 'destination_id', - 'instance_guid', 'name', + 'destination_id', 'topic_id', + 'instance_guid', + 'description', ] # 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( - description=dict( + name=dict( required=False, type='str'), destination_id=dict( required=False, type='str'), - instance_guid=dict( + topic_id=dict( required=False, type='str'), - name=dict( + instance_guid=dict( required=False, type='str'), - topic_id=dict( + description=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 905487d1c..697815991 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_en_subscription_msteams.py b/plugins/modules/ibm_en_subscription_msteams.py new file mode 100644 index 000000000..68b7f6457 --- /dev/null +++ b/plugins/modules/ibm_en_subscription_msteams.py @@ -0,0 +1,235 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_en_subscription_msteams +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/en_subscription_msteams + +short_description: Configure IBM Cloud 'ibm_en_subscription_msteams' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_en_subscription_msteams' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - 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 + destination_id: + description: + - (Required for new resource) Destination ID. + required: True + type: str + name: + description: + - (Required for new resource) Subscription name. + required: True + type: str + topic_id: + description: + - (Required for new resource) Topic 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 = [ + ('instance_guid', 'str'), + ('destination_id', 'str'), + ('name', 'str'), + ('topic_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_guid', + 'description', + 'destination_id', + 'name', + 'topic_id', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('subscription_id', 'str'), + ('instance_guid', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'subscription_id', + 'instance_guid', +] + +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( + instance_guid=dict( + required=False, + type='str'), + description=dict( + required=False, + type='str'), + destination_id=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), + topic_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_en_subscription_msteams', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_subscription_msteams', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_subscription_msteams_info.py b/plugins/modules/ibm_en_subscription_msteams_info.py new file mode 100644 index 000000000..e2b5428a2 --- /dev/null +++ b/plugins/modules/ibm_en_subscription_msteams_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_en_subscription_msteams_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_subscription_msteams + +short_description: Retrieve IBM Cloud 'ibm_en_subscription_msteams' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_en_subscription_msteams' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + subscription_id: + description: + - Unique identifier for result. + required: True + 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 + 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 = [ + ('subscription_id', 'str'), + ('instance_guid', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'subscription_id', + 'instance_guid', +] + + +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( + subscription_id=dict( + required=True, + type='str'), + instance_guid=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_en_subscription_msteams', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_subscription_pagerduty.py b/plugins/modules/ibm_en_subscription_pagerduty.py new file mode 100644 index 000000000..a4135467d --- /dev/null +++ b/plugins/modules/ibm_en_subscription_pagerduty.py @@ -0,0 +1,235 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_en_subscription_pagerduty +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/en_subscription_pagerduty + +short_description: Configure IBM Cloud 'ibm_en_subscription_pagerduty' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_en_subscription_pagerduty' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - 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 + topic_id: + description: + - (Required for new resource) Topic ID. + required: True + 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 + 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 = [ + ('instance_guid', 'str'), + ('topic_id', 'str'), + ('name', 'str'), + ('destination_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_guid', + 'description', + 'topic_id', + 'name', + 'destination_id', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('subscription_id', 'str'), + ('instance_guid', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'subscription_id', + 'instance_guid', +] + +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( + instance_guid=dict( + required=False, + type='str'), + description=dict( + required=False, + type='str'), + topic_id=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), + destination_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_en_subscription_pagerduty', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_subscription_pagerduty', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_subscription_pagerduty_info.py b/plugins/modules/ibm_en_subscription_pagerduty_info.py new file mode 100644 index 000000000..d5f510b96 --- /dev/null +++ b/plugins/modules/ibm_en_subscription_pagerduty_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_en_subscription_pagerduty_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/en_subscription_pagerduty + +short_description: Retrieve IBM Cloud 'ibm_en_subscription_pagerduty' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_en_subscription_pagerduty' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + subscription_id: + description: + - Unique identifier for result. + required: True + 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 + 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 = [ + ('subscription_id', 'str'), + ('instance_guid', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'subscription_id', + 'instance_guid', +] + + +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( + subscription_id=dict( + required=True, + type='str'), + instance_guid=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_en_subscription_pagerduty', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_en_subscription_safari.py b/plugins/modules/ibm_en_subscription_safari.py index e59ff25d7..d27f8c116 100644 --- a/plugins/modules/ibm_en_subscription_safari.py +++ b/plugins/modules/ibm_en_subscription_safari.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_safari' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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. @@ -32,11 +37,6 @@ - (Required for new resource) Topic ID. required: True 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) Subscription name. @@ -93,17 +93,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('topic_id', 'str'), ('instance_guid', 'str'), + ('topic_id', 'str'), ('name', 'str'), ('destination_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'instance_guid', 'description', 'topic_id', - 'instance_guid', 'name', 'destination_id', ] @@ -126,13 +126,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( - description=dict( + instance_guid=dict( required=False, type='str'), - topic_id=dict( + description=dict( required=False, type='str'), - instance_guid=dict( + topic_id=dict( required=False, type='str'), name=dict( @@ -206,7 +206,7 @@ def run_module(): resource_type='ibm_en_subscription_safari', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 a32995ad8..c605a1797 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 23a6c118e..48eee4159 100644 --- a/plugins/modules/ibm_en_subscription_slack.py +++ b/plugins/modules/ibm_en_subscription_slack.py @@ -18,15 +18,25 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_slack' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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. + required: True + type: str destination_id: description: - (Required for new resource) Destination ID. @@ -37,16 +47,6 @@ - (Required for new resource) Topic ID. required: True 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) Subscription name. - required: True - type: str attributes: description: - None @@ -99,19 +99,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('destination_id', 'str'), - ('topic_id', 'str'), ('instance_guid', 'str'), ('name', 'str'), + ('destination_id', 'str'), + ('topic_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'instance_guid', 'description', + 'name', 'destination_id', 'topic_id', - 'instance_guid', - 'name', 'attributes', ] @@ -133,19 +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( - description=dict( + instance_guid=dict( required=False, type='str'), - destination_id=dict( + description=dict( required=False, type='str'), - topic_id=dict( + name=dict( required=False, type='str'), - instance_guid=dict( + destination_id=dict( required=False, type='str'), - name=dict( + topic_id=dict( required=False, type='str'), attributes=dict( @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_en_subscription_slack', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 c4167db5e..de0faca8a 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 8402fa463..36ea6a9dc 100644 --- a/plugins/modules/ibm_en_subscription_sms.py +++ b/plugins/modules/ibm_en_subscription_sms.py @@ -18,41 +18,41 @@ - Create, update or destroy an IBM Cloud 'ibm_en_subscription_sms' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - destination_id: - description: - - (Required for new resource) Destination ID. - required: True - type: str - topic_id: - description: - - (Required for new resource) Topic ID. - required: True - 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) Subscription name. - 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 attributes: description: - None required: False type: list elements: dict + name: + description: + - (Required for new resource) Subscription name. + required: True + type: str + topic_id: + description: + - (Required for new resource) Topic ID. + 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 = [ - ('destination_id', 'str'), - ('topic_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', - 'topic_id', 'instance_guid', - 'name', 'description', + 'destination_id', 'attributes', + 'name', + 'topic_id', ] # 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( - destination_id=dict( - required=False, - type='str'), - topic_id=dict( - required=False, - type='str'), instance_guid=dict( required=False, type='str'), - name=dict( + description=dict( required=False, type='str'), - description=dict( + destination_id=dict( required=False, type='str'), attributes=dict( required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), + topic_id=dict( + required=False, + type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 807c17470..50cda1552 100644 --- a/plugins/modules/ibm_en_subscription_sms_info.py +++ b/plugins/modules/ibm_en_subscription_sms_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_subscription_sms' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_subscription_sms', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 8c0dc8cd1..5698f0129 100644 --- a/plugins/modules/ibm_en_subscription_webhook.py +++ b/plugins/modules/ibm_en_subscription_webhook.py @@ -18,15 +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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) Subscription name. - required: True - type: str attributes: description: - None @@ -38,6 +33,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 description: description: - Subscription description. @@ -99,17 +99,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('instance_guid', 'str'), + ('name', 'str'), ('destination_id', 'str'), ('topic_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'attributes', 'instance_guid', + 'name', 'description', 'destination_id', 'topic_id', @@ -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( - name=dict( - required=False, - type='str'), attributes=dict( required=False, elements='', @@ -143,6 +140,9 @@ instance_guid=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), description=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 28fdb86ee..7c8031574 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 14d7f8fee..c5480b0b0 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 799ae7fdf..406fae986 100644 --- a/plugins/modules/ibm_en_topic.py +++ b/plugins/modules/ibm_en_topic.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_en_topic' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + description: + description: + - Description of the topic. + required: False + type: str sources: description: - List of sources. @@ -38,11 +43,6 @@ - (Required for new resource) Name of the topic. required: True type: str - description: - description: - - Description of the topic. - required: False - 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', 'sources', 'instance_guid', 'name', - 'description', ] # 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( + description=dict( + required=False, + type='str'), sources=dict( required=False, elements='', @@ -129,9 +132,6 @@ name=dict( required=False, type='str'), - description=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 5be0560aa..083b0caf6 100644 --- a/plugins/modules/ibm_en_topic_info.py +++ b/plugins/modules/ibm_en_topic_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_en_topic' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_en_topic', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 feef4b167..251103613 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 e67efd7f5..a967164d4 100644 --- a/plugins/modules/ibm_enterprise.py +++ b/plugins/modules/ibm_enterprise.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_enterprise' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: + primary_contact_iam_id: description: - - (Required for new resource) The name of the enterprise. This field must have 3 - 60 characters. + - (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: @@ -37,9 +37,9 @@ - (Required for new resource) The ID of the account that is used to create the enterprise. required: True type: str - primary_contact_iam_id: + name: 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 name of the enterprise. This field must have 3 - 60 characters. required: True type: str id: @@ -88,17 +88,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), - ('source_account_id', 'str'), ('primary_contact_iam_id', 'str'), + ('source_account_id', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', + 'primary_contact_iam_id', 'domain', 'source_account_id', - 'primary_contact_iam_id', + 'name', ] # Params for Data source @@ -115,7 +115,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( - name=dict( + primary_contact_iam_id=dict( required=False, type='str'), domain=dict( @@ -124,7 +124,7 @@ source_account_id=dict( required=False, type='str'), - primary_contact_iam_id=dict( + name=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.50.0', + ibm_provider_version='1.51.0', 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 3f1110770..cd2e9d06b 100644 --- a/plugins/modules/ibm_enterprise_account.py +++ b/plugins/modules/ibm_enterprise_account.py @@ -18,28 +18,23 @@ - Create, update or destroy an IBM Cloud 'ibm_enterprise_account' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - enterprise_account_id: - description: - - The enterprise account ID. - required: False - type: str account_id: description: - The source account id of account to be imported required: False type: str - parent: + name: description: - - (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 + - The name of the account. This field must have 3 - 60 characters. + required: False type: str - owner_iam_id: + enterprise_account_id: description: - - The IAM ID of the account owner, such as `IBMid-0123ABC`. The IAM ID must already exist. + - The enterprise account ID. required: False type: str enterprise_id: @@ -47,9 +42,14 @@ - The enterprise ID that the account is a part of. required: False type: str - name: + parent: description: - - The name of the account. This field must have 3 - 60 characters. + - (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 + owner_iam_id: + description: + - The IAM ID of the account owner, such as `IBMid-0123ABC`. The IAM ID must already exist. required: False type: str id: @@ -103,12 +103,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'enterprise_account_id', 'account_id', + 'name', + 'enterprise_account_id', + 'enterprise_id', 'parent', 'owner_iam_id', - 'enterprise_id', - 'name', ] # Params for Data source @@ -125,22 +125,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( - enterprise_account_id=dict( - required=False, - type='str'), account_id=dict( required=False, type='str'), - parent=dict( + name=dict( required=False, type='str'), - owner_iam_id=dict( + enterprise_account_id=dict( required=False, type='str'), enterprise_id=dict( required=False, type='str'), - name=dict( + parent=dict( + required=False, + type='str'), + owner_iam_id=dict( required=False, type='str'), id=dict( @@ -208,7 +208,7 @@ def run_module(): resource_type='ibm_enterprise_account', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 7919a9170..fce428d18 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 6b8c213b4..55584a7e2 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 c5b68e14a..fa2932efa 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 51caa5539..f6603e195 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 243fc1cb8..433f607a7 100644 --- a/plugins/modules/ibm_event_streams_schema.py +++ b/plugins/modules/ibm_event_streams_schema.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_event_streams_schema' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_event_streams_schema', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 c965f1821..46a30ac4e 100644 --- a/plugins/modules/ibm_event_streams_schema_info.py +++ b/plugins/modules/ibm_event_streams_schema_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_event_streams_schema' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_event_streams_schema', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 020c2c361..adeafc4d1 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - resource_instance_id: - description: - - (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 @@ -43,6 +38,11 @@ - The configuration parameters of a topic required: False type: dict + resource_instance_id: + description: + - (Required for new resource) The CRN of the Event Streams instance + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -89,27 +89,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('resource_instance_id', 'str'), ('name', 'str'), + ('resource_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_instance_id', 'name', 'partitions', 'config', + 'resource_instance_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('resource_instance_id', 'str'), ('name', 'str'), + ('resource_instance_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'resource_instance_id', 'name', + 'resource_instance_id', ] TL_CONFLICTS_MAP = { @@ -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( - resource_instance_id=dict( - required=False, - type='str'), name=dict( required=False, type='str'), @@ -131,6 +128,9 @@ config=dict( required=False, type='dict'), + resource_instance_id=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 270e7f9c3..af8ff3894 100644 --- a/plugins/modules/ibm_event_streams_topic_info.py +++ b/plugins/modules/ibm_event_streams_topic_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_event_streams_topic' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - resource_instance_id: + name: description: - - The CRN of the Event Streams instance + - The name of the topic required: True type: str - name: + resource_instance_id: description: - - The name of the topic + - The CRN of the Event Streams 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'), ('name', 'str'), + ('resource_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_instance_id', 'name', + '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( + name=dict( required=True, type='str'), - name=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_topic', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 0fbb5c087..68df72ee3 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 4f65df2eb..9625cc68f 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 1a185e1d2..fe33b6505 100644 --- a/plugins/modules/ibm_function_action.py +++ b/plugins/modules/ibm_function_action.py @@ -18,22 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_function_action' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - user_defined_annotations: - description: - - Annotation values in KEY VALUE format. - required: False - type: str - default: [] - user_defined_parameters: + name: description: - - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the action. - required: False + - (Required for new resource) Name of action. + required: True type: str - default: [] namespace: description: - (Required for new resource) IBM Cloud function namespace. @@ -45,22 +38,29 @@ required: False type: list elements: dict + publish: + description: + - Action visibilty. + required: False + type: bool exec: description: - (Required for new resource) Execution info required: True type: list elements: dict - name: + user_defined_annotations: description: - - (Required for new resource) Name of action. - required: True + - Annotation values in KEY VALUE format. + required: False type: str - publish: + default: [] + user_defined_parameters: description: - - Action visibilty. + - Parameters values in KEY VALUE format. Parameter bindings included in the context passed to the action. required: False - type: bool + type: str + default: [] id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -93,31 +93,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('name', 'str'), ('namespace', 'str'), ('exec', 'list'), - ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'user_defined_annotations', - 'user_defined_parameters', + 'name', 'namespace', 'limits', - 'exec', - 'name', 'publish', + 'exec', + 'user_defined_annotations', + 'user_defined_parameters', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('name', 'str'), ('namespace', 'str'), + ('name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'name', 'namespace', + 'name', ] TL_CONFLICTS_MAP = { @@ -127,10 +127,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( - user_defined_annotations=dict( - required=False, - type='str'), - user_defined_parameters=dict( + name=dict( required=False, type='str'), namespace=dict( @@ -140,16 +137,19 @@ required=False, elements='', type='list'), + publish=dict( + required=False, + type='bool'), exec=dict( required=False, elements='', type='list'), - name=dict( + user_defined_annotations=dict( required=False, type='str'), - publish=dict( + user_defined_parameters=dict( required=False, - type='bool'), + 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 8c2077260..945d2c9cb 100644 --- a/plugins/modules/ibm_function_action_info.py +++ b/plugins/modules/ibm_function_action_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_function_action' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: + namespace: description: - - Name of action. + - Name of the namespace. required: True type: str - namespace: + name: description: - - Name of the namespace. + - Name of action. required: True type: str function_namespace: @@ -50,14 +50,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('namespace', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'namespace', + 'name', ] @@ -68,10 +68,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( + namespace=dict( required=True, type='str'), - namespace=dict( + name=dict( required=True, type='str'), function_namespace=dict( @@ -98,7 +98,7 @@ def run_module(): resource_type='ibm_function_action', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 ef67f3212..695c73191 100644 --- a/plugins/modules/ibm_function_namespace.py +++ b/plugins/modules/ibm_function_namespace.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_function_namespace' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -160,7 +160,7 @@ def run_module(): resource_type='ibm_function_namespace', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 526b8969c..06577d286 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 6fe1961bd..9cbacecfd 100644 --- a/plugins/modules/ibm_function_package.py +++ b/plugins/modules/ibm_function_package.py @@ -18,21 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_function_package' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) Name of package. - required: True - 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: [] namespace: description: - (Required for new resource) IBM Cloud function namespace. @@ -50,6 +39,17 @@ required: False type: str default: [] + name: + description: + - (Required for new resource) Name of package. + required: True + 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: [] bind_package_name: description: - Name of package to be binded. @@ -87,17 +87,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('namespace', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'user_defined_parameters', 'namespace', 'publish', 'user_defined_annotations', + 'name', + 'user_defined_parameters', 'bind_package_name', ] @@ -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( - name=dict( - required=False, - type='str'), - user_defined_parameters=dict( - required=False, - type='str'), namespace=dict( required=False, type='str'), @@ -134,6 +128,12 @@ user_defined_annotations=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), + user_defined_parameters=dict( + required=False, + type='str'), bind_package_name=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 053433a20..f2edb2224 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 293e2da22..9006241c7 100644 --- a/plugins/modules/ibm_function_rule.py +++ b/plugins/modules/ibm_function_rule.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_function_rule' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - namespace: - description: - - (Required for new resource) IBM Cloud function namespace. - required: True - type: str name: description: - (Required for new resource) Name of rule. @@ -42,6 +37,11 @@ - (Required for new resource) Name of action. required: True type: str + namespace: + description: + - (Required for new resource) IBM Cloud function namespace. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -74,18 +74,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('namespace', 'str'), ('name', 'str'), ('trigger_name', 'str'), ('action_name', 'str'), + ('namespace', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'namespace', 'name', 'trigger_name', 'action_name', + 'namespace', ] # Params for Data source @@ -106,9 +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( - namespace=dict( - required=False, - type='str'), name=dict( required=False, type='str'), @@ -118,6 +115,9 @@ action_name=dict( required=False, type='str'), + namespace=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -173,7 +173,7 @@ def run_module(): resource_type='ibm_function_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 50f112b88..73795b7cd 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 d033483cf..60d297828 100644 --- a/plugins/modules/ibm_function_trigger.py +++ b/plugins/modules/ibm_function_trigger.py @@ -18,26 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_function_trigger' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - namespace: - description: - - (Required for new resource) IBM Cloud function namespace. - required: True - type: str name: description: - (Required for new resource) Name of Trigger. required: True type: str - feed: - description: - - Trigger feed - required: False - type: list - elements: dict user_defined_annotations: description: - Annotation values in KEY VALUE format. @@ -50,6 +39,17 @@ required: False type: str default: [] + namespace: + description: + - (Required for new resource) IBM Cloud function namespace. + required: True + type: str + feed: + description: + - Trigger feed + required: False + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -82,17 +82,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('namespace', 'str'), ('name', 'str'), + ('namespace', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'namespace', 'name', - 'feed', 'user_defined_annotations', 'user_defined_parameters', + 'namespace', + 'feed', ] # Params for Data source @@ -113,22 +113,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( - namespace=dict( - required=False, - type='str'), name=dict( required=False, type='str'), - feed=dict( - required=False, - elements='', - type='list'), user_defined_annotations=dict( required=False, type='str'), user_defined_parameters=dict( required=False, type='str'), + namespace=dict( + required=False, + type='str'), + feed=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_function_trigger', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 bf409f021..c75dd47d0 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 51c0f8335..59da68854 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 c9932300e..ecf447a03 100644 --- a/plugins/modules/ibm_hpcs.py +++ b/plugins/modules/ibm_hpcs.py @@ -18,78 +18,78 @@ - Create, update or destroy an IBM Cloud 'ibm_hpcs' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - tags: - description: - - None - required: False - type: list - elements: str - admins: - description: - - (Required for new resource) Crypto Unit Administrators - required: True - type: list - elements: dict name: description: - (Required for new resource) A name for the HPCS instance required: True type: str - resource_group_id: + revocation_threshold: description: - - The resource group id - required: False - type: str + - (Required for new resource) Revocation Threshold Value + required: True + type: int signature_server_url: description: - URL of signing service required: False type: str - plan: + signature_threshold: description: - - (Required for new resource) The plan type of the HPCS Instance + - (Required for new resource) Signature Threshold Value + required: True + type: int + admins: + description: + - (Required for new resource) Crypto Unit Administrators required: True + type: list + elements: dict + failover_units: + description: + - The number of failover crypto units for your service instance + required: False + type: int + service: + description: + - The name of the service offering `hs-crypto` + required: False type: str + default: hs-crypto service_endpoints: description: - Types of the service endpoints. Possible values are `public-and-private`, `private-only`. required: False type: str - 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 + tags: + description: + - None + required: False + type: list + elements: str location: description: - (Required for new resource) The location where the HPCS instance available required: True type: str - revocation_threshold: - description: - - (Required for new resource) Revocation Threshold Value - required: True - type: int - units: + plan: description: - - (Required for new resource) The number of operational crypto units for your service instance + - (Required for new resource) The plan type of the HPCS Instance required: True - type: int - service: - description: - - The name of the service offering `hs-crypto` - required: False type: str - default: hs-crypto - failover_units: + resource_group_id: description: - - The number of failover crypto units for your service instance + - The resource group id required: False - type: int + type: str 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 = [ - ('admins', 'list'), ('name', 'str'), - ('plan', 'str'), - ('signature_threshold', 'int'), - ('location', 'str'), ('revocation_threshold', 'int'), + ('signature_threshold', 'int'), + ('admins', 'list'), ('units', 'int'), + ('location', 'str'), + ('plan', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', - 'admins', 'name', - 'resource_group_id', + 'revocation_threshold', 'signature_server_url', - 'plan', - 'service_endpoints', 'signature_threshold', - 'location', - 'revocation_threshold', - 'units', - 'service', + 'admins', 'failover_units', + 'service', + 'service_endpoints', + 'units', + 'tags', + 'location', + 'plan', + 'resource_group_id', ] # Params for Data source @@ -169,9 +169,9 @@ TL_ALL_PARAMETERS_DS = [ 'name', - 'service', 'resource_group_id', 'location', + 'service', ] TL_CONFLICTS_MAP = { @@ -181,47 +181,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( - tags=dict( - required=False, - elements='', - type='list'), - admins=dict( - required=False, - elements='', - type='list'), name=dict( required=False, type='str'), - resource_group_id=dict( + revocation_threshold=dict( required=False, - type='str'), + type='int'), signature_server_url=dict( required=False, type='str'), - plan=dict( + signature_threshold=dict( required=False, - type='str'), - service_endpoints=dict( + type='int'), + admins=dict( required=False, - type='str'), - signature_threshold=dict( + elements='', + type='list'), + failover_units=dict( required=False, type='int'), - location=dict( + service=dict( required=False, type='str'), - revocation_threshold=dict( + service_endpoints=dict( required=False, - type='int'), + type='str'), units=dict( required=False, type='int'), - service=dict( + tags=dict( + required=False, + elements='', + type='list'), + location=dict( required=False, type='str'), - failover_units=dict( + plan=dict( required=False, - type='int'), + type='str'), + resource_group_id=dict( + required=False, + type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 bfaaf0e6b..b42b1f647 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -26,12 +26,6 @@ - Resource instance name for example, myobjectstorage required: True type: str - service: - description: - - The service type of the instance - required: False - type: str - default: hs-crypto resource_group_id: description: - The id of the resource group in which the instance is present @@ -42,6 +36,12 @@ - The location or the environment in which instance exists required: False type: str + service: + description: + - The service type of the instance + required: False + type: str + default: hs-crypto 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 = [ 'name', - 'service', 'resource_group_id', 'location', + 'service', ] @@ -97,15 +97,15 @@ name=dict( required=True, type='str'), - service=dict( - required=False, - type='str'), resource_group_id=dict( required=False, type='str'), location=dict( required=False, type='str'), + service=dict( + required=False, + 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.50.0', + ibm_provider_version='1.51.0', 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 95d78dca0..e27ea6250 100644 --- a/plugins/modules/ibm_hpcs_key_template.py +++ b/plugins/modules/ibm_hpcs_key_template.py @@ -18,27 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_hpcs_key_template' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - keystores: - description: - - (Required for new resource) An array describing the type and group of target keystores the managed key is to be installed in. - required: True - type: list - elements: dict - vault: - description: - - (Required for new resource) ID of the Vault where the entity is to be created in. - required: True - type: list - elements: dict - description: - description: - - Description of the key template. - required: False - type: str instance_id: description: - (Required for new resource) The ID of the UKO instance this resource exists in. @@ -54,17 +37,34 @@ - (Required for new resource) The UUID of the Vault in which the update is to take place. required: True type: str + vault: + description: + - (Required for new resource) ID of the Vault where the entity is to be created in. + required: True + type: list + elements: dict name: description: - (Required for new resource) Name of the template, it will be referenced when creating managed keys. required: True type: str + keystores: + description: + - (Required for new resource) An array describing the type and group of target keystores the managed key is to be installed in. + 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 + description: + description: + - Description of the key template. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -111,40 +111,40 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('keystores', 'list'), - ('vault', 'list'), ('instance_id', 'str'), ('region', 'str'), ('uko_vault', 'str'), + ('vault', 'list'), ('name', 'str'), + ('keystores', 'list'), ('key', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'keystores', - 'vault', - 'description', 'instance_id', 'region', 'uko_vault', + 'vault', 'name', + 'keystores', 'key', + 'description', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('uko_vault', 'str'), - ('region', 'str'), ('template_id', 'str'), ('instance_id', 'str'), + ('region', 'str'), + ('uko_vault', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'uko_vault', - 'region', 'template_id', 'instance_id', + 'region', + 'uko_vault', ] TL_CONFLICTS_MAP = { @@ -154,17 +154,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( - keystores=dict( - required=False, - elements='', - type='list'), - vault=dict( - required=False, - elements='', - type='list'), - description=dict( - required=False, - type='str'), instance_id=dict( required=False, type='str'), @@ -174,13 +163,24 @@ uko_vault=dict( required=False, type='str'), + vault=dict( + required=False, + elements='', + type='list'), name=dict( required=False, type='str'), + keystores=dict( + required=False, + elements='', + type='list'), key=dict( required=False, elements='', type='list'), + description=dict( + required=False, + type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 7832d2796..66883d759 100644 --- a/plugins/modules/ibm_hpcs_key_template_info.py +++ b/plugins/modules/ibm_hpcs_key_template_info.py @@ -17,28 +17,28 @@ description: - Retrieve an IBM Cloud 'ibm_hpcs_key_template' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - uko_vault: + template_id: description: - - The UUID of the Vault in which the update is to take place. + - UUID of the template. required: True type: str - 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 - template_id: + region: description: - - UUID of the template. + - The region of the UKO instance this resource exists in. required: True type: str - instance_id: + uko_vault: description: - - The ID 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 iaas_classic_username: @@ -74,18 +74,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('uko_vault', 'str'), - ('region', 'str'), ('template_id', 'str'), ('instance_id', 'str'), + ('region', 'str'), + ('uko_vault', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'uko_vault', - 'region', 'template_id', 'instance_id', + 'region', + 'uko_vault', ] @@ -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( - uko_vault=dict( + template_id=dict( required=True, type='str'), - region=dict( + instance_id=dict( required=True, type='str'), - template_id=dict( + region=dict( required=True, type='str'), - instance_id=dict( + uko_vault=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.50.0', + ibm_provider_version='1.51.0', 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 1ea323bb0..e52a868bf 100644 --- a/plugins/modules/ibm_hpcs_keystore.py +++ b/plugins/modules/ibm_hpcs_keystore.py @@ -18,74 +18,74 @@ - Create, update or destroy an IBM Cloud 'ibm_hpcs_keystore' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - 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 - aws_access_key_id: + azure_subscription_id: description: - - The access key id used for connecting to this instance of AWS KMS. + - Subscription ID in Azure. required: False type: str - azure_resource_group: + azure_environment: description: - - Resource group in Azure. + - Azure environment, usually 'Azure'. required: False type: str - aws_secret_access_key: + ibm_api_endpoint: description: - - The secret access key used for connecting to this instance of AWS KMS. + - API endpoint of the IBM Cloud keystore. required: False type: str - azure_service_name: + ibm_api_key: description: - - Service name of the key vault instance from the Azure portal. + - The IBM Cloud API key to be used for connecting to this IBM Cloud keystore. required: False 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_client_id: + type: str + instance_id: description: - - Azure service principal client ID. - required: False + - (Required for new resource) The ID of the UKO instance this resource exists in. + required: True type: str - ibm_iam_endpoint: + ibm_instance_id: description: - - Endpoint of the IAM service for this IBM Cloud keystore. + - The instance ID of the IBM Cloud keystore. required: False type: str - ibm_api_key: + description: description: - - The IBM Cloud API key to be used for connecting to this IBM Cloud keystore. + - Description of the keystore. required: False type: str - ibm_instance_id: + groups: description: - - The instance ID of the IBM Cloud keystore. + - List of groups that this keystore belongs to. required: False - type: str - type: + type: list + elements: str + aws_secret_access_key: description: - - (Required for new resource) Type of keystore. - required: True + - The secret access key used for connecting to this instance of AWS KMS. + required: False type: str - azure_location: + azure_service_principal_password: description: - - Location of the Azure Key Vault. + - Azure service principal password. required: False type: str - azure_subscription_id: + azure_tenant: description: - - Subscription ID in Azure. + - Azure tenant that the Key Vault is associated with,. required: False type: str ibm_variant: @@ -93,14 +93,19 @@ - Possible IBM Cloud KMS variants. required: False type: str - ibm_api_endpoint: + aws_access_key_id: description: - - API endpoint of the IBM Cloud keystore. + - The access key id used for connecting to this instance of AWS KMS. required: False type: str - azure_tenant: + aws_region: description: - - Azure tenant that the Key Vault is associated with,. + - AWS Region. + required: False + type: str + azure_service_principal_client_id: + description: + - Azure service principal client ID. required: False type: str ibm_key_ring: @@ -108,45 +113,40 @@ - The key ring of an IBM Cloud KMS Keystore. required: False type: str - vault: + region: description: - - (Required for new resource) Reference to a vault. + - (Required for new resource) The region of the UKO instance this resource exists in. required: True - type: list - elements: dict + type: str name: description: - Name of the target keystore. It can be changed in the future. required: False type: str - description: - description: - - Description of the keystore. - required: False - type: str - uko_vault: + type: description: - - (Required for new resource) The UUID of the Vault in which the update is to take place. + - (Required for new resource) Type of keystore. required: True type: str - aws_region: + azure_service_name: description: - - AWS Region. + - Service name of the key vault instance from the Azure portal. required: False type: str - azure_environment: + uko_vault: description: - - Azure environment, usually 'Azure'. - required: False + - (Required for new resource) The UUID of the Vault in which the update is to take place. + required: True type: str - instance_id: + vault: description: - - (Required for new resource) The ID of the UKO instance this resource exists in. + - (Required for new resource) Reference to a vault. required: True - type: str - azure_service_principal_password: + type: list + elements: dict + ibm_iam_endpoint: description: - - Azure service principal password. + - Endpoint of the IAM service for this IBM Cloud keystore. required: False type: str id: @@ -195,54 +195,54 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('instance_id', 'str'), ('region', 'str'), ('type', 'str'), - ('vault', 'list'), ('uko_vault', 'str'), - ('instance_id', 'str'), + ('vault', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'region', - 'aws_access_key_id', - 'azure_resource_group', - 'aws_secret_access_key', - 'azure_service_name', - 'groups', - 'azure_service_principal_client_id', - 'ibm_iam_endpoint', - 'ibm_api_key', - 'ibm_instance_id', - 'type', 'azure_location', 'azure_subscription_id', - 'ibm_variant', + 'azure_environment', 'ibm_api_endpoint', + 'ibm_api_key', + 'azure_resource_group', + 'instance_id', + 'ibm_instance_id', + 'description', + 'groups', + 'aws_secret_access_key', + 'azure_service_principal_password', 'azure_tenant', + 'ibm_variant', + 'aws_access_key_id', + 'aws_region', + 'azure_service_principal_client_id', 'ibm_key_ring', - 'vault', + 'region', 'name', - 'description', + 'type', + 'azure_service_name', 'uko_vault', - 'aws_region', - 'azure_environment', - 'instance_id', - 'azure_service_principal_password', + 'vault', + 'ibm_iam_endpoint', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ ('keystore_id', 'str'), - ('uko_vault', 'str'), ('instance_id', 'str'), + ('uko_vault', 'str'), ('region', 'str'), ] TL_ALL_PARAMETERS_DS = [ 'keystore_id', - 'uko_vault', 'instance_id', + 'uko_vault', 'region', ] @@ -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( - region=dict( + azure_location=dict( required=False, type='str'), - aws_access_key_id=dict( + azure_subscription_id=dict( required=False, type='str'), - azure_resource_group=dict( + azure_environment=dict( required=False, type='str'), - aws_secret_access_key=dict( + ibm_api_endpoint=dict( required=False, type='str'), - azure_service_name=dict( + ibm_api_key=dict( required=False, type='str'), - groups=dict( - required=False, - elements='', - type='list'), - azure_service_principal_client_id=dict( + azure_resource_group=dict( required=False, type='str'), - ibm_iam_endpoint=dict( + instance_id=dict( required=False, type='str'), - ibm_api_key=dict( + ibm_instance_id=dict( required=False, type='str'), - ibm_instance_id=dict( + description=dict( required=False, type='str'), - type=dict( + groups=dict( + required=False, + elements='', + type='list'), + aws_secret_access_key=dict( required=False, type='str'), - azure_location=dict( + azure_service_principal_password=dict( required=False, type='str'), - azure_subscription_id=dict( + azure_tenant=dict( required=False, type='str'), ibm_variant=dict( required=False, type='str'), - ibm_api_endpoint=dict( + aws_access_key_id=dict( required=False, type='str'), - azure_tenant=dict( + aws_region=dict( required=False, type='str'), - ibm_key_ring=dict( + azure_service_principal_client_id=dict( required=False, type='str'), - vault=dict( - required=False, - elements='', - type='list'), - name=dict( + ibm_key_ring=dict( required=False, type='str'), - description=dict( + region=dict( required=False, type='str'), - uko_vault=dict( + name=dict( required=False, type='str'), - aws_region=dict( + type=dict( required=False, type='str'), - azure_environment=dict( + azure_service_name=dict( required=False, type='str'), - instance_id=dict( + uko_vault=dict( required=False, type='str'), - azure_service_principal_password=dict( + vault=dict( + required=False, + elements='', + type='list'), + ibm_iam_endpoint=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 b7d4679ec..0605949fa 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -26,14 +26,14 @@ - UUID of the keystore. required: True type: str - uko_vault: + instance_id: description: - - The UUID of the Vault in which the update is to take place. + - The ID of the UKO instance this resource exists in. required: True type: str - instance_id: + uko_vault: description: - - The ID 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 region: @@ -75,16 +75,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('keystore_id', 'str'), - ('uko_vault', 'str'), ('instance_id', 'str'), + ('uko_vault', 'str'), ('region', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'keystore_id', - 'uko_vault', 'instance_id', + 'uko_vault', 'region', ] @@ -99,10 +99,10 @@ keystore_id=dict( required=True, type='str'), - uko_vault=dict( + instance_id=dict( required=True, type='str'), - instance_id=dict( + uko_vault=dict( required=True, type='str'), region=dict( @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_hpcs_keystore', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 2dc25de4a..53415cd45 100644 --- a/plugins/modules/ibm_hpcs_managed_key.py +++ b/plugins/modules/ibm_hpcs_managed_key.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_hpcs_managed_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -28,32 +28,37 @@ 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 + template_name: + description: + - Name of the key template to use when creating a key. + required: False + 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 - template_name: + state_: description: - - Name of the key template to use when creating a key. + - The state of the key. required: False type: str - tags: - description: - - Key-value pairs associated with the key. - required: False - type: list - elements: dict instance_id: description: - (Required for new resource) The ID of the UKO instance this resource exists in. @@ -64,11 +69,6 @@ - (Required for new resource) The UUID of the Vault in which the update is to take place. required: True type: str - description: - description: - - Description of the managed key. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -125,29 +125,29 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'vault', + 'tags', 'region', + 'template_name', 'label', + 'description', 'state_', - 'template_name', - 'tags', 'instance_id', 'uko_vault', - 'description', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('key_id', 'str'), - ('uko_vault', 'str'), - ('region', 'str'), ('instance_id', 'str'), + ('region', 'str'), + ('uko_vault', 'str'), + ('key_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'key_id', - 'uko_vault', - 'region', 'instance_id', + 'region', + 'uko_vault', + 'key_id', ] TL_CONFLICTS_MAP = { @@ -161,31 +161,31 @@ required=False, elements='', type='list'), + tags=dict( + required=False, + elements='', + type='list'), region=dict( required=False, type='str'), - label=dict( + template_name=dict( required=False, type='str'), - state_=dict( + label=dict( required=False, type='str'), - template_name=dict( + description=dict( required=False, type='str'), - tags=dict( + state_=dict( required=False, - elements='', - type='list'), + type='str'), instance_id=dict( required=False, type='str'), uko_vault=dict( required=False, type='str'), - description=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -251,7 +251,7 @@ def run_module(): resource_type='ibm_hpcs_managed_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 9915079d6..230f1bc4a 100644 --- a/plugins/modules/ibm_hpcs_managed_key_info.py +++ b/plugins/modules/ibm_hpcs_managed_key_info.py @@ -17,28 +17,28 @@ description: - Retrieve an IBM Cloud 'ibm_hpcs_managed_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - key_id: + instance_id: description: - - UUID of the key. + - The ID of the UKO instance this resource exists in. 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 - 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: + 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 = [ - ('key_id', 'str'), - ('uko_vault', 'str'), - ('region', 'str'), ('instance_id', 'str'), + ('region', 'str'), + ('uko_vault', 'str'), + ('key_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'key_id', - 'uko_vault', - 'region', 'instance_id', + 'region', + 'uko_vault', + 'key_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( - key_id=dict( + instance_id=dict( required=True, type='str'), - uko_vault=dict( + region=dict( required=True, type='str'), - region=dict( + uko_vault=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.50.0', + ibm_provider_version='1.51.0', 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 59f4b997e..e311b6870 100644 --- a/plugins/modules/ibm_hpcs_vault.py +++ b/plugins/modules/ibm_hpcs_vault.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_hpcs_vault' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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 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. @@ -37,11 +42,6 @@ - (Required for new resource) The ID of the UKO instance this resource exists in. required: True type: str - region: - description: - - (Required for new resource) The region of the UKO instance this resource exists in. - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -88,30 +88,30 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('region', 'str'), ('name', 'str'), ('instance_id', 'str'), - ('region', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'region', 'name', 'description', 'instance_id', - 'region', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ ('vault_id', 'str'), - ('instance_id', 'str'), ('region', 'str'), + ('instance_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ 'vault_id', - 'instance_id', 'region', + 'instance_id', ] TL_CONFLICTS_MAP = { @@ -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( + region=dict( + required=False, + type='str'), name=dict( required=False, type='str'), @@ -130,9 +133,6 @@ instance_id=dict( required=False, type='str'), - region=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -198,7 +198,7 @@ def run_module(): resource_type='ibm_hpcs_vault', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 6bf16a7c9..002b4b155 100644 --- a/plugins/modules/ibm_hpcs_vault_info.py +++ b/plugins/modules/ibm_hpcs_vault_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_hpcs_vault' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -26,14 +26,14 @@ - UUID of the vault. required: True type: str - instance_id: + region: description: - - The ID of the UKO instance this resource exists in. + - The region of the UKO instance this resource exists in. required: True type: str - 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 iaas_classic_username: @@ -70,15 +70,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('vault_id', 'str'), - ('instance_id', 'str'), ('region', 'str'), + ('instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'vault_id', - 'instance_id', 'region', + 'instance_id', ] @@ -92,10 +92,10 @@ vault_id=dict( required=True, type='str'), - instance_id=dict( + region=dict( required=True, type='str'), - region=dict( + instance_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_hpcs_vault', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 66bd651a3..33c85635a 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 c515ad8ac..b17a82b16 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 64f54bada..5bdebd96e 100644 --- a/plugins/modules/ibm_iam_access_group_dynamic_rule.py +++ b/plugins/modules/ibm_iam_access_group_dynamic_rule.py @@ -18,10 +18,21 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + identity_provider: + description: + - (Required for new resource) The realm name or identity proivider url + required: True + type: str + conditions: + description: + - (Required for new resource) conditions info + required: True + type: list + elements: dict access_group_id: description: - (Required for new resource) Unique identifier of the access group @@ -37,17 +48,6 @@ - (Required for new resource) The expiration in hours required: True type: int - identity_provider: - description: - - (Required for new resource) The realm name or identity proivider url - required: True - type: str - conditions: - description: - - (Required for new resource) conditions info - required: True - type: list - elements: dict 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 = [ + ('identity_provider', 'str'), + ('conditions', 'list'), ('access_group_id', 'str'), ('name', 'str'), ('expiration', 'int'), - ('identity_provider', 'str'), - ('conditions', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'identity_provider', + 'conditions', 'access_group_id', 'name', 'expiration', - 'identity_provider', - 'conditions', ] # Params for Data source @@ -124,6 +124,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( + identity_provider=dict( + required=False, + type='str'), + conditions=dict( + required=False, + elements='', + type='list'), access_group_id=dict( required=False, type='str'), @@ -133,13 +140,6 @@ expiration=dict( required=False, type='int'), - identity_provider=dict( - required=False, - type='str'), - conditions=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -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.50.0', + ibm_provider_version='1.51.0', 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 2cfe24e9a..c20b6723a 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 4a51953a3..f9b83d350 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 af82af87e..b08e0ba5e 100644 --- a/plugins/modules/ibm_iam_access_group_policy.py +++ b/plugins/modules/ibm_iam_access_group_policy.py @@ -18,45 +18,22 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_access_group_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - resource_attributes: - description: - - Set resource attributes. - required: False - type: list - elements: dict - transaction_id: - description: - - Set transactionID for debug - required: False - 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 account_management: description: - Give access to all account management services required: False type: bool default: False - tags: - description: - - None - required: False - type: list - elements: str resource_tags: description: - Set access management tags. @@ -73,6 +50,29 @@ - (Required for new resource) ID of access group required: True type: str + resources: + description: + - None + required: False + type: list + elements: dict + resource_attributes: + description: + - Set resource attributes. + required: False + type: list + elements: dict + tags: + description: + - None + required: False + type: list + elements: str + transaction_id: + description: + - Set transactionID for debug + required: False + type: 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', - 'transaction_id', 'roles', - 'resources', 'account_management', - 'tags', 'resource_tags', 'description', 'access_group_id', + 'resources', + 'resource_attributes', + 'tags', + 'transaction_id', ] # Params for Data source @@ -142,51 +142,51 @@ ] TL_ALL_PARAMETERS_DS = [ + 'access_group_id', 'sort', 'transaction_id', - 'access_group_id', ] TL_CONFLICTS_MAP = { - 'resource_attributes': ['resources', 'account_management'], - 'resources': ['account_management', 'resource_attributes'], 'account_management': ['resources', 'resource_attributes'], + 'resources': ['account_management', 'resource_attributes'], + 'resource_attributes': ['resources', 'account_management'], } # 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_attributes=dict( + roles=dict( required=False, elements='', type='list'), - transaction_id=dict( + account_management=dict( required=False, - type='str'), - roles=dict( + type='bool'), + resource_tags=dict( required=False, elements='', type='list'), + description=dict( + required=False, + type='str'), + access_group_id=dict( + required=False, + type='str'), resources=dict( required=False, elements='', type='list'), - account_management=dict( - required=False, - type='bool'), - tags=dict( + resource_attributes=dict( required=False, elements='', type='list'), - resource_tags=dict( + tags=dict( required=False, elements='', type='list'), - description=dict( - required=False, - type='str'), - access_group_id=dict( + transaction_id=dict( required=False, type='str'), id=dict( @@ -254,7 +254,7 @@ def run_module(): resource_type='ibm_iam_access_group_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 1bc24276e..3beeaf135 100644 --- a/plugins/modules/ibm_iam_access_group_policy_info.py +++ b/plugins/modules/ibm_iam_access_group_policy_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_iam_access_group_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + access_group_id: + description: + - ID of access group + required: True + type: str sort: description: - Sort query for policies @@ -31,11 +36,6 @@ - Set transactionID for debug required: False type: str - access_group_id: - description: - - ID of access group - required: True - 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 = [ + 'access_group_id', 'sort', 'transaction_id', - 'access_group_id', ] @@ -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( + access_group_id=dict( + required=True, + type='str'), sort=dict( required=False, type='str'), transaction_id=dict( required=False, type='str'), - access_group_id=dict( - required=True, - type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -130,7 +130,7 @@ def run_module(): resource_type='ibm_iam_access_group_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 1e572c775..f39f763eb 100644 --- a/plugins/modules/ibm_iam_account_settings.py +++ b/plugins/modules/ibm_iam_account_settings.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_account_settings' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + session_invalidation_in_seconds: + description: + - Defines the period of time in seconds in which a session will be invalidated due to inactivity. Valid values: * Any whole number between '900' and '7200' * NOT_SET - To unset account setting and use service default. + required: False + type: str allowed_ip_addresses: description: - Defines the IP addresses and subnets from which IAM tokens can be created for the account. @@ -32,11 +37,6 @@ - Defines the MFA trait for the account. Valid values: * NONE - No MFA trait set * TOTP - For all non-federated IBMId users * TOTP4ALL - For all users * LEVEL1 - Email-based MFA for all users * LEVEL2 - TOTP-based MFA for all users * LEVEL3 - U2F MFA for all users. required: False type: str - session_invalidation_in_seconds: - description: - - Defines the period of time in seconds in which a session will be invalidated due to inactivity. Valid values: * Any whole number between '900' and '7200' * NOT_SET - To unset account setting and use service default. - required: False - type: str system_refresh_token_expiration_in_seconds: description: - Defines the refresh token expiration in seconds. Valid values: * Any whole number between '900' and '2592000' * NOT_SET - To unset account setting and use service default. @@ -64,16 +64,6 @@ required: False type: list elements: dict - 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 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. @@ -85,6 +75,16 @@ required: False type: bool default: False + 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 + 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 system_access_token_expiration_in_seconds: description: - Defines the access token expiration in seconds. Valid values: * Any whole number between '900' and '3600' * NOT_SET - To unset account setting and use service default. @@ -140,18 +140,18 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'session_invalidation_in_seconds', 'allowed_ip_addresses', 'mfa', - 'session_invalidation_in_seconds', 'system_refresh_token_expiration_in_seconds', 'restrict_create_platform_apikey', 'entity_tag', 'if_match', 'user_mfa', - 'max_sessions_per_identity', - 'restrict_create_service_id', 'session_expiration_in_seconds', 'include_history', + 'restrict_create_service_id', + 'max_sessions_per_identity', 'system_access_token_expiration_in_seconds', ] @@ -170,13 +170,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( - allowed_ip_addresses=dict( + session_invalidation_in_seconds=dict( required=False, type='str'), - mfa=dict( + allowed_ip_addresses=dict( required=False, type='str'), - session_invalidation_in_seconds=dict( + mfa=dict( required=False, type='str'), system_refresh_token_expiration_in_seconds=dict( @@ -195,18 +195,18 @@ required=False, elements='', type='list'), - max_sessions_per_identity=dict( + session_expiration_in_seconds=dict( required=False, type='str'), + include_history=dict( + required=False, + type='bool'), restrict_create_service_id=dict( required=False, type='str'), - session_expiration_in_seconds=dict( + max_sessions_per_identity=dict( required=False, type='str'), - include_history=dict( - required=False, - type='bool'), system_access_token_expiration_in_seconds=dict( required=False, type='str'), @@ -275,7 +275,7 @@ def run_module(): resource_type='ibm_iam_account_settings', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -284,7 +284,7 @@ def run_module(): resource_type='ibm_iam_account_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 d5653e21e..ec77227b5 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 3aef4e523..7ab01583b 100644 --- a/plugins/modules/ibm_iam_api_key.py +++ b/plugins/modules/ibm_iam_api_key.py @@ -18,18 +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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: + description: description: - - (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 + - 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 - file: + apikey: description: - - File where api key is to be stored + - 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 entity_lock: @@ -38,21 +38,21 @@ required: False type: str default: false - 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 - apikey: + name: 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. - required: False + - (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 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: + - 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. @@ -104,12 +104,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'file', - 'entity_lock', 'description', 'apikey', + 'entity_lock', + 'name', 'store_value', + 'file', ] # Params for Data source @@ -128,24 +128,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( - name=dict( + description=dict( required=False, type='str'), - file=dict( + apikey=dict( required=False, type='str'), entity_lock=dict( required=False, type='str'), - description=dict( - required=False, - type='str'), - apikey=dict( + name=dict( required=False, type='str'), store_value=dict( required=False, type='bool'), + file=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -211,7 +211,7 @@ def run_module(): resource_type='ibm_iam_api_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 1616f5abb..82afa135d 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 be2234c17..9974db8a3 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 e6a197b6b..c2cf11975 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 cc68c3445..d2b79dfb5 100644 --- a/plugins/modules/ibm_iam_authorization_policy.py +++ b/plugins/modules/ibm_iam_authorization_policy.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -32,35 +32,29 @@ - The target service name required: False type: str - source_resource_instance_id: + target_resource_group_id: description: - - The source resource instance Id + - The target resource group Id required: False type: str - source_resource_group_id: + source_resource_type: description: - - The source resource group Id + - Resource type of source service required: False type: str - subject_attributes: - description: - - Set subject attributes. - required: False - type: list - elements: dict - description: + source_service_account: description: - - Description of the Policy + - Account GUID of source service required: False type: str - target_resource_instance_id: + source_service_name: description: - - The target resource instance Id + - The source service name required: False type: str - target_resource_group_id: + source_resource_instance_id: description: - - The target resource group Id + - The source resource instance Id required: False type: str target_resource_type: @@ -68,15 +62,14 @@ - Resource type of target service required: False type: str - roles: + target_resource_instance_id: description: - - (Required for new resource) Role names of the policy definition - required: True - type: list - elements: str - source_service_account: + - The target resource instance Id + required: False + type: str + source_resource_group_id: description: - - Account GUID of source service + - The source resource group Id required: False type: str resource_attributes: @@ -85,16 +78,23 @@ required: False type: list elements: dict - source_service_name: + description: description: - - The source service name + - Description of the Policy required: False type: str - source_resource_type: + roles: description: - - Resource type of source service + - (Required for new resource) Role names of the policy definition + required: True + type: list + elements: str + subject_attributes: + description: + - Set subject attributes. required: False - type: str + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -148,18 +148,18 @@ TL_ALL_PARAMETERS = [ 'transaction_id', 'target_service_name', + 'target_resource_group_id', + 'source_resource_type', + 'source_service_account', + 'source_service_name', 'source_resource_instance_id', + 'target_resource_type', + 'target_resource_instance_id', 'source_resource_group_id', - 'subject_attributes', + 'resource_attributes', 'description', - 'target_resource_instance_id', - 'target_resource_group_id', - 'target_resource_type', 'roles', - 'source_service_account', - 'resource_attributes', - 'source_service_name', - 'source_resource_type', + 'subject_attributes', ] # Params for Data source @@ -170,15 +170,15 @@ ] TL_CONFLICTS_MAP = { - 'source_resource_instance_id': ['subject_attributes'], - 'source_resource_group_id': ['subject_attributes'], - 'subject_attributes': ['source_resource_instance_id', 'source_resource_group_id', 'source_resource_type', 'source_service_account'], - 'target_resource_instance_id': ['resource_attributes'], 'target_resource_group_id': ['resource_attributes'], - 'target_resource_type': ['resource_attributes'], + 'source_resource_type': ['subject_attributes'], 'source_service_account': ['subject_attributes'], + 'source_resource_instance_id': ['subject_attributes'], + 'target_resource_type': ['resource_attributes'], + 'target_resource_instance_id': ['resource_attributes'], + 'source_resource_group_id': ['subject_attributes'], 'resource_attributes': ['target_resource_instance_id', 'target_resource_group_id', 'target_resource_type'], - 'source_resource_type': ['subject_attributes'], + 'subject_attributes': ['source_resource_instance_id', 'source_resource_group_id', 'source_resource_type', 'source_service_account'], } # define available arguments/parameters a user can pass to the module @@ -191,45 +191,45 @@ target_service_name=dict( required=False, type='str'), - source_resource_instance_id=dict( + target_resource_group_id=dict( required=False, type='str'), - source_resource_group_id=dict( + source_resource_type=dict( required=False, type='str'), - subject_attributes=dict( - required=False, - elements='', - type='list'), - description=dict( + source_service_account=dict( required=False, type='str'), - target_resource_instance_id=dict( + source_service_name=dict( required=False, type='str'), - target_resource_group_id=dict( + source_resource_instance_id=dict( required=False, type='str'), target_resource_type=dict( required=False, type='str'), - roles=dict( + target_resource_instance_id=dict( required=False, - elements='', - type='list'), - source_service_account=dict( + type='str'), + source_resource_group_id=dict( required=False, type='str'), resource_attributes=dict( required=False, elements='', type='list'), - source_service_name=dict( + description=dict( required=False, type='str'), - source_resource_type=dict( + roles=dict( required=False, - type='str'), + elements='', + type='list'), + subject_attributes=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -295,7 +295,7 @@ def run_module(): resource_type='ibm_iam_authorization_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 63fad8a6e..3c338882d 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 0cedf6d8c..24ed906c4 100644 --- a/plugins/modules/ibm_iam_custom_role.py +++ b/plugins/modules/ibm_iam_custom_role.py @@ -18,18 +18,24 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - display_name: + service: description: - - (Required for new resource) Display Name of the Custom Role + - (Required for new resource) The Service Name required: True type: str - name: + actions: description: - - (Required for new resource) The name of the custom Role + - (Required for new resource) The actions of the role + required: True + type: list + elements: str + display_name: + description: + - (Required for new resource) Display Name of the Custom Role required: True type: str description: @@ -37,17 +43,11 @@ - The description of the role required: False type: str - service: + name: description: - - (Required for new resource) The Service Name + - (Required for new resource) The 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 = [ - ('display_name', 'str'), - ('name', 'str'), ('service', 'str'), ('actions', 'list'), + ('display_name', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'display_name', - 'name', - 'description', 'service', 'actions', + 'display_name', + 'description', + 'name', ] # 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( - display_name=dict( + service=dict( required=False, type='str'), - name=dict( + actions=dict( + required=False, + elements='', + type='list'), + display_name=dict( required=False, type='str'), description=dict( required=False, type='str'), - service=dict( + 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.50.0', + ibm_provider_version='1.51.0', 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 823590c35..32b34c233 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 971b03350..a6df8f276 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 d953bd35c..b8264895d 100644 --- a/plugins/modules/ibm_iam_service_api_key.py +++ b/plugins/modules/ibm_iam_service_api_key.py @@ -18,20 +18,10 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) Name of the Service API key - required: True - type: str - description: - description: - - description of the API key - required: False - type: str iam_service_id: description: - (Required for new resource) The service iam_id that this API key authenticates @@ -47,6 +37,16 @@ - The API key cannot be changed if set to true required: False type: bool + name: + description: + - (Required for new resource) Name of the Service API key + required: True + type: str + description: + description: + - description of the API key + required: False + type: str store_value: description: - Boolean value deciding whether API key value is retrievable in the future @@ -103,17 +103,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('iam_service_id', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'description', 'iam_service_id', 'apikey', 'locked', + 'name', + 'description', 'store_value', 'file', ] @@ -132,12 +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( - name=dict( - required=False, - type='str'), - description=dict( - required=False, - type='str'), iam_service_id=dict( required=False, type='str'), @@ -147,6 +141,12 @@ locked=dict( required=False, type='bool'), + name=dict( + required=False, + type='str'), + description=dict( + required=False, + type='str'), store_value=dict( required=False, type='bool'), @@ -218,7 +218,7 @@ def run_module(): resource_type='ibm_iam_service_api_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 96f089d81..551d85467 100644 --- a/plugins/modules/ibm_iam_service_id.py +++ b/plugins/modules/ibm_iam_service_id.py @@ -18,10 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_service_id' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + tags: + description: + - None + required: False + type: list + elements: str name: description: - (Required for new resource) Name of the serviceID @@ -32,12 +38,6 @@ - Description of the serviceID 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. @@ -89,9 +89,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'tags', 'name', 'description', - 'tags', ] # Params for Data source @@ -110,16 +110,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'), description=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 0caef6f60..ec659488a 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 4f08709fb..ab30a1bba 100644 --- a/plugins/modules/ibm_iam_service_policy.py +++ b/plugins/modules/ibm_iam_service_policy.py @@ -18,10 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_service_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + iam_service_id: + description: + - UUID of ServiceID + required: False + type: str + roles: + description: + - (Required for new resource) Role names of the policy definition + required: True + type: list + elements: str resources: description: - None @@ -34,6 +45,16 @@ required: False type: list elements: dict + transaction_id: + description: + - Set transactionID for debug + required: False + type: str + iam_id: + description: + - IAM ID of ServiceID + required: False + type: str account_management: description: - Give access to all account management services @@ -52,32 +73,11 @@ required: False type: list elements: dict - iam_service_id: - description: - - UUID of ServiceID - required: False - type: str - iam_id: - description: - - IAM ID of ServiceID - required: False - type: str - roles: - description: - - (Required for new resource) Role names of the policy definition - required: True - type: list - elements: str description: description: - Description of the Policy required: False type: str - transaction_id: - description: - - Set transactionID for debug - required: False - type: str 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_service_id', + 'roles', 'resources', 'resource_attributes', + 'transaction_id', + 'iam_id', 'account_management', 'tags', 'resource_tags', - 'iam_service_id', - 'iam_id', - 'roles', 'description', - 'transaction_id', ] # Params for Data source @@ -162,6 +162,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( + iam_service_id=dict( + required=False, + type='str'), + roles=dict( + required=False, + elements='', + type='list'), resources=dict( required=False, elements='', @@ -170,6 +177,12 @@ required=False, elements='', type='list'), + transaction_id=dict( + required=False, + type='str'), + iam_id=dict( + required=False, + type='str'), account_management=dict( required=False, type='bool'), @@ -181,22 +194,9 @@ required=False, elements='', type='list'), - iam_service_id=dict( - required=False, - type='str'), - iam_id=dict( - required=False, - type='str'), - roles=dict( - required=False, - elements='', - type='list'), description=dict( required=False, type='str'), - transaction_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -262,7 +262,7 @@ def run_module(): resource_type='ibm_iam_service_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 70e3b61f7..1354fc2d6 100644 --- a/plugins/modules/ibm_iam_service_policy_info.py +++ b/plugins/modules/ibm_iam_service_policy_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_service_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -138,7 +138,7 @@ def run_module(): resource_type='ibm_iam_service_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 5af371823..4219c7c06 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 46462da9b..29a91f59c 100644 --- a/plugins/modules/ibm_iam_trusted_profile_claim_rule.py +++ b/plugins/modules/ibm_iam_trusted_profile_claim_rule.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -38,26 +38,26 @@ - Name of the claim rule to be created or updated. required: False type: str - profile_id: - description: - - (Required for new resource) ID of the trusted profile to create a claim rule. - required: True - 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 - 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 + profile_id: + description: + - (Required for new resource) ID of the trusted profile to create a claim rule. + required: True + 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 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -114,10 +114,10 @@ 'type', 'conditions', 'name', - 'profile_id', 'realm_name', - 'cr_type', 'expiration', + 'profile_id', + 'cr_type', ] # Params for Data source @@ -148,18 +148,18 @@ name=dict( required=False, type='str'), - profile_id=dict( + realm_name=dict( required=False, type='str'), - realm_name=dict( + expiration=dict( + required=False, + type='int'), + profile_id=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 e88b4a157..b41858a3d 100644 --- a/plugins/modules/ibm_iam_trusted_profile_claim_rule_info.py +++ b/plugins/modules/ibm_iam_trusted_profile_claim_rule_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_trusted_profile_claim_rule' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -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.50.0', + ibm_provider_version='1.51.0', 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 369c378e7..f30889059 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 e4cb7c3c9..926eae2dd 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 57c555506..3431361da 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 dcd8dcea9..c51cd69e2 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 3a4050e49..bb970b337 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 737bdd099..834f1611f 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - resources: + transaction_id: description: - - None + - Set transactionID for debug required: False - type: list - elements: dict - resource_attributes: + type: str + profile_id: description: - - Set resource attributes. + - 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: dict - resource_tags: + elements: str + resource_attributes: description: - - Set access management tags. + - Set resource attributes. required: False type: list elements: dict - transaction_id: - description: - - Set transactionID for debug - required: False - type: str - tags: + account_management: description: - - None + - Give access to all account management services required: False - type: list - elements: str + type: bool + default: False description: description: - Description of the Policy required: False type: str - profile_id: - description: - - UUID of Trusted Profile - required: False - type: str iam_id: description: - IAM ID of Trusted Profile required: False type: str - roles: + resources: description: - - (Required for new resource) Role names of the policy definition - required: True + - None + required: False + type: list + elements: dict + tags: + description: + - None + required: False type: list elements: str - account_management: + resource_tags: description: - - Give access to all account management services + - Set access management tags. required: False - type: bool - default: 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 = [ - 'resources', - 'resource_attributes', - 'resource_tags', 'transaction_id', - 'tags', - 'description', 'profile_id', - 'iam_id', 'roles', + 'resource_attributes', 'account_management', + 'description', + 'iam_id', + 'resources', + 'tags', + 'resource_tags', ] # Params for Data source @@ -146,57 +146,57 @@ ] TL_ALL_PARAMETERS_DS = [ + 'profile_id', 'iam_id', 'sort', 'transaction_id', - 'profile_id', ] TL_CONFLICTS_MAP = { - 'resources': ['account_management', 'resource_attributes'], 'resource_attributes': ['resources', 'account_management'], 'account_management': ['resources', 'resource_attributes'], + 'resources': ['account_management', '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( - resources=dict( + transaction_id=dict( required=False, - elements='', - type='list'), - resource_attributes=dict( + type='str'), + profile_id=dict( required=False, - elements='', - type='list'), - resource_tags=dict( + type='str'), + roles=dict( required=False, elements='', type='list'), - transaction_id=dict( - required=False, - type='str'), - tags=dict( + resource_attributes=dict( required=False, elements='', type='list'), - description=dict( + account_management=dict( required=False, - type='str'), - profile_id=dict( + type='bool'), + description=dict( required=False, type='str'), iam_id=dict( required=False, type='str'), - roles=dict( + resources=dict( required=False, elements='', type='list'), - account_management=dict( + tags=dict( required=False, - type='bool'), + elements='', + type='list'), + resource_tags=dict( + required=False, + elements='', + type='list'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 7ac97ecdd..b8200ba30 100644 --- a/plugins/modules/ibm_iam_trusted_profile_policy_info.py +++ b/plugins/modules/ibm_iam_trusted_profile_policy_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_iam_trusted_profile_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + profile_id: + description: + - UUID of trusted profile + required: False + type: str iam_id: description: - IAM ID of trusted profile @@ -36,11 +41,6 @@ - Set transactionID for debug required: False type: str - profile_id: - description: - - UUID of trusted profile - 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 = [ + 'profile_id', 'iam_id', 'sort', 'transaction_id', - 'profile_id', ] @@ -92,6 +92,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( + profile_id=dict( + required=False, + type='str'), iam_id=dict( required=False, type='str'), @@ -101,9 +104,6 @@ transaction_id=dict( required=False, type='str'), - profile_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_trusted_profile_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 4fc9fbfb6..431ac1047 100644 --- a/plugins/modules/ibm_iam_trusted_profiles_info.py +++ b/plugins/modules/ibm_iam_trusted_profiles_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_iam_trusted_profiles' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -129,7 +129,7 @@ def run_module(): resource_type='ibm_iam_trusted_profiles', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 3ebbc4825..8feaeb23c 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - 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 - required: True - type: list - elements: str access_groups: description: - access group ids to associate the inviting user @@ -52,6 +40,18 @@ 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 + required: True + type: list + elements: str 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 = [ - 'cloud_foundry_roles', - 'users', 'access_groups', 'iam_policy', 'classic_infra_roles', + 'cloud_foundry_roles', + 'users', ] # 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( - 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'), - classic_infra_roles=dict( + users=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.50.0', + ibm_provider_version='1.51.0', 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 5e635d872..ba1a31e31 100644 --- a/plugins/modules/ibm_iam_user_policy.py +++ b/plugins/modules/ibm_iam_user_policy.py @@ -18,34 +18,28 @@ - Create, update or destroy an IBM Cloud 'ibm_iam_user_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - resource_tags: + resources: description: - - Set access management tags. + - None required: False type: list elements: dict - roles: - description: - - (Required for new resource) Role names of the policy definition - required: True - type: list - elements: str - resource_attributes: + account_management: description: - - Set resource attributes. + - Give access to all account management services required: False - type: list - elements: dict - tags: + type: bool + default: False + resource_tags: description: - - None + - Set access management tags. required: False type: list - elements: str + elements: dict description: description: - Description of the Policy @@ -61,18 +55,24 @@ - (Required for new resource) The ibm id or email of user required: True type: str - resources: + roles: description: - - None + - (Required for new resource) Role names of the policy definition + required: True + type: list + elements: str + resource_attributes: + description: + - Set resource attributes. required: False type: list elements: dict - account_management: + tags: description: - - Give access to all account management services + - None required: False - type: bool - default: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -119,21 +119,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('roles', 'list'), ('ibm_id', 'str'), + ('roles', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'resources', + 'account_management', 'resource_tags', - 'roles', - 'resource_attributes', - 'tags', 'description', 'transaction_id', 'ibm_id', - 'resources', - 'account_management', + 'roles', + 'resource_attributes', + 'tags', ] # Params for Data source @@ -148,28 +148,23 @@ ] TL_CONFLICTS_MAP = { - 'resource_attributes': ['resources', 'account_management'], 'resources': ['account_management', 'resource_attributes'], 'account_management': ['resources', 'resource_attributes'], + 'resource_attributes': ['resources', 'account_management'], } # 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_tags=dict( - required=False, - elements='', - type='list'), - roles=dict( + resources=dict( required=False, elements='', type='list'), - resource_attributes=dict( + account_management=dict( required=False, - elements='', - type='list'), - tags=dict( + type='bool'), + resource_tags=dict( required=False, elements='', type='list'), @@ -182,13 +177,18 @@ ibm_id=dict( required=False, type='str'), - resources=dict( + roles=dict( required=False, elements='', type='list'), - account_management=dict( + resource_attributes=dict( required=False, - type='bool'), + elements='', + type='list'), + tags=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -254,7 +254,7 @@ def run_module(): resource_type='ibm_iam_user_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 392f026de..9f9ab7102 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 d911a9649..d3c008a07 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 b136f6afa..4badbf362 100644 --- a/plugins/modules/ibm_iam_user_settings.py +++ b/plugins/modules/ibm_iam_user_settings.py @@ -18,21 +18,21 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + iam_id: + description: + - (Required for new resource) User's IAM ID or or email of user + required: True + type: str allowed_ip_addresses: description: - List of allowed IPv4 or IPv6 addresses required: False type: list elements: str - iam_id: - description: - - (Required for new resource) User's IAM ID or or email of user - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,8 +84,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'allowed_ip_addresses', 'iam_id', + 'allowed_ip_addresses', ] # Params for Data source @@ -102,13 +102,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( + iam_id=dict( + required=False, + type='str'), allowed_ip_addresses=dict( required=False, elements='', type='list'), - iam_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -174,7 +174,7 @@ def run_module(): resource_type='ibm_iam_user_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 49f760dd2..497888c2c 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 e25186b1a..7ffeee7ee 100644 --- a/plugins/modules/ibm_ipsec_vpn.py +++ b/plugins/modules/ibm_ipsec_vpn.py @@ -18,24 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_ipsec_vpn' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - phase_two: - description: - - None - required: False - type: list - elements: dict - preshared_key: + customer_peer_ip: description: - - Preshared Key data + - Customer Peer IP Address required: False type: str - remote_subnet_id: + internal_subnet_id: description: - - Remote subnet ID value + - Internal subnet ID value required: False type: int remote_subnet: @@ -44,6 +38,11 @@ required: False type: list elements: dict + service_subnet_id: + description: + - Service subnet ID value + required: False + type: int datacenter: description: - (Required for new resource) Datacenter name @@ -61,19 +60,20 @@ required: False type: list elements: dict - customer_peer_ip: + phase_two: description: - - Customer Peer IP Address + - None required: False - type: str - internal_subnet_id: + type: list + elements: dict + preshared_key: description: - - Internal subnet ID value + - Preshared Key data required: False - type: int - service_subnet_id: + type: str + remote_subnet_id: description: - - Service subnet ID value + - Remote subnet ID value required: False type: int id: @@ -127,16 +127,16 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'phase_two', - 'preshared_key', - 'remote_subnet_id', + 'customer_peer_ip', + 'internal_subnet_id', 'remote_subnet', + 'service_subnet_id', 'datacenter', 'phase_one', 'address_translation', - 'customer_peer_ip', - 'internal_subnet_id', - 'service_subnet_id', + 'phase_two', + 'preshared_key', + 'remote_subnet_id', ] # Params for Data source @@ -147,28 +147,27 @@ ] 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( - phase_two=dict( - required=False, - elements='', - type='list'), - preshared_key=dict( + customer_peer_ip=dict( required=False, type='str'), - remote_subnet_id=dict( + internal_subnet_id=dict( required=False, type='int'), remote_subnet=dict( required=False, elements='', type='list'), + service_subnet_id=dict( + required=False, + type='int'), datacenter=dict( required=False, type='str'), @@ -180,13 +179,14 @@ required=False, elements='', type='list'), - customer_peer_ip=dict( + phase_two=dict( required=False, - type='str'), - internal_subnet_id=dict( + elements='', + type='list'), + preshared_key=dict( required=False, - type='int'), - service_subnet_id=dict( + type='str'), + remote_subnet_id=dict( required=False, type='int'), id=dict( @@ -254,7 +254,7 @@ def run_module(): resource_type='ibm_ipsec_vpn', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 ce7af1efa..b4770a150 100644 --- a/plugins/modules/ibm_is_backup_policies_info.py +++ b/plugins/modules/ibm_is_backup_policies_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_backup_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_is_backup_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 15c58e09b..e676ca993 100644 --- a/plugins/modules/ibm_is_backup_policy.py +++ b/plugins/modules/ibm_is_backup_policy.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_is_backup_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + 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 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. @@ -34,11 +39,6 @@ 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. @@ -90,15 +90,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('match_user_tags', 'list'), ('name', 'str'), + ('match_user_tags', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'match_resource_types', 'match_user_tags', - 'name', 'resource_group', ] @@ -118,6 +118,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'), match_resource_types=dict( required=False, elements='', @@ -126,9 +129,6 @@ required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), resource_group=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 ac45b2f30..d3fb66516 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_backup_policy_job_info.py b/plugins/modules/ibm_is_backup_policy_job_info.py index 1b82894ec..6f78f895d 100644 --- a/plugins/modules/ibm_is_backup_policy_job_info.py +++ b/plugins/modules/ibm_is_backup_policy_job_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_backup_policy_job' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_backup_policy_job', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_backup_policy_jobs_info.py b/plugins/modules/ibm_is_backup_policy_jobs_info.py index cb3a99d52..e0a32c2d4 100644 --- a/plugins/modules/ibm_is_backup_policy_jobs_info.py +++ b/plugins/modules/ibm_is_backup_policy_jobs_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_is_backup_policy_jobs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - backup_policy_id: - description: - - The backup policy identifier. - required: True - type: str source_id: description: - Filters the collection to backup policy jobs with a source with the specified identifier @@ -53,6 +48,11 @@ - Filters the collection to backup policy jobs with the specified status required: False type: str + backup_policy_id: + description: + - The backup policy identifier. + required: True + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -91,12 +91,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'backup_policy_id', 'source_id', 'target_snapshots_id', 'target_snapshots_crn', 'backup_policy_plan_id', 'status', + 'backup_policy_id', ] @@ -109,9 +109,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( - backup_policy_id=dict( - required=True, - type='str'), source_id=dict( required=False, type='str'), @@ -129,6 +126,9 @@ status=dict( required=False, type='str'), + backup_policy_id=dict( + required=True, + type='str'), generation=dict( type='int', required=False, @@ -175,7 +175,7 @@ def run_module(): resource_type='ibm_is_backup_policy_jobs', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 e012a62f1..7f5973f36 100644 --- a/plugins/modules/ibm_is_backup_policy_plan.py +++ b/plugins/modules/ibm_is_backup_policy_plan.py @@ -18,16 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_is_backup_policy_plan' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - attach_user_tags: + name: description: - - User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached. + - 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: list - elements: str + type: str + copy_user_tags: + description: + - Indicates whether to copy the source's user tags to the created backups (snapshots). + required: False + type: bool + default: True cron_spec: description: - (Required for new resource) The cron specification for the backup schedule. @@ -38,28 +43,29 @@ - Indicates whether the plan is active. required: False type: bool - name: - 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. - required: False - type: str backup_policy_id: description: - (Required for new resource) The backup policy identifier. required: True type: str - copy_user_tags: + attach_user_tags: description: - - Indicates whether to copy the source's user tags to the created backups (snapshots). + - User tags to attach to each backup (snapshot) created by this plan. If unspecified, no user tags will be attached. required: False - type: bool - default: True + type: list + elements: str deletion_trigger: description: - None required: False type: list elements: dict + clone_policy: + description: + - None + required: False + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -112,13 +118,14 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'attach_user_tags', + 'name', + 'copy_user_tags', 'cron_spec', 'active', - 'name', 'backup_policy_id', - 'copy_user_tags', + 'attach_user_tags', 'deletion_trigger', + 'clone_policy', ] # Params for Data source @@ -127,9 +134,9 @@ ] TL_ALL_PARAMETERS_DS = [ - 'backup_policy_id', 'identifier', 'name', + 'backup_policy_id', ] TL_CONFLICTS_MAP = { @@ -139,29 +146,33 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - attach_user_tags=dict( + name=dict( required=False, - elements='', - type='list'), + type='str'), + copy_user_tags=dict( + required=False, + type='bool'), cron_spec=dict( required=False, type='str'), active=dict( required=False, type='bool'), - name=dict( - required=False, - type='str'), backup_policy_id=dict( required=False, type='str'), - copy_user_tags=dict( + attach_user_tags=dict( required=False, - type='bool'), + elements='', + type='list'), deletion_trigger=dict( required=False, elements='', type='list'), + clone_policy=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -239,7 +250,7 @@ def run_module(): resource_type='ibm_is_backup_policy_plan', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -248,7 +259,7 @@ def run_module(): resource_type='ibm_is_backup_policy_plan', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 049a3a7cb..1ec977eb6 100644 --- a/plugins/modules/ibm_is_backup_policy_plan_info.py +++ b/plugins/modules/ibm_is_backup_policy_plan_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_is_backup_policy_plan' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - backup_policy_id: - description: - - The backup policy identifier. - required: True - type: str identifier: description: - The backup policy plan identifier. @@ -36,6 +31,11 @@ - The unique user-defined name for this backup policy plan. required: False type: str + backup_policy_id: + description: + - The backup policy identifier. + required: True + 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 = [ - 'backup_policy_id', 'identifier', 'name', + 'backup_policy_id', ] @@ -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( - backup_policy_id=dict( - required=True, - type='str'), identifier=dict( required=False, type='str'), name=dict( required=False, type='str'), + backup_policy_id=dict( + required=True, + type='str'), generation=dict( type='int', required=False, @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_is_backup_policy_plan', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 824390a06..2153e6fc6 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 8627ce115..64d3f3883 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -28,21 +28,18 @@ required: True type: list elements: dict - profile: - description: - - (Required for new resource) profile name - required: True - type: str - name: + network_interfaces: description: - - Bare metal server name + - None required: False - type: str - action: + type: list + elements: dict + keys: description: - - This restart/start/stops a bare metal server. - required: False - type: str + - (Required for new resource) SSH key Ids for the bare metal server + required: True + type: list + elements: str image: description: - (Required for new resource) image id @@ -53,51 +50,54 @@ - User data given for the bare metal server required: False type: str - vpc: + name: description: - - The VPC the bare metal server is to be a part of + - Bare metal server name required: False type: str - network_interfaces: + action: description: - - None + - This restart/start/stops a bare metal server. + required: False + type: str + tags: + description: + - Tags for the Bare metal server required: False type: list - elements: dict + elements: str zone: description: - (Required for new resource) Zone name required: True type: str - tags: + vpc: description: - - Tags for the Bare metal server + - The VPC the bare metal server is to be a part of required: False - type: list - elements: str - access_tags: + type: str + profile: description: - - List of access management tags + - (Required for new resource) profile name + required: True + type: str + resource_group: + description: + - Resource group name required: False - type: list - elements: str + type: str delete_type: description: - Enables stopping type of the bare metal server before deleting required: False type: str default: hard - keys: + access_tags: description: - - (Required for new resource) SSH key Ids for the bare metal server - required: True + - List of access management tags + required: False type: list elements: str - resource_group: - description: - - Resource group name - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -145,28 +145,28 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('primary_network_interface', 'list'), - ('profile', 'str'), + ('keys', 'list'), ('image', 'str'), ('zone', 'str'), - ('keys', 'list'), + ('profile', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'primary_network_interface', - 'profile', - 'name', - 'action', + 'network_interfaces', + 'keys', 'image', 'user_data', - 'vpc', - 'network_interfaces', - 'zone', + 'name', + 'action', 'tags', - 'access_tags', - 'delete_type', - 'keys', + 'zone', + 'vpc', + 'profile', 'resource_group', + 'delete_type', + 'access_tags', ] # Params for Data source @@ -174,8 +174,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'identifier', 'name', + 'identifier', ] TL_CONFLICTS_MAP = { @@ -189,49 +189,49 @@ required=False, elements='', type='list'), - profile=dict( - required=False, - type='str'), - name=dict( + network_interfaces=dict( required=False, - type='str'), - action=dict( + elements='', + type='list'), + keys=dict( required=False, - type='str'), + elements='', + type='list'), image=dict( required=False, type='str'), user_data=dict( required=False, type='str'), - vpc=dict( + name=dict( required=False, type='str'), - network_interfaces=dict( + action=dict( + required=False, + type='str'), + tags=dict( required=False, elements='', type='list'), zone=dict( required=False, type='str'), - tags=dict( + vpc=dict( required=False, - elements='', - type='list'), - access_tags=dict( + type='str'), + profile=dict( required=False, - elements='', - type='list'), + type='str'), + resource_group=dict( + required=False, + type='str'), delete_type=dict( required=False, type='str'), - keys=dict( + access_tags=dict( required=False, elements='', type='list'), - resource_group=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -309,7 +309,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -318,7 +318,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 9ef9fc537..e75925170 100644 --- a/plugins/modules/ibm_is_bare_metal_server_action.py +++ b/plugins/modules/ibm_is_bare_metal_server_action.py @@ -18,10 +18,15 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + action: + description: + - (Required for new resource) This restart/start/stops a bare metal server. + required: True + type: str bare_metal_server: description: - (Required for new resource) Bare metal server identifier @@ -33,11 +38,6 @@ required: False type: str default: hard - action: - description: - - (Required for new resource) This restart/start/stops a bare metal server. - 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 = [ - ('bare_metal_server', 'str'), ('action', 'str'), + ('bare_metal_server', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'action', 'bare_metal_server', 'stop_type', - 'action', ] # 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( - bare_metal_server=dict( + action=dict( required=False, type='str'), - stop_type=dict( + bare_metal_server=dict( required=False, type='str'), - action=dict( + stop_type=dict( required=False, type='str'), id=dict( @@ -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.50.0', + ibm_provider_version='1.51.0', 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 0a1404981..f1d58cb30 100644 --- a/plugins/modules/ibm_is_bare_metal_server_disk.py +++ b/plugins/modules/ibm_is_bare_metal_server_disk.py @@ -18,15 +18,10 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - bare_metal_server: - description: - - (Required for new resource) Bare metal server identifier - required: True - type: str disk: description: - (Required for new resource) Bare metal server disk identifier @@ -37,6 +32,11 @@ - Bare metal server disk name required: False type: str + bare_metal_server: + description: + - (Required for new resource) Bare metal server identifier + 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 = [ - ('bare_metal_server', 'str'), ('disk', 'str'), + ('bare_metal_server', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'bare_metal_server', 'disk', 'name', + 'bare_metal_server', ] # Params for Data source @@ -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( - bare_metal_server=dict( - required=False, - type='str'), disk=dict( required=False, type='str'), name=dict( required=False, type='str'), + bare_metal_server=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 7e5902d29..3bbe31840 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 40350b247..bf2e670e6 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 ae763f1b1..ac6846ddb 100644 --- a/plugins/modules/ibm_is_bare_metal_server_info.py +++ b/plugins/modules/ibm_is_bare_metal_server_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - identifier: + name: description: - - None + - Bare metal server name required: False type: str - name: + identifier: description: - - Bare metal server name + - None required: False type: str generation: @@ -68,24 +68,24 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'identifier', 'name', + 'identifier', ] TL_CONFLICTS_MAP = { - 'identifier': ['name'], 'name': ['identifier'], + 'identifier': ['name'], } # 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( - identifier=dict( + name=dict( required=False, type='str'), - name=dict( + identifier=dict( required=False, type='str'), generation=dict( @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 8e96fb54e..2bfa29feb 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 6afb5e729..3129a8cb2 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,25 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - 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 - allowed_vlans: + vlan: description: - - Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. + - Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface required: False - type: list - elements: int + type: int bare_metal_server: description: - (Required for new resource) Bare metal server identifier required: True type: str - hard_stop: - description: - - Only used for PCI network interfaces, whether to hard/immediately stop server - required: False - type: bool - default: True - name: + interface_type: description: - - The user-defined name for this network interface + - The network interface type: [ pci, vlan, hipersocket ] 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 primary_ip: description: - title: IPv4, The IP address. @@ -66,21 +49,43 @@ required: False type: list elements: str + allowed_vlans: + description: + - Indicates what VLAN IDs (for VLAN type only) can use this physical (PCI type) interface. A given VLAN can only be in the allowed_vlans array for one PCI type adapter per bare metal server. + required: False + type: list + elements: 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 + 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 + allow_interface_to_float: + 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. + required: False + type: bool subnet: description: - (Required for new resource) The id of the associated subnet required: True type: str - allow_interface_to_float: + hard_stop: 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. + - Only used for PCI network interfaces, whether to hard/immediately stop server required: False type: bool - vlan: + default: True + name: description: - - Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface + - The user-defined name for this network interface required: False - type: int + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -133,59 +138,50 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'allow_ip_spoofing', - 'allowed_vlans', + 'vlan', 'bare_metal_server', - 'hard_stop', - 'name', - 'enable_infrastructure_nat', + 'interface_type', 'primary_ip', 'security_groups', - 'subnet', + 'allowed_vlans', + 'allow_ip_spoofing', + 'enable_infrastructure_nat', 'allow_interface_to_float', - 'vlan', + 'subnet', + 'hard_stop', + 'name', ] # 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 = { + 'vlan': ['allowed_vlans'], 'allowed_vlans': ['allow_interface_to_float', 'vlan'], 'allow_interface_to_float': ['allowed_vlans'], - 'vlan': ['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( - allow_ip_spoofing=dict( - required=False, - type='bool'), - allowed_vlans=dict( + vlan=dict( required=False, - elements='', - type='list'), + type='int'), bare_metal_server=dict( required=False, type='str'), - hard_stop=dict( - required=False, - type='bool'), - name=dict( + interface_type=dict( required=False, type='str'), - enable_infrastructure_nat=dict( - required=False, - type='bool'), primary_ip=dict( required=False, elements='', @@ -194,15 +190,28 @@ required=False, elements='', type='list'), + allowed_vlans=dict( + required=False, + elements='', + type='list'), + allow_ip_spoofing=dict( + required=False, + type='bool'), + enable_infrastructure_nat=dict( + required=False, + type='bool'), + allow_interface_to_float=dict( + required=False, + type='bool'), subnet=dict( required=False, type='str'), - allow_interface_to_float=dict( + hard_stop=dict( required=False, type='bool'), - vlan=dict( + name=dict( required=False, - type='int'), + type='str'), id=dict( required=False, type='str'), @@ -280,7 +289,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -289,7 +298,7 @@ def run_module(): resource_type='ibm_is_bare_metal_server_network_interface', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 7b2b019f6..da444e749 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,15 +18,31 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + security_groups: + description: + - Collection of security groups ids + required: False + type: list + elements: 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 name: description: - The user-defined name for this network interface required: False 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: bool primary_ip: description: - title: IPv4, The IP address. @@ -38,22 +54,6 @@ - (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: bool - 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 - security_groups: - description: - - Collection of security groups ids - required: False - type: list - elements: str vlan: description: - (Required for new resource) Indicates the 802.1Q VLAN ID tag that must be used for all traffic on this interface @@ -117,12 +117,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'security_groups', + 'enable_infrastructure_nat', 'name', + 'allow_ip_spoofing', 'primary_ip', 'subnet', - 'allow_ip_spoofing', - 'enable_infrastructure_nat', - 'security_groups', 'vlan', 'bare_metal_server', ] @@ -141,26 +141,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'), - primary_ip=dict( + security_groups=dict( required=False, elements='', type='list'), - subnet=dict( + enable_infrastructure_nat=dict( + required=False, + type='bool'), + name=dict( required=False, type='str'), allow_ip_spoofing=dict( required=False, type='bool'), - enable_infrastructure_nat=dict( - required=False, - type='bool'), - security_groups=dict( + primary_ip=dict( required=False, elements='', type='list'), + subnet=dict( + required=False, + type='str'), vlan=dict( required=False, type='int'), @@ -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.50.0', + ibm_provider_version='1.51.0', 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 95127d15b..96ea51f86 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + network_interface: + description: + - (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 @@ -32,11 +37,6 @@ - (Required for new resource) Bare metal server identifier required: True type: str - network_interface: - description: - - (Required for new resource) Bare metal server network interface identifier - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -83,29 +83,29 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('network_interface', 'str'), ('floating_ip', 'str'), ('bare_metal_server', 'str'), - ('network_interface', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'network_interface', 'floating_ip', 'bare_metal_server', - 'network_interface', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('floating_ip', 'str'), - ('bare_metal_server', 'str'), ('network_interface', 'str'), + ('bare_metal_server', 'str'), + ('floating_ip', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'floating_ip', - 'bare_metal_server', 'network_interface', + 'bare_metal_server', + 'floating_ip', ] 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( - floating_ip=dict( + network_interface=dict( required=False, type='str'), - bare_metal_server=dict( + floating_ip=dict( required=False, type='str'), - network_interface=dict( + bare_metal_server=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 eb2a75db2..bf25aec02 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,13 +17,13 @@ description: - Retrieve an IBM Cloud 'ibm_is_bare_metal_server_network_interface_floating_ip' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - floating_ip: + network_interface: description: - - The floating ip identifier of the network interface associated with the bare metal server + - The network interface identifier of bare metal server required: True type: str bare_metal_server: @@ -31,9 +31,9 @@ - The bare metal server identifier required: True type: str - network_interface: + floating_ip: description: - - The network interface identifier of bare metal server + - The floating ip identifier of the network interface associated with the bare metal server required: True type: str generation: @@ -69,16 +69,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('floating_ip', 'str'), - ('bare_metal_server', 'str'), ('network_interface', 'str'), + ('bare_metal_server', 'str'), + ('floating_ip', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'floating_ip', - 'bare_metal_server', 'network_interface', + 'bare_metal_server', + 'floating_ip', ] @@ -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( - floating_ip=dict( + network_interface=dict( required=True, type='str'), bare_metal_server=dict( required=True, type='str'), - network_interface=dict( + floating_ip=dict( required=True, type='str'), generation=dict( @@ -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.50.0', + ibm_provider_version='1.51.0', 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 fb2273c3f..e2ebe45ad 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 fa9183943..d623a6a4f 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 2b5545ed6..f4ec8831c 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 294719e3b..4a33f0084 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 aeee6ec26..4cf15004d 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 e0b42eacd..649ab25b6 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 34d5928f1..49d1ce1eb 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 f0f2cb208..41456a0ab 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -31,9 +31,9 @@ - The vpc name this bare metal server is in required: False type: str - vpc_crn: + network_interfaces_subnet_name: description: - - The vpc CRN this bare metal server is in + - The name of the subnet of the bare metal server network interfaces required: False type: str network_interfaces_subnet: @@ -51,14 +51,14 @@ - The unique identifier of the resource group this bare metal server belongs to required: False type: str - name: + vpc_crn: description: - - The name of the bare metal server + - The vpc CRN this bare metal server is in required: False type: str - network_interfaces_subnet_name: + name: description: - - The name of the subnet of the bare metal server network interfaces + - The name of the bare metal server required: False type: str generation: @@ -100,12 +100,12 @@ TL_ALL_PARAMETERS = [ 'vpc', 'vpc_name', - 'vpc_crn', + 'network_interfaces_subnet_name', 'network_interfaces_subnet', 'network_interfaces_subnet_crn', 'resource_group', + 'vpc_crn', 'name', - 'network_interfaces_subnet_name', ] @@ -122,7 +122,7 @@ vpc_name=dict( required=False, type='str'), - vpc_crn=dict( + network_interfaces_subnet_name=dict( required=False, type='str'), network_interfaces_subnet=dict( @@ -134,10 +134,10 @@ resource_group=dict( required=False, type='str'), - name=dict( + vpc_crn=dict( required=False, type='str'), - network_interfaces_subnet_name=dict( + name=dict( required=False, type='str'), generation=dict( @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_is_bare_metal_servers', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 809270369..3796b7a95 100644 --- a/plugins/modules/ibm_is_dedicated_host.py +++ b/plugins/modules/ibm_is_dedicated_host.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_dedicated_host' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -33,6 +33,16 @@ - 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 + resource_group: + 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. + required: False + type: str + host_group: + description: + - (Required for new resource) The unique identifier of the dedicated host group for this dedicated host. + required: True + type: str profile: description: - (Required for new resource) The Globally unique name of the dedicated host profile to use for this dedicated host. @@ -44,16 +54,6 @@ required: False type: list elements: str - host_group: - description: - - (Required for new resource) The unique identifier of the dedicated host group for this dedicated host. - required: True - type: str - resource_group: - 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. - required: False - 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 = [ - ('profile', 'str'), ('host_group', 'str'), + ('profile', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'instance_placement_enabled', 'name', + 'resource_group', + 'host_group', 'profile', 'access_tags', - 'host_group', - 'resource_group', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('host_group', 'str'), ('name', 'str'), + ('host_group', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'host_group', 'resource_group', 'name', + 'host_group', ] TL_CONFLICTS_MAP = { @@ -139,19 +139,19 @@ name=dict( required=False, type='str'), - profile=dict( + resource_group=dict( required=False, type='str'), - access_tags=dict( - required=False, - elements='', - type='list'), host_group=dict( required=False, type='str'), - resource_group=dict( + profile=dict( required=False, type='str'), + access_tags=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -229,7 +229,7 @@ def run_module(): resource_type='ibm_is_dedicated_host', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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_dedicated_host', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 51493d21b..9d0098270 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 431b65199..5f919a348 100644 --- a/plugins/modules/ibm_is_dedicated_host_disk_management.py +++ b/plugins/modules/ibm_is_dedicated_host_disk_management.py @@ -18,21 +18,21 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - dedicated_host: - description: - - (Required for new resource) ID of the dedicated host for which disks has to be managed - required: True - type: str disks: description: - (Required for new resource) Disk information that has to be updated. required: True type: list elements: dict + dedicated_host: + description: + - (Required for new resource) ID of the dedicated host for which disks has to be managed + 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 = [ - ('dedicated_host', 'str'), ('disks', 'list'), + ('dedicated_host', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'dedicated_host', 'disks', + 'dedicated_host', ] # 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( - dedicated_host=dict( - required=False, - type='str'), disks=dict( required=False, elements='', type='list'), + dedicated_host=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -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.50.0', + ibm_provider_version='1.51.0', 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 f4358ab87..bce8561fc 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 844b00943..a0bc523fb 100644 --- a/plugins/modules/ibm_is_dedicated_host_group.py +++ b/plugins/modules/ibm_is_dedicated_host_group.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_dedicated_host_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - zone: - description: - - (Required for new resource) The globally unique name of the zone this dedicated host group will reside in. - required: True - type: str family: description: - (Required for new resource) The dedicated host profile family for hosts in this group. @@ -37,15 +32,20 @@ - 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 class_: description: - (Required for new resource) The dedicated host profile class for hosts in this group. required: True type: str - resource_group: + zone: 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 + - (Required for new resource) The globally unique name of the zone this dedicated host group will reside in. + required: True type: str id: description: @@ -93,18 +93,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('zone', 'str'), ('family', 'str'), ('class_', 'str'), + ('zone', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'zone', 'family', 'name', - 'class_', 'resource_group', + 'class_', + '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( - zone=dict( - required=False, - type='str'), family=dict( required=False, type='str'), name=dict( required=False, type='str'), + resource_group=dict( + required=False, + type='str'), class_=dict( required=False, type='str'), - resource_group=dict( + zone=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 b1cef2a36..b509112e4 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 b308df318..8e93ec79d 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_is_dedicated_host_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 09f871819..e755c6b40 100644 --- a/plugins/modules/ibm_is_dedicated_host_info.py +++ b/plugins/modules/ibm_is_dedicated_host_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_is_dedicated_host' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - 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 @@ -36,6 +31,11 @@ - 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 generation: description: - The generation of Virtual Private Cloud infrastructure @@ -69,15 +69,15 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('host_group', 'str'), ('name', 'str'), + ('host_group', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'host_group', 'resource_group', 'name', + 'host_group', ] @@ -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( - host_group=dict( - required=True, - type='str'), resource_group=dict( required=False, type='str'), name=dict( required=True, 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.50.0', + ibm_provider_version='1.51.0', 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 6713cab5e..935b8318b 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 dde64af71..3c8ddbc47 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 36b7da580..e310ee4f2 100644 --- a/plugins/modules/ibm_is_dedicated_hosts_info.py +++ b/plugins/modules/ibm_is_dedicated_hosts_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_is_dedicated_hosts' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + name: + description: + - The name of the dedicated host + required: False + type: str host_group: description: - The unique identifier of the dedicated host group this dedicated host belongs to @@ -36,11 +41,6 @@ - The zone name this dedicated host is in required: False type: str - name: - description: - - The name of the dedicated host - required: False - type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -78,10 +78,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'host_group', 'resource_group', 'zone', - 'name', ] @@ -92,6 +92,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'), host_group=dict( required=False, type='str'), @@ -101,9 +104,6 @@ zone=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), generation=dict( type='int', required=False, @@ -150,7 +150,7 @@ def run_module(): resource_type='ibm_is_dedicated_hosts', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 5a85119bd..97839d1a4 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 73ad7a1a7..3c80ed9f6 100644 --- a/plugins/modules/ibm_is_floating_ip.py +++ b/plugins/modules/ibm_is_floating_ip.py @@ -18,20 +18,26 @@ - Create, update or destroy an IBM Cloud 'ibm_is_floating_ip' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) Name of the floating IP - required: True - type: str target: description: - Target info required: False type: str + tags: + description: + - Floating IP tags + required: False + type: list + elements: str + name: + description: + - (Required for new resource) Name of the floating IP + required: True + type: str resource_group: description: - Resource group info @@ -48,12 +54,6 @@ - Zone name required: False type: str - tags: - description: - - Floating IP tags - 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 = [ - 'name', 'target', + 'tags', + 'name', 'resource_group', 'access_tags', 'zone', - 'tags', ] # Params for Data source @@ -131,10 +131,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( + target=dict( required=False, type='str'), - target=dict( + tags=dict( + required=False, + elements='', + type='list'), + name=dict( required=False, type='str'), resource_group=dict( @@ -147,10 +151,6 @@ zone=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), id=dict( required=False, type='str'), @@ -228,7 +228,7 @@ def run_module(): resource_type='ibm_is_floating_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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_floating_ip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 187cd93eb..05fd849ac 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 39b72d4eb..2b0916604 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_floating_ips', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 979e4ad41..13b1ebe3b 100644 --- a/plugins/modules/ibm_is_flow_log.py +++ b/plugins/modules/ibm_is_flow_log.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_is_flow_log' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - target: + storage_bucket: description: - - (Required for new resource) The target id that the flow log collector is to collect flow logs + - (Required for new resource) The Cloud Object Storage bucket name where the collected flows will be logged required: True type: str resource_group: @@ -32,14 +32,26 @@ - The resource group of flow log required: False type: str + active: + description: + - Indicates whether this collector is active + required: False + type: bool + default: True + access_tags: + description: + - List of access management tags + required: False + type: list + elements: str name: description: - (Required for new resource) Flow Log Collector name required: True type: str - storage_bucket: + target: description: - - (Required for new resource) The Cloud Object Storage bucket name where the collected flows will be logged + - (Required for new resource) The target id that the flow log collector is to collect flow logs required: True type: str tags: @@ -48,18 +60,6 @@ required: False type: list elements: str - access_tags: - description: - - List of access management tags - required: False - type: list - elements: str - active: - description: - - Indicates whether this collector is active - required: False - type: bool - default: True id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -106,20 +106,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('target', 'str'), - ('name', 'str'), ('storage_bucket', 'str'), + ('name', 'str'), + ('target', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'target', + 'storage_bucket', 'resource_group', + 'active', + 'access_tags', 'name', - 'storage_bucket', + 'target', 'tags', - 'access_tags', - 'active', ] # Params for Data source @@ -127,8 +127,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'identifier', + 'name', ] TL_CONFLICTS_MAP = { @@ -138,29 +138,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( - target=dict( + storage_bucket=dict( required=False, type='str'), resource_group=dict( required=False, type='str'), + active=dict( + required=False, + type='bool'), + access_tags=dict( + required=False, + elements='', + type='list'), name=dict( required=False, type='str'), - storage_bucket=dict( + target=dict( required=False, type='str'), tags=dict( required=False, elements='', type='list'), - access_tags=dict( - required=False, - elements='', - type='list'), - active=dict( - required=False, - type='bool'), id=dict( required=False, type='str'), @@ -238,7 +238,7 @@ def run_module(): resource_type='ibm_is_flow_log', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -247,7 +247,7 @@ def run_module(): resource_type='ibm_is_flow_log', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 cc9ec4aeb..0d00d62a2 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 7040cecf8..20369a43f 100644 --- a/plugins/modules/ibm_is_flow_logs_info.py +++ b/plugins/modules/ibm_is_flow_logs_info.py @@ -17,20 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_is_flow_logs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - vpc_crn: - description: - - The vpc CRN this flow log is in - required: False - type: str - name: - description: - - The name of the flow log - required: False - type: str target: description: - The target id of the flow log @@ -56,6 +46,16 @@ - The vpc name this flow log is in required: False type: str + vpc_crn: + description: + - The vpc CRN this flow log is in + required: False + type: str + name: + description: + - The name of the flow log + required: False + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -93,13 +93,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'vpc_crn', - 'name', 'target', 'target_resource_type', 'resource_group', 'vpc', 'vpc_name', + 'vpc_crn', + 'name', ] @@ -110,12 +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( - vpc_crn=dict( - required=False, - type='str'), - name=dict( - required=False, - type='str'), target=dict( required=False, type='str'), @@ -131,6 +125,12 @@ vpc_name=dict( required=False, type='str'), + vpc_crn=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), generation=dict( type='int', required=False, @@ -177,7 +177,7 @@ def run_module(): resource_type='ibm_is_flow_logs', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 a5f1c17b6..1a353471e 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 be8477b31..26ba20000 100644 --- a/plugins/modules/ibm_is_ike_policy.py +++ b/plugins/modules/ibm_is_ike_policy.py @@ -18,15 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_is_ike_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - dh_group: + name: description: - - (Required for new resource) IKE DH group + - (Required for new resource) IKE name required: True - type: int + type: str authentication_algorithm: description: - (Required for new resource) Authentication algorithm type @@ -37,6 +37,16 @@ - (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 @@ -48,16 +58,6 @@ - IKE version required: False type: int - name: - description: - - (Required for new resource) IKE name - required: True - type: str - resource_group: - description: - - IKE resource group ID - required: False - type: str 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 = [ - ('dh_group', 'int'), + ('name', 'str'), ('authentication_algorithm', 'str'), ('encryption_algorithm', 'str'), - ('name', 'str'), + ('dh_group', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'dh_group', + 'name', 'authentication_algorithm', 'encryption_algorithm', + 'dh_group', + 'resource_group', 'key_lifetime', 'ike_version', - 'name', - 'resource_group', ] # 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( - dh_group=dict( + name=dict( required=False, - type='int'), + type='str'), authentication_algorithm=dict( required=False, type='str'), 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'), - name=dict( - required=False, - type='str'), - resource_group=dict( - required=False, - type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 bd6c175d0..eaf5d5ebc 100644 --- a/plugins/modules/ibm_is_ike_policy_info.py +++ b/plugins/modules/ibm_is_ike_policy_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_ike_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_ike_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 5ec0595b5..8e15b2119 100644 --- a/plugins/modules/ibm_is_image.py +++ b/plugins/modules/ibm_is_image.py @@ -18,28 +18,23 @@ - Create, update or destroy an IBM Cloud 'ibm_is_image' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - href: + 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: - description: - - (Required for new resource) Image name - required: True - type: str source_volume: description: - Image volume id required: False type: str - operating_system: + resource_group: description: - - Image Operating system + - The resource group for this image required: False type: str encrypted_data_key: @@ -47,28 +42,33 @@ - A base64-encoded, encrypted representation of the key that was used to encrypt the data for this image required: False type: str - tags: + operating_system: description: - - Tags for the image + - Image Operating system required: False - type: list - elements: str + type: str + href: + description: + - Image Href value + required: False + type: str access_tags: description: - List of access management tags required: False type: list elements: str - encryption_key: + name: description: - - The CRN of the Key Protect Root Key or Hyper Protect Crypto Service Root Key for this resource - required: False + - (Required for new resource) Image name + required: True type: str - resource_group: + tags: description: - - The resource group for this image + - Tags for the image required: False - type: str + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -120,15 +120,15 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'href', - 'name', + 'encryption_key', 'source_volume', - 'operating_system', + 'resource_group', 'encrypted_data_key', - 'tags', + 'operating_system', + 'href', 'access_tags', - 'encryption_key', - 'resource_group', + 'name', + 'tags', ] # Params for Data source @@ -148,35 +148,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( - href=dict( - required=False, - type='str'), - name=dict( + encryption_key=dict( required=False, type='str'), source_volume=dict( required=False, type='str'), - operating_system=dict( + resource_group=dict( required=False, type='str'), encrypted_data_key=dict( required=False, type='str'), - tags=dict( + operating_system=dict( required=False, - elements='', - type='list'), + type='str'), + href=dict( + required=False, + type='str'), access_tags=dict( required=False, elements='', type='list'), - encryption_key=dict( + name=dict( required=False, type='str'), - resource_group=dict( + tags=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -254,7 +254,7 @@ def run_module(): resource_type='ibm_is_image', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -263,7 +263,7 @@ def run_module(): resource_type='ibm_is_image', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 7057cab43..bd0aaa710 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 622b089b9..776a58116 100644 --- a/plugins/modules/ibm_is_images_info.py +++ b/plugins/modules/ibm_is_images_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_is_images' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: - description: - - The name of the image - required: False - type: str status: description: - The status of the image @@ -46,6 +41,11 @@ - 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 + required: False + type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -83,11 +83,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'status', 'visibility', 'resource_group', 'catalog_managed', + 'name', ] @@ -98,9 +98,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'), status=dict( required=False, type='str'), @@ -113,6 +110,9 @@ catalog_managed=dict( required=False, type='bool'), + name=dict( + required=False, + type='str'), generation=dict( type='int', required=False, @@ -159,7 +159,7 @@ def run_module(): resource_type='ibm_is_images', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 de15cc0c6..962dac6d1 100644 --- a/plugins/modules/ibm_is_instance.py +++ b/plugins/modules/ibm_is_instance.py @@ -18,10 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + image: + description: + - image id + required: False + type: str + 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: description: - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes @@ -33,94 +43,101 @@ required: False type: list elements: str - image: + wait_before_delete: description: - - image id + - Enables stopping of instance before deleting and waits till deletion is complete + required: False + type: bool + default: True + dedicated_host_group: + description: + - Unique Identifier of the Dedicated Host Group where the instance will be placed required: False type: str - volumes: + boot_volume: description: - - List of volumes + - None required: False type: list - elements: str - zone: + elements: dict + availability_policy_host_failure: description: - - Zone name + - The availability policy to use for this virtual server instance required: False type: str - dedicated_host_group: + dedicated_host: description: - - Unique Identifier of the Dedicated Host Group where the instance will be placed + - Unique Identifier of the Dedicated Host where the instance will be placed required: False type: str - action: + tags: description: - - Enables stopping of instance before deleting and waits till deletion is complete + - list of tags for the instance required: False - type: str - user_data: + type: list + elements: str + force_action: description: - - User data given for the instance + - If set to true, the action will be forced immediately, and all queued actions deleted. Ignored for the start action. required: False - type: str + type: bool + default: False profile: description: - Profile info required: False type: 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 - default_trusted_profile_target: + action: description: - - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance. + - Enables stopping of instance before deleting and waits till deletion is complete required: False type: str - wait_before_delete: + 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 - vpc: + metadata_service: description: - - VPC id + - The metadata service configuration + required: False + type: list + elements: dict + zone: + description: + - Zone name required: False type: str - tags: + default_trusted_profile_auto_link: description: - - list of tags for the instance + - 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: str - access_tags: + type: bool + placement_group: description: - - list of access tags for the instance + - Unique Identifier of the Placement Group for restricting the placement of the instance required: False - type: list - elements: str - force_action: + type: str + user_data: description: - - If set to true, the action will be forced immediately, and all queued actions deleted. Ignored for the start action. + - User data given for the instance required: False - type: bool - default: False - auto_delete_volume: + type: str + primary_network_interface: description: - - Auto delete volume along with instance + - Primary Network interface info required: False - type: bool - force_recovery_time: + type: list + elements: dict + volumes: description: - - Define timeout to force the instances to start/stop in minutes. + - List of volumes required: False - type: int - availability_policy_host_failure: + type: list + elements: str + resource_group: description: - - The availability policy to use for this virtual server instance + - Instance resource group required: False type: str name: @@ -128,25 +145,25 @@ - (Required for new resource) Instance name required: True type: str - dedicated_host: + vpc: description: - - Unique Identifier of the Dedicated Host where the instance will be placed + - VPC id required: False type: str - placement_group: + instance_template: description: - - Unique Identifier of the Placement Group for restricting the placement of the instance + - Id of the instance template required: False type: str - catalog_offering: + access_tags: description: - - 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. + - list of access tags for the instance required: False type: list - elements: dict - primary_network_interface: + elements: str + catalog_offering: description: - - Primary Network interface info + - 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: list elements: dict @@ -156,27 +173,11 @@ required: False type: list elements: dict - boot_volume: - description: - - None - required: False - type: list - elements: dict - instance_template: - description: - - Id of the instance template - required: False - type: str - resource_group: - description: - - Instance resource group - required: False - type: str - metadata_service_enabled: + force_recovery_time: description: - - Indicates whether the metadata service endpoint is available to the virtual server instance + - Define timeout to force the instances to start/stop in minutes. required: False - type: bool + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -228,35 +229,35 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'total_volume_bandwidth', - 'keys', 'image', - 'volumes', - 'zone', - 'dedicated_host_group', - 'action', - 'user_data', - 'profile', - 'default_trusted_profile_auto_link', 'default_trusted_profile_target', + 'total_volume_bandwidth', + 'keys', 'wait_before_delete', - 'vpc', + 'dedicated_host_group', + 'boot_volume', + 'availability_policy_host_failure', + 'dedicated_host', 'tags', - 'access_tags', 'force_action', + 'profile', + 'action', 'auto_delete_volume', - 'force_recovery_time', - 'availability_policy_host_failure', - 'name', - 'dedicated_host', + 'metadata_service', + 'zone', + 'default_trusted_profile_auto_link', 'placement_group', - 'catalog_offering', + 'user_data', 'primary_network_interface', - 'network_interfaces', - 'boot_volume', - 'instance_template', + 'volumes', 'resource_group', - 'metadata_service_enabled', + 'name', + 'vpc', + 'instance_template', + 'access_tags', + 'catalog_offering', + 'network_interfaces', + 'force_recovery_time', ] # Params for Data source @@ -265,15 +266,16 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'private_key', 'passphrase', + 'name', ] TL_CONFLICTS_MAP = { 'image': ['boot_volume.0.snapshot', 'catalog_offering.0.offering_crn', 'catalog_offering.0.version_crn'], 'dedicated_host_group': ['dedicated_host', 'placement_group'], 'dedicated_host': ['dedicated_host_group', 'placement_group'], + 'metadata_service': ['metadata_service_enabled'], 'placement_group': ['dedicated_host', 'dedicated_host_group'], 'instance_template': ['boot_volume.0.snapshot'], } @@ -282,6 +284,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( + image=dict( + required=False, + type='str'), + default_trusted_profile_target=dict( + required=False, + type='str'), total_volume_bandwidth=dict( required=False, type='int'), @@ -289,74 +297,79 @@ required=False, elements='', type='list'), - image=dict( + wait_before_delete=dict( + required=False, + type='bool'), + dedicated_host_group=dict( required=False, type='str'), - volumes=dict( + boot_volume=dict( required=False, elements='', type='list'), - zone=dict( + availability_policy_host_failure=dict( required=False, type='str'), - dedicated_host_group=dict( + dedicated_host=dict( required=False, type='str'), - action=dict( + tags=dict( required=False, - type='str'), - user_data=dict( + elements='', + type='list'), + force_action=dict( required=False, - type='str'), + type='bool'), profile=dict( required=False, type='str'), - default_trusted_profile_auto_link=dict( + action=dict( + required=False, + type='str'), + auto_delete_volume=dict( required=False, type='bool'), - default_trusted_profile_target=dict( + metadata_service=dict( + required=False, + elements='', + type='list'), + zone=dict( required=False, type='str'), - wait_before_delete=dict( + default_trusted_profile_auto_link=dict( required=False, type='bool'), - vpc=dict( + placement_group=dict( required=False, type='str'), - tags=dict( + user_data=dict( + required=False, + type='str'), + primary_network_interface=dict( required=False, elements='', type='list'), - access_tags=dict( + volumes=dict( required=False, elements='', type='list'), - force_action=dict( - required=False, - type='bool'), - auto_delete_volume=dict( - required=False, - type='bool'), - force_recovery_time=dict( - required=False, - type='int'), - availability_policy_host_failure=dict( + resource_group=dict( required=False, type='str'), name=dict( required=False, type='str'), - dedicated_host=dict( + vpc=dict( required=False, type='str'), - placement_group=dict( + instance_template=dict( required=False, type='str'), - catalog_offering=dict( + access_tags=dict( required=False, elements='', type='list'), - primary_network_interface=dict( + catalog_offering=dict( required=False, elements='', type='list'), @@ -364,19 +377,9 @@ required=False, elements='', type='list'), - boot_volume=dict( - required=False, - elements='', - type='list'), - instance_template=dict( - required=False, - type='str'), - resource_group=dict( - required=False, - type='str'), - metadata_service_enabled=dict( + force_recovery_time=dict( required=False, - type='bool'), + type='int'), id=dict( required=False, type='str'), @@ -454,7 +457,7 @@ def run_module(): resource_type='ibm_is_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -463,7 +466,7 @@ def run_module(): resource_type='ibm_is_instance', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 0396f5a26..2c274ed2f 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 ff6dc2b04..e2551db9c 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 d65b0704d..2eecec738 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 95010db2c..47e8dd3e4 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 10bf32949..e960df4ac 100644 --- a/plugins/modules/ibm_is_instance_group.py +++ b/plugins/modules/ibm_is_instance_group.py @@ -18,64 +18,64 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: + subnets: description: - - (Required for new resource) The user-defined name for this instance group + - (Required for new resource) list of subnet IDs required: True - type: str - load_balancer: - description: - - load balancer ID - required: False - type: str + type: list + elements: str load_balancer_pool: description: - load balancer pool ID required: False type: str - tags: + instance_template: description: - - List of tags for instance group - required: False - type: list - elements: str + - (Required for new resource) instance template ID + required: True + 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 + load_balancer: + description: + - load balancer ID + required: False + type: str access_tags: description: - List of access management tags required: False type: list elements: str - instance_template: + name: description: - - (Required for new resource) instance template ID + - (Required for new resource) The user-defined name for this instance group required: True type: str - instance_count: - description: - - The number of instances in the instance group - required: False - type: int - default: 0 resource_group: description: - Resource group ID required: False type: str - subnets: + tags: description: - - (Required for new resource) list of subnet IDs - required: True + - List of tags for instance group + required: False type: list elements: str + instance_count: + description: + - The number of instances in the instance group + required: False + type: int + default: 0 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -122,23 +122,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), - ('instance_template', 'str'), ('subnets', 'list'), + ('instance_template', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'load_balancer', + 'subnets', 'load_balancer_pool', - 'tags', + 'instance_template', 'application_port', + 'load_balancer', 'access_tags', - 'instance_template', - 'instance_count', + 'name', 'resource_group', - 'subnets', + 'tags', + 'instance_count', ] # Params for Data source @@ -157,39 +157,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( - name=dict( - required=False, - type='str'), - load_balancer=dict( + subnets=dict( required=False, - type='str'), + elements='', + type='list'), load_balancer_pool=dict( required=False, type='str'), - tags=dict( + instance_template=dict( required=False, - elements='', - type='list'), + type='str'), application_port=dict( required=False, type='int'), + load_balancer=dict( + required=False, + type='str'), access_tags=dict( required=False, elements='', type='list'), - instance_template=dict( + name=dict( required=False, type='str'), - instance_count=dict( - required=False, - type='int'), resource_group=dict( required=False, type='str'), - subnets=dict( + tags=dict( required=False, elements='', type='list'), + instance_count=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -267,7 +267,7 @@ def run_module(): resource_type='ibm_is_instance_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -276,7 +276,7 @@ def run_module(): resource_type='ibm_is_instance_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 c095b71e8..75ae4bc0d 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 c3ec08051..f3e20539d 100644 --- a/plugins/modules/ibm_is_instance_group_manager.py +++ b/plugins/modules/ibm_is_instance_group_manager.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_group_manager' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -28,18 +28,22 @@ required: False type: int default: 90 - cooldown: + max_membership_count: description: - - The duration of time in seconds to pause further scale actions after scaling has taken place + - The maximum number of members in a managed instance group required: False type: int - default: 300 min_membership_count: description: - The minimum number of members in a managed instance group required: False type: int default: 1 + name: + description: + - instance group manager name + required: False + type: str instance_group: description: - (Required for new resource) instance group ID @@ -51,22 +55,18 @@ required: False type: str default: autoscale - max_membership_count: - description: - - The maximum number of members in a managed instance group - required: False - type: int - name: - description: - - instance group manager name - required: False - type: str enable_manager: description: - enable instance group manager required: False type: bool default: True + cooldown: + description: + - The duration of time in seconds to pause further scale actions after scaling has taken place + required: False + type: int + default: 300 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -119,13 +119,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'aggregation_window', - 'cooldown', + 'max_membership_count', 'min_membership_count', + 'name', 'instance_group', 'manager_type', - 'max_membership_count', - 'name', 'enable_manager', + 'cooldown', ] # Params for Data source @@ -149,27 +149,27 @@ aggregation_window=dict( required=False, type='int'), - cooldown=dict( + max_membership_count=dict( required=False, type='int'), min_membership_count=dict( required=False, type='int'), - instance_group=dict( + name=dict( required=False, type='str'), - manager_type=dict( + instance_group=dict( required=False, type='str'), - max_membership_count=dict( - required=False, - type='int'), - name=dict( + manager_type=dict( required=False, type='str'), enable_manager=dict( required=False, type='bool'), + cooldown=dict( + required=False, + type='int'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 775514982..dd89e4e55 100644 --- a/plugins/modules/ibm_is_instance_group_manager_action.py +++ b/plugins/modules/ibm_is_instance_group_manager_action.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,41 +27,41 @@ - 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 + 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 + instance_group_manager: + description: + - (Required for new resource) Instance group manager ID of type scheduled + required: True + type: str target_manager: description: - The unique identifier for this instance group manager of type autoscale. required: False type: str + max_membership_count: + description: + - The maximum number of members in a managed instance group + required: False + type: int name: description: - instance group manager action name required: False type: str - instance_group_manager: - description: - - (Required for new resource) Instance group manager ID of type scheduled - required: True - type: str - membership_count: - description: - - The number of members the instance group should have at the scheduled time. - required: False - type: int run_at: description: - The date and time the scheduled action will run. 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 @@ -121,35 +121,35 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'cron_spec', + 'membership_count', 'instance_group', + 'instance_group_manager', 'target_manager', + 'max_membership_count', 'name', - 'instance_group_manager', - 'membership_count', 'run_at', - 'max_membership_count', 'min_membership_count', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('instance_group_manager', 'str'), ('instance_group', 'str'), ('name', 'str'), + ('instance_group_manager', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'instance_group_manager', 'instance_group', 'name', + 'instance_group_manager', ] TL_CONFLICTS_MAP = { 'cron_spec': ['run_at'], - 'target_manager': ['membership_count'], 'membership_count': ['target_manager', 'max_membership_count', 'min_membership_count'], - 'run_at': ['cron_spec'], + 'target_manager': ['membership_count'], 'max_membership_count': ['membership_count'], + 'run_at': ['cron_spec'], 'min_membership_count': ['membership_count'], } @@ -160,27 +160,27 @@ cron_spec=dict( required=False, type='str'), - instance_group=dict( + membership_count=dict( required=False, - type='str'), - target_manager=dict( + type='int'), + instance_group=dict( required=False, type='str'), - name=dict( + instance_group_manager=dict( required=False, type='str'), - instance_group_manager=dict( + target_manager=dict( required=False, type='str'), - membership_count=dict( + max_membership_count=dict( required=False, type='int'), - run_at=dict( + name=dict( required=False, type='str'), - max_membership_count=dict( + run_at=dict( required=False, - type='int'), + type='str'), min_membership_count=dict( required=False, type='int'), @@ -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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 967a05370..81ea57ed2 100644 --- a/plugins/modules/ibm_is_instance_group_manager_action_info.py +++ b/plugins/modules/ibm_is_instance_group_manager_action_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_group_manager_action' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - instance_group_manager: - description: - - Instance group manager ID of type scheduled - required: True - type: str instance_group: description: - instance group ID @@ -36,6 +31,11 @@ - instance group manager action name required: True type: str + instance_group_manager: + description: + - Instance group manager ID of type scheduled + 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'), ('instance_group', 'str'), ('name', 'str'), + ('instance_group_manager', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_group_manager', 'instance_group', 'name', + 'instance_group_manager', ] @@ -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( - instance_group_manager=dict( - required=True, - type='str'), instance_group=dict( required=True, type='str'), name=dict( required=True, type='str'), + instance_group_manager=dict( + required=True, + type='str'), generation=dict( type='int', required=False, @@ -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.50.0', + ibm_provider_version='1.51.0', 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 2b50412db..4623813a3 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 bd8779d2c..bc2013bb2 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 75e42e494..921fda06f 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 eea0a7878..1f860fcae 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - metric_value: - description: - - (Required for new resource) The metric value to be evaluated - required: True - type: int policy_type: description: - (Required for new resource) The type of Policy for the Instance Group @@ -52,6 +47,11 @@ - (Required for new resource) The type of metric to be evaluated required: True type: str + metric_value: + description: + - (Required for new resource) The metric value to be evaluated + required: True + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -98,34 +98,34 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('metric_value', 'int'), ('policy_type', 'str'), ('instance_group', 'str'), ('instance_group_manager', 'str'), ('metric_type', 'str'), + ('metric_value', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'metric_value', 'policy_type', 'name', 'instance_group', 'instance_group_manager', 'metric_type', + 'metric_value', ] # 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( - metric_value=dict( - required=False, - type='int'), policy_type=dict( required=False, type='str'), @@ -153,6 +150,9 @@ metric_type=dict( required=False, type='str'), + metric_value=dict( + required=False, + type='int'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 416348be6..77f5cbb2c 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 dd79673e7..7244dab65 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 efec441a7..3f6b07d47 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -208,7 +208,7 @@ def run_module(): resource_type='ibm_is_instance_group_membership', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 cb771e988..a64d995bb 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 b53578ca3..66e88ab4d 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 7db85a1c5..40bc0e809 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 74cb3b2ab..f1ed131d1 100644 --- a/plugins/modules/ibm_is_instance_info.py +++ b/plugins/modules/ibm_is_instance_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: - description: - - Instance name - required: True - type: str private_key: description: - Instance Private Key file @@ -36,6 +31,11 @@ - Passphrase for Instance Private Key file required: False type: str + name: + description: + - Instance name + required: True + 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', 'private_key', 'passphrase', + '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=True, - type='str'), private_key=dict( required=False, type='str'), passphrase=dict( required=False, type='str'), + name=dict( + required=True, + type='str'), generation=dict( type='int', required=False, @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_is_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 e05feff78..7818e81da 100644 --- a/plugins/modules/ibm_is_instance_network_interface.py +++ b/plugins/modules/ibm_is_instance_network_interface.py @@ -18,30 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_network_interface' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - 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: - 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 - default: False - security_groups: - description: - - None - required: False - type: list - elements: str - subnet: + name: description: - - (Required for new resource) The unique identifier of the 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 primary_ip: @@ -55,11 +43,23 @@ - The ID of the floating IP to attach to this network interface required: False 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: bool + default: False instance: description: - (Required for new resource) The unique identifier of the instance. required: True type: str + security_groups: + description: + - None + required: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -106,31 +106,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('subnet', 'str'), + ('name', 'str'), ('instance', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'allow_ip_spoofing', - 'security_groups', 'subnet', + 'name', 'primary_ip', 'floating_ip', + 'allow_ip_spoofing', 'instance', + 'security_groups', ] # 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,17 +140,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( + subnet=dict( required=False, type='str'), - allow_ip_spoofing=dict( - required=False, - type='bool'), - security_groups=dict( - required=False, - elements='', - type='list'), - subnet=dict( + name=dict( required=False, type='str'), primary_ip=dict( @@ -160,9 +153,16 @@ floating_ip=dict( required=False, type='str'), + allow_ip_spoofing=dict( + required=False, + type='bool'), instance=dict( required=False, type='str'), + security_groups=dict( + required=False, + elements='', + type='list'), id=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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_floating_ip.py b/plugins/modules/ibm_is_instance_network_interface_floating_ip.py index b0893860e..74f0405ff 100644 --- a/plugins/modules/ibm_is_instance_network_interface_floating_ip.py +++ b/plugins/modules/ibm_is_instance_network_interface_floating_ip.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_network_interface_floating_ip' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + instance: + description: + - (Required for new resource) Instance identifier + required: True + type: str network_interface: description: - (Required for new resource) Instance network interface identifier @@ -32,11 +37,6 @@ - (Required for new resource) The floating ip identifier of the network interface associated with the Instance required: True type: str - 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. @@ -83,16 +83,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('instance', 'str'), ('network_interface', 'str'), ('floating_ip', 'str'), - ('instance', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'instance', 'network_interface', 'floating_ip', - 'instance', ] # 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( - network_interface=dict( + instance=dict( required=False, type='str'), - floating_ip=dict( + network_interface=dict( required=False, type='str'), - instance=dict( + floating_ip=dict( required=False, type='str'), id=dict( @@ -195,7 +195,7 @@ def run_module(): resource_type='ibm_is_instance_network_interface_floating_ip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_is_instance_network_interface_info.py b/plugins/modules/ibm_is_instance_network_interface_info.py index f7f59f4eb..988e37fa2 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 70a67babb..937892991 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 e78dce456..31ae86678 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 316c51353..f412b283e 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 8bb22be09..734dd6d6a 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 54c5b915f..b7a7c83e2 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 50f658b54..2959dd013 100644 --- a/plugins/modules/ibm_is_instance_template.py +++ b/plugins/modules/ibm_is_instance_template.py @@ -18,34 +18,50 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_template' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - zone: + total_volume_bandwidth: description: - - (Required for new resource) Zone name - required: True - type: str - profile: + - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes + required: False + type: int + keys: description: - - (Required for new resource) Profile info + - (Required for new resource) SSH key Ids for the instance template required: True + type: list + elements: str + user_data: + description: + - User data given for the instance + required: False type: str - total_volume_bandwidth: + availability_policy_host_failure: description: - - The amount of bandwidth (in megabits per second) allocated exclusively to instance storage volumes + - The availability policy to use for this virtual server instance required: False - type: int - dedicated_host: + type: str + name: description: - - Unique Identifier of the Dedicated Host where the instance will be placed + - Instance Template name required: False type: str - primary_network_interface: + zone: description: - - (Required for new resource) Primary Network interface info + - (Required for new resource) Zone name required: True + type: 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 + metadata_service: + description: + - The metadata service configuration + required: False type: list elements: dict vpc: @@ -53,85 +69,69 @@ - (Required for new resource) VPC id required: True type: str - placement_group: - description: - - Unique Identifier of the Placement Group for restricting the placement of the instance - required: False - type: str network_interfaces: description: - None required: False type: list elements: dict - image: - description: - - image name - required: False - type: str resource_group: description: - Instance template resource group required: False type: str - name: + boot_volume: description: - - Instance Template name + - None required: False - type: str - default_trusted_profile_auto_link: + type: list + elements: dict + profile: 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 - default_trusted_profile_target: + - (Required for new resource) Profile info + required: True + type: str + dedicated_host: description: - - The unique identifier or CRN of the default IAM trusted profile to use for this virtual server instance. + - Unique Identifier of the Dedicated Host where the instance will be placed required: False type: str - keys: - description: - - (Required for new resource) SSH key Ids for the instance template - required: True - type: list - elements: str dedicated_host_group: description: - Unique Identifier of the Dedicated Host Group where the instance will be placed required: False type: str + placement_group: + description: + - Unique Identifier of the Placement Group for restricting the placement of the instance + required: False + type: str volume_attachments: description: - None required: False type: list elements: dict + 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 catalog_offering: description: - The catalog offering or offering version to use when provisioning this virtual server instance template. 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: list elements: dict - metadata_service_enabled: - description: - - Indicates whether the metadata service endpoint is available to the virtual server instance - required: False - type: bool - default: False - user_data: - description: - - User data given for the instance - required: False - type: str - boot_volume: + primary_network_interface: description: - - None - required: False + - (Required for new resource) Primary Network interface info + required: True type: list elements: dict - availability_policy_host_failure: + image: description: - - The availability policy to use for this virtual server instance + - image name required: False type: str id: @@ -180,36 +180,36 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('keys', 'list'), ('zone', 'str'), + ('vpc', 'str'), ('profile', 'str'), ('primary_network_interface', 'list'), - ('vpc', 'str'), - ('keys', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'zone', - 'profile', 'total_volume_bandwidth', - 'dedicated_host', - 'primary_network_interface', + 'keys', + 'user_data', + 'availability_policy_host_failure', + 'name', + 'zone', + 'default_trusted_profile_auto_link', + 'metadata_service', 'vpc', - 'placement_group', 'network_interfaces', - 'image', 'resource_group', - 'name', - 'default_trusted_profile_auto_link', - 'default_trusted_profile_target', - 'keys', + 'boot_volume', + 'profile', + 'dedicated_host', 'dedicated_host_group', + 'placement_group', 'volume_attachments', + 'default_trusted_profile_target', 'catalog_offering', - 'metadata_service_enabled', - 'user_data', - 'boot_volume', - 'availability_policy_host_failure', + 'primary_network_interface', + 'image', ] # Params for Data source @@ -222,82 +222,84 @@ ] TL_CONFLICTS_MAP = { + 'metadata_service': ['metadata_service_enabled'], 'dedicated_host': ['dedicated_host_group', 'placement_group'], - 'placement_group': ['dedicated_host', 'dedicated_host_group'], 'dedicated_host_group': ['dedicated_host', '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( - zone=dict( + total_volume_bandwidth=dict( + required=False, + type='int'), + keys=dict( + required=False, + elements='', + type='list'), + user_data=dict( required=False, type='str'), - profile=dict( + availability_policy_host_failure=dict( required=False, type='str'), - total_volume_bandwidth=dict( + name=dict( required=False, - type='int'), - dedicated_host=dict( + type='str'), + zone=dict( required=False, type='str'), - primary_network_interface=dict( + default_trusted_profile_auto_link=dict( + required=False, + type='bool'), + metadata_service=dict( required=False, elements='', type='list'), vpc=dict( required=False, type='str'), - placement_group=dict( - required=False, - type='str'), network_interfaces=dict( required=False, elements='', type='list'), - image=dict( - required=False, - type='str'), resource_group=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), - default_trusted_profile_auto_link=dict( + boot_volume=dict( required=False, - type='bool'), - default_trusted_profile_target=dict( + elements='', + type='list'), + profile=dict( required=False, type='str'), - keys=dict( + dedicated_host=dict( required=False, - elements='', - type='list'), + type='str'), dedicated_host_group=dict( required=False, type='str'), + placement_group=dict( + required=False, + type='str'), volume_attachments=dict( required=False, elements='', type='list'), + default_trusted_profile_target=dict( + required=False, + type='str'), catalog_offering=dict( required=False, elements='', type='list'), - metadata_service_enabled=dict( - required=False, - type='bool'), - user_data=dict( - required=False, - type='str'), - boot_volume=dict( + primary_network_interface=dict( required=False, elements='', type='list'), - availability_policy_host_failure=dict( + image=dict( required=False, type='str'), id=dict( @@ -377,7 +379,7 @@ def run_module(): resource_type='ibm_is_instance_template', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -386,7 +388,7 @@ def run_module(): resource_type='ibm_is_instance_template', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 4d1a74124..89218d48e 100644 --- a/plugins/modules/ibm_is_instance_template_info.py +++ b/plugins/modules/ibm_is_instance_template_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_instance_template' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_instance_template', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 525f04340..8c87a6bfc 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 12ee36452..37dc88517 100644 --- a/plugins/modules/ibm_is_instance_volume_attachment.py +++ b/plugins/modules/ibm_is_instance_volume_attachment.py @@ -18,54 +18,59 @@ - Create, update or destroy an IBM Cloud 'ibm_is_instance_volume_attachment' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + iops: + description: + - The maximum I/O operations per second (IOPS) for the volume. + required: False + type: int + snapshot: + description: + - The snapshot of the volume to be attached + required: False + type: str instance: description: - (Required for new resource) Instance id required: True type: str - delete_volume_on_instance_delete: + volume_name: description: - - If set to true, when deleting the instance the volume will also be deleted. + - The unique user-defined name for this volume required: False - type: bool - delete_volume_on_attachment_delete: + type: str + capacity: description: - - If set to true, when deleting the attachment, the volume will also be deleted. Default value for this true. + - 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: bool - default: True - name: + type: int + 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: + delete_volume_on_instance_delete: description: - - The unique user-defined name for this volume + - If set to true, when deleting the instance the volume will also be deleted. required: False - type: str - iops: + type: bool + delete_volume_on_attachment_delete: description: - - The maximum I/O operations per second (IOPS) for the volume. + - If set to true, when deleting the attachment, the volume will also be deleted. Default value for this true. required: False - type: int + type: bool + default: True profile: description: - The globally unique name for the volume profile to use for this volume. required: False type: str - capacity: - 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. - required: False - type: int - snapshot: + name: description: - - The snapshot of the volume to be attached + - The user-defined name for this volume attachment. required: False type: str volume: @@ -79,11 +84,6 @@ required: False type: list elements: str - encryption_key: - 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. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -135,36 +135,36 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'iops', + 'snapshot', 'instance', + 'volume_name', + 'capacity', + 'encryption_key', 'delete_volume_on_instance_delete', 'delete_volume_on_attachment_delete', - 'name', - 'volume_name', - 'iops', 'profile', - 'capacity', - 'snapshot', + 'name', 'volume', 'tags', - 'encryption_key', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('name', 'str'), ('instance', 'str'), + ('name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'name', 'instance', + 'name', ] TL_CONFLICTS_MAP = { 'iops': ['volume'], - 'profile': ['volume'], - 'capacity': ['volume'], 'snapshot': ['volume'], + 'capacity': ['volume'], + 'profile': ['volume'], 'volume': ['iops', 'volume_name', 'profile', 'capacity', 'snapshot', 'tags'], 'tags': ['volume'], } @@ -173,31 +173,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( - instance=dict( - required=False, - type='str'), - delete_volume_on_instance_delete=dict( + iops=dict( required=False, - type='bool'), - delete_volume_on_attachment_delete=dict( + type='int'), + snapshot=dict( required=False, - type='bool'), - name=dict( + type='str'), + instance=dict( required=False, type='str'), volume_name=dict( required=False, type='str'), - iops=dict( + capacity=dict( required=False, type='int'), - profile=dict( + encryption_key=dict( required=False, type='str'), - capacity=dict( + delete_volume_on_instance_delete=dict( required=False, - type='int'), - snapshot=dict( + type='bool'), + delete_volume_on_attachment_delete=dict( + required=False, + type='bool'), + profile=dict( + required=False, + type='str'), + name=dict( required=False, type='str'), volume=dict( @@ -207,9 +210,6 @@ required=False, elements='', type='list'), - encryption_key=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 53b1c3f37..afcb54276 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 3cb7a409d..4a100c0c0 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 6e2b18de9..94f27c61a 100644 --- a/plugins/modules/ibm_is_instances_info.py +++ b/plugins/modules/ibm_is_instances_info.py @@ -17,10 +17,25 @@ description: - Retrieve an IBM Cloud 'ibm_is_instances' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + instance_group: + description: + - Instance group ID to filter the instances attached to it + required: False + type: str + instance_group_name: + description: + - Instance group name to filter the instances attached to it + required: False + type: str + vpc_name: + description: + - Name of the vpc to filter the instances attached to it + required: False + type: str resource_group: description: - Instance resource group @@ -41,9 +56,9 @@ - ID of the placement group to filter the instances attached to it required: False type: str - instance_group_name: + vpc: description: - - Instance group name to filter the instances attached to it + - VPC ID to filter the instances attached to it required: False type: str vpc_crn: @@ -51,26 +66,11 @@ - VPC CRN to filter the instances attached to it required: False type: str - vpc: - description: - - VPC ID to filter the instances attached to it - required: False - type: str placement_group_name: description: - Name of the placement group to filter the instances attached to it required: False type: str - instance_group: - description: - - Instance group ID to filter the instances attached to it - required: False - type: str - vpc_name: - description: - - Name of the vpc to filter the instances attached to it - required: False - type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -108,63 +108,63 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'instance_group', + 'instance_group_name', + 'vpc_name', 'resource_group', 'dedicated_host_name', 'dedicated_host', 'placement_group', - 'instance_group_name', - 'vpc_crn', 'vpc', + 'vpc_crn', 'placement_group_name', - 'instance_group', - 'vpc_name', ] TL_CONFLICTS_MAP = { + 'instance_group': ['vpc', 'vpc_crn', 'vpc_name', 'instance_group_name'], + 'instance_group_name': ['vpc', 'vpc_crn', 'vpc_name', 'instance_group'], + 'vpc_name': ['vpc', 'vpc_crn', 'instance_group'], 'dedicated_host_name': ['dedicated_host'], 'dedicated_host': ['dedicated_host_name'], 'placement_group': ['placement_group_name'], - 'instance_group_name': ['vpc', 'vpc_crn', 'vpc_name', 'instance_group'], - 'vpc_crn': ['vpc_name', 'vpc', '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'], - 'vpc_name': ['vpc', 'vpc_crn', 'instance_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( - resource_group=dict( + instance_group=dict( required=False, type='str'), - dedicated_host_name=dict( + instance_group_name=dict( required=False, type='str'), - dedicated_host=dict( + vpc_name=dict( required=False, type='str'), - placement_group=dict( + resource_group=dict( required=False, type='str'), - instance_group_name=dict( + dedicated_host_name=dict( required=False, type='str'), - vpc_crn=dict( + dedicated_host=dict( required=False, type='str'), - vpc=dict( + placement_group=dict( required=False, type='str'), - placement_group_name=dict( + vpc=dict( required=False, type='str'), - instance_group=dict( + vpc_crn=dict( required=False, type='str'), - vpc_name=dict( + placement_group_name=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.50.0', + ibm_provider_version='1.51.0', 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 830919395..be8fc1a73 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 37b597b8d..383e51e02 100644 --- a/plugins/modules/ibm_is_ipsec_policy.py +++ b/plugins/modules/ibm_is_ipsec_policy.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_ipsec_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) IPSEC name - required: True - type: str - pfs: - description: - - (Required for new resource) PFS info - required: True - type: str resource_group: description: - Resource group info @@ -43,9 +33,9 @@ required: False type: int default: 3600 - authentication_algorithm: + name: description: - - (Required for new resource) Authentication alorothm + - (Required for new resource) IPSEC name required: True type: str encryption_algorithm: @@ -53,6 +43,16 @@ - (Required for new resource) Encryption algorithm required: True type: str + authentication_algorithm: + description: + - (Required for new resource) Authentication alorothm + required: True + type: str + pfs: + description: + - (Required for new resource) PFS info + required: True + 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 = [ ('name', 'str'), - ('pfs', 'str'), - ('authentication_algorithm', 'str'), ('encryption_algorithm', 'str'), + ('authentication_algorithm', 'str'), + ('pfs', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', - 'pfs', 'resource_group', 'key_lifetime', - 'authentication_algorithm', + 'name', 'encryption_algorithm', + 'authentication_algorithm', + 'pfs', ] # Params for Data source @@ -131,24 +131,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( - name=dict( - required=False, - type='str'), - pfs=dict( - required=False, - type='str'), resource_group=dict( required=False, type='str'), key_lifetime=dict( required=False, type='int'), - authentication_algorithm=dict( + name=dict( required=False, type='str'), encryption_algorithm=dict( required=False, type='str'), + authentication_algorithm=dict( + required=False, + type='str'), + pfs=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_is_ipsec_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 626f4ad60..5ed7ff23e 100644 --- a/plugins/modules/ibm_is_ipsec_policy_info.py +++ b/plugins/modules/ibm_is_ipsec_policy_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_ipsec_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_ipsec_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 446ab574b..041c19c56 100644 --- a/plugins/modules/ibm_is_lb.py +++ b/plugins/modules/ibm_is_lb.py @@ -18,33 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - route_mode: - description: - - Indicates whether route mode is enabled for this load balancer - required: False - type: bool - default: False - 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 - profile: - description: - - The profile to use for this load balancer. - required: False - type: str tags: description: - None @@ -57,28 +40,45 @@ required: False type: bool default: False + name: + description: + - (Required for new resource) Load Balancer name + required: True + type: str + access_tags: + description: + - List of access management tags + required: False + type: list + elements: str resource_group: description: - None required: False type: str + profile: + description: + - The profile to use for this load balancer. + required: False + type: str + route_mode: + description: + - Indicates whether route mode is enabled for this load balancer + required: False + type: bool + default: False type: description: - Load Balancer type required: False type: str default: public - access_tags: + subnets: description: - - List of access management tags - required: False + - (Required for new resource) Load Balancer subnets list + required: True type: list elements: str - name: - description: - - (Required for new resource) Load Balancer name - required: True - 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 = [ - ('subnets', 'list'), ('name', 'str'), + ('subnets', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'route_mode', - 'subnets', 'security_groups', - 'profile', 'tags', 'logging', + 'name', + 'access_tags', 'resource_group', + 'profile', + 'route_mode', 'type', - 'access_tags', - 'name', + 'subnets', ] # Params for Data source @@ -154,28 +154,18 @@ TL_CONFLICTS_MAP = { 'security_groups': ['profile'], - 'profile': ['logging'], 'logging': ['profile'], + 'profile': ['logging'], } # 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( - route_mode=dict( - required=False, - type='bool'), - subnets=dict( - required=False, - elements='', - type='list'), security_groups=dict( required=False, elements='', type='list'), - profile=dict( - required=False, - type='str'), tags=dict( required=False, elements='', @@ -183,19 +173,29 @@ logging=dict( required=False, type='bool'), + name=dict( + required=False, + type='str'), + access_tags=dict( + required=False, + elements='', + type='list'), resource_group=dict( required=False, type='str'), + profile=dict( + required=False, + type='str'), + route_mode=dict( + required=False, + type='bool'), type=dict( required=False, type='str'), - access_tags=dict( + subnets=dict( required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -273,7 +273,7 @@ def run_module(): resource_type='ibm_is_lb', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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_lb', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 80e725953..98d0e5f6b 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 af93eeeae..529181d3c 100644 --- a/plugins/modules/ibm_is_lb_listener.py +++ b/plugins/modules/ibm_is_lb_listener.py @@ -18,23 +18,38 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_listener' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + protocol: + description: + - (Required for new resource) Loadbalancer protocol + required: True + type: str + certificate_instance: + description: + - certificate instance for the Loadbalancer + required: False + type: str lb: description: - (Required for new resource) Loadbalancer listener ID required: True type: str - port_max: + connection_limit: 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 + - Connection limit for Loadbalancer required: False type: int - certificate_instance: + port: description: - - certificate instance for the Loadbalancer + - Loadbalancer listener port + required: False + type: int + https_redirect_uri: + description: + - Target URI where traffic will be redirected required: False type: str https_redirect_listener: @@ -42,44 +57,29 @@ - ID of the listener that will be set as http redirect target required: False type: str - connection_limit: - description: - - Connection limit for Loadbalancer - required: False - type: int port_min: 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 - protocol: - description: - - (Required for new resource) Loadbalancer protocol - required: True - type: str accept_proxy_protocol: description: - Listener will forward proxy protocol required: False type: bool - https_redirect_uri: + https_redirect_status_code: description: - - Target URI where traffic will be redirected + - The HTTP status code to be returned in the redirect response required: False - type: str + type: int default_pool: description: - Loadbalancer default pool info required: False type: str - port: - description: - - Loadbalancer listener port - required: False - type: int - https_redirect_status_code: + port_max: description: - - The HTTP status code to be returned in the redirect response + - 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 id: @@ -128,35 +128,35 @@ # 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 = [ - 'lb', - 'port_max', + 'protocol', 'certificate_instance', - 'https_redirect_listener', + 'lb', 'connection_limit', + 'port', + 'https_redirect_uri', + 'https_redirect_listener', 'port_min', - 'protocol', 'accept_proxy_protocol', - 'https_redirect_uri', - 'default_pool', - 'port', 'https_redirect_status_code', + 'default_pool', + 'port_max', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('lb', 'str'), ('listener_id', 'str'), + ('lb', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'lb', 'listener_id', + 'lb', ] TL_CONFLICTS_MAP = { @@ -166,40 +166,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( - lb=dict( + protocol=dict( required=False, type='str'), - port_max=dict( - required=False, - type='int'), certificate_instance=dict( required=False, type='str'), - https_redirect_listener=dict( + lb=dict( required=False, type='str'), connection_limit=dict( required=False, type='int'), - port_min=dict( + port=dict( required=False, type='int'), - protocol=dict( + https_redirect_uri=dict( + required=False, + type='str'), + https_redirect_listener=dict( required=False, type='str'), + port_min=dict( + required=False, + type='int'), accept_proxy_protocol=dict( required=False, type='bool'), - https_redirect_uri=dict( + https_redirect_status_code=dict( required=False, - type='str'), + type='int'), default_pool=dict( required=False, type='str'), - port=dict( - required=False, - type='int'), - https_redirect_status_code=dict( + port_max=dict( required=False, type='int'), id=dict( @@ -279,7 +279,7 @@ def run_module(): resource_type='ibm_is_lb_listener', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 89c25685f..14c062914 100644 --- a/plugins/modules/ibm_is_lb_listener_info.py +++ b/plugins/modules/ibm_is_lb_listener_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_listener' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - lb: + listener_id: description: - - The load balancer identifier. + - The listener identifier. required: True type: str - listener_id: + lb: description: - - The listener identifier. + - The load balancer identifier. required: True type: str generation: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('lb', 'str'), ('listener_id', 'str'), + ('lb', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'lb', 'listener_id', + 'lb', ] @@ -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( - lb=dict( + listener_id=dict( required=True, type='str'), - listener_id=dict( + lb=dict( required=True, type='str'), generation=dict( @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_lb_listener', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 9e25d43d5..5ff9f3ee7 100644 --- a/plugins/modules/ibm_is_lb_listener_policies_info.py +++ b/plugins/modules/ibm_is_lb_listener_policies_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_listener_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - listener: + lb: description: - - The listener identifier. + - The load balancer identifier. required: True type: str - lb: + listener: description: - - The load balancer identifier. + - The listener identifier. required: True type: str generation: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('listener', 'str'), ('lb', 'str'), + ('listener', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'listener', 'lb', + 'listener', ] @@ -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( - listener=dict( + lb=dict( required=True, type='str'), - lb=dict( + listener=dict( required=True, type='str'), generation=dict( @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 20c0884a9..b7557436b 100644 --- a/plugins/modules/ibm_is_lb_listener_policy.py +++ b/plugins/modules/ibm_is_lb_listener_policy.py @@ -18,43 +18,38 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_listener_policy' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - lb: - description: - - (Required for new resource) Load Balancer Listener Policy - required: True - type: str - action: + priority: description: - - (Required for new resource) Policy Action + - (Required for new resource) Listener Policy Priority required: True - type: str + type: int target_http_status_code: description: - Listener Policy target HTTPS Status code. required: False type: int - listener: + lb: description: - - (Required for new resource) Listener ID + - (Required for new resource) Load Balancer Listener Policy required: True type: str - target_https_redirect_status_code: + target_https_redirect_listener: description: - - The HTTP status code to be returned in the redirect response + - ID of the listener that will be set as http redirect target required: False - type: int - priority: + type: str + target_id: description: - - (Required for new resource) Listener Policy Priority - required: True - type: int - name: + - Listener Policy Target ID + required: False + type: str + target_https_redirect_uri: description: - - Policy name + - Target URI where traffic will be redirected required: False type: str rules: @@ -63,26 +58,31 @@ required: False type: list elements: dict + name: + description: + - Policy name + required: False + type: str target_url: description: - Policy Target URL required: False type: str - target_https_redirect_uri: + action: description: - - Target URI where traffic will be redirected - required: False + - (Required for new resource) Policy Action + required: True type: str - target_https_redirect_listener: + listener: description: - - ID of the listener that will be set as http redirect target - required: False + - (Required for new resource) Listener ID + required: True type: str - target_id: + target_https_redirect_status_code: description: - - Listener Policy Target ID + - The HTTP status code to be returned in the redirect response required: False - type: str + type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -129,39 +129,39 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('priority', 'int'), ('lb', 'str'), ('action', 'str'), ('listener', 'str'), - ('priority', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'priority', + 'target_http_status_code', 'lb', + 'target_https_redirect_listener', + 'target_id', + 'target_https_redirect_uri', + 'rules', + 'name', + 'target_url', 'action', - 'target_http_status_code', 'listener', 'target_https_redirect_status_code', - 'priority', - 'name', - 'rules', - 'target_url', - 'target_https_redirect_uri', - 'target_https_redirect_listener', - 'target_id', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('policy_id', 'str'), ('lb', 'str'), ('listener', 'str'), + ('policy_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'policy_id', 'lb', 'listener', + 'policy_id', ] TL_CONFLICTS_MAP = { @@ -171,43 +171,43 @@ 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( - required=False, - type='str'), - action=dict( + priority=dict( required=False, - type='str'), + type='int'), target_http_status_code=dict( required=False, type='int'), - listener=dict( + lb=dict( required=False, type='str'), - target_https_redirect_status_code=dict( + target_https_redirect_listener=dict( required=False, - type='int'), - priority=dict( + type='str'), + target_id=dict( required=False, - type='int'), - name=dict( + type='str'), + target_https_redirect_uri=dict( required=False, type='str'), rules=dict( required=False, elements='', type='list'), - target_url=dict( + name=dict( required=False, type='str'), - target_https_redirect_uri=dict( + target_url=dict( required=False, type='str'), - target_https_redirect_listener=dict( + action=dict( required=False, type='str'), - target_id=dict( + listener=dict( required=False, type='str'), + target_https_redirect_status_code=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -285,7 +285,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 0fd71917b..34b2b651c 100644 --- a/plugins/modules/ibm_is_lb_listener_policy_info.py +++ b/plugins/modules/ibm_is_lb_listener_policy_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_listener_policy' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - policy_id: - description: - - The policy identifier. - required: True - type: str lb: description: - The load balancer identifier. @@ -36,6 +31,11 @@ - The listener identifier. required: True type: str + policy_id: + description: + - The policy identifier. + 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 = [ - ('policy_id', 'str'), ('lb', 'str'), ('listener', 'str'), + ('policy_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'policy_id', 'lb', 'listener', + 'policy_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( - policy_id=dict( - required=True, - type='str'), lb=dict( required=True, type='str'), listener=dict( required=True, type='str'), + policy_id=dict( + required=True, + type='str'), generation=dict( type='int', required=False, @@ -144,7 +144,7 @@ def run_module(): resource_type='ibm_is_lb_listener_policy', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 f12cd2454..8fd137f99 100644 --- a/plugins/modules/ibm_is_lb_listener_policy_rule.py +++ b/plugins/modules/ibm_is_lb_listener_policy_rule.py @@ -18,18 +18,13 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - type: - description: - - (Required for new resource) Policy rule type. - required: True - type: str - value: + lb: description: - - (Required for new resource) policy rule value info + - (Required for new resource) Loadbalancer ID required: True type: str field: @@ -47,14 +42,19 @@ - (Required for new resource) Listener Policy ID required: True type: str - lb: + condition: description: - - (Required for new resource) Loadbalancer ID + - (Required for new resource) Condition info of the rule. required: True type: str - condition: + type: description: - - (Required for new resource) Condition info of the rule. + - (Required for new resource) Policy rule type. + required: True + type: str + value: + description: + - (Required for new resource) policy rule value info required: True type: str id: @@ -103,36 +103,36 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('type', 'str'), - ('value', 'str'), + ('lb', 'str'), ('listener', 'str'), ('policy', 'str'), - ('lb', 'str'), ('condition', 'str'), + ('type', 'str'), + ('value', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'type', - 'value', + 'lb', 'field', 'listener', 'policy', - 'lb', 'condition', + 'type', + 'value', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('rule', 'str'), ('lb', 'str'), + ('rule', 'str'), ('listener', 'str'), ('policy', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'rule', 'lb', + 'rule', 'listener', 'policy', ] @@ -144,10 +144,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( - type=dict( - required=False, - type='str'), - value=dict( + lb=dict( required=False, type='str'), field=dict( @@ -159,10 +156,13 @@ policy=dict( required=False, type='str'), - lb=dict( + condition=dict( required=False, type='str'), - condition=dict( + type=dict( + required=False, + type='str'), + value=dict( required=False, type='str'), id=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 65b27af1f..f43ed112d 100644 --- a/plugins/modules/ibm_is_lb_listener_policy_rule_info.py +++ b/plugins/modules/ibm_is_lb_listener_policy_rule_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_listener_policy_rule' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - rule: + lb: description: - - The rule identifier. + - The load balancer identifier. required: True type: str - lb: + rule: description: - - The load balancer identifier. + - The rule identifier. required: True type: str listener: @@ -74,16 +74,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('rule', 'str'), ('lb', 'str'), + ('rule', 'str'), ('listener', 'str'), ('policy', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'rule', 'lb', + 'rule', 'listener', 'policy', ] @@ -96,10 +96,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=dict( + lb=dict( required=True, type='str'), - lb=dict( + rule=dict( required=True, type='str'), listener=dict( @@ -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.50.0', + ibm_provider_version='1.51.0', 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 51789c844..0b99514ba 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 e5f261521..cc8797b7a 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 ec21e3782..ffd849c6e 100644 --- a/plugins/modules/ibm_is_lb_pool.py +++ b/plugins/modules/ibm_is_lb_pool.py @@ -18,18 +18,28 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - proxy_protocol: + health_timeout: description: - - PROXY protocol setting for this pool + - (Required for new resource) Load Balancer health timeout interval + required: True + type: int + health_delay: + description: + - (Required for new resource) Load Blancer health delay time period + required: True + type: int + health_monitor_port: + description: + - Health monitor Port the LB Pool required: False - type: str - name: + type: int + lb: description: - - (Required for new resource) Load Balancer Pool name + - (Required for new resource) Load Balancer ID required: True type: str algorithm: @@ -42,51 +52,41 @@ - (Required for new resource) Load Balancer Protocol required: True type: str - health_delay: - description: - - (Required for new resource) Load Blancer health delay time period - required: True - type: int health_type: description: - (Required for new resource) Load Balancer health type required: True type: str + health_monitor_url: + description: + - Health monitor URL of LB Pool + required: False + type: str session_persistence_app_cookie_name: description: - Load Balancer Pool session persisence app cookie name. required: False type: str - lb: + name: description: - - (Required for new resource) Load Balancer ID + - (Required for new resource) Load Balancer Pool name required: True type: str - health_monitor_url: + session_persistence_type: description: - - Health monitor URL of LB Pool + - Load Balancer Pool session persisence type. required: False type: str - health_monitor_port: + proxy_protocol: description: - - Health monitor Port the LB Pool + - PROXY protocol setting for this pool required: False - type: int - health_timeout: - description: - - (Required for new resource) Load Balancer health timeout interval - required: True - type: int + type: str health_retries: description: - (Required for new resource) Load Balancer health retry count required: True type: int - session_persistence_type: - description: - - Load Balancer Pool session persisence type. - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -133,31 +133,31 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), + ('health_timeout', 'int'), + ('health_delay', 'int'), + ('lb', 'str'), ('algorithm', 'str'), ('protocol', 'str'), - ('health_delay', 'int'), ('health_type', 'str'), - ('lb', 'str'), - ('health_timeout', 'int'), + ('name', 'str'), ('health_retries', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'proxy_protocol', - 'name', + 'health_timeout', + 'health_delay', + 'health_monitor_port', + 'lb', 'algorithm', 'protocol', - 'health_delay', 'health_type', - 'session_persistence_app_cookie_name', - 'lb', 'health_monitor_url', - 'health_monitor_port', - 'health_timeout', - 'health_retries', + 'session_persistence_app_cookie_name', + 'name', 'session_persistence_type', + 'proxy_protocol', + 'health_retries', ] # Params for Data source @@ -166,9 +166,9 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'lb', 'identifier', + 'name', ] TL_CONFLICTS_MAP = { @@ -178,10 +178,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( - proxy_protocol=dict( + health_timeout=dict( required=False, - type='str'), - name=dict( + type='int'), + health_delay=dict( + required=False, + type='int'), + health_monitor_port=dict( + required=False, + type='int'), + lb=dict( required=False, type='str'), algorithm=dict( @@ -190,33 +196,27 @@ protocol=dict( required=False, type='str'), - health_delay=dict( - required=False, - type='int'), health_type=dict( required=False, type='str'), - session_persistence_app_cookie_name=dict( + health_monitor_url=dict( required=False, type='str'), - lb=dict( + session_persistence_app_cookie_name=dict( required=False, type='str'), - health_monitor_url=dict( + name=dict( required=False, type='str'), - health_monitor_port=dict( + session_persistence_type=dict( required=False, - type='int'), - health_timeout=dict( + type='str'), + proxy_protocol=dict( required=False, - type='int'), + type='str'), health_retries=dict( required=False, type='int'), - session_persistence_type=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -294,7 +294,7 @@ def run_module(): resource_type='ibm_is_lb_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 4678f3491..fb8ce4599 100644 --- a/plugins/modules/ibm_is_lb_pool_info.py +++ b/plugins/modules/ibm_is_lb_pool_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: - description: - - The user-defined name for this load balancer pool. - required: False - type: str lb: description: - The load balancer identifier. @@ -36,6 +31,11 @@ - The pool identifier. required: False type: str + name: + description: + - The user-defined name for this load balancer pool. + 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', 'lb', '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'), lb=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_lb_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 44091008c..a36b19c82 100644 --- a/plugins/modules/ibm_is_lb_pool_member.py +++ b/plugins/modules/ibm_is_lb_pool_member.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_is_lb_pool_member' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + target_id: + description: + - Load balancer pool member target id + required: False + type: str pool: description: - (Required for new resource) Loadblancer Poold ID @@ -47,11 +52,6 @@ - Load balcner pool member weight required: False type: int - target_id: - description: - - Load balancer pool member target id - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -105,24 +105,24 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'target_id', 'pool', 'lb', 'port', 'target_address', 'weight', - 'target_id', ] # 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,6 +133,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( + target_id=dict( + required=False, + type='str'), pool=dict( required=False, type='str'), @@ -148,9 +151,6 @@ weight=dict( required=False, type='int'), - target_id=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -228,7 +228,7 @@ def run_module(): resource_type='ibm_is_lb_pool_member', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 f7d1d6ad5..ae1ce75d8 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 b19b733c4..1616d5cd9 100644 --- a/plugins/modules/ibm_is_lb_pool_members_info.py +++ b/plugins/modules/ibm_is_lb_pool_members_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_lb_pool_members' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pool: + lb: description: - - The pool identifier. + - The load balancer identifier. required: True type: str - lb: + pool: description: - - The load balancer identifier. + - The pool identifier. required: True type: str generation: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pool', 'str'), ('lb', 'str'), + ('pool', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pool', 'lb', + 'pool', ] @@ -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( - pool=dict( + lb=dict( required=True, type='str'), - lb=dict( + pool=dict( required=True, type='str'), generation=dict( @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_lb_pool_members', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 de122b10f..3420785ae 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 e4d179475..f5472e39d 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 6be318c4a..c15f7dcef 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 d524b39fc..2cc8828e8 100644 --- a/plugins/modules/ibm_is_network_acl.py +++ b/plugins/modules/ibm_is_network_acl.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_network_acl' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,34 +27,34 @@ - Network ACL name required: False type: str - rules: + resource_group: description: - - None + - Resource group ID for the network ACL + required: False + type: str + access_tags: + description: + - List of access management tags required: False type: list - elements: dict + elements: 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 required: False type: list elements: str - access_tags: + rules: description: - - List of access management tags + - None required: False type: list - elements: str + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -106,11 +106,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'name', - 'rules', - 'vpc', 'resource_group', - 'tags', 'access_tags', + 'vpc', + 'tags', + 'rules', ] # Params for Data source @@ -118,9 +118,9 @@ ] TL_ALL_PARAMETERS_DS = [ - 'vpc_name', 'name', 'network_acl', + 'vpc_name', ] TL_CONFLICTS_MAP = { @@ -133,21 +133,21 @@ name=dict( required=False, type='str'), - rules=dict( + resource_group=dict( + required=False, + type='str'), + access_tags=dict( required=False, elements='', type='list'), vpc=dict( required=False, type='str'), - resource_group=dict( - required=False, - type='str'), tags=dict( required=False, elements='', type='list'), - access_tags=dict( + rules=dict( required=False, elements='', type='list'), @@ -228,7 +228,7 @@ def run_module(): resource_type='ibm_is_network_acl', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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_network_acl', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 af6f5ffd0..bf41cbaeb 100644 --- a/plugins/modules/ibm_is_network_acl_info.py +++ b/plugins/modules/ibm_is_network_acl_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_is_network_acl' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - vpc_name: - description: - - The name of the vpc the network acl resides in. - required: False - type: str name: description: - The network acl name. @@ -36,6 +31,11 @@ - The network acl id. 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', 'name', 'network_acl', + 'vpc_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( - vpc_name=dict( - required=False, - type='str'), name=dict( required=False, type='str'), network_acl=dict( required=False, type='str'), + vpc_name=dict( + required=False, + type='str'), generation=dict( type='int', required=False, @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_is_network_acl', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 b8653f622..a85a7a201 100644 --- a/plugins/modules/ibm_is_network_acl_rule.py +++ b/plugins/modules/ibm_is_network_acl_rule.py @@ -18,34 +18,50 @@ - Create, update or destroy an IBM Cloud 'ibm_is_network_acl_rule' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - network_acl: + name: description: - - (Required for new resource) Network ACL id + - 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: str + action: + description: + - (Required for new resource) Whether to allow or deny matching traffic required: True type: str - destination: + before: description: - - (Required for new resource) The destination CIDR block. The CIDR block 0.0.0.0/0 applies to all addresses. + - The rule that this rule is immediately before. If absent, this is the last rule. + required: False + type: str + source: + description: + - (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: + description: + - None + required: False + type: list + elements: dict tcp: description: - None required: False type: list elements: dict - action: + network_acl: description: - - (Required for new resource) Whether to allow or deny matching traffic + - (Required for new resource) Network ACL id required: True type: str - direction: + destination: description: - - (Required for new resource) Direction of traffic to enforce, either inbound or outbound + - (Required for new resource) The destination CIDR block. The CIDR block 0.0.0.0/0 applies to all addresses. required: True type: str udp: @@ -54,27 +70,11 @@ required: False type: list elements: dict - source: + direction: 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) Direction of traffic to enforce, either inbound or outbound required: True type: str - icmp: - description: - - None - required: False - type: list - elements: dict - before: - description: - - The rule that this rule is immediately before. If absent, this is the last rule. - required: False - type: str - name: - 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 - 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 = [ + ('action', 'str'), + ('source', 'str'), ('network_acl', 'str'), ('destination', 'str'), - ('action', 'str'), ('direction', 'str'), - ('source', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'network_acl', - 'destination', - 'tcp', + 'name', 'action', - 'direction', - 'udp', + 'before', 'source', 'icmp', - 'before', - 'name', + 'tcp', + 'network_acl', + 'destination', + 'udp', + 'direction', ] # Params for Data source @@ -154,35 +154,24 @@ ] TL_CONFLICTS_MAP = { + 'icmp': ['tcp', 'udp'], 'tcp': ['icmp', 'udp'], 'udp': ['icmp', 'tcp'], - '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( - network_acl=dict( - required=False, - type='str'), - destination=dict( + name=dict( required=False, type='str'), - tcp=dict( - required=False, - elements='', - type='list'), action=dict( required=False, type='str'), - direction=dict( + before=dict( required=False, type='str'), - udp=dict( - required=False, - elements='', - type='list'), source=dict( required=False, type='str'), @@ -190,10 +179,21 @@ required=False, elements='', type='list'), - before=dict( + tcp=dict( + required=False, + elements='', + type='list'), + network_acl=dict( required=False, type='str'), - name=dict( + destination=dict( + required=False, + type='str'), + udp=dict( + required=False, + elements='', + type='list'), + direction=dict( required=False, type='str'), id=dict( @@ -273,7 +273,7 @@ def run_module(): resource_type='ibm_is_network_acl_rule', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 99bbb6b66..eb3570ae0 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 58fefbe8b..188b45852 100644 --- a/plugins/modules/ibm_is_network_acl_rules_info.py +++ b/plugins/modules/ibm_is_network_acl_rules_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_is_network_acl_rules' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - direction: - description: - - The direction of the rules to filter - required: False - type: str network_acl: description: - Network ACL id required: True type: str + direction: + description: + - The direction of the rules to filter + 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 = [ - 'direction', 'network_acl', + 'direction', ] @@ -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( - direction=dict( - required=False, - type='str'), network_acl=dict( required=True, type='str'), + direction=dict( + required=False, + type='str'), generation=dict( type='int', required=False, @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_network_acl_rules', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 e28688a3e..7bffc7bb0 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 93c686043..0b8f85274 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 ef5a9ebed..eabcca650 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 eda5d0c7e..1e700004f 100644 --- a/plugins/modules/ibm_is_placement_group.py +++ b/plugins/modules/ibm_is_placement_group.py @@ -18,10 +18,16 @@ - Create, update or destroy an IBM Cloud 'ibm_is_placement_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + access_tags: + description: + - List of access management tags + required: False + type: list + elements: str strategy: description: - (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. @@ -32,23 +38,17 @@ - (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. - required: False - type: str tags: description: - List of tags required: False type: list elements: str - access_tags: + resource_group: description: - - List of access management tags + - 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: list - elements: str + 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 = [ + 'access_tags', 'strategy', 'name', - 'resource_group', 'tags', - 'access_tags', + 'resource_group', ] # 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( + access_tags=dict( + required=False, + elements='', + type='list'), strategy=dict( required=False, type='str'), name=dict( required=False, type='str'), - resource_group=dict( - required=False, - type='str'), tags=dict( required=False, elements='', type='list'), - access_tags=dict( + resource_group=dict( required=False, - elements='', - type='list'), + type='str'), id=dict( required=False, type='str'), @@ -218,7 +218,7 @@ def run_module(): resource_type='ibm_is_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 4c6eff50f..0cb809eb2 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 5fdbfe94a..5a2aa3f42 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 14f612ec1..e8c8f5074 100644 --- a/plugins/modules/ibm_is_public_gateway.py +++ b/plugins/modules/ibm_is_public_gateway.py @@ -18,41 +18,41 @@ - Create, update or destroy an IBM Cloud 'ibm_is_public_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + resource_group: + description: + - Public gateway resource group info + required: False + type: str zone: description: - (Required for new resource) Public gateway zone info required: True type: str + name: + description: + - (Required for new resource) Name of the Public gateway instance + required: True + type: str tags: description: - Service tags for the public gateway instance required: False type: list elements: str - name: - description: - - (Required for new resource) Name of the Public gateway instance - required: True - type: str - resource_group: + floating_ip: description: - - Public gateway resource group info + - None required: False - type: str + type: dict vpc: description: - (Required for new resource) Public gateway VPC info required: True type: str - floating_ip: - description: - - None - required: False - type: dict access_tags: description: - List of access management tags @@ -112,12 +112,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'resource_group', 'zone', - 'tags', 'name', - 'resource_group', - 'vpc', + 'tags', 'floating_ip', + 'vpc', 'access_tags', ] @@ -138,25 +138,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=dict( + required=False, + type='str'), zone=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), tags=dict( required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), - resource_group=dict( + floating_ip=dict( required=False, - type='str'), + type='dict'), vpc=dict( required=False, type='str'), - floating_ip=dict( - required=False, - type='dict'), access_tags=dict( required=False, elements='', @@ -238,7 +238,7 @@ def run_module(): resource_type='ibm_is_public_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -247,7 +247,7 @@ def run_module(): resource_type='ibm_is_public_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 09bd198c7..17a9ccc97 100644 --- a/plugins/modules/ibm_is_public_gateway_info.py +++ b/plugins/modules/ibm_is_public_gateway_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_public_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_public_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 7492d423b..ad6033316 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -123,7 +123,7 @@ def run_module(): resource_type='ibm_is_public_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 a493756dd..597137629 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 1f1e3edc2..0ef8ab7f0 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 0d51e5c39..923a48600 100644 --- a/plugins/modules/ibm_is_security_group.py +++ b/plugins/modules/ibm_is_security_group.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_security_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,6 +27,11 @@ - Resource Group ID required: False type: str + name: + description: + - Security group name + required: False + type: str vpc: description: - (Required for new resource) Security group's resource group id @@ -44,11 +49,6 @@ required: False type: list elements: str - name: - description: - - Security group name - 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 = [ 'resource_group', + 'name', 'vpc', 'tags', 'access_tags', - 'name', ] # Params for Data source @@ -126,6 +126,9 @@ resource_group=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), vpc=dict( required=False, type='str'), @@ -137,9 +140,6 @@ required=False, elements='', type='list'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_is_security_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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_security_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 8144b3839..b5808be38 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 da0b64403..9cbcdcc80 100644 --- a/plugins/modules/ibm_is_security_group_network_interface_attachment.py +++ b/plugins/modules/ibm_is_security_group_network_interface_attachment.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -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.50.0', + ibm_provider_version='1.51.0', 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 720181c7f..8e1cd1066 100644 --- a/plugins/modules/ibm_is_security_group_rule.py +++ b/plugins/modules/ibm_is_security_group_rule.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_security_group_rule' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - group: - description: - - (Required for new resource) Security group id - required: True - type: str - remote: - description: - - Security group id: an IP address, a CIDR block, or a single security group identifier - required: False - type: str icmp: description: - protocol=icmp @@ -44,10 +34,10 @@ required: False type: list elements: dict - direction: + remote: description: - - (Required for new resource) Direction of traffic to enforce, either inbound or outbound - required: True + - Security group id: an IP address, a CIDR block, or a single security group identifier + required: False type: str ip_version: description: @@ -61,6 +51,16 @@ required: False type: list elements: dict + 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 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 = [ - 'group', - 'remote', 'icmp', 'udp', - 'direction', + 'remote', 'ip_version', 'tcp', + 'group', + 'direction', ] # Params for Data source @@ -143,12 +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( - group=dict( - required=False, - type='str'), - remote=dict( - required=False, - type='str'), icmp=dict( required=False, elements='', @@ -157,7 +151,7 @@ required=False, elements='', type='list'), - direction=dict( + remote=dict( required=False, type='str'), ip_version=dict( @@ -167,6 +161,12 @@ required=False, elements='', type='list'), + group=dict( + required=False, + type='str'), + direction=dict( + required=False, + 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 b381df025..c43972a29 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 7b339a4e2..b58617088 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 a4bb94e39..856eca62d 100644 --- a/plugins/modules/ibm_is_security_group_target.py +++ b/plugins/modules/ibm_is_security_group_target.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_security_group_target' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -90,13 +90,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('security_group', 'str'), ('name', 'str'), + ('security_group', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'security_group', 'name', + 'security_group', ] TL_CONFLICTS_MAP = { @@ -189,7 +189,7 @@ def run_module(): resource_type='ibm_is_security_group_target', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 a19fd1a64..0a9dc1a07 100644 --- a/plugins/modules/ibm_is_security_group_target_info.py +++ b/plugins/modules/ibm_is_security_group_target_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_security_group_target' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - security_group: + name: description: - - Security group id + - Security group target name required: True type: str - name: + security_group: description: - - Security group target name + - Security group id required: True type: str generation: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('security_group', 'str'), ('name', 'str'), + ('security_group', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'security_group', 'name', + 'security_group', ] @@ -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( - security_group=dict( + name=dict( required=True, type='str'), - name=dict( + security_group=dict( required=True, type='str'), generation=dict( @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_security_group_target', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 d15fddbf6..83b548eca 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 fb9b5ac28..adbd29fd4 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 20c004faf..49a37b20c 100644 --- a/plugins/modules/ibm_is_snapshot.py +++ b/plugins/modules/ibm_is_snapshot.py @@ -18,34 +18,40 @@ - Create, update or destroy an IBM Cloud 'ibm_is_snapshot' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - source_volume: + resource_group: description: - - (Required for new resource) Snapshot source volume - required: True + - Resource group info + required: False type: str name: description: - Snapshot name required: False type: str - resource_group: + source_volume: description: - - Resource group info - required: False + - (Required for new resource) Snapshot source volume + required: True type: str - access_tags: + tags: description: - - List of access management tags + - User Tags for the snapshot required: False type: list elements: str - tags: + clones: description: - - User Tags for the snapshot + - Zones for creating the snapshot clone + required: False + type: list + elements: str + access_tags: + description: + - List of access management tags required: False type: list elements: str @@ -100,11 +106,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'source_volume', - 'name', 'resource_group', - 'access_tags', + 'name', + 'source_volume', 'tags', + 'clones', + 'access_tags', ] # Params for Data source @@ -112,8 +119,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'identifier', 'name', + 'identifier', ] TL_CONFLICTS_MAP = { @@ -123,20 +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( - source_volume=dict( + resource_group=dict( required=False, type='str'), name=dict( required=False, type='str'), - resource_group=dict( + source_volume=dict( required=False, type='str'), - access_tags=dict( + tags=dict( required=False, elements='', type='list'), - tags=dict( + clones=dict( + required=False, + elements='', + type='list'), + access_tags=dict( required=False, elements='', type='list'), @@ -217,7 +228,7 @@ def run_module(): resource_type='ibm_is_snapshot', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -226,7 +237,7 @@ def run_module(): resource_type='ibm_is_snapshot', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_is_snapshot_clone_info.py b/plugins/modules/ibm_is_snapshot_clone_info.py new file mode 100644 index 000000000..7115ad3d7 --- /dev/null +++ b/plugins/modules/ibm_is_snapshot_clone_info.py @@ -0,0 +1,153 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_is_snapshot_clone_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/is_snapshot_clone + +short_description: Retrieve IBM Cloud 'ibm_is_snapshot_clone' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_is_snapshot_clone' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + snapshot: + description: + - None + required: True + type: str + zone: + description: + - The zone this snapshot clone resides in. + required: True + type: str + generation: + description: + - 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'. + default: 2 + required: False + type: int + 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 + type: str + 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 = [ + ('snapshot', 'str'), + ('zone', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'snapshot', + 'zone', +] + + +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( + snapshot=dict( + required=True, + type='str'), + zone=dict( + required=True, + type='str'), + generation=dict( + type='int', + required=False, + fallback=(env_fallback, ['IC_GENERATION']), + default=2), + 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 + ) + + # VPC required arguments checks + if module.params['generation'] == 1: + missing_args = [] + if module.params['iaas_classic_username'] is None: + missing_args.append('iaas_classic_username') + if module.params['iaas_classic_api_key'] is None: + missing_args.append('iaas_classic_api_key') + if missing_args: + module.fail_json(msg=( + "VPC generation=1 missing required arguments: " + + ", ".join(missing_args))) + elif module.params['generation'] == 2: + if module.params['ibmcloud_api_key'] is None: + module.fail_json( + msg=("VPC generation=2 missing required argument: " + "ibmcloud_api_key")) + + result = ibmcloud_terraform( + resource_type='ibm_is_snapshot_clone', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_is_snapshot_clones_info.py b/plugins/modules/ibm_is_snapshot_clones_info.py new file mode 100644 index 000000000..751e995f0 --- /dev/null +++ b/plugins/modules/ibm_is_snapshot_clones_info.py @@ -0,0 +1,143 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_is_snapshot_clones_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/is_snapshot_clones + +short_description: Retrieve IBM Cloud 'ibm_is_snapshot_clones' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_is_snapshot_clones' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + snapshot: + description: + - None + required: True + type: str + generation: + description: + - 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'. + default: 2 + required: False + type: int + 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 + type: str + 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 = [ + ('snapshot', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'snapshot', +] + + +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( + snapshot=dict( + required=True, + type='str'), + generation=dict( + type='int', + required=False, + fallback=(env_fallback, ['IC_GENERATION']), + default=2), + 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 + ) + + # VPC required arguments checks + if module.params['generation'] == 1: + missing_args = [] + if module.params['iaas_classic_username'] is None: + missing_args.append('iaas_classic_username') + if module.params['iaas_classic_api_key'] is None: + missing_args.append('iaas_classic_api_key') + if missing_args: + module.fail_json(msg=( + "VPC generation=1 missing required arguments: " + + ", ".join(missing_args))) + elif module.params['generation'] == 2: + if module.params['ibmcloud_api_key'] is None: + module.fail_json( + msg=("VPC generation=2 missing required argument: " + "ibmcloud_api_key")) + + result = ibmcloud_terraform( + resource_type='ibm_is_snapshot_clones', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_is_snapshot_info.py b/plugins/modules/ibm_is_snapshot_info.py index 0f5d0801d..28f449b50 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - identifier: + name: description: - - Snapshot identifier + - Snapshot name required: False type: str - name: + identifier: description: - - Snapshot name + - Snapshot identifier 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_snapshot', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 bd6142103..f887d2443 100644 --- a/plugins/modules/ibm_is_snapshots_info.py +++ b/plugins/modules/ibm_is_snapshots_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_snapshots' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -168,7 +168,7 @@ def run_module(): resource_type='ibm_is_snapshots', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 a16f2f176..82e426ba3 100644 --- a/plugins/modules/ibm_is_ssh_key.py +++ b/plugins/modules/ibm_is_ssh_key.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_is_ssh_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,10 +27,10 @@ - (Required for new resource) SSH Key name required: True type: str - public_key: + resource_group: description: - - (Required for new resource) SSH Public key data - required: True + - Resource group ID + required: False type: str tags: description: @@ -44,10 +44,10 @@ required: False type: list elements: str - resource_group: + public_key: description: - - Resource group ID - required: False + - (Required for new resource) SSH Public key data + required: True type: str id: description: @@ -102,10 +102,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'name', - 'public_key', + 'resource_group', 'tags', 'access_tags', - 'resource_group', + 'public_key', ] # Params for Data source @@ -114,8 +114,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'resource_group', + 'name', ] TL_CONFLICTS_MAP = { @@ -128,7 +128,7 @@ name=dict( required=False, type='str'), - public_key=dict( + resource_group=dict( required=False, type='str'), tags=dict( @@ -139,7 +139,7 @@ required=False, elements='', type='list'), - resource_group=dict( + public_key=dict( required=False, type='str'), id=dict( @@ -219,7 +219,7 @@ def run_module(): resource_type='ibm_is_ssh_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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_ssh_key', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 03c706b87..8b7e6dce4 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 3ab868e5e..a4545da51 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 dafc93709..e3fb30c30 100644 --- a/plugins/modules/ibm_is_subnet.py +++ b/plugins/modules/ibm_is_subnet.py @@ -18,10 +18,20 @@ - Create, update or destroy an IBM Cloud 'ibm_is_subnet' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + network_acl: + description: + - The network ACL for this subnet + required: False + type: str + public_gateway: + description: + - Public Gateway of the subnet + required: False + type: str vpc: description: - (Required for new resource) VPC instance ID @@ -43,6 +53,16 @@ required: False type: str default: ipv4 + routing_table: + description: + - routing table id that is associated with the subnet + required: False + type: str + total_ipv4_address_count: + description: + - The total number of IPv4 addresses in this subnet. + required: False + type: int name: description: - (Required for new resource) Subnet name @@ -54,37 +74,17 @@ required: False type: list elements: str - public_gateway: - description: - - Public Gateway of the subnet - required: False - type: str - total_ipv4_address_count: - description: - - The total number of IPv4 addresses in this subnet. - required: False - type: int access_tags: description: - List of access management tags required: False type: list elements: str - network_acl: - description: - - The network ACL for this subnet - required: False - type: str zone: description: - (Required for new resource) Subnet zone info required: True type: str - routing_table: - description: - - routing table id that is associated with the subnet - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -138,18 +138,18 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'network_acl', + 'public_gateway', 'vpc', 'resource_group', 'ipv4_cidr_block', 'ip_version', + 'routing_table', + 'total_ipv4_address_count', 'name', 'tags', - 'public_gateway', - 'total_ipv4_address_count', 'access_tags', - 'network_acl', 'zone', - 'routing_table', ] # Params for Data source @@ -157,8 +157,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'identifier', 'name', + 'identifier', ] TL_CONFLICTS_MAP = { @@ -170,6 +170,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( + network_acl=dict( + required=False, + type='str'), + public_gateway=dict( + required=False, + type='str'), vpc=dict( required=False, type='str'), @@ -182,6 +188,12 @@ ip_version=dict( required=False, type='str'), + routing_table=dict( + required=False, + type='str'), + total_ipv4_address_count=dict( + required=False, + type='int'), name=dict( required=False, type='str'), @@ -189,25 +201,13 @@ required=False, elements='', type='list'), - public_gateway=dict( - required=False, - type='str'), - total_ipv4_address_count=dict( - required=False, - type='int'), access_tags=dict( required=False, elements='', type='list'), - network_acl=dict( - required=False, - type='str'), zone=dict( required=False, type='str'), - routing_table=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 3f3a96fc2..61f960afd 100644 --- a/plugins/modules/ibm_is_subnet_info.py +++ b/plugins/modules/ibm_is_subnet_info.py @@ -17,16 +17,16 @@ description: - Retrieve an IBM Cloud 'ibm_is_subnet' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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_subnet', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 4c65d8a7f..2ab7c1dde 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 713fbf036..4f00c42cd 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 c3193c618..d660220ab 100644 --- a/plugins/modules/ibm_is_subnet_reserved_ip.py +++ b/plugins/modules/ibm_is_subnet_reserved_ip.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_subnet_reserved_ip' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - target: - description: - - The unique identifier for target. - required: False - type: str - address: - description: - - The address for this reserved IP. - required: False - type: str subnet: description: - (Required for new resource) The subnet identifier. @@ -47,6 +37,16 @@ - The user-defined or system-provided name for this reserved IP. required: False type: str + target: + description: + - The unique identifier for target. + required: False + type: str + address: + description: + - The address for this reserved IP. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -98,22 +98,22 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'target', - 'address', 'subnet', 'auto_delete', 'name', + 'target', + 'address', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('reserved_ip', 'str'), ('subnet', 'str'), + ('reserved_ip', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'reserved_ip', 'subnet', + 'reserved_ip', ] TL_CONFLICTS_MAP = { @@ -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( - target=dict( - required=False, - type='str'), - address=dict( - required=False, - type='str'), subnet=dict( required=False, type='str'), @@ -138,6 +132,12 @@ name=dict( required=False, type='str'), + target=dict( + required=False, + type='str'), + address=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -215,7 +215,7 @@ def run_module(): resource_type='ibm_is_subnet_reserved_ip', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 c5c1eac1e..42bd3e0cf 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - reserved_ip: + subnet: description: - - The reserved IP identifier. + - The subnet identifier. required: True type: str - subnet: + reserved_ip: description: - - The subnet identifier. + - The reserved IP identifier. required: True type: str generation: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('reserved_ip', 'str'), ('subnet', 'str'), + ('reserved_ip', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'reserved_ip', 'subnet', + 'reserved_ip', ] @@ -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( - reserved_ip=dict( + subnet=dict( required=True, type='str'), - subnet=dict( + reserved_ip=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.50.0', + ibm_provider_version='1.51.0', 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 44ec2b6bb..be538ed3e 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 0351e496f..57ab48c6c 100644 --- a/plugins/modules/ibm_is_subnet_routing_table_attachment.py +++ b/plugins/modules/ibm_is_subnet_routing_table_attachment.py @@ -18,18 +18,18 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - subnet: + routing_table: description: - - (Required for new resource) The subnet identifier + - (Required for new resource) The unique identifier of routing table required: True type: str - routing_table: + subnet: description: - - (Required for new resource) The unique identifier of routing table + - (Required for new resource) The subnet identifier required: True type: str id: @@ -78,14 +78,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('subnet', 'str'), ('routing_table', 'str'), + ('subnet', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'subnet', 'routing_table', + 'subnet', ] # 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( - subnet=dict( + routing_table=dict( required=False, type='str'), - routing_table=dict( + subnet=dict( required=False, type='str'), id=dict( @@ -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.50.0', + ibm_provider_version='1.51.0', 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 0fdf06a48..288cc44ba 100644 --- a/plugins/modules/ibm_is_subnets_info.py +++ b/plugins/modules/ibm_is_subnets_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_is_subnets' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + resource_group: + description: + - Resource Group ID + required: False + type: str routing_table_name: description: - Name of the routing table @@ -31,11 +36,6 @@ - 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,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( - routing_table_name=dict( + resource_group=dict( required=False, type='str'), - routing_table=dict( + routing_table_name=dict( required=False, type='str'), - resource_group=dict( + routing_table=dict( required=False, type='str'), generation=dict( @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_is_subnets', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 09ebb5f15..caad9f740 100644 --- a/plugins/modules/ibm_is_virtual_endpoint_gateway.py +++ b/plugins/modules/ibm_is_virtual_endpoint_gateway.py @@ -18,55 +18,55 @@ - Create, update or destroy an IBM Cloud 'ibm_is_virtual_endpoint_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - security_groups: - description: - - Endpoint gateway securitygroups list - required: False - type: list - elements: str - ips: + resource_group: description: - - Endpoint gateway IPs + - The resource group id required: False - type: list - elements: dict + type: str vpc: description: - (Required for new resource) The VPC id required: True type: str + tags: + description: + - List of tags for VPE + required: False + type: list + elements: str + access_tags: + description: + - List of access management tags + required: False + type: list + elements: str name: description: - (Required for new resource) Endpoint gateway name required: True type: str - resource_group: + security_groups: description: - - The resource group id + - Endpoint gateway securitygroups list required: False - type: str - access_tags: + type: list + elements: str + ips: description: - - List of access management tags + - Endpoint gateway IPs required: False type: list - elements: str + elements: dict target: description: - (Required for new resource) Endpoint gateway target required: True type: list elements: dict - tags: - description: - - List of tags for VPE - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -120,14 +120,14 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'security_groups', - 'ips', - 'vpc', - 'name', 'resource_group', + 'vpc', + 'tags', 'access_tags', + 'name', + 'security_groups', + 'ips', 'target', - 'tags', ] # Params for Data source @@ -146,32 +146,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( - security_groups=dict( + resource_group=dict( + required=False, + type='str'), + vpc=dict( + required=False, + type='str'), + tags=dict( required=False, elements='', type='list'), - ips=dict( + access_tags=dict( required=False, elements='', type='list'), - vpc=dict( - required=False, - type='str'), name=dict( required=False, type='str'), - resource_group=dict( - required=False, - type='str'), - access_tags=dict( + security_groups=dict( required=False, elements='', type='list'), - target=dict( + ips=dict( required=False, elements='', type='list'), - tags=dict( + target=dict( required=False, elements='', type='list'), @@ -252,7 +252,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -261,7 +261,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 64376dd3c..59c37301c 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 d147e19bd..400a3640a 100644 --- a/plugins/modules/ibm_is_virtual_endpoint_gateway_ip.py +++ b/plugins/modules/ibm_is_virtual_endpoint_gateway_ip.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -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.50.0', + ibm_provider_version='1.51.0', 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 e1d8504dd..7dd831a3c 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 9b117efae..449711e44 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_virtual_endpoint_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 e791554bd..b8e3a9215 100644 --- a/plugins/modules/ibm_is_volume.py +++ b/plugins/modules/ibm_is_volume.py @@ -18,25 +18,31 @@ - Create, update or destroy an IBM Cloud 'ibm_is_volume' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - encryption_key: + profile: description: - - Volume encryption key info - required: False + - (Required for new resource) Volume profile name + required: True type: str - capacity: + delete_all_snapshots: description: - - Volume capacity value + - Deletes all snapshots created from this volume + required: False + type: bool + iops: + description: + - IOPS value for the Volume required: False type: int - resource_group: + tags: description: - - Resource group name + - UserTags for the volume instance required: False - type: str + type: list + elements: str name: description: - (Required for new resource) Volume name @@ -47,32 +53,26 @@ - (Required for new resource) Zone name required: True type: str - iops: - description: - - IOPS value for the Volume - required: False - type: int - delete_all_snapshots: + encryption_key: description: - - Deletes all snapshots created from this volume + - Volume encryption key info required: False - type: bool - profile: - description: - - (Required for new resource) Volume profile name - required: True type: str source_snapshot: description: - The unique identifier for this snapshot required: False type: str - tags: + resource_group: description: - - UserTags for the volume instance + - Resource group name required: False - type: list - elements: str + type: str + capacity: + description: + - Volume capacity value + required: False + type: int access_tags: description: - Access management tags for the volume instance @@ -125,23 +125,23 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('profile', 'str'), ('name', 'str'), ('zone', 'str'), - ('profile', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'encryption_key', - 'capacity', - 'resource_group', + 'profile', + 'delete_all_snapshots', + 'iops', + 'tags', 'name', 'zone', - 'iops', - 'delete_all_snapshots', - 'profile', + 'encryption_key', 'source_snapshot', - 'tags', + 'resource_group', + 'capacity', 'access_tags', ] @@ -162,37 +162,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( - encryption_key=dict( + profile=dict( required=False, type='str'), - capacity=dict( + delete_all_snapshots=dict( + required=False, + type='bool'), + iops=dict( required=False, type='int'), - resource_group=dict( + tags=dict( required=False, - type='str'), + elements='', + type='list'), name=dict( required=False, type='str'), zone=dict( required=False, type='str'), - iops=dict( - required=False, - type='int'), - delete_all_snapshots=dict( - required=False, - type='bool'), - profile=dict( + encryption_key=dict( required=False, type='str'), source_snapshot=dict( required=False, type='str'), - tags=dict( + resource_group=dict( required=False, - elements='', - type='list'), + type='str'), + capacity=dict( + required=False, + type='int'), access_tags=dict( required=False, elements='', @@ -274,7 +274,7 @@ def run_module(): resource_type='ibm_is_volume', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -283,7 +283,7 @@ def run_module(): resource_type='ibm_is_volume', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 725ea8e59..b2fa967c6 100644 --- a/plugins/modules/ibm_is_volume_info.py +++ b/plugins/modules/ibm_is_volume_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_volume' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_volume', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 5a8cf9194..783df677d 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 94059c217..65f5cb20f 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 b394a2ae4..af8aa3cff 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 70e9d9969..3ff6ad722 100644 --- a/plugins/modules/ibm_is_vpc.py +++ b/plugins/modules/ibm_is_vpc.py @@ -18,37 +18,33 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpc' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - address_prefix_management: - description: - - Address Prefix management value - required: False - type: str - default: auto - default_network_acl_name: + tags: description: - - Default Network ACL name + - List of tags required: False - type: str - default_security_group_name: + type: list + elements: str + classic_access: description: - - Default security group name + - Set to true if classic access needs to enabled to VPC required: False - type: str + type: bool + default: False resource_group: description: - Resource group info required: False type: str - classic_access: + address_prefix_management: description: - - Set to true if classic access needs to enabled to VPC + - Address Prefix management value required: False - type: bool - default: False + type: str + default: auto default_routing_table_name: description: - Default routing table name @@ -65,12 +61,16 @@ - (Required for new resource) VPC name required: True type: str - tags: + default_network_acl_name: description: - - List of tags + - Default Network ACL name required: False - type: list - elements: str + type: str + default_security_group_name: + description: + - Default security group name + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -122,15 +122,15 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'address_prefix_management', - 'default_network_acl_name', - 'default_security_group_name', - 'resource_group', + 'tags', 'classic_access', + 'resource_group', + 'address_prefix_management', 'default_routing_table_name', 'access_tags', 'name', - 'tags', + 'default_network_acl_name', + 'default_security_group_name', ] # Params for Data source @@ -138,8 +138,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'identifier', + 'name', ] TL_CONFLICTS_MAP = { @@ -149,21 +149,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_prefix_management=dict( - required=False, - type='str'), - default_network_acl_name=dict( + tags=dict( required=False, - type='str'), - default_security_group_name=dict( + elements='', + type='list'), + classic_access=dict( required=False, - type='str'), + type='bool'), resource_group=dict( required=False, type='str'), - classic_access=dict( + address_prefix_management=dict( required=False, - type='bool'), + type='str'), default_routing_table_name=dict( required=False, type='str'), @@ -174,10 +172,12 @@ name=dict( required=False, type='str'), - tags=dict( + default_network_acl_name=dict( required=False, - elements='', - type='list'), + type='str'), + default_security_group_name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -255,7 +255,7 @@ def run_module(): resource_type='ibm_is_vpc', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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_vpc', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 cd835d6d2..0648e2c39 100644 --- a/plugins/modules/ibm_is_vpc_address_prefix.py +++ b/plugins/modules/ibm_is_vpc_address_prefix.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpc_address_prefix' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + name: + description: + - (Required for new resource) Name + required: True + type: str zone: description: - (Required for new resource) Zone name @@ -43,11 +48,6 @@ - (Required for new resource) VPC id 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. @@ -94,19 +94,19 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('name', 'str'), ('zone', 'str'), ('cidr', 'str'), ('vpc', 'str'), - ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'zone', 'cidr', 'is_default', 'vpc', - 'name', ] # Params for Data source @@ -116,8 +116,8 @@ TL_ALL_PARAMETERS_DS = [ 'vpc_name', 'address_prefix', - 'address_prefix_name', 'vpc', + 'address_prefix_name', ] TL_CONFLICTS_MAP = { @@ -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( + name=dict( + required=False, + type='str'), zone=dict( required=False, type='str'), @@ -139,9 +142,6 @@ vpc=dict( required=False, type='str'), - name=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -219,7 +219,7 @@ def run_module(): resource_type='ibm_is_vpc_address_prefix', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 9fa33324c..2df601aff 100644 --- a/plugins/modules/ibm_is_vpc_address_prefix_info.py +++ b/plugins/modules/ibm_is_vpc_address_prefix_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_address_prefix' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -31,14 +31,14 @@ - The address prefix identifier. required: False type: str - address_prefix_name: + vpc: description: - - The address prefix name. + - The VPC identifier. required: False type: str - vpc: + address_prefix_name: description: - - The VPC identifier. + - The address prefix name. required: False type: str generation: @@ -80,8 +80,8 @@ TL_ALL_PARAMETERS = [ 'vpc_name', 'address_prefix', - 'address_prefix_name', 'vpc', + 'address_prefix_name', ] @@ -98,10 +98,10 @@ address_prefix=dict( required=False, type='str'), - address_prefix_name=dict( + vpc=dict( required=False, type='str'), - vpc=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.50.0', + ibm_provider_version='1.51.0', 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 606c53e42..9a6c524c2 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 4a7cb176f..f3006f2f1 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 43cb2add3..1b5aacd22 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 9441ca070..c5a1f78c3 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 7781b89fd..c49f49e91 100644 --- a/plugins/modules/ibm_is_vpc_routing_table.py +++ b/plugins/modules/ibm_is_vpc_routing_table.py @@ -18,21 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpc_routing_table' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - vpc: - description: - - (Required for new resource) The VPC identifier. - required: True - type: str - 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 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. @@ -44,18 +33,29 @@ - The user-defined name for this routing table. required: False type: str + route_internet_ingress: + description: + - If set to true, this routing table will be used to route traffic that originates from the internet. For this to succeed, the VPC must not already have a routing table with this property set to true. + required: False + type: bool + default: False 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_internet_ingress: + route_transit_gateway_ingress: description: - - If set to true, this routing table will be used to route traffic that originates from the internet. For this to succeed, the VPC must not already have a routing table with this property set to true. + - 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 + vpc: + description: + - (Required for new resource) The VPC identifier. + required: True + 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 @@ -113,12 +113,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'vpc', - 'route_transit_gateway_ingress', 'route_vpc_zone_ingress', 'name', - 'route_direct_link_ingress', 'route_internet_ingress', + 'route_direct_link_ingress', + 'route_transit_gateway_ingress', + 'vpc', 'accept_routes_from_resource_type', ] @@ -128,9 +128,9 @@ ] TL_ALL_PARAMETERS_DS = [ + 'name', 'vpc', 'routing_table', - 'name', ] TL_CONFLICTS_MAP = { @@ -140,24 +140,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( - vpc=dict( - required=False, - type='str'), - route_transit_gateway_ingress=dict( - required=False, - type='bool'), route_vpc_zone_ingress=dict( required=False, type='bool'), name=dict( required=False, type='str'), + route_internet_ingress=dict( + required=False, + type='bool'), route_direct_link_ingress=dict( required=False, type='bool'), - route_internet_ingress=dict( + route_transit_gateway_ingress=dict( required=False, type='bool'), + vpc=dict( + required=False, + type='str'), accept_routes_from_resource_type=dict( required=False, elements='', @@ -239,7 +239,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_table', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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_vpc_routing_table', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 4e73165fa..d27554920 100644 --- a/plugins/modules/ibm_is_vpc_routing_table_info.py +++ b/plugins/modules/ibm_is_vpc_routing_table_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_routing_table' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + name: + description: + - The user-defined name for this routing table. + required: False + type: str vpc: description: - The VPC identifier. @@ -31,11 +36,6 @@ - The routing table identifier. required: False type: str - name: - description: - - The user-defined name for this routing table. - required: False - type: str generation: description: - The generation of Virtual Private Cloud infrastructure @@ -74,30 +74,30 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'vpc', 'routing_table', - 'name', ] TL_CONFLICTS_MAP = { - 'routing_table': ['name'], 'name': ['routing_table'], + 'routing_table': ['name'], } # 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=True, type='str'), routing_table=dict( required=False, type='str'), - name=dict( - required=False, - 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.50.0', + ibm_provider_version='1.51.0', 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 56da3e3fa..f4e5861c8 100644 --- a/plugins/modules/ibm_is_vpc_routing_table_route.py +++ b/plugins/modules/ibm_is_vpc_routing_table_route.py @@ -18,30 +18,15 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: - description: - - The user-defined name for this route. - required: False - type: str routing_table: description: - (Required for new resource) The routing table identifier. required: True type: str - vpc: - description: - - (Required for new resource) The VPC identifier. - required: True - type: str - destination: - description: - - (Required for new resource) The destination of the route. - required: True - type: str 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. @@ -53,6 +38,21 @@ required: False type: str default: deliver + name: + description: + - The user-defined name for this route. + required: False + type: str + vpc: + description: + - (Required for new resource) The VPC identifier. + required: True + type: str + destination: + description: + - (Required for new resource) The destination of the route. + required: True + type: str zone: description: - (Required for new resource) The zone to apply the route to. Traffic from subnets in this zone will be subject to this route. @@ -105,20 +105,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('routing_table', 'str'), + ('next_hop', 'str'), ('vpc', 'str'), ('destination', 'str'), - ('next_hop', 'str'), ('zone', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'routing_table', - 'vpc', - 'destination', 'next_hop', 'action', + 'name', + 'vpc', + 'destination', 'zone', ] @@ -142,22 +142,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( + routing_table=dict( required=False, type='str'), - routing_table=dict( + next_hop=dict( required=False, type='str'), - vpc=dict( + action=dict( required=False, type='str'), - destination=dict( + name=dict( required=False, type='str'), - next_hop=dict( + vpc=dict( required=False, type='str'), - action=dict( + destination=dict( required=False, type='str'), zone=dict( @@ -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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 87df8c91f..38dca89d7 100644 --- a/plugins/modules/ibm_is_vpc_routing_table_route_info.py +++ b/plugins/modules/ibm_is_vpc_routing_table_route_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpc_routing_table_route' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -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.50.0', + ibm_provider_version='1.51.0', 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 43b5a6569..53d2edb46 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 866fe5db9..1c4bf0254 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_vpc_routing_tables', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 24193ac56..ab8fccd11 100644 --- a/plugins/modules/ibm_is_vpcs_info.py +++ b/plugins/modules/ibm_is_vpcs_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpcs' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - classic_access: - description: - - Filters the collection to VPCs with the specified classic_access value - required: False - type: bool resource_group: description: - The unique identifier of the resource group this vpc belongs to required: False type: str + classic_access: + description: + - Filters the collection to VPCs with the specified classic_access value + required: False + type: bool generation: description: - The generation of Virtual Private Cloud infrastructure @@ -68,8 +68,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'classic_access', 'resource_group', + 'classic_access', ] @@ -80,12 +80,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( - classic_access=dict( - required=False, - type='bool'), resource_group=dict( required=False, type='str'), + classic_access=dict( + required=False, + type='bool'), generation=dict( type='int', required=False, @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_vpcs', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 9b3d8ea66..d778afb28 100644 --- a/plugins/modules/ibm_is_vpn_gateway.py +++ b/plugins/modules/ibm_is_vpn_gateway.py @@ -18,43 +18,43 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpn_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + tags: + description: + - VPN Gateway tags list + required: False + type: list + elements: str + mode: + description: + - mode in VPN gateway(route/policy) + required: False + type: str + default: route name: description: - (Required for new resource) VPN Gateway instance name required: True type: str - access_tags: - description: - - List of access management tags - required: False - type: list - elements: str subnet: description: - (Required for new resource) VPNGateway subnet info required: True type: str - resource_group: - description: - - The resource group for this VPN gateway - required: False - type: str - tags: + access_tags: description: - - VPN Gateway tags list + - List of access management tags required: False type: list elements: str - mode: + resource_group: description: - - mode in VPN gateway(route/policy) + - The resource group for this VPN gateway required: False type: str - default: route 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 = [ + 'tags', + 'mode', 'name', - 'access_tags', 'subnet', + 'access_tags', 'resource_group', - 'tags', - 'mode', ] # Params for Data source @@ -120,8 +120,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'vpn_gateway', 'vpn_gateway_name', + 'vpn_gateway', ] TL_CONFLICTS_MAP = { @@ -131,24 +131,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( - name=dict( - required=False, - type='str'), - access_tags=dict( + tags=dict( required=False, elements='', type='list'), - subnet=dict( + mode=dict( required=False, type='str'), - resource_group=dict( + name=dict( required=False, type='str'), - tags=dict( + subnet=dict( + required=False, + type='str'), + access_tags=dict( required=False, elements='', type='list'), - mode=dict( + resource_group=dict( required=False, type='str'), id=dict( @@ -228,7 +228,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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_vpn_gateway', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 ddece7fd5..3284706e6 100644 --- a/plugins/modules/ibm_is_vpn_gateway_connection.py +++ b/plugins/modules/ibm_is_vpn_gateway_connection.py @@ -18,76 +18,76 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpn_gateway_connection' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - local_cidrs: + action: description: - - VPN gateway connection local CIDRs + - Action detection for dead peer detection action required: False - type: list - elements: str + type: str + default: restart + timeout: + description: + - Timeout for dead peer detection + required: False + type: int + default: 10 + ipsec_policy: + description: + - IP security policy for vpn gateway connection + required: False + type: str peer_cidrs: description: - VPN gateway connection peer CIDRs required: False type: list elements: str - peer_address: - description: - - (Required for new resource) VPN gateway connection peer address - required: True - type: str - name: - description: - - (Required for new resource) VPN Gateway connection name - required: True - type: str preshared_key: description: - (Required for new resource) vpn gateway required: True type: str + admin_state_up: + description: + - VPN gateway connection admin state + required: False + type: bool + default: False interval: description: - Interval for dead peer detection interval required: False type: int default: 2 - timeout: + vpn_gateway: description: - - Timeout for dead peer detection - required: False - type: int - default: 10 - ipsec_policy: + - (Required for new resource) VPN Gateway info + required: True + type: str + local_cidrs: description: - - IP security policy for vpn gateway connection + - VPN gateway connection local CIDRs required: False + type: list + elements: str + name: + description: + - (Required for new resource) VPN Gateway connection name + required: True type: str ike_policy: description: - VPN gateway connection IKE Policy required: False type: str - vpn_gateway: + peer_address: description: - - (Required for new resource) VPN Gateway info + - (Required for new resource) VPN gateway connection peer address 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 - required: False - type: str - default: restart id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -134,26 +134,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('peer_address', 'str'), - ('name', 'str'), ('preshared_key', 'str'), ('vpn_gateway', 'str'), + ('name', 'str'), + ('peer_address', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'local_cidrs', + 'action', + 'timeout', + 'ipsec_policy', 'peer_cidrs', - 'peer_address', - 'name', 'preshared_key', + 'admin_state_up', 'interval', - 'timeout', - 'ipsec_policy', - 'ike_policy', 'vpn_gateway', - 'admin_state_up', - 'action', + 'local_cidrs', + 'name', + 'ike_policy', + 'peer_address', ] # Params for Data source @@ -161,9 +161,9 @@ ] TL_ALL_PARAMETERS_DS = [ - 'vpn_gateway', 'vpn_gateway_connection', 'vpn_gateway_connection_name', + 'vpn_gateway', 'vpn_gateway_name', ] @@ -174,42 +174,42 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - local_cidrs=dict( + action=dict( required=False, - elements='', - type='list'), - peer_cidrs=dict( + type='str'), + timeout=dict( required=False, - elements='', - type='list'), - peer_address=dict( + type='int'), + ipsec_policy=dict( required=False, type='str'), - name=dict( + peer_cidrs=dict( required=False, - type='str'), + elements='', + type='list'), preshared_key=dict( required=False, type='str'), - interval=dict( + admin_state_up=dict( required=False, - type='int'), - timeout=dict( + type='bool'), + interval=dict( required=False, type='int'), - ipsec_policy=dict( + vpn_gateway=dict( required=False, type='str'), - ike_policy=dict( + local_cidrs=dict( required=False, - type='str'), - vpn_gateway=dict( + elements='', + type='list'), + name=dict( required=False, type='str'), - admin_state_up=dict( + ike_policy=dict( required=False, - type='bool'), - action=dict( + type='str'), + peer_address=dict( required=False, type='str'), id=dict( @@ -289,7 +289,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway_connection', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 bde9e123b..a102dcc6e 100644 --- a/plugins/modules/ibm_is_vpn_gateway_connection_info.py +++ b/plugins/modules/ibm_is_vpn_gateway_connection_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_gateway_connection' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - vpn_gateway: - description: - - The VPN gateway identifier. - required: False - type: str vpn_gateway_connection: description: - The VPN gateway connection identifier. @@ -36,6 +31,11 @@ - The VPN gateway connection name. required: False type: str + vpn_gateway: + description: + - The VPN gateway identifier. + required: False + type: str vpn_gateway_name: description: - The VPN gateway name. @@ -78,9 +78,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'vpn_gateway', 'vpn_gateway_connection', 'vpn_gateway_connection_name', + 'vpn_gateway', 'vpn_gateway_name', ] @@ -92,15 +92,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( - vpn_gateway=dict( - required=False, - type='str'), vpn_gateway_connection=dict( required=False, type='str'), vpn_gateway_connection_name=dict( required=False, type='str'), + vpn_gateway=dict( + required=False, + type='str'), vpn_gateway_name=dict( required=False, type='str'), @@ -150,7 +150,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway_connection', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 585e9bea9..d90f72343 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -133,7 +133,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway_connections', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 72b0ae32c..86084a2e0 100644 --- a/plugins/modules/ibm_is_vpn_gateway_info.py +++ b/plugins/modules/ibm_is_vpn_gateway_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_gateway' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - vpn_gateway: + vpn_gateway_name: description: - - The VPN gateway identifier. + - The VPN gateway name. required: False type: str - vpn_gateway_name: + vpn_gateway: description: - - The VPN gateway name. + - The VPN gateway identifier. required: False type: str generation: @@ -68,8 +68,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'vpn_gateway', 'vpn_gateway_name', + 'vpn_gateway', ] @@ -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( - vpn_gateway=dict( + vpn_gateway_name=dict( required=False, type='str'), - vpn_gateway_name=dict( + vpn_gateway=dict( required=False, type='str'), generation=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_vpn_gateway', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 351a119a2..d0832f1c9 100644 --- a/plugins/modules/ibm_is_vpn_gateways_info.py +++ b/plugins/modules/ibm_is_vpn_gateways_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_gateways' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - resource_group: + mode: description: - - The unique identifier of the resource group this vpn gateway belongs to + - The mode of this vpn gateway. required: False type: str - mode: + resource_group: description: - - The mode of this vpn gateway. + - The unique identifier of the resource group this vpn gateway belongs to required: False type: str generation: @@ -68,8 +68,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group', 'mode', + 'resource_group', ] @@ -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( - resource_group=dict( + mode=dict( required=False, type='str'), - mode=dict( + resource_group=dict( required=False, type='str'), generation=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_vpn_gateways', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 37a3f54cf..b3ab0eee5 100644 --- a/plugins/modules/ibm_is_vpn_server.py +++ b/plugins/modules/ibm_is_vpn_server.py @@ -18,13 +18,19 @@ - Create, update or destroy an IBM Cloud 'ibm_is_vpn_server' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - resource_group: + protocol: 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 transport protocol to use for this VPN server. + required: False + type: str + default: udp + 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. required: False type: str subnets: @@ -33,47 +39,35 @@ 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 - client_idle_timeout: + resource_type: description: - - The seconds a VPN client can be idle before this VPN server will disconnect it. Specify `0` to prevent the server from disconnecting idle clients. + - The type of resource referenced. required: False - type: int - default: 600 - port: + type: str + default: vpn_server + enable_split_tunneling: description: - - The port number to use for this VPN server. + - Indicates whether the split tunneling is enabled on this VPN server. required: False - type: int - default: 443 - security_groups: + type: bool + default: False + resource_group: 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 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: list - elements: str - certificate_crn: - description: - - (Required for new resource) The crn of certificate instance for this VPN server. - required: True type: str - protocol: + access_tags: description: - - The transport protocol to use for this VPN server. + - List of access management tags required: False - type: str - default: udp - resource_type: + type: list + elements: str + client_idle_timeout: description: - - The type of resource referenced. + - The seconds a VPN client can be idle before this VPN server will disconnect it. Specify `0` to prevent the server from disconnecting idle clients. required: False - type: str - default: vpn_server + type: int + default: 600 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. @@ -85,23 +79,29 @@ - (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 - enable_split_tunneling: + port: description: - - Indicates whether the split tunneling is enabled on this VPN server. + - The port number to use for this VPN server. required: False - type: bool - default: False - name: + type: int + default: 443 + security_groups: 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. + - 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: list + elements: str + certificate_crn: + description: + - (Required for new resource) The crn of certificate instance for this VPN server. + required: True type: str - access_tags: + client_authentication: description: - - List of access management tags - required: False + - (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: str + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -149,27 +149,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('subnets', 'list'), - ('client_authentication', 'list'), - ('certificate_crn', 'str'), ('client_ip_pool', 'str'), + ('certificate_crn', 'str'), + ('client_authentication', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group', + 'protocol', + 'name', 'subnets', - 'client_authentication', + 'resource_type', + 'enable_split_tunneling', + 'resource_group', + 'access_tags', 'client_idle_timeout', + 'client_dns_server_ips', + 'client_ip_pool', 'port', 'security_groups', 'certificate_crn', - 'protocol', - 'resource_type', - 'client_dns_server_ips', - 'client_ip_pool', - 'enable_split_tunneling', - 'name', - 'access_tags', + 'client_authentication', ] # Params for Data source @@ -188,36 +188,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( - resource_group=dict( + protocol=dict( + required=False, + type='str'), + name=dict( required=False, type='str'), subnets=dict( required=False, elements='', type='list'), - client_authentication=dict( + resource_type=dict( required=False, - elements='', - type='list'), - client_idle_timeout=dict( + type='str'), + enable_split_tunneling=dict( required=False, - type='int'), - port=dict( + type='bool'), + resource_group=dict( required=False, - type='int'), - security_groups=dict( + type='str'), + access_tags=dict( required=False, elements='', type='list'), - certificate_crn=dict( - required=False, - type='str'), - protocol=dict( - required=False, - type='str'), - resource_type=dict( + client_idle_timeout=dict( required=False, - type='str'), + type='int'), client_dns_server_ips=dict( required=False, elements='', @@ -225,13 +221,17 @@ client_ip_pool=dict( required=False, type='str'), - enable_split_tunneling=dict( + port=dict( required=False, - type='bool'), - name=dict( + type='int'), + security_groups=dict( + required=False, + elements='', + type='list'), + certificate_crn=dict( required=False, type='str'), - access_tags=dict( + client_authentication=dict( required=False, elements='', type='list'), @@ -312,7 +312,7 @@ def run_module(): resource_type='ibm_is_vpn_server', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -321,7 +321,7 @@ def run_module(): resource_type='ibm_is_vpn_server', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 3d90e08cc..f9750e1f3 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -97,13 +97,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('identifier', 'str'), ('vpn_server', 'str'), + ('identifier', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'identifier', 'vpn_server', + 'identifier', ] TL_CONFLICTS_MAP = { @@ -199,7 +199,7 @@ def run_module(): resource_type='ibm_is_vpn_server_client', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 8c24e17d3..4ea34b833 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 dfb7fe327..567dc6044 100644 --- a/plugins/modules/ibm_is_vpn_server_client_info.py +++ b/plugins/modules/ibm_is_vpn_server_client_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_server_client' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - identifier: + vpn_server: description: - - The VPN client identifier. + - The VPN server identifier. required: True type: str - vpn_server: + identifier: description: - - The VPN server identifier. + - The VPN client identifier. required: True type: str generation: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('identifier', 'str'), ('vpn_server', 'str'), + ('identifier', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'identifier', 'vpn_server', + 'identifier', ] @@ -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( - identifier=dict( + vpn_server=dict( required=True, type='str'), - vpn_server=dict( + identifier=dict( required=True, type='str'), generation=dict( @@ -134,7 +134,7 @@ def run_module(): resource_type='ibm_is_vpn_server_client', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 441edc788..e08459848 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 659d8ffc4..11e0100c9 100644 --- a/plugins/modules/ibm_is_vpn_server_info.py +++ b/plugins/modules/ibm_is_vpn_server_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_server' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_is_vpn_server', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 8d0a455fd..86a303a96 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - vpn_server: - description: - - (Required for new resource) The VPN server identifier. - 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 - name: + vpn_server: 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: False + - (Required for new resource) The VPN server identifier. + required: True type: str 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 + name: + 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: False + 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 = [ - 'vpn_server', 'action', - 'name', + 'vpn_server', 'destination', + 'name', ] # Params for Data source @@ -119,18 +119,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( - vpn_server=dict( - required=False, - type='str'), action=dict( required=False, type='str'), - name=dict( + vpn_server=dict( required=False, type='str'), destination=dict( required=False, type='str'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -208,7 +208,7 @@ def run_module(): resource_type='ibm_is_vpn_server_route', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 dcc3f056c..a69827c96 100644 --- a/plugins/modules/ibm_is_vpn_server_route_info.py +++ b/plugins/modules/ibm_is_vpn_server_route_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_is_vpn_server_route' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_is_vpn_server_route', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 1126d9aba..ff2ea1a7b 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 abc29718b..6dddbe768 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 88e6a4537..c698f2121 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 9b522421c..7885a6315 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_kms_instance_policies.py b/plugins/modules/ibm_kms_instance_policies.py index 3751f6d27..976b0e82c 100644 --- a/plugins/modules/ibm_kms_instance_policies.py +++ b/plugins/modules/ibm_kms_instance_policies.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_kms_instance_policies' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -210,7 +210,7 @@ def run_module(): resource_type='ibm_kms_instance_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -219,7 +219,7 @@ def run_module(): resource_type='ibm_kms_instance_policies', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_kms_instance_policies_info.py b/plugins/modules/ibm_kms_instance_policies_info.py index 503b0ebab..8e2d32d86 100644 --- a/plugins/modules/ibm_kms_instance_policies_info.py +++ b/plugins/modules/ibm_kms_instance_policies_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_kms_instance_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_kms_instance_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 7745fc7e8..0739fc7dd 100644 --- a/plugins/modules/ibm_kms_key.py +++ b/plugins/modules/ibm_kms_key.py @@ -18,29 +18,29 @@ - Create, update or destroy an IBM Cloud 'ibm_kms_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - instance_id: + key_name: description: - - (Required for new resource) Key protect or hpcs instance GUID or CRN + - (Required for new resource) Key name required: True type: str - key_ring_id: + standard_key: description: - - Key Ring for the Key + - Standard key type required: False - type: str - default: default - key_name: + type: bool + default: False + payload: description: - - (Required for new resource) Key name - required: True + - None + required: False type: str - endpoint_type: + encrypted_nonce: description: - - public or private + - Only for imported root key required: False type: str force_delete: @@ -49,32 +49,32 @@ required: False type: bool default: False - iv_value: + expiration_date: description: - - Only for imported root key + - 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 - standard_key: + endpoint_type: description: - - Standard key type + - public or private required: False - type: bool - default: False - payload: + type: str + instance_id: description: - - None - required: False + - (Required for new resource) Key protect or hpcs instance GUID or CRN + required: True type: str - encrypted_nonce: + iv_value: description: - Only for imported root key required: False type: str - expiration_date: + key_ring_id: 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 + - Key Ring for the Key required: False type: str + default: default id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -121,22 +121,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_id', 'str'), ('key_name', 'str'), + ('instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_id', - 'key_ring_id', 'key_name', - 'endpoint_type', - 'force_delete', - 'iv_value', 'standard_key', 'payload', 'encrypted_nonce', + 'force_delete', 'expiration_date', + 'endpoint_type', + 'instance_id', + 'iv_value', + 'key_ring_id', ] # Params for Data source @@ -145,12 +145,12 @@ ] TL_ALL_PARAMETERS_DS = [ - 'limit', 'key_id', 'key_name', 'alias', 'endpoint_type', 'instance_id', + 'limit', ] TL_CONFLICTS_MAP = { @@ -160,34 +160,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( - instance_id=dict( + key_name=dict( required=False, type='str'), - key_ring_id=dict( + standard_key=dict( required=False, - type='str'), - key_name=dict( + type='bool'), + payload=dict( required=False, type='str'), - endpoint_type=dict( + encrypted_nonce=dict( required=False, type='str'), force_delete=dict( required=False, type='bool'), - iv_value=dict( + expiration_date=dict( required=False, type='str'), - standard_key=dict( + endpoint_type=dict( required=False, - type='bool'), - payload=dict( + type='str'), + instance_id=dict( required=False, type='str'), - encrypted_nonce=dict( + iv_value=dict( required=False, type='str'), - expiration_date=dict( + key_ring_id=dict( required=False, type='str'), id=dict( @@ -255,7 +255,7 @@ def run_module(): resource_type='ibm_kms_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 3e0dc529d..2e88c3763 100644 --- a/plugins/modules/ibm_kms_key_alias.py +++ b/plugins/modules/ibm_kms_key_alias.py @@ -18,10 +18,20 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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 + required: True + type: str key_id: description: - Key ID @@ -37,16 +47,6 @@ - public or private required: False type: str - 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 - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,11 +99,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'instance_id', + 'alias', 'key_id', 'existing_alias', 'endpoint_type', - 'instance_id', - 'alias', ] # Params for Data source @@ -120,19 +120,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( - key_id=dict( + instance_id=dict( required=False, type='str'), - existing_alias=dict( + alias=dict( required=False, type='str'), - endpoint_type=dict( + key_id=dict( required=False, type='str'), - instance_id=dict( + existing_alias=dict( required=False, type='str'), - alias=dict( + endpoint_type=dict( required=False, type='str'), id=dict( @@ -200,7 +200,7 @@ def run_module(): resource_type='ibm_kms_key_alias', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 b22d07fff..cc8859d6d 100644 --- a/plugins/modules/ibm_kms_key_info.py +++ b/plugins/modules/ibm_kms_key_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_kms_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - limit: - description: - - Limit till the keys to be fetched - required: False - type: int key_id: description: - None @@ -52,6 +47,11 @@ - Key protect or hpcs instance GUID required: True type: str + limit: + description: + - Limit till the keys to be fetched + required: False + type: int 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 = [ - 'limit', 'key_id', 'key_name', 'alias', 'endpoint_type', 'instance_id', + 'limit', ] @@ -106,9 +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( - limit=dict( - required=False, - type='int'), key_id=dict( required=False, type='str'), @@ -124,6 +121,9 @@ instance_id=dict( required=True, type='str'), + limit=dict( + required=False, + type='int'), 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.50.0', + ibm_provider_version='1.51.0', 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 296d64322..8bdffe85e 100644 --- a/plugins/modules/ibm_kms_key_policies.py +++ b/plugins/modules/ibm_kms_key_policies.py @@ -18,26 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_kms_key_policies' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - alias: - description: - - None - required: False - type: str - key_id: - description: - - Key ID - required: False - type: str - endpoint_type: - description: - - public or private - required: False - type: str - default: public rotation: description: - Specifies the key rotation time interval in months, with a minimum of 1, and a maximum of 12 @@ -55,6 +39,22 @@ - (Required for new resource) Key protect or hpcs instance GUID required: True type: str + key_id: + description: + - Key ID + required: False + type: str + alias: + description: + - None + required: False + type: str + endpoint_type: + description: + - public or private + required: False + type: str + default: public 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 = [ - 'alias', - 'key_id', - 'endpoint_type', 'rotation', 'dual_auth_delete', 'instance_id', + 'key_id', + 'alias', + 'endpoint_type', ] # Params for Data source @@ -120,10 +120,10 @@ ] TL_ALL_PARAMETERS_DS = [ - 'instance_id', 'endpoint_type', 'key_id', 'alias', + 'instance_id', ] TL_CONFLICTS_MAP = { @@ -133,15 +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( - alias=dict( - required=False, - type='str'), - key_id=dict( - required=False, - type='str'), - endpoint_type=dict( - required=False, - type='str'), rotation=dict( required=False, elements='', @@ -153,6 +144,15 @@ instance_id=dict( required=False, type='str'), + key_id=dict( + required=False, + type='str'), + alias=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -218,7 +218,7 @@ def run_module(): resource_type='ibm_kms_key_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -227,7 +227,7 @@ def run_module(): resource_type='ibm_kms_key_policies', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 0f4d5c144..d7459f5c6 100644 --- a/plugins/modules/ibm_kms_key_policies_info.py +++ b/plugins/modules/ibm_kms_key_policies_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_kms_key_policies' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - instance_id: - description: - - Key protect or hpcs instance GUID - required: True - type: str endpoint_type: description: - public or private @@ -42,6 +37,11 @@ - Alias of the Key required: False type: str + 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 @@ -80,10 +80,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_id', 'endpoint_type', 'key_id', 'alias', + 'instance_id', ] @@ -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( - instance_id=dict( - required=True, - type='str'), endpoint_type=dict( required=False, type='str'), @@ -106,6 +103,9 @@ alias=dict( required=False, type='str'), + instance_id=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -140,7 +140,7 @@ def run_module(): resource_type='ibm_kms_key_policies', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 8820fdc6a..21e622897 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -185,7 +185,7 @@ def run_module(): resource_type='ibm_kms_key_rings', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 fcf8f0bb3..f798dca95 100644 --- a/plugins/modules/ibm_kms_key_rings_info.py +++ b/plugins/modules/ibm_kms_key_rings_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_kms_key_rings' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_kms_key_rings', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_kms_key_with_policy_overrides.py b/plugins/modules/ibm_kms_key_with_policy_overrides.py index 8f410607f..9b4484313 100644 --- a/plugins/modules/ibm_kms_key_with_policy_overrides.py +++ b/plugins/modules/ibm_kms_key_with_policy_overrides.py @@ -18,13 +18,24 @@ - Create, update or destroy an IBM Cloud 'ibm_kms_key_with_policy_overrides' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - iv_value: + dual_auth_delete: description: - - Only for imported root key + - Data associated with the dual authorization delete policy. + required: False + type: list + elements: dict + instance_id: + description: + - (Required for new resource) Key protect or HPCS instance GUID or CRN + required: True + type: str + endpoint_type: + description: + - Public or Private required: False type: str rotation: @@ -33,36 +44,32 @@ required: False type: list elements: dict - endpoint_type: + key_ring_id: description: - - Public or Private + - Key Ring for the Key required: False type: str - key_name: + default: default + force_delete: description: - - (Required for new resource) Key name - required: True - type: str + - set to true to force delete the key + required: False + type: bool + default: False standard_key: description: - Standard key type required: False type: bool default: False - dual_auth_delete: + payload: description: - - Data associated with the dual authorization delete policy. + - None required: False - type: list - elements: dict - instance_id: - description: - - (Required for new resource) Key protect or HPCS instance GUID or CRN - required: True type: str - payload: + encrypted_nonce: description: - - None + - Only for imported root key required: False type: str expiration_date: @@ -70,19 +77,12 @@ - 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 - force_delete: - description: - - set to true to force delete the key - required: False - type: bool - default: False - key_ring_id: + key_name: description: - - Key Ring for the Key - required: False + - (Required for new resource) Key name + required: True type: str - default: default - encrypted_nonce: + iv_value: description: - Only for imported root key required: False @@ -133,24 +133,24 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('key_name', 'str'), ('instance_id', 'str'), + ('key_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'iv_value', - 'rotation', - 'endpoint_type', - 'key_name', - 'standard_key', 'dual_auth_delete', 'instance_id', - 'payload', - 'expiration_date', - 'force_delete', + 'endpoint_type', + 'rotation', 'key_ring_id', + 'force_delete', + 'standard_key', + 'payload', 'encrypted_nonce', + 'expiration_date', + 'key_name', + 'iv_value', ] # Params for Data source @@ -167,42 +167,42 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - iv_value=dict( + dual_auth_delete=dict( + required=False, + elements='', + type='list'), + instance_id=dict( + required=False, + type='str'), + endpoint_type=dict( required=False, type='str'), rotation=dict( required=False, elements='', type='list'), - endpoint_type=dict( + key_ring_id=dict( required=False, type='str'), - key_name=dict( + force_delete=dict( required=False, - type='str'), + type='bool'), standard_key=dict( required=False, type='bool'), - dual_auth_delete=dict( - required=False, - elements='', - type='list'), - instance_id=dict( + payload=dict( required=False, type='str'), - payload=dict( + encrypted_nonce=dict( required=False, type='str'), expiration_date=dict( required=False, type='str'), - force_delete=dict( - required=False, - type='bool'), - key_ring_id=dict( + key_name=dict( required=False, type='str'), - encrypted_nonce=dict( + iv_value=dict( required=False, type='str'), id=dict( @@ -270,7 +270,7 @@ def run_module(): resource_type='ibm_kms_key_with_policy_overrides', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 d34317995..6d025892a 100644 --- a/plugins/modules/ibm_kms_keys_info.py +++ b/plugins/modules/ibm_kms_keys_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_kms_keys' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - instance_id: - description: - - Key protect or hpcs instance GUID - required: True - type: str key_name: description: - The name of the key to be fetched @@ -52,6 +47,11 @@ 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 = [ - 'instance_id', 'key_name', 'limit', 'alias', 'key_id', 'endpoint_type', + 'instance_id', ] @@ -109,9 +109,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'), key_name=dict( required=False, type='str'), @@ -127,6 +124,9 @@ 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.50.0', + ibm_provider_version='1.51.0', 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 538e3e851..8cd2ac8d8 100644 --- a/plugins/modules/ibm_kp_key.py +++ b/plugins/modules/ibm_kp_key.py @@ -18,43 +18,43 @@ - Create, update or destroy an IBM Cloud 'ibm_kp_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - encrypted_nonce: + iv_value: description: - Only for imported root key required: False type: str - payload: - description: - - None - required: False - type: str key_protect_id: description: - (Required for new resource) Key protect instance ID required: True type: str - key_name: - description: - - (Required for new resource) Key name - required: True - type: str standard_key: description: - Standard key type required: False type: bool default: False + key_name: + description: + - (Required for new resource) Key name + required: True + type: str force_delete: description: - set to true to force delete the key required: False type: bool default: False - iv_value: + payload: + description: + - None + required: False + type: str + encrypted_nonce: description: - Only for imported root key required: False @@ -111,13 +111,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'encrypted_nonce', - 'payload', + 'iv_value', 'key_protect_id', - 'key_name', 'standard_key', + 'key_name', 'force_delete', - 'iv_value', + 'payload', + 'encrypted_nonce', ] # Params for Data source @@ -137,25 +137,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( - encrypted_nonce=dict( - required=False, - type='str'), - payload=dict( + iv_value=dict( required=False, type='str'), key_protect_id=dict( required=False, type='str'), - key_name=dict( - required=False, - type='str'), standard_key=dict( required=False, type='bool'), + key_name=dict( + required=False, + type='str'), force_delete=dict( required=False, type='bool'), - iv_value=dict( + payload=dict( + required=False, + type='str'), + encrypted_nonce=dict( required=False, type='str'), id=dict( @@ -223,7 +223,7 @@ def run_module(): resource_type='ibm_kp_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 46011b8d1..73d507612 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 ff14651c2..83de48d08 100644 --- a/plugins/modules/ibm_lb.py +++ b/plugins/modules/ibm_lb.py @@ -18,18 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_lb' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - datacenter: + security_certificate_id: description: - - (Required for new resource) Datacenter name info - required: True - type: str - ha_enabled: + - Security certificate ID + required: False + type: int + dedicated: description: - - true if High availability is enabled + - Boolena value true if Load balncer is dedicated type required: False type: bool default: False @@ -44,14 +44,14 @@ - (Required for new resource) Connections value required: True type: int - security_certificate_id: + datacenter: description: - - Security certificate ID - required: False - type: int - dedicated: + - (Required for new resource) Datacenter name info + required: True + type: str + ha_enabled: description: - - Boolena value true if Load balncer is dedicated type + - true if High availability is enabled required: False type: bool default: False @@ -107,18 +107,18 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('datacenter', 'str'), ('connections', 'int'), + ('datacenter', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'datacenter', - 'ha_enabled', - 'ssl_offload', - 'connections', 'security_certificate_id', 'dedicated', + 'ssl_offload', + 'connections', + 'datacenter', + 'ha_enabled', 'tags', ] @@ -136,10 +136,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( - datacenter=dict( + security_certificate_id=dict( required=False, - type='str'), - ha_enabled=dict( + type='int'), + dedicated=dict( required=False, type='bool'), ssl_offload=dict( @@ -148,10 +148,10 @@ connections=dict( required=False, type='int'), - security_certificate_id=dict( + datacenter=dict( required=False, - type='int'), - dedicated=dict( + type='str'), + ha_enabled=dict( required=False, type='bool'), tags=dict( @@ -223,7 +223,7 @@ def run_module(): resource_type='ibm_lb', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 847a4c43b..d0532ed8d 100644 --- a/plugins/modules/ibm_lb_service.py +++ b/plugins/modules/ibm_lb_service.py @@ -18,15 +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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - service_group_id: - description: - - (Required for new resource) service group ID - required: True - type: int ip_address_id: description: - (Required for new resource) IP Address ID @@ -58,6 +53,11 @@ required: False type: list elements: str + service_group_id: + description: + - (Required for new resource) service group ID + 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 = [ - ('service_group_id', 'int'), ('ip_address_id', 'int'), ('port', 'int'), ('enabled', 'bool'), ('health_check_type', 'str'), ('weight', 'int'), + ('service_group_id', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'service_group_id', 'ip_address_id', 'port', 'enabled', 'health_check_type', 'weight', 'tags', + 'service_group_id', ] # Params for Data source @@ -137,9 +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( - service_group_id=dict( - required=False, - type='int'), ip_address_id=dict( required=False, type='int'), @@ -159,6 +156,9 @@ required=False, elements='', type='list'), + service_group_id=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.50.0', + ibm_provider_version='1.51.0', 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 78573e1b4..388a15c01 100644 --- a/plugins/modules/ibm_lb_service_group.py +++ b/plugins/modules/ibm_lb_service_group.py @@ -18,23 +18,29 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + tags: + description: + - List of tags + required: False + type: list + elements: str allocation: description: - (Required for new resource) Allocation type required: True type: int - routing_method: + port: description: - - (Required for new resource) Routing method + - (Required for new resource) Port number required: True - type: str - routing_type: + type: int + routing_method: description: - - (Required for new resource) Routing type + - (Required for new resource) Routing method required: True type: str load_balancer_id: @@ -42,22 +48,16 @@ - (Required for new resource) Loadbalancer ID required: True type: int - port: + routing_type: description: - - (Required for new resource) Port number + - (Required for new resource) Routing type required: True - type: int + type: str timeout: description: - Timeout value required: False type: int - tags: - description: - - List of tags - required: False - type: list - elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -105,21 +105,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('allocation', 'int'), + ('port', 'int'), ('routing_method', 'str'), - ('routing_type', 'str'), ('load_balancer_id', 'int'), - ('port', 'int'), + ('routing_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'tags', 'allocation', + 'port', 'routing_method', - 'routing_type', 'load_balancer_id', - 'port', + 'routing_type', 'timeout', - '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( + tags=dict( + required=False, + elements='', + type='list'), allocation=dict( required=False, type='int'), - routing_method=dict( + port=dict( required=False, - type='str'), - routing_type=dict( + type='int'), + routing_method=dict( required=False, type='str'), load_balancer_id=dict( required=False, type='int'), - port=dict( + routing_type=dict( required=False, - type='int'), + type='str'), timeout=dict( required=False, type='int'), - tags=dict( - required=False, - elements='', - type='list'), 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.50.0', + ibm_provider_version='1.51.0', 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 1dfaa5a82..06c5a3b41 100644 --- a/plugins/modules/ibm_lb_vpx.py +++ b/plugins/modules/ibm_lb_vpx.py @@ -18,23 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_lb_vpx' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - datacenter: - description: - - (Required for new resource) Datacenter name - required: True - type: str - speed: - description: - - (Required for new resource) Speed value - required: True - type: int - version: + plan: description: - - (Required for new resource) version info + - (Required for new resource) Plan info required: True type: str private_vlan_id: @@ -42,36 +32,46 @@ - Private VLAN id required: False type: int + datacenter: + description: + - (Required for new resource) Datacenter name + required: True + type: str ip_count: description: - (Required for new resource) IP address count required: True type: int - public_subnet: - description: - - Public subnet - required: False - type: str public_vlan_id: description: - Piblic VLAN id required: False type: int - private_subnet: - description: - - Private subnet - required: False - type: str tags: description: - List of the tags required: False type: list elements: str - plan: + speed: description: - - (Required for new resource) Plan info + - (Required for new resource) Speed value required: True + type: int + version: + description: + - (Required for new resource) version info + required: True + type: str + public_subnet: + description: + - Public subnet + required: False + type: str + private_subnet: + description: + - Private subnet + required: False type: str id: description: @@ -119,25 +119,25 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('plan', 'str'), ('datacenter', 'str'), + ('ip_count', 'int'), ('speed', 'int'), ('version', 'str'), - ('ip_count', 'int'), - ('plan', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'plan', + 'private_vlan_id', 'datacenter', + 'ip_count', + 'public_vlan_id', + 'tags', 'speed', 'version', - 'private_vlan_id', - 'ip_count', 'public_subnet', - 'public_vlan_id', 'private_subnet', - 'tags', - 'plan', ] # Params for Data source @@ -154,35 +154,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( - datacenter=dict( + plan=dict( required=False, type='str'), - speed=dict( + private_vlan_id=dict( required=False, type='int'), - version=dict( + datacenter=dict( required=False, type='str'), - private_vlan_id=dict( - required=False, - type='int'), ip_count=dict( required=False, type='int'), - public_subnet=dict( - required=False, - type='str'), public_vlan_id=dict( required=False, type='int'), - private_subnet=dict( - required=False, - type='str'), tags=dict( required=False, elements='', type='list'), - plan=dict( + speed=dict( + required=False, + type='int'), + version=dict( + required=False, + type='str'), + public_subnet=dict( + required=False, + type='str'), + private_subnet=dict( required=False, type='str'), id=dict( @@ -250,7 +250,7 @@ def run_module(): resource_type='ibm_lb_vpx', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 80715d05b..302271276 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 e94f2044c..c12712058 100644 --- a/plugins/modules/ibm_lb_vpx_service.py +++ b/plugins/modules/ibm_lb_vpx_service.py @@ -18,31 +18,20 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - destination_ip_address: - description: - - (Required for new resource) Destination IP Address - 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 - health_check: + connection_limit: description: - - (Required for new resource) Health check info + - (Required for new resource) Number of connections limit required: True - type: str - usip: - description: - - usip info - required: False - type: str - default: NO + type: int tags: description: - list of tags associated with the resource @@ -59,16 +48,27 @@ - (Required for new resource) name required: True type: str - destination_port: + destination_ip_address: description: - - (Required for new resource) Destination Port number + - (Required for new resource) Destination IP Address required: True - type: int - connection_limit: + type: str + weight: description: - - (Required for new resource) Number of connections limit + - (Required for new resource) Weight value 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 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -115,26 +115,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('destination_port', 'int'), + ('connection_limit', 'int'), + ('vip_id', 'str'), + ('name', 'str'), ('destination_ip_address', 'str'), ('weight', 'int'), ('health_check', 'str'), - ('vip_id', 'str'), - ('name', 'str'), - ('destination_port', 'int'), - ('connection_limit', 'int'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'destination_port', + 'connection_limit', + 'tags', + 'vip_id', + 'name', 'destination_ip_address', 'weight', 'health_check', 'usip', - 'tags', - 'vip_id', - 'name', - 'destination_port', - 'connection_limit', ] # Params for Data source @@ -151,18 +151,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( - destination_ip_address=dict( - required=False, - type='str'), - weight=dict( + destination_port=dict( required=False, type='int'), - health_check=dict( - required=False, - type='str'), - usip=dict( + connection_limit=dict( required=False, - type='str'), + type='int'), tags=dict( required=False, elements='', @@ -173,12 +167,18 @@ name=dict( required=False, type='str'), - destination_port=dict( + destination_ip_address=dict( required=False, - type='int'), - connection_limit=dict( + type='str'), + weight=dict( required=False, type='int'), + health_check=dict( + required=False, + type='str'), + usip=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -244,7 +244,7 @@ def run_module(): resource_type='ibm_lb_vpx_service', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 e3193be8f..43e5e5efa 100644 --- a/plugins/modules/ibm_lb_vpx_vip.py +++ b/plugins/modules/ibm_lb_vpx_vip.py @@ -18,20 +18,10 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - security_certificate_id: - description: - - security certificate ID - required: False - type: int - virtual_ip_address: - description: - - (Required for new resource) Virtual IP address - required: True - type: str nad_controller_id: description: - (Required for new resource) NAD controller ID @@ -47,27 +37,37 @@ - (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 + tags: + description: + - List of tags + required: False + type: list + elements: str persistence: description: - Persistance value required: False type: str - tags: + source_port: description: - - List of tags + - (Required for new resource) Source Port number + required: True + type: int + security_certificate_id: + description: + - security certificate ID required: False - type: list - elements: str + type: int + virtual_ip_address: + description: + - (Required for new resource) Virtual IP address + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -114,25 +114,25 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('virtual_ip_address', 'str'), ('nad_controller_id', 'int'), ('load_balancing_method', 'str'), ('name', 'str'), - ('source_port', 'int'), ('type', 'str'), + ('source_port', 'int'), + ('virtual_ip_address', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'security_certificate_id', - 'virtual_ip_address', 'nad_controller_id', 'load_balancing_method', 'name', - 'source_port', 'type', - 'persistence', 'tags', + 'persistence', + 'source_port', + 'security_certificate_id', + 'virtual_ip_address', ] # Params for Data source @@ -149,12 +149,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( - security_certificate_id=dict( - required=False, - type='int'), - virtual_ip_address=dict( - required=False, - type='str'), nad_controller_id=dict( required=False, type='int'), @@ -164,19 +158,25 @@ name=dict( required=False, type='str'), - source_port=dict( - required=False, - type='int'), type=dict( required=False, type='str'), - persistence=dict( - required=False, - type='str'), tags=dict( required=False, elements='', type='list'), + 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'), 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.50.0', + ibm_provider_version='1.51.0', 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 f900c5577..fff296a43 100644 --- a/plugins/modules/ibm_lbaas.py +++ b/plugins/modules/ibm_lbaas.py @@ -18,10 +18,27 @@ - Create, update or destroy an IBM Cloud 'ibm_lbaas' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + protocols: + description: + - Protocols to be assigned to this load balancer. + required: False + type: list + elements: dict + wait_time_minutes: + description: + - None + required: False + type: int + default: 90 + name: + description: + - (Required for new resource) The load balancer's name. + required: True + type: str type: description: - Specifies if a load balancer is public or private @@ -33,33 +50,16 @@ - "in public loadbalancer - Public IP address allocation done by system public IP pool or public subnet." required: False type: bool - description: - description: - - Description of a load balancer. - required: False - type: str - wait_time_minutes: - description: - - None - required: False - type: int - default: 90 - protocols: - description: - - Protocols to be assigned to this load balancer. - required: False - type: list - elements: dict ssl_ciphers: description: - None required: False type: list elements: str - name: + description: description: - - (Required for new resource) The load balancer's name. - required: True + - Description of a load balancer. + required: False type: str subnets: description: @@ -119,13 +119,13 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'protocols', + 'wait_time_minutes', + 'name', 'type', 'use_system_public_ip_pool', - 'description', - 'wait_time_minutes', - 'protocols', 'ssl_ciphers', - 'name', + 'description', 'subnets', ] @@ -145,27 +145,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( - type=dict( + protocols=dict( required=False, - type='str'), - use_system_public_ip_pool=dict( + elements='', + type='list'), + wait_time_minutes=dict( required=False, - type='bool'), - description=dict( + type='int'), + name=dict( required=False, type='str'), - wait_time_minutes=dict( + type=dict( required=False, - type='int'), - protocols=dict( + type='str'), + use_system_public_ip_pool=dict( required=False, - elements='', - type='list'), + type='bool'), ssl_ciphers=dict( required=False, elements='', type='list'), - name=dict( + description=dict( required=False, type='str'), subnets=dict( @@ -237,7 +237,7 @@ def run_module(): resource_type='ibm_lbaas', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 79ffbb5a1..256d1ca28 100644 --- a/plugins/modules/ibm_lbaas_health_monitor.py +++ b/plugins/modules/ibm_lbaas_health_monitor.py @@ -18,10 +18,22 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + timeout: + description: + - Timeout in seconds + required: False + type: int + default: 2 + url_path: + description: + - URL Path + required: False + type: str + default: / monitor_id: description: - (Required for new resource) Monitor ID @@ -54,18 +66,6 @@ required: False type: int default: 2 - timeout: - description: - - Timeout in seconds - required: False - type: int - default: 2 - url_path: - description: - - URL Path - required: False - type: str - default: / id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -120,14 +120,14 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'timeout', + 'url_path', 'monitor_id', 'lbaas_id', 'protocol', 'port', 'interval', 'max_retries', - 'timeout', - 'url_path', ] # Params for Data source @@ -144,6 +144,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( + timeout=dict( + required=False, + type='int'), + url_path=dict( + required=False, + type='str'), monitor_id=dict( required=False, type='str'), @@ -162,12 +168,6 @@ max_retries=dict( required=False, type='int'), - timeout=dict( - required=False, - type='int'), - url_path=dict( - required=False, - type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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 a7dce7e6b..43e543fca 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 1d2fd94d4..d0075b0d7 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 618551838..9dc40392c 100644 --- a/plugins/modules/ibm_multi_vlan_firewall.py +++ b/plugins/modules/ibm_multi_vlan_firewall.py @@ -18,15 +18,25 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + datacenter: + description: + - (Required for new resource) Datacenter name + required: True + type: str pod: description: - (Required for new resource) POD name required: True type: str + firewall_type: + description: + - (Required for new resource) Firewall type + required: True + type: str name: description: - (Required for new resource) name @@ -38,16 +48,6 @@ required: False type: list elements: str - datacenter: - description: - - (Required for new resource) Datacenter name - required: True - type: str - firewall_type: - description: - - (Required for new resource) Firewall type - required: True - type: 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 = [ - ('pod', 'str'), - ('name', 'str'), ('datacenter', 'str'), + ('pod', 'str'), ('firewall_type', 'str'), + ('name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'datacenter', 'pod', + 'firewall_type', 'name', 'addon_configuration', - 'datacenter', - 'firewall_type', ] # Params for Data source @@ -123,9 +123,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( + datacenter=dict( + required=False, + type='str'), pod=dict( required=False, type='str'), + firewall_type=dict( + required=False, + type='str'), name=dict( required=False, type='str'), @@ -133,12 +139,6 @@ required=False, elements='', type='list'), - datacenter=dict( - required=False, - type='str'), - firewall_type=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -204,7 +204,7 @@ def run_module(): resource_type='ibm_multi_vlan_firewall', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 b8b51d452..32b705fc7 100644 --- a/plugins/modules/ibm_network_gateway.py +++ b/plugins/modules/ibm_network_gateway.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_network_gateway' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -28,6 +28,11 @@ required: True type: list elements: dict + name: + description: + - (Required for new resource) The name of the gateway + required: True + type: str ssh_key_ids: description: - None @@ -39,11 +44,6 @@ - None required: False type: str - name: - description: - - (Required for new resource) The name of the gateway - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -97,9 +97,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'members', + 'name', 'ssh_key_ids', 'post_install_script_uri', - 'name', ] # Params for Data source @@ -120,6 +120,9 @@ required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), ssh_key_ids=dict( required=False, elements='', @@ -127,9 +130,6 @@ 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.50.0', + ibm_provider_version='1.51.0', 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 6a74a04ac..471c70364 100644 --- a/plugins/modules/ibm_network_gateway_vlan_association.py +++ b/plugins/modules/ibm_network_gateway_vlan_association.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_network_gateway_vlan_association', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 3b8aa655f..1d083d0e8 100644 --- a/plugins/modules/ibm_network_interface_sg_attachment.py +++ b/plugins/modules/ibm_network_interface_sg_attachment.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_network_interface_sg_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 8a9c5e170..8894b3b8c 100644 --- a/plugins/modules/ibm_network_public_ip.py +++ b/plugins/modules/ibm_network_public_ip.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -183,7 +183,7 @@ def run_module(): resource_type='ibm_network_public_ip', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 8af6bdc86..ab7807a7d 100644 --- a/plugins/modules/ibm_network_vlan.py +++ b/plugins/modules/ibm_network_vlan.py @@ -18,36 +18,36 @@ - Create, update or destroy an IBM Cloud 'ibm_network_vlan' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + datacenter: + description: + - (Required for new resource) Datacenter name + required: True + type: str type: description: - (Required for new resource) VLAN type required: True type: str - tags: + router_hostname: description: - - List of tags + - router host name required: False - type: list - elements: str - datacenter: - description: - - (Required for new resource) Datacenter name - required: True type: str name: description: - VLAN name required: False type: str - router_hostname: + tags: description: - - router host name + - List of tags required: False - type: str + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -94,17 +94,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('type', 'str'), ('datacenter', 'str'), + ('type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'type', - 'tags', 'datacenter', - 'name', + 'type', 'router_hostname', + 'name', + 'tags', ] # Params for Data source @@ -112,9 +112,9 @@ ] TL_ALL_PARAMETERS_DS = [ - 'number', 'router_hostname', 'name', + 'number', ] TL_CONFLICTS_MAP = { @@ -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( - type=dict( + datacenter=dict( required=False, type='str'), - tags=dict( + type=dict( required=False, - elements='', - type='list'), - datacenter=dict( + type='str'), + router_hostname=dict( required=False, type='str'), name=dict( required=False, type='str'), - router_hostname=dict( + tags=dict( required=False, - type='str'), + elements='', + type='list'), id=dict( required=False, type='str'), @@ -205,7 +205,7 @@ def run_module(): resource_type='ibm_network_vlan', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 86e4e0cad..5c4f0801e 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - number: - description: - - None - required: False - type: int router_hostname: description: - None @@ -36,6 +31,11 @@ - None required: False type: str + number: + description: + - None + required: False + type: int 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 = [ - 'number', 'router_hostname', 'name', + 'number', ] @@ -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( - number=dict( - required=False, - type='int'), router_hostname=dict( required=False, type='str'), name=dict( required=False, type='str'), + number=dict( + required=False, + type='int'), 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.50.0', + ibm_provider_version='1.51.0', 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 2febc5526..6ebc534cc 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 fe03216f1..a06f16408 100644 --- a/plugins/modules/ibm_ob_logging.py +++ b/plugins/modules/ibm_ob_logging.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_ob_logging' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - logdna_ingestion_key: - description: - - LogDNA ingestion key - required: False - type: str private_endpoint: description: - Add this option to connect to your LogDNA service instance through the private service endpoint @@ -42,6 +37,11 @@ - (Required for new resource) ID of the LogDNA service instance to latch required: True type: str + logdna_ingestion_key: + description: + - LogDNA ingestion key + 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 = [ - 'logdna_ingestion_key', 'private_endpoint', 'cluster', 'instance_id', + 'logdna_ingestion_key', ] # Params for Data source @@ -114,9 +114,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( - logdna_ingestion_key=dict( - required=False, - type='str'), private_endpoint=dict( required=False, type='bool'), @@ -126,6 +123,9 @@ instance_id=dict( required=False, type='str'), + logdna_ingestion_key=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_ob_logging', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 63b86b8a5..4084ae38d 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 666d10ac7..3fc3a1ddc 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 c1d5ccec9..e64154753 100644 --- a/plugins/modules/ibm_org.py +++ b/plugins/modules/ibm_org.py @@ -18,16 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_org' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - billing_managers: - description: - - The IBMID of the users who will have billing manager role in this org, ex - user@example.com - 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 @@ -62,6 +56,12 @@ - Org quota guid required: False type: str + billing_managers: + description: + - The IBMID of the users who will have billing manager 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 = [ - 'billing_managers', 'managers', 'auditors', 'users', 'tags', 'name', 'org_quota_definition_guid', + 'billing_managers', ] # Params for Data source @@ -138,10 +138,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( - billing_managers=dict( - required=False, - elements='', - type='list'), managers=dict( required=False, elements='', @@ -164,6 +160,10 @@ org_quota_definition_guid=dict( required=False, type='str'), + billing_managers=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 ad8f48375..c0641e130 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 91f924d9c..78723f8ec 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 c27191dde..2dabdb465 100644 --- a/plugins/modules/ibm_pi_capture.py +++ b/plugins/modules/ibm_pi_capture.py @@ -18,13 +18,23 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_capture' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pi_capture_cloud_storage_access_key: + pi_cloud_instance_id: description: - - Name of Cloud Storage Access Key + - (Required for new resource) Cloud Instance ID - This is the service_instance_id. + required: True + type: str + pi_capture_cloud_storage_region: + description: + - List of Regions to use + required: False + type: str + pi_capture_cloud_storage_secret_key: + description: + - Name of the Cloud Storage Secret Key required: False type: str pi_capture_storage_image_path: @@ -32,27 +42,16 @@ - Cloud Storage Image Path (bucket-name [/folder/../..]) required: False type: str - pi_cloud_instance_id: + pi_capture_cloud_storage_access_key: description: - - (Required for new resource) Cloud Instance ID - This is the service_instance_id. - required: True + - Name of Cloud Storage Access Key + required: False type: str pi_instance_name: description: - (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 - pi_capture_cloud_storage_secret_key: - description: - - Name of the Cloud Storage Secret Key - required: False - type: str pi_capture_name: description: - (Required for new resource) Name of the capture to create. Note : this must be unique @@ -63,11 +62,12 @@ - (Required for new resource) Destination for the deployable image required: True type: str - pi_capture_cloud_storage_region: + pi_capture_volume_ids: description: - - List of Regions to use + - List of Data volume IDs required: False - type: str + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -118,15 +118,15 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_capture_cloud_storage_access_key', - 'pi_capture_storage_image_path', 'pi_cloud_instance_id', - 'pi_instance_name', - 'pi_capture_volume_ids', + 'pi_capture_cloud_storage_region', 'pi_capture_cloud_storage_secret_key', + 'pi_capture_storage_image_path', + 'pi_capture_cloud_storage_access_key', + 'pi_instance_name', 'pi_capture_name', 'pi_capture_destination', - 'pi_capture_cloud_storage_region', + 'pi_capture_volume_ids', ] # Params for Data source @@ -143,23 +143,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( - pi_capture_cloud_storage_access_key=dict( + pi_cloud_instance_id=dict( required=False, type='str'), - pi_capture_storage_image_path=dict( + pi_capture_cloud_storage_region=dict( required=False, type='str'), - pi_cloud_instance_id=dict( + pi_capture_cloud_storage_secret_key=dict( required=False, type='str'), - pi_instance_name=dict( + pi_capture_storage_image_path=dict( required=False, type='str'), - pi_capture_volume_ids=dict( + pi_capture_cloud_storage_access_key=dict( required=False, - elements='', - type='list'), - pi_capture_cloud_storage_secret_key=dict( + type='str'), + pi_instance_name=dict( required=False, type='str'), pi_capture_name=dict( @@ -168,9 +167,10 @@ pi_capture_destination=dict( required=False, type='str'), - pi_capture_cloud_storage_region=dict( + pi_capture_volume_ids=dict( required=False, - type='str'), + 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.50.0', + ibm_provider_version='1.51.0', 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 87f9564b3..f3c1abb54 100644 --- a/plugins/modules/ibm_pi_catalog_images_info.py +++ b/plugins/modules/ibm_pi_catalog_images_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_pi_catalog_images' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + sap: + description: + - None + required: False + type: bool vtl: description: - None @@ -31,11 +36,6 @@ - None required: True type: str - sap: - description: - - None - required: False - type: bool zone: description: - Denotes which IBM Cloud zone to connect to in multizone @@ -70,9 +70,9 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'sap', 'vtl', 'pi_cloud_instance_id', - 'sap', ] @@ -83,15 +83,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( + sap=dict( + required=False, + type='bool'), vtl=dict( required=False, type='bool'), pi_cloud_instance_id=dict( required=True, type='str'), - sap=dict( - required=False, - type='bool'), zone=dict( type='str', fallback=(env_fallback, ['IC_ZONE'])), @@ -119,7 +119,7 @@ def run_module(): resource_type='ibm_pi_catalog_images', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 3bdb1092a..861c9bd44 100644 --- a/plugins/modules/ibm_pi_cloud_connection.py +++ b/plugins/modules/ibm_pi_cloud_connection.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_cloud_connection' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pi_cloud_instance_id: + pi_cloud_connection_name: description: - - (Required for new resource) PI cloud instance ID + - (Required for new resource) Name of the cloud connection required: True type: str pi_cloud_connection_global_routing: @@ -33,9 +33,9 @@ required: False type: bool default: False - pi_cloud_connection_metered: + pi_cloud_connection_classic_enabled: description: - - Enable metered for this cloud connection + - Enable classic endpoint destination required: False type: bool default: False @@ -44,51 +44,51 @@ - 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_connection_vpc_enabled: - description: - - Enable VPC for this cloud connection - 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 - pi_cloud_connection_gre_cidr: - description: - - GRE network in CIDR notation - required: False - type: str - pi_cloud_connection_name: - description: - - (Required for new resource) Name of the cloud connection - required: True - type: str pi_cloud_connection_speed: description: - (Required for new resource) Speed of the cloud connection (speed in megabits per second) required: True type: int + pi_cloud_connection_metered: + description: + - Enable metered for this cloud connection + required: False + type: bool + default: False pi_cloud_connection_networks: description: - Set of Networks to attach to this cloud connection required: False type: list elements: str - pi_cloud_connection_classic_enabled: + pi_cloud_connection_vpc_enabled: description: - - Enable classic endpoint destination + - Enable VPC 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_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 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 = [ - ('pi_cloud_instance_id', 'str'), ('pi_cloud_connection_name', 'str'), ('pi_cloud_connection_speed', 'int'), + ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_cloud_instance_id', + 'pi_cloud_connection_name', 'pi_cloud_connection_global_routing', - 'pi_cloud_connection_metered', + 'pi_cloud_connection_classic_enabled', 'pi_cloud_connection_gre_destination_address', - 'pi_cloud_connection_vpc_crns', - 'pi_cloud_connection_vpc_enabled', 'pi_cloud_connection_transit_enabled', - 'pi_cloud_connection_gre_cidr', - 'pi_cloud_connection_name', 'pi_cloud_connection_speed', + 'pi_cloud_connection_metered', 'pi_cloud_connection_networks', - 'pi_cloud_connection_classic_enabled', + 'pi_cloud_connection_vpc_enabled', + 'pi_cloud_connection_gre_cidr', + 'pi_cloud_connection_vpc_crns', + 'pi_cloud_instance_id', ] # Params for Data source @@ -170,44 +170,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( - pi_cloud_instance_id=dict( + pi_cloud_connection_name=dict( required=False, type='str'), pi_cloud_connection_global_routing=dict( required=False, type='bool'), - pi_cloud_connection_metered=dict( + pi_cloud_connection_classic_enabled=dict( required=False, type='bool'), pi_cloud_connection_gre_destination_address=dict( required=False, type='str'), - pi_cloud_connection_vpc_crns=dict( + pi_cloud_connection_transit_enabled=dict( + required=False, + type='bool'), + pi_cloud_connection_speed=dict( + required=False, + type='int'), + pi_cloud_connection_metered=dict( + required=False, + type='bool'), + pi_cloud_connection_networks=dict( required=False, elements='', type='list'), pi_cloud_connection_vpc_enabled=dict( required=False, type='bool'), - pi_cloud_connection_transit_enabled=dict( - required=False, - type='bool'), pi_cloud_connection_gre_cidr=dict( required=False, type='str'), - pi_cloud_connection_name=dict( - required=False, - type='str'), - pi_cloud_connection_speed=dict( - required=False, - type='int'), - pi_cloud_connection_networks=dict( + pi_cloud_connection_vpc_crns=dict( required=False, elements='', type='list'), - pi_cloud_connection_classic_enabled=dict( + pi_cloud_instance_id=dict( required=False, - type='bool'), + type='str'), id=dict( required=False, type='str'), @@ -266,7 +266,7 @@ def run_module(): resource_type='ibm_pi_cloud_connection', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 30211f44a..52f06901f 100644 --- a/plugins/modules/ibm_pi_cloud_connection_info.py +++ b/plugins/modules/ibm_pi_cloud_connection_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_cloud_connection' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_cloud_connection', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 96a50d006..39111cb23 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 4b07c55e3..9233e5994 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 11bf23e15..9bc18360b 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 df7017499..0d65dd629 100644 --- a/plugins/modules/ibm_pi_console_language.py +++ b/plugins/modules/ibm_pi_console_language.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -172,7 +172,7 @@ def run_module(): resource_type='ibm_pi_console_language', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 0ce4b6669..047736e17 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 6a2d1dc95..bb398df30 100644 --- a/plugins/modules/ibm_pi_dhcp.py +++ b/plugins/modules/ibm_pi_dhcp.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_dhcp' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -32,11 +32,12 @@ - Optional DNS Server for DHCP service required: False type: str - pi_dhcp_name: + pi_dhcp_snat_enabled: description: - - Optional name of DHCP Service (will be prefixed by DHCP identifier) + - Indicates if SNAT will be enabled for the DHCP service required: False - type: str + type: bool + default: True pi_cidr: description: - Optional cidr for DHCP private network @@ -47,12 +48,11 @@ - Optional cloud connection uuid to connect with DHCP private network required: False type: str - pi_dhcp_snat_enabled: + pi_dhcp_name: description: - - Indicates if SNAT will be enabled for the DHCP service + - Optional name of DHCP Service (will be prefixed by DHCP identifier) required: False - type: bool - default: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -102,21 +102,21 @@ TL_ALL_PARAMETERS = [ 'pi_cloud_instance_id', 'pi_dns_server', - 'pi_dhcp_name', + 'pi_dhcp_snat_enabled', 'pi_cidr', 'pi_cloud_connection_id', - 'pi_dhcp_snat_enabled', + 'pi_dhcp_name', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('pi_dhcp_id', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_dhcp_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'pi_dhcp_id', 'pi_cloud_instance_id', + 'pi_dhcp_id', ] TL_CONFLICTS_MAP = { @@ -132,18 +132,18 @@ pi_dns_server=dict( required=False, type='str'), - pi_dhcp_name=dict( + pi_dhcp_snat_enabled=dict( required=False, - type='str'), + type='bool'), pi_cidr=dict( required=False, type='str'), pi_cloud_connection_id=dict( required=False, type='str'), - pi_dhcp_snat_enabled=dict( + pi_dhcp_name=dict( required=False, - type='bool'), + 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 71d3784a2..ff3ef8fb4 100644 --- a/plugins/modules/ibm_pi_dhcp_info.py +++ b/plugins/modules/ibm_pi_dhcp_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_pi_dhcp' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pi_dhcp_id: + pi_cloud_instance_id: description: - - The ID of the DHCP Server + - None required: True type: str - pi_cloud_instance_id: + pi_dhcp_id: description: - - None + - The ID of the DHCP Server required: True type: str zone: @@ -60,14 +60,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_dhcp_id', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_dhcp_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_dhcp_id', 'pi_cloud_instance_id', + 'pi_dhcp_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_dhcp_id=dict( + pi_cloud_instance_id=dict( required=True, type='str'), - pi_cloud_instance_id=dict( + pi_dhcp_id=dict( required=True, type='str'), zone=dict( @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_dhcp', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 59857bc20..dc63c0386 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_disaster_recovery_location_info.py b/plugins/modules/ibm_pi_disaster_recovery_location_info.py index 7d7ab5cc8..5629080b6 100644 --- a/plugins/modules/ibm_pi_disaster_recovery_location_info.py +++ b/plugins/modules/ibm_pi_disaster_recovery_location_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_disaster_recovery_location' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_disaster_recovery_location', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_disaster_recovery_locations_info.py b/plugins/modules/ibm_pi_disaster_recovery_locations_info.py index 104e22108..31ff2f0bd 100644 --- a/plugins/modules/ibm_pi_disaster_recovery_locations_info.py +++ b/plugins/modules/ibm_pi_disaster_recovery_locations_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_disaster_recovery_locations' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -91,7 +91,7 @@ def run_module(): resource_type='ibm_pi_disaster_recovery_locations', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 ffc81cdb7..cd1521ba9 100644 --- a/plugins/modules/ibm_pi_ike_policy.py +++ b/plugins/modules/ibm_pi_ike_policy.py @@ -18,23 +18,29 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pi_policy_preshared_key: + pi_policy_authentication: description: - - (Required for new resource) Preshared key used in this IKE Policy (length of preshared key must be even) - required: True + - Authentication for the IKE Policy + required: False type: str + default: none pi_policy_dh_group: description: - (Required for new resource) DH group of the IKE Policy required: True type: int - pi_policy_encryption: + pi_policy_version: description: - - (Required for new resource) Encryption of the IKE Policy + - (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_key_lifetime: @@ -42,11 +48,6 @@ - (Required for new resource) Policy key lifetime required: True type: int - pi_policy_version: - description: - - (Required for new resource) Version of the IKE Policy - required: True - type: int pi_cloud_instance_id: description: - (Required for new resource) PI cloud instance ID @@ -57,12 +58,11 @@ - (Required for new resource) Name of the IKE Policy required: True type: str - pi_policy_authentication: + pi_policy_encryption: description: - - Authentication for the IKE Policy - required: False + - (Required for new resource) Encryption of the IKE Policy + required: True 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_policy_preshared_key', 'str'), ('pi_policy_dh_group', 'int'), - ('pi_policy_encryption', 'str'), - ('pi_policy_key_lifetime', 'int'), ('pi_policy_version', 'int'), + ('pi_policy_preshared_key', 'str'), + ('pi_policy_key_lifetime', 'int'), ('pi_cloud_instance_id', 'str'), ('pi_policy_name', 'str'), + ('pi_policy_encryption', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_policy_preshared_key', + 'pi_policy_authentication', 'pi_policy_dh_group', - 'pi_policy_encryption', - 'pi_policy_key_lifetime', 'pi_policy_version', + 'pi_policy_preshared_key', + 'pi_policy_key_lifetime', 'pi_cloud_instance_id', 'pi_policy_name', - 'pi_policy_authentication', + 'pi_policy_encryption', ] # Params for Data source @@ -140,28 +140,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( - pi_policy_preshared_key=dict( + pi_policy_authentication=dict( required=False, type='str'), pi_policy_dh_group=dict( required=False, type='int'), - pi_policy_encryption=dict( + pi_policy_version=dict( + required=False, + type='int'), + pi_policy_preshared_key=dict( required=False, type='str'), pi_policy_key_lifetime=dict( required=False, type='int'), - pi_policy_version=dict( - required=False, - type='int'), pi_cloud_instance_id=dict( required=False, type='str'), pi_policy_name=dict( required=False, type='str'), - pi_policy_authentication=dict( + pi_policy_encryption=dict( required=False, type='str'), id=dict( @@ -222,7 +222,7 @@ def run_module(): resource_type='ibm_pi_ike_policy', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 f726c1ab2..fc96db611 100644 --- a/plugins/modules/ibm_pi_image.py +++ b/plugins/modules/ibm_pi_image.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_image' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - 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 @@ -37,14 +32,9 @@ - Instance image id required: False type: str - pi_image_access_key: - description: - - Cloud Object Storage access key; required for buckets with private access - required: False - type: str - pi_image_bucket_region: + pi_image_bucket_name: description: - - Cloud Object Storage region + - Cloud Object Storage bucket name; bucket-name[/optional/folder] required: False type: str pi_image_bucket_file_name: @@ -52,10 +42,16 @@ - Cloud Object Storage image filename required: False type: str - pi_affinity_policy: + pi_anti_affinity_instances: 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 + - 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: list + elements: str + pi_cloud_instance_id: + description: + - (Required for new resource) PI cloud instance ID + required: True type: str pi_image_bucket_access: description: @@ -63,26 +59,24 @@ required: False type: str default: public - pi_image_storage_pool: + pi_image_bucket_region: description: - - Storage pool where the image will be loaded, if provided then pi_image_storage_type and pi_affinity_policy will be ignored + - Cloud Object Storage region required: False type: str - pi_anti_affinity_volumes: + pi_image_storage_pool: description: - - List of volumes to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided + - 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: list - elements: str - pi_anti_affinity_instances: + type: str + pi_affinity_volume: description: - - List of pvmInstances to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided + - Volume (ID or Name) to base storage affinity policy against; required if requesting affinity and pi_affinity_instance is not provided required: False - type: list - elements: str - pi_image_bucket_name: + type: str + pi_affinity_instance: description: - - Cloud Object Storage bucket name; bucket-name[/optional/folder] + - 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_secret_key: @@ -95,16 +89,22 @@ - Type of storage required: False type: str - pi_affinity_volume: + pi_affinity_policy: description: - - Volume (ID or Name) to base storage affinity policy against; required if requesting affinity and pi_affinity_instance is not provided + - 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_affinity_instance: + pi_image_access_key: description: - - PVM Instance (ID or Name) to base storage affinity policy against; required if requesting storage affinity and pi_affinity_volume is not provided + - Cloud Object Storage access key; required for buckets with private access required: False type: str + pi_anti_affinity_volumes: + description: + - 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: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -147,28 +147,28 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_cloud_instance_id', 'str'), ('pi_image_name', 'str'), + ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_cloud_instance_id', 'pi_image_name', 'pi_image_id', - 'pi_image_access_key', - 'pi_image_bucket_region', + 'pi_image_bucket_name', 'pi_image_bucket_file_name', - 'pi_affinity_policy', + 'pi_anti_affinity_instances', + 'pi_cloud_instance_id', 'pi_image_bucket_access', + 'pi_image_bucket_region', 'pi_image_storage_pool', - 'pi_anti_affinity_volumes', - 'pi_anti_affinity_instances', - 'pi_image_bucket_name', - 'pi_image_secret_key', - 'pi_image_storage_type', 'pi_affinity_volume', 'pi_affinity_instance', + 'pi_image_secret_key', + 'pi_image_storage_type', + 'pi_affinity_policy', + 'pi_image_access_key', + 'pi_anti_affinity_volumes', ] # Params for Data source @@ -184,56 +184,52 @@ TL_CONFLICTS_MAP = { 'pi_image_id': ['pi_image_bucket_name'], - 'pi_image_bucket_region': ['pi_image_id'], + 'pi_image_bucket_name': ['pi_image_id'], 'pi_image_bucket_file_name': ['pi_image_id'], - '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_name': ['pi_image_id'], + 'pi_image_bucket_access': ['pi_image_id'], + 'pi_image_bucket_region': ['pi_image_id'], 'pi_affinity_volume': ['pi_affinity_instance'], 'pi_affinity_instance': ['pi_affinity_volume'], + 'pi_anti_affinity_volumes': ['pi_anti_affinity_instances'], } # 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_cloud_instance_id=dict( - required=False, - type='str'), pi_image_name=dict( required=False, type='str'), pi_image_id=dict( required=False, type='str'), - pi_image_access_key=dict( - required=False, - type='str'), - pi_image_bucket_region=dict( + pi_image_bucket_name=dict( required=False, type='str'), pi_image_bucket_file_name=dict( required=False, type='str'), - pi_affinity_policy=dict( + pi_anti_affinity_instances=dict( + required=False, + elements='', + type='list'), + pi_cloud_instance_id=dict( required=False, type='str'), pi_image_bucket_access=dict( required=False, type='str'), - pi_image_storage_pool=dict( + pi_image_bucket_region=dict( required=False, type='str'), - pi_anti_affinity_volumes=dict( + pi_image_storage_pool=dict( required=False, - elements='', - type='list'), - pi_anti_affinity_instances=dict( + type='str'), + pi_affinity_volume=dict( required=False, - elements='', - type='list'), - pi_image_bucket_name=dict( + type='str'), + pi_affinity_instance=dict( required=False, type='str'), pi_image_secret_key=dict( @@ -242,12 +238,16 @@ pi_image_storage_type=dict( required=False, type='str'), - pi_affinity_volume=dict( + pi_affinity_policy=dict( required=False, type='str'), - pi_affinity_instance=dict( + pi_image_access_key=dict( required=False, type='str'), + pi_anti_affinity_volumes=dict( + required=False, + elements='', + type='list'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 adc608c9f..f408d6f0b 100644 --- a/plugins/modules/ibm_pi_image_export.py +++ b/plugins/modules/ibm_pi_image_export.py @@ -18,15 +18,10 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pi_image_bucket_region: - description: - - (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 @@ -52,6 +47,11 @@ - (Required for new resource) Cloud Object Storage secret key; required for buckets with private access required: True type: str + pi_image_bucket_region: + description: + - (Required for new resource) Cloud Object Storage region + 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_image_bucket_region', 'str'), ('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'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_image_bucket_region', 'pi_cloud_instance_id', 'pi_image_id', 'pi_image_bucket_name', 'pi_image_access_key', 'pi_image_secret_key', + 'pi_image_bucket_region', ] # Params for Data source @@ -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( - pi_image_bucket_region=dict( - required=False, - type='str'), pi_cloud_instance_id=dict( required=False, type='str'), @@ -144,6 +141,9 @@ pi_image_secret_key=dict( required=False, type='str'), + pi_image_bucket_region=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.50.0', + ibm_provider_version='1.51.0', 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 977259b2c..8a9cb2656 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 889ed908e..ab0bb6fa9 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 0147291fc..c7668f1f1 100644 --- a/plugins/modules/ibm_pi_instance.py +++ b/plugins/modules/ibm_pi_instance.py @@ -18,35 +18,31 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pi_proc_type: + pi_replicants: description: - - Instance processor type + - PI Instance replicas count required: False - type: str - pi_sap_profile_id: + type: int + default: 1 + pi_replication_policy: description: - - SAP Profile ID for the amount of cores and memory + - Replication policy for the PI Instance required: False type: str - pi_volume_ids: - description: - - List of PI volumes - required: False - type: list - elements: str + default: none pi_shared_processor_pool: description: - Shared Processor Pool the instance is deployed on required: False type: str - pi_image_id: + pi_proc_type: description: - - (Required for new resource) PI instance image id - required: True + - Instance processor type + required: False type: str pi_virtual_cores_assigned: description: @@ -58,115 +54,111 @@ - (Required for new resource) This is the Power Instance id that is assigned to the account required: True type: str - pi_storage_pool: - description: - - Storage Pool for server deployment; if provided then pi_affinity_policy and pi_storage_type 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_license_repository_capacity: - description: - - The VTL license repository capacity TB value - required: False - type: int - pi_sap_deployment_type: - description: - - Custom SAP Deployment Type Information - required: False - type: str - pi_storage_type: + pi_anti_affinity_volumes: description: - - Storage type for server deployment + - 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 + type: list + elements: str pi_network: description: - (Required for new resource) List of one or more networks to attach to the instance required: True type: list elements: dict - pi_deployment_type: - description: - - Custom Deployment Type Information - required: False - type: str - pi_migratable: + pi_storage_pool_affinity: description: - - set to true to enable migration of the PI instance + - Indicates if all volumes attached to the server must reside in the same storage pool required: False type: bool - pi_replicants: + default: True + pi_placement_group_id: description: - - PI Instance replicas count + - Placement group ID required: False - type: int - default: 1 - pi_replication_policy: + type: str + pi_replication_scheme: description: - - Replication policy for the PI Instance + - Replication scheme required: False type: str - default: none + default: suffix 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_anti_affinity_instances: + 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 + type: list + elements: str + pi_pin_policy: + description: + - Pin Policy of the instance + required: False + type: str + default: none pi_health_status: description: - 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_key_pair_name: + pi_user_data: description: - - SSH key name + - Base64 encoded data to be passed in for invoking a cloud init script required: False type: str - pi_memory: - description: - - Memory size - required: False - type: float - pi_anti_affinity_volumes: + pi_storage_type: description: - - List of volumes to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided + - Storage type for server deployment required: False - type: list - elements: str + type: str pi_sys_type: description: - PI Instance system type required: False type: str - pi_replication_scheme: + pi_processors: description: - - Replication scheme + - Processors count + required: False + type: float + pi_sap_deployment_type: + description: + - Custom SAP Deployment Type Information required: False type: str - default: suffix pi_affinity_policy: 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 type: str - pi_storage_connection: + pi_image_id: description: - - Storage Connectivity Group for server deployment + - (Required for new resource) PI instance image id + required: True + type: str + pi_deployment_type: + description: + - Custom Deployment Type Information required: False type: str - pi_processors: + pi_sap_profile_id: description: - - Processors count + - SAP Profile ID for the amount of cores and memory required: False - type: float - pi_placement_group_id: + type: str + pi_license_repository_capacity: description: - - Placement group ID + - The VTL license repository capacity TB value + required: False + type: int + pi_storage_connection: + description: + - Storage Connectivity Group for server deployment required: False type: str pi_instance_name: @@ -174,29 +166,37 @@ - (Required for new resource) PI Instance name required: True type: str - pi_pin_policy: + pi_key_pair_name: description: - - Pin Policy of the instance + - SSH key name required: False type: str - default: none - pi_user_data: + pi_memory: description: - - Base64 encoded data to be passed in for invoking a cloud init script + - Memory size required: False - type: str - pi_anti_affinity_instances: + type: float + pi_migratable: description: - - List of pvmInstances to base storage anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided + - set to true to enable migration of the PI instance + required: False + type: bool + pi_volume_ids: + description: + - List of PI volumes required: False type: list elements: str - pi_storage_pool_affinity: + pi_storage_pool: description: - - Indicates if all volumes attached to the server must reside in the same storage pool + - Storage Pool for server deployment; if provided then pi_affinity_policy and pi_storage_type will be ignored required: False - type: bool - default: True + 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 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -239,47 +239,47 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_image_id', 'str'), ('pi_cloud_instance_id', 'str'), ('pi_network', 'list'), + ('pi_image_id', 'str'), ('pi_instance_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_proc_type', - 'pi_sap_profile_id', - 'pi_volume_ids', + 'pi_replicants', + 'pi_replication_policy', 'pi_shared_processor_pool', - 'pi_image_id', + 'pi_proc_type', 'pi_virtual_cores_assigned', 'pi_cloud_instance_id', - 'pi_storage_pool', - 'pi_affinity_volume', - 'pi_license_repository_capacity', - 'pi_sap_deployment_type', - 'pi_storage_type', + 'pi_anti_affinity_volumes', 'pi_network', - 'pi_deployment_type', - 'pi_migratable', - 'pi_replicants', - 'pi_replication_policy', + 'pi_storage_pool_affinity', + 'pi_placement_group_id', + 'pi_replication_scheme', 'pi_affinity_instance', + 'pi_anti_affinity_instances', + 'pi_pin_policy', 'pi_health_status', - 'pi_key_pair_name', - 'pi_memory', - 'pi_anti_affinity_volumes', + 'pi_user_data', + 'pi_storage_type', 'pi_sys_type', - 'pi_replication_scheme', + 'pi_processors', + 'pi_sap_deployment_type', 'pi_affinity_policy', + 'pi_image_id', + 'pi_deployment_type', + 'pi_sap_profile_id', + 'pi_license_repository_capacity', 'pi_storage_connection', - 'pi_processors', - 'pi_placement_group_id', 'pi_instance_name', - 'pi_pin_policy', - 'pi_user_data', - 'pi_anti_affinity_instances', - 'pi_storage_pool_affinity', + 'pi_key_pair_name', + 'pi_memory', + 'pi_migratable', + 'pi_volume_ids', + 'pi_storage_pool', + 'pi_affinity_volume', ] # Params for Data source @@ -294,35 +294,31 @@ ] TL_CONFLICTS_MAP = { - 'pi_proc_type': ['pi_sap_profile_id'], - 'pi_sap_profile_id': ['pi_processors', 'pi_memory', 'pi_proc_type'], 'pi_shared_processor_pool': ['pi_sap_profile_id'], - 'pi_affinity_volume': ['pi_affinity_instance'], - 'pi_affinity_instance': ['pi_affinity_volume'], - 'pi_memory': ['pi_sap_profile_id'], + 'pi_proc_type': ['pi_sap_profile_id'], 'pi_anti_affinity_volumes': ['pi_anti_affinity_instances'], - 'pi_processors': ['pi_sap_profile_id'], + 'pi_affinity_instance': ['pi_affinity_volume'], 'pi_anti_affinity_instances': ['pi_anti_affinity_volumes'], + 'pi_processors': ['pi_sap_profile_id'], + 'pi_sap_profile_id': ['pi_processors', 'pi_memory', 'pi_proc_type'], + 'pi_memory': ['pi_sap_profile_id'], + 'pi_affinity_volume': ['pi_affinity_instance'], } # 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_proc_type=dict( + pi_replicants=dict( required=False, - type='str'), - pi_sap_profile_id=dict( + type='int'), + pi_replication_policy=dict( required=False, type='str'), - pi_volume_ids=dict( - required=False, - elements='', - type='list'), pi_shared_processor_pool=dict( required=False, type='str'), - pi_image_id=dict( + pi_proc_type=dict( required=False, type='str'), pi_virtual_cores_assigned=dict( @@ -331,87 +327,91 @@ pi_cloud_instance_id=dict( required=False, type='str'), - pi_storage_pool=dict( + pi_anti_affinity_volumes=dict( required=False, - type='str'), - pi_affinity_volume=dict( + elements='', + type='list'), + pi_network=dict( required=False, - type='str'), - pi_license_repository_capacity=dict( + elements='', + type='list'), + pi_storage_pool_affinity=dict( required=False, - type='int'), - pi_sap_deployment_type=dict( + type='bool'), + pi_placement_group_id=dict( required=False, type='str'), - pi_storage_type=dict( + pi_replication_scheme=dict( required=False, type='str'), - pi_network=dict( + pi_affinity_instance=dict( + required=False, + type='str'), + pi_anti_affinity_instances=dict( required=False, elements='', type='list'), - pi_deployment_type=dict( + pi_pin_policy=dict( required=False, type='str'), - pi_migratable=dict( - required=False, - type='bool'), - pi_replicants=dict( - required=False, - type='int'), - pi_replication_policy=dict( + pi_health_status=dict( required=False, type='str'), - pi_affinity_instance=dict( + pi_user_data=dict( required=False, type='str'), - pi_health_status=dict( + pi_storage_type=dict( required=False, type='str'), - pi_key_pair_name=dict( + pi_sys_type=dict( required=False, type='str'), - pi_memory=dict( + pi_processors=dict( required=False, type='float'), - pi_anti_affinity_volumes=dict( + pi_sap_deployment_type=dict( required=False, - elements='', - type='list'), - pi_sys_type=dict( + type='str'), + pi_affinity_policy=dict( required=False, type='str'), - pi_replication_scheme=dict( + pi_image_id=dict( required=False, type='str'), - pi_affinity_policy=dict( + pi_deployment_type=dict( required=False, type='str'), - pi_storage_connection=dict( + pi_sap_profile_id=dict( required=False, type='str'), - pi_processors=dict( + pi_license_repository_capacity=dict( required=False, - type='float'), - pi_placement_group_id=dict( + type='int'), + pi_storage_connection=dict( required=False, type='str'), pi_instance_name=dict( required=False, type='str'), - pi_pin_policy=dict( + pi_key_pair_name=dict( required=False, type='str'), - pi_user_data=dict( + pi_memory=dict( required=False, - type='str'), - pi_anti_affinity_instances=dict( + type='float'), + pi_migratable=dict( + required=False, + type='bool'), + pi_volume_ids=dict( required=False, elements='', type='list'), - pi_storage_pool_affinity=dict( + pi_storage_pool=dict( required=False, - type='bool'), + type='str'), + pi_affinity_volume=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -470,7 +470,7 @@ def run_module(): resource_type='ibm_pi_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 6a23a6b50..02d701a05 100644 --- a/plugins/modules/ibm_pi_instance_action.py +++ b/plugins/modules/ibm_pi_instance_action.py @@ -18,10 +18,20 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + pi_cloud_instance_id: + description: + - (Required for new resource) PI Cloud instance id + required: True + type: str + pi_instance_id: + description: + - (Required for new resource) PVM instance ID + required: True + type: str pi_action: description: - (Required for new resource) PVM instance action type @@ -33,16 +43,6 @@ required: False type: str default: OK - pi_cloud_instance_id: - description: - - (Required for new resource) PI Cloud instance id - required: True - type: str - pi_instance_id: - description: - - (Required for new resource) PVM instance ID - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -85,17 +85,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_action', 'str'), ('pi_cloud_instance_id', 'str'), ('pi_instance_id', 'str'), + ('pi_action', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_action', - 'pi_health_status', 'pi_cloud_instance_id', 'pi_instance_id', + 'pi_action', + 'pi_health_status', ] # Params for Data source @@ -112,16 +112,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( - pi_action=dict( + pi_cloud_instance_id=dict( required=False, type='str'), - pi_health_status=dict( + pi_instance_id=dict( required=False, type='str'), - pi_cloud_instance_id=dict( + pi_action=dict( required=False, type='str'), - pi_instance_id=dict( + pi_health_status=dict( required=False, type='str'), id=dict( @@ -182,7 +182,7 @@ def run_module(): resource_type='ibm_pi_instance_action', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 97a7c286f..a6012f108 100644 --- a/plugins/modules/ibm_pi_instance_info.py +++ b/plugins/modules/ibm_pi_instance_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 cc5ca14a5..ebd12e103 100644 --- a/plugins/modules/ibm_pi_instance_ip_info.py +++ b/plugins/modules/ibm_pi_instance_ip_info.py @@ -17,23 +17,23 @@ description: - Retrieve an IBM Cloud 'ibm_pi_instance_ip' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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_network_name: + pi_cloud_instance_id: description: - None required: True type: str - pi_instance_name: + pi_network_name: description: - - Server Name to be used for pvminstances + - None required: True type: str zone: @@ -65,16 +65,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('pi_instance_name', 'str'), ('pi_cloud_instance_id', 'str'), ('pi_network_name', 'str'), - ('pi_instance_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'pi_instance_name', 'pi_cloud_instance_id', 'pi_network_name', - 'pi_instance_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_cloud_instance_id=dict( + pi_instance_name=dict( required=True, type='str'), - pi_network_name=dict( + pi_cloud_instance_id=dict( required=True, type='str'), - pi_instance_name=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.50.0', + ibm_provider_version='1.51.0', 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 928c0d203..2f2fbd5fa 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 5abe2bcf5..dc9aba8f9 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 f4ad5b43c..d204220d1 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 b8ea5fe44..2d5702a3d 100644 --- a/plugins/modules/ibm_pi_ipsec_policy.py +++ b/plugins/modules/ibm_pi_ipsec_policy.py @@ -18,10 +18,25 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + pi_policy_dh_group: + description: + - (Required for new resource) DH group of the IPSec Policy + required: True + type: int + pi_policy_encryption: + description: + - (Required for new resource) Encryption of the IPSec Policy + required: True + type: str + pi_policy_key_lifetime: + description: + - (Required for new resource) Policy key lifetime + required: True + type: int pi_policy_pfs: description: - (Required for new resource) Perfect Forward Secrecy @@ -43,21 +58,6 @@ - (Required for new resource) Name of the IPSec Policy required: True type: str - pi_policy_dh_group: - description: - - (Required for new resource) DH group of the IPSec Policy - required: True - type: int - pi_policy_encryption: - description: - - (Required for new resource) Encryption of the IPSec Policy - required: True - type: str - pi_policy_key_lifetime: - description: - - (Required for new resource) Policy key lifetime - required: True - type: int 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'), + ('pi_cloud_instance_id', 'str'), + ('pi_policy_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'pi_policy_dh_group', + 'pi_policy_encryption', + 'pi_policy_key_lifetime', 'pi_policy_pfs', 'pi_policy_authentication', 'pi_cloud_instance_id', 'pi_policy_name', - 'pi_policy_dh_group', - 'pi_policy_encryption', - 'pi_policy_key_lifetime', ] # Params for Data source @@ -133,6 +133,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_policy_dh_group=dict( + required=False, + type='int'), + pi_policy_encryption=dict( + required=False, + type='str'), + pi_policy_key_lifetime=dict( + required=False, + type='int'), pi_policy_pfs=dict( required=False, type='bool'), @@ -145,15 +154,6 @@ pi_policy_name=dict( required=False, type='str'), - pi_policy_dh_group=dict( - required=False, - type='int'), - pi_policy_encryption=dict( - required=False, - type='str'), - pi_policy_key_lifetime=dict( - required=False, - type='int'), 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.50.0', + ibm_provider_version='1.51.0', 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 b0568c640..60af39962 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + pi_key_name: + description: + - (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 @@ -32,11 +37,6 @@ - (Required for new resource) PI cloud instance ID required: True type: str - pi_key_name: - description: - - (Required for new resource) User defined name for the SSH key - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -79,27 +79,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('pi_key_name', 'str'), ('pi_ssh_key', 'str'), ('pi_cloud_instance_id', 'str'), - ('pi_key_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'pi_key_name', 'pi_ssh_key', 'pi_cloud_instance_id', - 'pi_key_name', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('pi_cloud_instance_id', 'str'), ('pi_key_name', 'str'), + ('pi_cloud_instance_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'pi_cloud_instance_id', 'pi_key_name', + 'pi_cloud_instance_id', ] TL_CONFLICTS_MAP = { @@ -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_ssh_key=dict( + pi_key_name=dict( required=False, type='str'), - 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'), id=dict( @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_pi_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 d7c5742e8..20c23db5f 100644 --- a/plugins/modules/ibm_pi_key_info.py +++ b/plugins/modules/ibm_pi_key_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_pi_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pi_cloud_instance_id: + pi_key_name: description: - - None + - SSH key name for a pcloud tenant required: True type: str - pi_key_name: + pi_cloud_instance_id: description: - - SSH key name for a pcloud tenant + - 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_key_name', 'str'), + ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_cloud_instance_id', 'pi_key_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_key_name=dict( required=True, type='str'), - pi_key_name=dict( + pi_cloud_instance_id=dict( required=True, type='str'), zone=dict( @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 436a95f60..6d9a9faa3 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 50f5178db..df39952f0 100644 --- a/plugins/modules/ibm_pi_network.py +++ b/plugins/modules/ibm_pi_network.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_network' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -32,17 +32,11 @@ - PI network CIDR required: False type: str - pi_network_jumbo: - description: - - PI network enable MTU Jumbo option - required: False - type: bool - pi_ipaddress_range: + pi_gateway: description: - - List of one or more ip address range(s) + - PI network gateway required: False - type: list - elements: dict + type: str pi_network_name: description: - (Required for new resource) PI network name @@ -54,16 +48,22 @@ required: False type: list elements: str - pi_gateway: + pi_network_jumbo: description: - - PI network gateway + - PI network enable MTU Jumbo option required: False - type: str + 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 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -115,12 +115,12 @@ TL_ALL_PARAMETERS = [ 'pi_network_type', 'pi_cidr', - 'pi_network_jumbo', - 'pi_ipaddress_range', + 'pi_gateway', 'pi_network_name', 'pi_dns', - 'pi_gateway', + 'pi_network_jumbo', 'pi_cloud_instance_id', + 'pi_ipaddress_range', ] # Params for Data source @@ -147,13 +147,9 @@ pi_cidr=dict( required=False, type='str'), - pi_network_jumbo=dict( - required=False, - type='bool'), - pi_ipaddress_range=dict( + pi_gateway=dict( required=False, - elements='', - type='list'), + type='str'), pi_network_name=dict( required=False, type='str'), @@ -161,12 +157,16 @@ required=False, elements='', type='list'), - pi_gateway=dict( + pi_network_jumbo=dict( required=False, - type='str'), + type='bool'), pi_cloud_instance_id=dict( required=False, type='str'), + pi_ipaddress_range=dict( + required=False, + 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 693a5e889..7a7700d1a 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 1d7305a5e..14a0740da 100644 --- a/plugins/modules/ibm_pi_network_port.py +++ b/plugins/modules/ibm_pi_network_port.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_network_port' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -98,13 +98,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('pi_network_name', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_network_name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'pi_network_name', 'pi_cloud_instance_id', + 'pi_network_name', ] TL_CONFLICTS_MAP = { @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_pi_network_port', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 69cef602f..29f8fc4fc 100644 --- a/plugins/modules/ibm_pi_network_port_attach.py +++ b/plugins/modules/ibm_pi_network_port_attach.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -32,22 +32,22 @@ - (Required for new resource) Network Name - This is the subnet name in the Cloud instance required: True type: str - pi_network_port_ipaddress: + pi_network_port_description: description: - - None + - A human readable description for this network Port required: False type: str + default: Port Created via Terraform pi_instance_id: description: - (Required for new resource) Instance id to attach the network port to required: True type: str - pi_network_port_description: + pi_network_port_ipaddress: description: - - A human readable description for this network Port + - None required: False type: str - default: Port Created via Terraform id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,9 +99,9 @@ TL_ALL_PARAMETERS = [ 'pi_cloud_instance_id', 'pi_network_name', - 'pi_network_port_ipaddress', - 'pi_instance_id', 'pi_network_port_description', + 'pi_instance_id', + 'pi_network_port_ipaddress', ] # Params for Data source @@ -124,13 +124,13 @@ pi_network_name=dict( required=False, type='str'), - pi_network_port_ipaddress=dict( + pi_network_port_description=dict( required=False, type='str'), pi_instance_id=dict( required=False, type='str'), - pi_network_port_description=dict( + pi_network_port_ipaddress=dict( required=False, type='str'), id=dict( @@ -191,7 +191,7 @@ def run_module(): resource_type='ibm_pi_network_port_attach', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 572728e9a..2b6245af8 100644 --- a/plugins/modules/ibm_pi_network_port_info.py +++ b/plugins/modules/ibm_pi_network_port_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_pi_network_port' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pi_network_name: + pi_cloud_instance_id: description: - - Network Name to be used for pvminstances + - None required: True type: str - pi_cloud_instance_id: + pi_network_name: description: - - None + - Network Name to be used for pvminstances required: True type: str zone: @@ -60,14 +60,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_network_name', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_network_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_network_name', 'pi_cloud_instance_id', + 'pi_network_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_network_name=dict( + pi_cloud_instance_id=dict( required=True, type='str'), - pi_cloud_instance_id=dict( + pi_network_name=dict( required=True, type='str'), zone=dict( @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_network_port', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 b64c8a639..7a873625a 100644 --- a/plugins/modules/ibm_pi_placement_group.py +++ b/plugins/modules/ibm_pi_placement_group.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_placement_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pi_placement_group_name: - description: - - (Required for new resource) Name of the placement group - required: True - type: str pi_placement_group_policy: description: - (Required for new resource) Policy of the placement group @@ -37,6 +32,11 @@ - (Required for new resource) PI cloud instance ID required: True type: str + pi_placement_group_name: + description: + - (Required for new resource) Name of the placement group + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -79,27 +79,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_placement_group_name', 'str'), ('pi_placement_group_policy', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_placement_group_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_placement_group_name', 'pi_placement_group_policy', 'pi_cloud_instance_id', + 'pi_placement_group_name', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('pi_cloud_instance_id', 'str'), ('pi_placement_group_name', 'str'), + ('pi_cloud_instance_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'pi_cloud_instance_id', 'pi_placement_group_name', + 'pi_cloud_instance_id', ] TL_CONFLICTS_MAP = { @@ -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( - pi_placement_group_name=dict( - required=False, - type='str'), pi_placement_group_policy=dict( required=False, type='str'), pi_cloud_instance_id=dict( required=False, type='str'), + pi_placement_group_name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_pi_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 3449fc140..cbc459289 100644 --- a/plugins/modules/ibm_pi_placement_group_info.py +++ b/plugins/modules/ibm_pi_placement_group_info.py @@ -17,16 +17,16 @@ description: - Retrieve an IBM Cloud 'ibm_pi_placement_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pi_cloud_instance_id: + pi_placement_group_name: description: - None required: True type: str - pi_placement_group_name: + pi_cloud_instance_id: description: - None required: True @@ -60,14 +60,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_cloud_instance_id', 'str'), ('pi_placement_group_name', 'str'), + ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_cloud_instance_id', 'pi_placement_group_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_placement_group_name=dict( required=True, type='str'), - pi_placement_group_name=dict( + pi_cloud_instance_id=dict( required=True, type='str'), zone=dict( @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 1884813e6..a5a63ab70 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 4f4931ce6..663688b3e 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 296d7640d..0ec75dd26 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 4cc48b47b..4bd11e8e2 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 2d8922ee6..8e4e8c552 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 99b641e20..fdd3b1e2d 100644 --- a/plugins/modules/ibm_pi_shared_processor_pool.py +++ b/plugins/modules/ibm_pi_shared_processor_pool.py @@ -18,20 +18,25 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_shared_processor_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pi_shared_processor_pool_host_group: - description: - - (Required for new resource) Host group 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_placement_group_id: + description: + - Placement group the shared processor pool is created in + required: False + type: str + 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 @@ -48,11 +53,6 @@ - (Required for new resource) Name of the shared processor pool required: True type: str - pi_shared_processor_pool_placement_group_id: - description: - - Placement group the shared processor pool is created in - required: False - 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 = [ - ('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'), ('pi_shared_processor_pool_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_shared_processor_pool_host_group', 'pi_shared_processor_pool_reserved_cores', + 'pi_shared_processor_pool_placement_group_id', + 'pi_shared_processor_pool_host_group', 'pi_cloud_instance_id', 'spp_placement_groups', 'pi_shared_processor_pool_name', - 'pi_shared_processor_pool_placement_group_id', ] # Params for Data source @@ -129,12 +129,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_shared_processor_pool_host_group=dict( - required=False, - type='str'), pi_shared_processor_pool_reserved_cores=dict( required=False, type='int'), + pi_shared_processor_pool_placement_group_id=dict( + required=False, + type='str'), + pi_shared_processor_pool_host_group=dict( + required=False, + type='str'), pi_cloud_instance_id=dict( required=False, type='str'), @@ -145,9 +148,6 @@ pi_shared_processor_pool_name=dict( required=False, type='str'), - pi_shared_processor_pool_placement_group_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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 5537f28b4..255b55aaf 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 3688cb18a..66bbc8b52 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 b190ff93c..d95f4420a 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,16 +27,6 @@ - (Required for new resource) Unique name of the snapshot required: True 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_description: - description: - - Description of the PVM instance snapshot - required: False - type: str pi_instance_name: description: - (Required for new resource) Instance name / id of the pvm @@ -48,6 +38,16 @@ required: False type: list elements: str + pi_description: + description: + - Description of the PVM instance snapshot + 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 id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -91,17 +91,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('pi_snap_shot_name', 'str'), - ('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_snap_shot_name', - 'pi_cloud_instance_id', - 'pi_description', 'pi_instance_name', 'pi_volume_ids', + 'pi_description', + 'pi_cloud_instance_id', ] # Params for Data source @@ -121,12 +121,6 @@ pi_snap_shot_name=dict( required=False, type='str'), - pi_cloud_instance_id=dict( - required=False, - type='str'), - pi_description=dict( - required=False, - type='str'), pi_instance_name=dict( required=False, type='str'), @@ -134,6 +128,12 @@ required=False, elements='', type='list'), + pi_description=dict( + required=False, + type='str'), + pi_cloud_instance_id=dict( + required=False, + type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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 6d2f6eafa..6782429b8 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -93,13 +93,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('pi_cloud_instance_id', 'str'), ('pi_spp_placement_group_id', 'str'), + ('pi_cloud_instance_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'pi_cloud_instance_id', 'pi_spp_placement_group_id', + 'pi_cloud_instance_id', ] TL_CONFLICTS_MAP = { @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_pi_spp_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 24c5fdca2..98285c514 100644 --- a/plugins/modules/ibm_pi_spp_placement_group_info.py +++ b/plugins/modules/ibm_pi_spp_placement_group_info.py @@ -17,16 +17,16 @@ description: - Retrieve an IBM Cloud 'ibm_pi_spp_placement_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pi_cloud_instance_id: + pi_spp_placement_group_id: description: - None required: True type: str - pi_spp_placement_group_id: + pi_cloud_instance_id: description: - None required: True @@ -60,14 +60,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_cloud_instance_id', 'str'), ('pi_spp_placement_group_id', 'str'), + ('pi_cloud_instance_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_cloud_instance_id', 'pi_spp_placement_group_id', + '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_spp_placement_group_id=dict( required=True, type='str'), - pi_spp_placement_group_id=dict( + pi_cloud_instance_id=dict( required=True, type='str'), zone=dict( @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_spp_placement_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 377c9093b..2b82d530f 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 6b1159c4d..36c0ceea7 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 58b18b118..22cd05568 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 c6eeb3184..5f1957b03 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 828f0323f..3e0755852 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 43d0a66c7..f14131523 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 c6a140c12..cad5b3d01 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 e8b0a9aa4..36a9be9e6 100644 --- a/plugins/modules/ibm_pi_volume.py +++ b/plugins/modules/ibm_pi_volume.py @@ -18,72 +18,72 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_volume' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pi_affinity_instance: + pi_cloud_instance_id: description: - - PVM Instance (ID or Name) to base volume affinity policy against; required if requesting affinity and pi_affinity_volume is not provided + - (Required for new resource) Cloud Instance ID - This is the service_instance_id. + required: True + type: str + pi_volume_shareable: + description: + - Flag to indicate if the volume can be shared across multiple instances? required: False + type: bool + pi_volume_name: + description: + - (Required for new resource) Volume Name to create + required: True type: str - pi_anti_affinity_volumes: + pi_volume_pool: description: - - List of volumes to base volume anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_instances is not provided + - Volume pool where the volume will be created; if provided then pi_volume_type and pi_affinity_policy values will be ignored required: False - type: list - elements: str - pi_affinity_policy: + type: str + pi_affinity_volume: description: - - Affinity policy for data volume being created; ignored if pi_volume_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 + - 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_volume_name: + pi_affinity_instance: description: - - (Required for new resource) Volume Name to create - required: True + - 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_volume_size: description: - (Required for new resource) Size of the volume in GB required: True type: float - pi_affinity_volume: + pi_anti_affinity_instances: description: - - Volume (ID or Name) to base volume affinity policy against; required if requesting affinity and pi_affinity_instance 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: str + type: list + elements: str pi_replication_enabled: description: - Indicates if the volume should be replication enabled or not required: False type: bool - pi_volume_shareable: - description: - - Flag to indicate if the volume can be shared across multiple instances? - required: False - type: bool 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_policy: description: - - List of pvmInstances to base volume anti-affinity policy against; required if requesting anti-affinity and pi_anti_affinity_volumes is not provided + - Affinity policy for data volume being created; ignored if pi_volume_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: 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_volume_pool: + pi_anti_affinity_volumes: description: - - Volume pool where the volume will be created; if provided then pi_volume_type and pi_affinity_policy values will be ignored + - 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: str + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -126,87 +126,87 @@ # 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_affinity_instance', - 'pi_anti_affinity_volumes', - 'pi_affinity_policy', + 'pi_cloud_instance_id', + 'pi_volume_shareable', 'pi_volume_name', - 'pi_volume_size', + 'pi_volume_pool', 'pi_affinity_volume', + 'pi_affinity_instance', + 'pi_volume_size', + 'pi_anti_affinity_instances', 'pi_replication_enabled', - 'pi_volume_shareable', 'pi_volume_type', - 'pi_anti_affinity_instances', - 'pi_cloud_instance_id', - 'pi_volume_pool', + 'pi_affinity_policy', + 'pi_anti_affinity_volumes', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('pi_volume_name', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_volume_name', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'pi_volume_name', 'pi_cloud_instance_id', + 'pi_volume_name', ] TL_CONFLICTS_MAP = { - 'pi_affinity_instance': ['pi_affinity_volume'], - 'pi_anti_affinity_volumes': ['pi_anti_affinity_instances'], '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'], } # 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_instance=dict( + pi_cloud_instance_id=dict( required=False, type='str'), - pi_anti_affinity_volumes=dict( - required=False, - elements='', - type='list'), - pi_affinity_policy=dict( + pi_volume_shareable=dict( required=False, - type='str'), + type='bool'), pi_volume_name=dict( required=False, type='str'), - pi_volume_size=dict( + pi_volume_pool=dict( required=False, - type='float'), + type='str'), pi_affinity_volume=dict( required=False, type='str'), - pi_replication_enabled=dict( - required=False, - type='bool'), - pi_volume_shareable=dict( - required=False, - type='bool'), - pi_volume_type=dict( + pi_affinity_instance=dict( required=False, type='str'), + pi_volume_size=dict( + required=False, + type='float'), pi_anti_affinity_instances=dict( required=False, elements='', type='list'), - pi_cloud_instance_id=dict( + pi_replication_enabled=dict( + required=False, + type='bool'), + pi_volume_type=dict( required=False, type='str'), - pi_volume_pool=dict( + pi_affinity_policy=dict( required=False, type='str'), + pi_anti_affinity_volumes=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -265,7 +265,7 @@ def run_module(): resource_type='ibm_pi_volume', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -274,7 +274,7 @@ def run_module(): resource_type='ibm_pi_volume', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 46e5131b7..4a0e4c1f8 100644 --- a/plugins/modules/ibm_pi_volume_attach.py +++ b/plugins/modules/ibm_pi_volume_attach.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -172,7 +172,7 @@ def run_module(): resource_type='ibm_pi_volume_attach', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_volume_flash_copy_mappings_info.py b/plugins/modules/ibm_pi_volume_flash_copy_mappings_info.py index 82f24775d..2eac1e5ad 100644 --- a/plugins/modules/ibm_pi_volume_flash_copy_mappings_info.py +++ b/plugins/modules/ibm_pi_volume_flash_copy_mappings_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_volume_flash_copy_mappings' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_volume_flash_copy_mappings', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_volume_group.py b/plugins/modules/ibm_pi_volume_group.py index 895030292..7d3a19312 100644 --- a/plugins/modules/ibm_pi_volume_group.py +++ b/plugins/modules/ibm_pi_volume_group.py @@ -18,31 +18,31 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_volume_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pi_volume_ids: - description: - - (Required for new resource) List of volumes to add in volume group - required: True - 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_volume_group_name: + pi_consistency_group_name: description: - - Volume Group Name to create + - The name of consistency group at storage controller level required: False type: str - pi_consistency_group_name: + pi_volume_group_name: description: - - The name of consistency group at storage controller level + - Volume Group Name to create required: False type: str + pi_volume_ids: + description: + - (Required for new resource) List of volumes to add in volume group + required: True + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -85,16 +85,16 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_volume_ids', 'list'), ('pi_cloud_instance_id', 'str'), + ('pi_volume_ids', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_volume_ids', 'pi_cloud_instance_id', - 'pi_volume_group_name', 'pi_consistency_group_name', + 'pi_volume_group_name', + 'pi_volume_ids', ] # Params for Data source @@ -109,27 +109,27 @@ ] TL_CONFLICTS_MAP = { - 'pi_volume_group_name': ['pi_consistency_group_name'], 'pi_consistency_group_name': ['pi_volume_group_name'], + 'pi_volume_group_name': ['pi_consistency_group_name'], } # 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_ids=dict( - required=False, - elements='', - type='list'), pi_cloud_instance_id=dict( required=False, type='str'), - pi_volume_group_name=dict( + pi_consistency_group_name=dict( required=False, type='str'), - pi_consistency_group_name=dict( + pi_volume_group_name=dict( required=False, type='str'), + pi_volume_ids=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -188,7 +188,7 @@ def run_module(): resource_type='ibm_pi_volume_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -197,7 +197,7 @@ def run_module(): resource_type='ibm_pi_volume_group', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_volume_group_action.py b/plugins/modules/ibm_pi_volume_group_action.py index 121f6da00..b39b8def3 100644 --- a/plugins/modules/ibm_pi_volume_group_action.py +++ b/plugins/modules/ibm_pi_volume_group_action.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_volume_group_action' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -174,7 +174,7 @@ def run_module(): resource_type='ibm_pi_volume_group_action', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_volume_group_details_info.py b/plugins/modules/ibm_pi_volume_group_details_info.py index 3a9048778..3b04bf2bb 100644 --- a/plugins/modules/ibm_pi_volume_group_details_info.py +++ b/plugins/modules/ibm_pi_volume_group_details_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_pi_volume_group_details' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pi_volume_group_id: + pi_cloud_instance_id: description: - - Name of the volume group + - None required: True type: str - pi_cloud_instance_id: + pi_volume_group_id: description: - - None + - Name of the volume group required: True type: str zone: @@ -60,14 +60,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_volume_group_id', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_volume_group_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_volume_group_id', 'pi_cloud_instance_id', + 'pi_volume_group_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_volume_group_id=dict( + pi_cloud_instance_id=dict( required=True, type='str'), - pi_cloud_instance_id=dict( + pi_volume_group_id=dict( required=True, type='str'), zone=dict( @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_volume_group_details', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_volume_group_info.py b/plugins/modules/ibm_pi_volume_group_info.py index 9e1fd2abd..c32607866 100644 --- a/plugins/modules/ibm_pi_volume_group_info.py +++ b/plugins/modules/ibm_pi_volume_group_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_volume_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_volume_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_volume_group_remote_copy_relationships_info.py b/plugins/modules/ibm_pi_volume_group_remote_copy_relationships_info.py index 2a391e620..308c8b9bd 100644 --- a/plugins/modules/ibm_pi_volume_group_remote_copy_relationships_info.py +++ b/plugins/modules/ibm_pi_volume_group_remote_copy_relationships_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_volume_group_remote_copy_relationships' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_volume_group_remote_copy_relationships', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_volume_group_storage_details_info.py b/plugins/modules/ibm_pi_volume_group_storage_details_info.py index 429408a7e..8b9b065f2 100644 --- a/plugins/modules/ibm_pi_volume_group_storage_details_info.py +++ b/plugins/modules/ibm_pi_volume_group_storage_details_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_volume_group_storage_details' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_volume_group_storage_details', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_volume_groups_details_info.py b/plugins/modules/ibm_pi_volume_groups_details_info.py index b2c24242f..81ca20d5b 100644 --- a/plugins/modules/ibm_pi_volume_groups_details_info.py +++ b/plugins/modules/ibm_pi_volume_groups_details_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_volume_groups_details' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_volume_groups_details', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_volume_groups_info.py b/plugins/modules/ibm_pi_volume_groups_info.py index 46390d8e6..a977e8839 100644 --- a/plugins/modules/ibm_pi_volume_groups_info.py +++ b/plugins/modules/ibm_pi_volume_groups_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_volume_groups' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_volume_groups', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 66b433099..d23b27ccc 100644 --- a/plugins/modules/ibm_pi_volume_info.py +++ b/plugins/modules/ibm_pi_volume_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_pi_volume' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pi_volume_name: + pi_cloud_instance_id: description: - - Volume Name to be used for pvminstances + - None required: True type: str - pi_cloud_instance_id: + pi_volume_name: description: - - None + - Volume Name to be used for pvminstances required: True type: str zone: @@ -60,14 +60,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_volume_name', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_volume_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_volume_name', 'pi_cloud_instance_id', + 'pi_volume_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_volume_name=dict( + pi_cloud_instance_id=dict( required=True, type='str'), - pi_cloud_instance_id=dict( + pi_volume_name=dict( required=True, type='str'), zone=dict( @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_volume', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_volume_onboarding.py b/plugins/modules/ibm_pi_volume_onboarding.py index a0f082fdb..c8ae6f288 100644 --- a/plugins/modules/ibm_pi_volume_onboarding.py +++ b/plugins/modules/ibm_pi_volume_onboarding.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_pi_volume_onboarding' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,17 +27,17 @@ - (Required for new resource) Cloud Instance ID - This is the service_instance_id. required: True type: str + pi_description: + description: + - Description of the volume onboarding operation + required: False + type: str pi_onboarding_volumes: description: - (Required for new resource) required: True type: list elements: dict - pi_description: - description: - - Description of the volume onboarding operation - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -87,19 +87,19 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'pi_cloud_instance_id', - 'pi_onboarding_volumes', 'pi_description', + 'pi_onboarding_volumes', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('pi_volume_onboarding_id', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_volume_onboarding_id', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'pi_volume_onboarding_id', 'pi_cloud_instance_id', + 'pi_volume_onboarding_id', ] TL_CONFLICTS_MAP = { @@ -112,13 +112,13 @@ pi_cloud_instance_id=dict( required=False, type='str'), + pi_description=dict( + required=False, + type='str'), pi_onboarding_volumes=dict( required=False, elements='', type='list'), - pi_description=dict( - required=False, - type='str'), id=dict( required=False, type='str'), @@ -177,7 +177,7 @@ def run_module(): resource_type='ibm_pi_volume_onboarding', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -186,7 +186,7 @@ def run_module(): resource_type='ibm_pi_volume_onboarding', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) if result['rc'] > 0: diff --git a/plugins/modules/ibm_pi_volume_onboarding_info.py b/plugins/modules/ibm_pi_volume_onboarding_info.py index 95e5ca66e..2e0355793 100644 --- a/plugins/modules/ibm_pi_volume_onboarding_info.py +++ b/plugins/modules/ibm_pi_volume_onboarding_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_pi_volume_onboarding' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pi_volume_onboarding_id: + pi_cloud_instance_id: description: - - Volume onboarding ID + - None required: True type: str - pi_cloud_instance_id: + pi_volume_onboarding_id: description: - - None + - Volume onboarding ID required: True type: str zone: @@ -60,14 +60,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_volume_onboarding_id', 'str'), ('pi_cloud_instance_id', 'str'), + ('pi_volume_onboarding_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_volume_onboarding_id', 'pi_cloud_instance_id', + 'pi_volume_onboarding_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_volume_onboarding_id=dict( + pi_cloud_instance_id=dict( required=True, type='str'), - pi_cloud_instance_id=dict( + pi_volume_onboarding_id=dict( required=True, type='str'), zone=dict( @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_volume_onboarding', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_volume_onboardings_info.py b/plugins/modules/ibm_pi_volume_onboardings_info.py index 53ecdcf8b..c5b7d9a25 100644 --- a/plugins/modules/ibm_pi_volume_onboardings_info.py +++ b/plugins/modules/ibm_pi_volume_onboardings_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_volume_onboardings' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -101,7 +101,7 @@ def run_module(): resource_type='ibm_pi_volume_onboardings', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_pi_volume_remote_copy_relationship_info.py b/plugins/modules/ibm_pi_volume_remote_copy_relationship_info.py index e6fc835b5..9942d3125 100644 --- a/plugins/modules/ibm_pi_volume_remote_copy_relationship_info.py +++ b/plugins/modules/ibm_pi_volume_remote_copy_relationship_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_pi_volume_remote_copy_relationship' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -111,7 +111,7 @@ def run_module(): resource_type='ibm_pi_volume_remote_copy_relationship', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 fcfc4b9e9..cd7be20be 100644 --- a/plugins/modules/ibm_pi_vpn_connection.py +++ b/plugins/modules/ibm_pi_vpn_connection.py @@ -18,13 +18,18 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pi_peer_gateway_address: + pi_cloud_instance_id: description: - - (Required for new resource) Peer Gateway address + - (Required for new resource) PI cloud instance ID + 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_peer_subnets: @@ -33,35 +38,30 @@ required: True type: list elements: str - pi_vpn_connection_mode: + pi_vpn_connection_name: description: - - (Required for new resource) Mode used by this VPN Connection, either 'policy' or 'route' + - (Required for new resource) Name of the VPN Connection required: True type: str - pi_networks: - description: - - (Required for new resource) Set of network IDs to attach to this VPN connection - required: True - type: list - elements: str - pi_cloud_instance_id: + pi_ipsec_policy_id: description: - - (Required for new resource) PI cloud instance ID + - (Required for new resource) Unique identifier of IPSec Policy selected for this VPN Connection required: True type: str - pi_vpn_connection_name: + pi_vpn_connection_mode: description: - - (Required for new resource) Name of the VPN Connection + - (Required for new resource) Mode used by this VPN Connection, either 'policy' or 'route' required: True type: str - pi_ike_policy_id: + pi_networks: description: - - (Required for new resource) Unique identifier of IKE Policy selected for this VPN Connection + - (Required for new resource) Set of network IDs to attach to this VPN connection required: True - type: str - pi_ipsec_policy_id: + type: list + elements: str + pi_peer_gateway_address: description: - - (Required for new resource) Unique identifier of IPSec Policy selected for this VPN Connection + - (Required for new resource) Peer Gateway address required: True type: str id: @@ -106,26 +106,26 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('pi_peer_gateway_address', 'str'), - ('pi_peer_subnets', 'list'), - ('pi_vpn_connection_mode', 'str'), - ('pi_networks', 'list'), ('pi_cloud_instance_id', 'str'), - ('pi_vpn_connection_name', 'str'), ('pi_ike_policy_id', 'str'), + ('pi_peer_subnets', 'list'), + ('pi_vpn_connection_name', 'str'), ('pi_ipsec_policy_id', 'str'), + ('pi_vpn_connection_mode', 'str'), + ('pi_networks', 'list'), + ('pi_peer_gateway_address', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'pi_peer_gateway_address', - 'pi_peer_subnets', - 'pi_vpn_connection_mode', - 'pi_networks', 'pi_cloud_instance_id', - 'pi_vpn_connection_name', 'pi_ike_policy_id', + 'pi_peer_subnets', + 'pi_vpn_connection_name', 'pi_ipsec_policy_id', + 'pi_vpn_connection_mode', + 'pi_networks', + 'pi_peer_gateway_address', ] # Params for Data source @@ -142,30 +142,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( - pi_peer_gateway_address=dict( + pi_cloud_instance_id=dict( required=False, type='str'), - pi_peer_subnets=dict( - required=False, - elements='', - type='list'), - pi_vpn_connection_mode=dict( + pi_ike_policy_id=dict( required=False, type='str'), - pi_networks=dict( + pi_peer_subnets=dict( required=False, elements='', type='list'), - pi_cloud_instance_id=dict( + pi_vpn_connection_name=dict( required=False, type='str'), - pi_vpn_connection_name=dict( + pi_ipsec_policy_id=dict( required=False, type='str'), - pi_ike_policy_id=dict( + pi_vpn_connection_mode=dict( required=False, type='str'), - pi_ipsec_policy_id=dict( + pi_networks=dict( + required=False, + elements='', + type='list'), + pi_peer_gateway_address=dict( required=False, type='str'), id=dict( @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_pi_vpn_connection', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 260e966d9..5c90b4fa4 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 8adb32302..7bc267c02 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 dbcf16f84..6595200b8 100644 --- a/plugins/modules/ibm_resource_group.py +++ b/plugins/modules/ibm_resource_group.py @@ -18,21 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_resource_group' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) The name of the resource group - required: True - type: str tags: description: - None required: False type: list elements: str + name: + description: + - (Required for new resource) The name of the resource group + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -84,8 +84,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'tags', + 'name', ] # Params for Data source @@ -104,13 +104,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'), tags=dict( required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), id=dict( required=False, type='str'), @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_resource_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 fd86c7473..0a4d3fa90 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 5db06cffe..20992b7c9 100644 --- a/plugins/modules/ibm_resource_instance.py +++ b/plugins/modules/ibm_resource_instance.py @@ -18,56 +18,56 @@ - Create, update or destroy an IBM Cloud 'ibm_resource_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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 - service_endpoints: + resource_group_id: description: - - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. + - The resource group id required: False type: str - name: + location: description: - - (Required for new resource) A name for the resource instance + - (Required for new resource) The location where the instance available required: True type: str - service: + parameters: description: - - (Required for new resource) The name of the service offering like cloud-object-storage, kms etc - required: True - type: str + - Arbitrary parameters to pass. Must be a JSON object + required: False + type: dict plan: description: - (Required for new resource) The plan type of the service required: True type: str - tags: + service_endpoints: description: - - None + - Types of the service endpoints. Possible values are 'public', 'private', 'public-and-private'. required: False - type: list - elements: str - location: + type: str + service: description: - - (Required for new resource) The location where the instance available + - (Required for new resource) The name of the service offering like cloud-object-storage, kms etc required: True type: str - parameters: - description: - - Arbitrary parameters to pass. Must be a JSON object - required: False - type: dict parameters_json: description: - Arbitrary parameters to pass in Json string format 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. @@ -115,22 +115,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('name', 'str'), - ('service', 'str'), - ('plan', 'str'), ('location', 'str'), + ('plan', 'str'), + ('service', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group_id', - 'service_endpoints', 'name', - 'service', - 'plan', - 'tags', + 'resource_group_id', 'location', 'parameters', + 'plan', + 'service_endpoints', + 'service', 'parameters_json', + 'tags', ] # Params for Data source @@ -139,10 +139,10 @@ ] TL_ALL_PARAMETERS_DS = [ - 'resource_group_id', + 'name', 'location', + 'resource_group_id', 'service', - 'name', ] TL_CONFLICTS_MAP = { @@ -154,34 +154,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( - resource_group_id=dict( + name=dict( required=False, type='str'), - service_endpoints=dict( + resource_group_id=dict( required=False, type='str'), - name=dict( + location=dict( required=False, type='str'), - service=dict( + parameters=dict( required=False, - type='str'), + type='dict'), plan=dict( required=False, type='str'), - tags=dict( - required=False, - elements='', - type='list'), - location=dict( + service_endpoints=dict( required=False, type='str'), - parameters=dict( + service=dict( required=False, - type='dict'), + type='str'), parameters_json=dict( required=False, type='str'), + tags=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -247,7 +247,7 @@ def run_module(): resource_type='ibm_resource_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 6e003af9e..479fe20f7 100644 --- a/plugins/modules/ibm_resource_instance_info.py +++ b/plugins/modules/ibm_resource_instance_info.py @@ -17,29 +17,29 @@ description: - Retrieve an IBM Cloud 'ibm_resource_instance' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - resource_group_id: + name: description: - - The id of the resource group in which the instance is present - required: False + - 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 - service: + resource_group_id: description: - - The service type of the instance + - The id of the resource group in which the instance is present required: False type: str - name: + service: description: - - Resource instance name for example, myobjectstorage - required: True + - The service type of the instance + required: False type: str iaas_classic_username: description: @@ -79,10 +79,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'resource_group_id', + 'name', 'location', + 'resource_group_id', 'service', - 'name', ] @@ -93,17 +93,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( - resource_group_id=dict( - required=False, + name=dict( + required=True, type='str'), location=dict( required=False, type='str'), - service=dict( + resource_group_id=dict( required=False, type='str'), - name=dict( - required=True, + service=dict( + required=False, type='str'), iaas_classic_username=dict( type='str', @@ -139,7 +139,7 @@ def run_module(): resource_type='ibm_resource_instance', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 0b94c2a7c..2bbaeec51 100644 --- a/plugins/modules/ibm_resource_key.py +++ b/plugins/modules/ibm_resource_key.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_resource_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,32 +27,32 @@ - The id of the resource instance for which to create resource key required: False type: str - parameters: - description: - - Arbitrary parameters to pass. Must be a JSON object - required: False - type: dict tags: description: - None required: False type: list elements: str - name: - description: - - (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: str + name: + description: + - (Required for new resource) The name of the resource key + required: True + type: str resource_alias_id: description: - The id of the resource alias for which to create resource key required: False type: str + parameters: + description: + - Arbitrary parameters to pass. Must be a JSON object + required: False + type: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -105,11 +105,11 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'resource_instance_id', - 'parameters', 'tags', - 'name', 'role', + 'name', 'resource_alias_id', + 'parameters', ] # Params for Data source @@ -118,10 +118,10 @@ ] TL_ALL_PARAMETERS_DS = [ + 'name', 'resource_instance_id', - 'resource_alias_id', 'most_recent', - 'name', + 'resource_alias_id', ] TL_CONFLICTS_MAP = { @@ -136,22 +136,22 @@ resource_instance_id=dict( required=False, type='str'), - parameters=dict( - required=False, - type='dict'), tags=dict( required=False, elements='', type='list'), - name=dict( + role=dict( required=False, type='str'), - role=dict( + name=dict( required=False, 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 4660fd53b..3251813f2 100644 --- a/plugins/modules/ibm_resource_key_info.py +++ b/plugins/modules/ibm_resource_key_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_resource_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - resource_instance_id: + name: description: - - The id of the resource instance - required: False + - The name of the resource key + required: True type: str - resource_alias_id: + resource_instance_id: description: - - The id of the resource alias + - The id of the resource instance required: False type: str most_recent: @@ -37,10 +37,10 @@ required: False type: bool default: False - name: + resource_alias_id: description: - - The name of the resource key - required: True + - The id of the resource alias + required: False type: str iaas_classic_username: description: @@ -80,10 +80,10 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'name', 'resource_instance_id', - 'resource_alias_id', 'most_recent', - 'name', + 'resource_alias_id', ] @@ -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( - resource_instance_id=dict( - required=False, + name=dict( + required=True, type='str'), - resource_alias_id=dict( + resource_instance_id=dict( required=False, type='str'), most_recent=dict( required=False, type='bool'), - name=dict( - required=True, + resource_alias_id=dict( + required=False, type='str'), iaas_classic_username=dict( type='str', @@ -142,7 +142,7 @@ def run_module(): resource_type='ibm_resource_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 020eb6f73..ceebcf0ea 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 de9c60004..c8a7fbf7e 100644 --- a/plugins/modules/ibm_resource_tag.py +++ b/plugins/modules/ibm_resource_tag.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_resource_tag' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - 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 +38,11 @@ - 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 = [ - 'tag_type', 'resource_id', 'tags', 'resource_type', + 'tag_type', ] # Params for Data source @@ -105,9 +105,9 @@ ] TL_ALL_PARAMETERS_DS = [ - 'tag_type', 'resource_id', 'resource_type', + 'tag_type', ] TL_CONFLICTS_MAP = { @@ -117,9 +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( - tag_type=dict( - required=False, - type='str'), resource_id=dict( required=False, type='str'), @@ -130,6 +127,9 @@ 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 ebc95fcd3..5d03a2a53 100644 --- a/plugins/modules/ibm_resource_tag_info.py +++ b/plugins/modules/ibm_resource_tag_info.py @@ -17,16 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_resource_tag' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - tag_type: - description: - - Tag type on which the tags should be fetched - required: False - type: str - default: user resource_id: description: - CRN of the resource on which the tags should be attached @@ -37,6 +31,12 @@ - Resource type on which the tags should be fetched required: False type: str + tag_type: + description: + - Tag type on which the tags should be fetched + required: False + type: str + default: user 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 = [ - 'tag_type', 'resource_id', 'resource_type', + 'tag_type', ] @@ -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( - tag_type=dict( - required=False, - type='str'), resource_id=dict( required=False, type='str'), resource_type=dict( required=False, type='str'), + tag_type=dict( + required=False, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -130,7 +130,7 @@ def run_module(): resource_type='ibm_resource_tag', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 46266480c..6bb0fb210 100644 --- a/plugins/modules/ibm_satellite_attach_host_script_info.py +++ b/plugins/modules/ibm_satellite_attach_host_script_info.py @@ -17,20 +17,30 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_attach_host_script' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - location: + host_provider: description: - - A unique name for the new Satellite location - required: True + - None + required: False + type: str + script_dir: + description: + - 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 + location: + description: + - A unique name for the new Satellite location + required: True + type: str coreos_host: description: - If true, returns a CoreOS ignition file for the host. Otherwise, returns a RHEL attach script @@ -42,16 +52,6 @@ required: False type: list elements: str - host_provider: - description: - - None - required: False - type: str - script_dir: - description: - - The directory where the satellite attach host script to be downloaded. Default is home directory - 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 = [ - 'location', + 'host_provider', + 'script_dir', 'custom_script', + 'location', 'coreos_host', 'labels', - 'host_provider', - 'script_dir', ] @@ -106,12 +106,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( - location=dict( - required=True, + host_provider=dict( + required=False, + type='str'), + script_dir=dict( + required=False, type='str'), custom_script=dict( required=False, type='str'), + location=dict( + required=True, + type='str'), coreos_host=dict( required=False, type='bool'), @@ -119,12 +125,6 @@ required=False, elements='', type='list'), - host_provider=dict( - required=False, - type='str'), - script_dir=dict( - required=False, - 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.50.0', + ibm_provider_version='1.51.0', 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 ecb1facaa..06f22c464 100644 --- a/plugins/modules/ibm_satellite_cluster.py +++ b/plugins/modules/ibm_satellite_cluster.py @@ -18,111 +18,116 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_cluster' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - pull_secret: + crn_token: description: - - The RedHat pull secret to create the OpenShift cluster + - The IBM Cloud Identity and Access Management (IAM) service CRN token for the service that creates the cluster. required: False type: str - resource_group_id: + kube_version: description: - - ID of the resource group. + - The OpenShift Container Platform version required: False type: str - name: + retry_patch_version: description: - - (Required for new resource) The unique name for the new IBM Cloud Satellite 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: int + disable_public_service_endpoint: + description: + - Boolean value true if Public service endpoint to be disabled + required: False + type: bool + default: False + location: + description: + - (Required for new resource) The name or ID of the Satellite location required: True type: str - zones: + enable_config_admin: description: - - Zone info for worker pool + - Grant cluster admin access to Satellite Config to manage Kubernetes resources. required: False - type: list - elements: dict + type: bool default_worker_pool_labels: description: - Labels on the default worker pool required: False type: dict elements: str - tags: + infrastructure_topology: description: - - List of tags for the resources + - String value for single node cluster option. Available options: single-replica, highly-available (default: highly-available) required: False - type: list - elements: str - crn_token: + type: str + pull_secret: description: - - The IBM Cloud Identity and Access Management (IAM) service CRN token for the service that creates the cluster. + - The RedHat pull secret to create the OpenShift cluster required: False type: str - kube_version: + operating_system: description: - - The OpenShift Container Platform version + - Operating system of the default worker pool. Options are REDHAT_7_64, REDHAT_8_64, or RHCOS. required: False type: str - enable_config_admin: + patch_version: description: - - Grant cluster admin access to Satellite Config to manage Kubernetes resources. + - Kubernetes patch version required: False - type: bool - service_subnet: + type: str + zones: description: - - User provided value for service subnet + - Zone info for worker pool required: False - type: str - location: + type: list + elements: dict + pod_subnet: description: - - (Required for new resource) The name or ID of the Satellite location - required: True + - User provided value for the pod subnet + required: False type: str - worker_count: + service_subnet: description: - - The number of worker nodes per zone in the default worker pool. Required when '--host-label' is specified. (default: 0) + - User provided value for service subnet required: False - type: int + type: str host_labels: description: - Labels that describe a Satellite host for default workerpool required: False type: list elements: str - operating_system: + name: description: - - Operating system of the default worker pool. Options are REDHAT_7_64, REDHAT_8_64, or RHCOS. - required: False + - (Required for new resource) The unique name for the new IBM Cloud Satellite cluster + required: True type: str - retry_patch_version: + worker_count: 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 number of worker nodes per zone in the default worker pool. Required when '--host-label' is specified. (default: 0) required: False type: int - pod_subnet: - description: - - User provided value for the pod subnet - 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 - patch_version: + tags: description: - - Kubernetes patch version + - List of tags for the resources required: False - type: str + type: list + elements: str wait_for_worker_update: description: - Wait for worker node to update during kube version update. 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. @@ -169,31 +174,32 @@ # 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 = [ - 'pull_secret', - 'resource_group_id', - 'name', - 'zones', - 'default_worker_pool_labels', - 'tags', 'crn_token', 'kube_version', - 'enable_config_admin', - 'service_subnet', - 'location', - 'worker_count', - 'host_labels', - 'operating_system', 'retry_patch_version', - 'pod_subnet', 'disable_public_service_endpoint', + 'location', + 'enable_config_admin', + 'default_worker_pool_labels', + 'infrastructure_topology', + 'pull_secret', + 'operating_system', 'patch_version', + 'zones', + 'pod_subnet', + 'service_subnet', + 'host_labels', + 'name', + 'worker_count', + 'tags', 'wait_for_worker_update', + 'resource_group_id', ] # Params for Data source @@ -202,8 +208,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'name', 'resource_group_id', + 'name', ] TL_CONFLICTS_MAP = { @@ -213,67 +219,70 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - pull_secret=dict( + crn_token=dict( required=False, type='str'), - resource_group_id=dict( + kube_version=dict( required=False, type='str'), - name=dict( + retry_patch_version=dict( + required=False, + type='int'), + disable_public_service_endpoint=dict( + required=False, + type='bool'), + location=dict( required=False, type='str'), - zones=dict( + enable_config_admin=dict( required=False, - elements='', - type='list'), + type='bool'), default_worker_pool_labels=dict( required=False, elements='', type='dict'), - tags=dict( - required=False, - elements='', - type='list'), - crn_token=dict( + infrastructure_topology=dict( required=False, type='str'), - kube_version=dict( + pull_secret=dict( required=False, type='str'), - enable_config_admin=dict( + operating_system=dict( required=False, - type='bool'), - service_subnet=dict( + type='str'), + patch_version=dict( required=False, type='str'), - location=dict( + zones=dict( + required=False, + elements='', + type='list'), + pod_subnet=dict( required=False, type='str'), - worker_count=dict( + service_subnet=dict( required=False, - type='int'), + type='str'), host_labels=dict( required=False, elements='', type='list'), - operating_system=dict( + name=dict( required=False, type='str'), - retry_patch_version=dict( + worker_count=dict( required=False, type='int'), - pod_subnet=dict( + tags=dict( required=False, - type='str'), - disable_public_service_endpoint=dict( + elements='', + type='list'), + wait_for_worker_update=dict( required=False, type='bool'), - patch_version=dict( + resource_group_id=dict( required=False, type='str'), - wait_for_worker_update=dict( - required=False, - type='bool'), id=dict( required=False, type='str'), @@ -339,7 +348,7 @@ def run_module(): resource_type='ibm_satellite_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -348,7 +357,7 @@ def run_module(): resource_type='ibm_satellite_cluster', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 62ea21495..91b107a13 100644 --- a/plugins/modules/ibm_satellite_cluster_info.py +++ b/plugins/modules/ibm_satellite_cluster_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_cluster' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: - description: - - Name or id of the cluster - required: True - type: str resource_group_id: description: - ID of the resource group. required: False type: str + name: + description: + - Name or id of the cluster + 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 = [ - 'name', 'resource_group_id', + '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_id=dict( required=False, type='str'), + name=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_satellite_cluster', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 935ca8cf5..8068dbcf1 100644 --- a/plugins/modules/ibm_satellite_cluster_worker_pool.py +++ b/plugins/modules/ibm_satellite_cluster_worker_pool.py @@ -18,13 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_cluster_worker_pool' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - flavor: + isolation: description: - - The flavor defines the amount of virtual CPU, memory, and disk space that is set up in each worker node + - None + required: False + type: str + entitlement: + description: + - None required: False type: str operating_system: @@ -32,54 +37,49 @@ - Operating system of the worker pool. Options are REDHAT_7_64, REDHAT_8_64, or RHCOS. required: False type: str - worker_pool_labels: + worker_count: description: - - Labels on all the workers in the worker pool + - Specify the desired number of workers per zone in this worker pool required: False - type: dict - elements: str - host_labels: + type: int + zones: description: - - Labels that describe a Satellite host + - Zone info for worker pool required: False type: list + elements: dict + worker_pool_labels: + description: + - Labels on all the workers in the worker pool + required: False + type: dict elements: str resource_group_id: description: - ID of the resource group. required: False type: str - cluster: - description: - - (Required for new resource) The unique name for the new IBM Cloud Satellite cluster - required: True - type: str disk_encryption: description: - Disk encryption for worker node required: False type: bool - isolation: + cluster: description: - - None - required: False + - (Required for new resource) The unique name for the new IBM Cloud Satellite cluster + required: True type: str - entitlement: + flavor: description: - - None + - The flavor defines the amount of virtual CPU, memory, and disk space that is set up in each worker node required: False type: str - worker_count: - description: - - Specify the desired number of workers per zone in this worker pool - required: False - type: int - zones: + host_labels: description: - - Zone info for worker pool + - Labels that describe a Satellite host required: False type: list - elements: dict + elements: str name: description: - (Required for new resource) The name for the worker pool @@ -137,17 +137,17 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'flavor', - 'operating_system', - 'worker_pool_labels', - 'host_labels', - 'resource_group_id', - 'cluster', - 'disk_encryption', 'isolation', 'entitlement', + 'operating_system', 'worker_count', 'zones', + 'worker_pool_labels', + 'resource_group_id', + 'disk_encryption', + 'cluster', + 'flavor', + 'host_labels', 'name', ] @@ -171,39 +171,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( - flavor=dict( + isolation=dict( + required=False, + type='str'), + entitlement=dict( required=False, type='str'), operating_system=dict( required=False, type='str'), - worker_pool_labels=dict( + worker_count=dict( required=False, - elements='', - type='dict'), - host_labels=dict( + type='int'), + zones=dict( required=False, elements='', type='list'), - resource_group_id=dict( + worker_pool_labels=dict( required=False, - type='str'), - cluster=dict( + elements='', + type='dict'), + resource_group_id=dict( required=False, type='str'), disk_encryption=dict( required=False, type='bool'), - isolation=dict( + cluster=dict( required=False, type='str'), - entitlement=dict( + flavor=dict( required=False, type='str'), - worker_count=dict( - required=False, - type='int'), - zones=dict( + host_labels=dict( required=False, elements='', type='list'), @@ -275,7 +275,7 @@ def run_module(): resource_type='ibm_satellite_cluster_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -284,7 +284,7 @@ def run_module(): resource_type='ibm_satellite_cluster_worker_pool', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 8e07e7bc5..7c7134e3d 100644 --- a/plugins/modules/ibm_satellite_cluster_worker_pool_info.py +++ b/plugins/modules/ibm_satellite_cluster_worker_pool_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_cluster_worker_pool' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -140,7 +140,7 @@ def run_module(): resource_type='ibm_satellite_cluster_worker_pool', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 f35318517..b07aa1778 100644 --- a/plugins/modules/ibm_satellite_cluster_worker_pool_zone_attachment.py +++ b/plugins/modules/ibm_satellite_cluster_worker_pool_zone_attachment.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 5742509e6..094645907 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,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_satellite_cluster_worker_pool_zone_attachment' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -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.50.0', + ibm_provider_version='1.51.0', 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 e83a9509f..df6f1dc51 100644 --- a/plugins/modules/ibm_satellite_endpoint.py +++ b/plugins/modules/ibm_satellite_endpoint.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_endpoint' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,22 +27,21 @@ - (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 - client_mutual_auth: + server_port: description: - - 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 + - (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: + description: + - (Required for new resource) The protocol in the client application side. + required: True + type: str timeout: description: - The inactivity timeout in the Endpoint side. required: False type: int - created_by: - description: - - The service or person who created the endpoint. Must be 1000 characters or fewer. - required: False - type: str certs: description: - The certs. @@ -54,48 +53,49 @@ - (Required for new resource) The Location ID. required: True type: str - 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 - client_protocol: + connection_type: description: - - (Required for new resource) The protocol in the client application side. + - (Required for new resource) The type of the endpoint. required: True type: str + created_by: + description: + - The service or person who created the endpoint. Must be 1000 characters or fewer. + required: False + 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_port: + reject_unauth: 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 - sni: + - 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 + client_mutual_auth: description: - - The server name indicator (SNI) which used to connect to the server endpoint. Only useful if server side requires SNI. + - Whether enable mutual auth in the client application side, when client_protocol is 'tls' or 'https', this field is required. required: False - type: str + 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'. required: False type: str - connection_type: - description: - - (Required for new resource) The type of the endpoint. - required: True - type: str display_name: 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 type: str + sni: + description: + - The server name indicator (SNI) which used to connect to the server endpoint. Only useful if server side requires SNI. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -143,9 +143,9 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ ('server_host', 'str'), - ('location', 'str'), - ('client_protocol', 'str'), ('server_port', 'int'), + ('client_protocol', 'str'), + ('location', 'str'), ('connection_type', 'str'), ('display_name', 'str'), ] @@ -153,30 +153,30 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'server_host', - 'client_mutual_auth', + 'server_port', + 'client_protocol', 'timeout', - 'created_by', 'certs', 'location', - 'reject_unauth', - 'client_protocol', + 'connection_type', + 'created_by', 'server_mutual_auth', - 'server_port', - 'sni', + 'reject_unauth', + 'client_mutual_auth', 'server_protocol', - 'connection_type', 'display_name', + 'sni', ] # 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 = { @@ -189,15 +189,15 @@ server_host=dict( required=False, type='str'), - client_mutual_auth=dict( - required=False, - type='bool'), - timeout=dict( + server_port=dict( required=False, type='int'), - created_by=dict( + client_protocol=dict( required=False, type='str'), + timeout=dict( + required=False, + type='int'), certs=dict( required=False, elements='', @@ -205,28 +205,28 @@ location=dict( required=False, type='str'), - reject_unauth=dict( + connection_type=dict( required=False, - type='bool'), - client_protocol=dict( + type='str'), + created_by=dict( required=False, type='str'), server_mutual_auth=dict( required=False, type='bool'), - server_port=dict( + reject_unauth=dict( required=False, - type='int'), - sni=dict( + type='bool'), + client_mutual_auth=dict( required=False, - type='str'), + type='bool'), server_protocol=dict( required=False, type='str'), - connection_type=dict( + display_name=dict( required=False, type='str'), - display_name=dict( + sni=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 8c7ac3c66..5130e4fa0 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 65687b738..6f58d5fec 100644 --- a/plugins/modules/ibm_satellite_host.py +++ b/plugins/modules/ibm_satellite_host.py @@ -18,7 +18,7 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_host' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -32,11 +32,6 @@ - (Required for new resource) The specific host ID to assign to a Satellite location or cluster required: True type: str - location: - description: - - (Required for new resource) The name or ID of the Satellite location - required: True - type: str labels: description: - List of labels for the host @@ -58,6 +53,11 @@ - Host Provider required: False type: str + location: + description: + - (Required for new resource) The name or ID of the Satellite location + required: True + type: str wait_till: description: - Wait until location is normal @@ -117,11 +117,11 @@ TL_ALL_PARAMETERS = [ 'cluster', 'host_id', - 'location', 'labels', 'zone', 'worker_pool', 'host_provider', + 'location', 'wait_till', ] @@ -145,9 +145,6 @@ host_id=dict( required=False, type='str'), - location=dict( - required=False, - type='str'), labels=dict( required=False, elements='', @@ -161,6 +158,9 @@ host_provider=dict( required=False, type='str'), + location=dict( + required=False, + type='str'), wait_till=dict( required=False, type='str'), @@ -229,7 +229,7 @@ def run_module(): resource_type='ibm_satellite_host', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 3298dc31c..b99b2347b 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -27,16 +27,16 @@ - (Required for new resource) CRN of the Location. required: True type: str - location: - description: - - (Required for new resource) Location ID. - required: True - type: str ws_endpoint: description: - The ws endpoint of the location. required: False type: str + location: + description: + - (Required for new resource) Location ID. + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -90,8 +90,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ 'crn', - 'location', 'ws_endpoint', + 'location', ] # Params for Data source @@ -113,10 +113,10 @@ crn=dict( required=False, type='str'), - location=dict( + ws_endpoint=dict( required=False, type='str'), - ws_endpoint=dict( + location=dict( required=False, type='str'), id=dict( @@ -184,7 +184,7 @@ def run_module(): resource_type='ibm_satellite_link', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 1bafbe778..eba93d0a0 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 4ec9eb976..898bcac95 100644 --- a/plugins/modules/ibm_satellite_location.py +++ b/plugins/modules/ibm_satellite_location.py @@ -18,36 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_satellite_location' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - location: - description: - - (Required for new resource) A unique name for the new Satellite location - required: True - type: str - managed_from: - description: - - (Required for new resource) The IBM Cloud metro from which the Satellite location is managed - required: True - type: str - zones: - description: - - The names of at least three high availability zones to use for the location - required: False - type: list - elements: str resource_group_id: description: - ID of the resource group. required: False type: str - description: - description: - - A description of the new Satellite location - required: False - type: str coreos_enabled: description: - Enable Red Hat CoreOS features within the Satellite location @@ -59,11 +38,6 @@ required: False type: list elements: dict - logging_account_id: - description: - - The account ID for IBM Log Analysis with LogDNA log forwarding - required: False - type: str cos_credentials: description: - COSAuthorization - IBM Cloud Object Storage authorization keys @@ -76,6 +50,32 @@ required: False type: list elements: str + location: + description: + - (Required for new resource) A unique name for the new Satellite location + required: True + type: str + description: + description: + - A description of the new Satellite location + required: False + type: str + managed_from: + description: + - (Required for new resource) The IBM Cloud metro from which the Satellite location is managed + required: True + type: str + logging_account_id: + description: + - The account ID for IBM Log Analysis with LogDNA log forwarding + required: False + type: str + zones: + description: + - The names of at least three high availability zones to use for the location + required: False + type: list + elements: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -128,16 +128,16 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'location', - 'managed_from', - 'zones', 'resource_group_id', - 'description', 'coreos_enabled', 'cos_config', - 'logging_account_id', 'cos_credentials', 'tags', + 'location', + 'description', + 'managed_from', + 'logging_account_id', + 'zones', ] # Params for Data source @@ -156,22 +156,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( - location=dict( - required=False, - type='str'), - managed_from=dict( - required=False, - type='str'), - zones=dict( - required=False, - elements='', - type='list'), resource_group_id=dict( required=False, type='str'), - description=dict( - required=False, - type='str'), coreos_enabled=dict( required=False, type='bool'), @@ -179,9 +166,6 @@ required=False, elements='', type='list'), - logging_account_id=dict( - required=False, - type='str'), cos_credentials=dict( required=False, elements='', @@ -190,6 +174,22 @@ required=False, elements='', type='list'), + location=dict( + required=False, + type='str'), + description=dict( + required=False, + type='str'), + managed_from=dict( + required=False, + type='str'), + logging_account_id=dict( + required=False, + type='str'), + zones=dict( + required=False, + elements='', + type='list'), id=dict( required=False, type='str'), @@ -255,7 +255,7 @@ def run_module(): resource_type='ibm_satellite_location', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 395cc81e8..5853aebbf 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 34bee9d6f..e3175a2f6 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 97ade2236..bc52b9ea0 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 3506c4350..c8f7a1675 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 7e0aaab3c..b1c71b1de 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 15a94367a..e8db58aab 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 4956fe7a8..42c68e23e 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 f399c0716..8d847eb4b 100644 --- a/plugins/modules/ibm_scc_account_settings.py +++ b/plugins/modules/ibm_scc_account_settings.py @@ -18,19 +18,19 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - event_notifications: + location: description: - - The Event Notification settings to register. + - Location Settings. required: False type: list elements: dict - location: + event_notifications: description: - - Location Settings. + - The Event Notification settings to register. required: False type: list elements: dict @@ -84,8 +84,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'event_notifications', 'location', + 'event_notifications', ] # Params for Data source @@ -103,11 +103,11 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - event_notifications=dict( + location=dict( required=False, elements='', type='list'), - location=dict( + event_notifications=dict( required=False, elements='', type='list'), @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_scc_account_settings', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 ffe81f25f..44c8980b5 100644 --- a/plugins/modules/ibm_scc_posture_collector.py +++ b/plugins/modules/ibm_scc_posture_collector.py @@ -18,10 +18,21 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_posture_collector' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + managed_by: + description: + - (Required for new resource) Determines whether the collector is an IBM or customer-managed virtual machine. Use `ibm` to allow Security and Compliance Center to create, install, and manage the collector on your behalf. The collector is installed in an OpenShift cluster and approved automatically for use. Use `customer` if you would like to install the collector by using your own virtual machine. For more information, check out the [docs](https://cloud.ibm.com/docs/security-compliance?topic=security-compliance-collector). + required: True + type: str + description: + description: + - A detailed description of the collector. + required: False + type: str + default: passphrase: description: - To protect the credentials that you add to the service, a passphrase is used to generate a data encryption key. The key is used to securely store your credentials and prevent anyone from accessing them. @@ -42,17 +53,6 @@ - (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. required: True type: bool - managed_by: - description: - - (Required for new resource) Determines whether the collector is an IBM or customer-managed virtual machine. Use `ibm` to allow Security and Compliance Center to create, install, and manage the collector on your behalf. The collector is installed in an OpenShift cluster and approved automatically for use. Use `customer` if you would like to install the collector by using your own virtual machine. For more information, check out the [docs](https://cloud.ibm.com/docs/security-compliance?topic=security-compliance-collector). - required: True - type: str - description: - description: - - A detailed description of the collector. - required: False - type: str - default: 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 = [ + ('managed_by', 'str'), ('name', 'str'), ('is_public', 'bool'), - ('managed_by', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'managed_by', + 'description', 'passphrase', 'is_ubi_image', 'name', 'is_public', - 'managed_by', - 'description', ] # Params for Data source @@ -130,6 +130,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( + managed_by=dict( + required=False, + type='str'), + description=dict( + required=False, + type='str'), passphrase=dict( required=False, type='str'), @@ -142,12 +148,6 @@ is_public=dict( required=False, type='bool'), - managed_by=dict( - required=False, - type='str'), - description=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 ac26a37a5..517a326eb 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 6ac9e3960..b3c07f5d0 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 eea8d6073..4e1c814a2 100644 --- a/plugins/modules/ibm_scc_posture_credential.py +++ b/plugins/modules/ibm_scc_posture_credential.py @@ -18,15 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_posture_credential' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - enabled: - description: - - (Required for new resource) Credentials status enabled/disbaled. - required: True - type: bool type: description: - (Required for new resource) Credentials type. @@ -53,6 +48,11 @@ - (Required for new resource) Purpose for which the credential is created. required: True type: str + enabled: + description: + - (Required for new resource) Credentials status enabled/disbaled. + required: True + type: bool id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -99,22 +99,22 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('enabled', 'bool'), ('type', 'str'), ('name', 'str'), ('description', 'str'), ('display_fields', 'list'), ('purpose', 'str'), + ('enabled', 'bool'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'enabled', 'type', 'name', 'description', 'display_fields', 'purpose', + 'enabled', ] # 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( - enabled=dict( - required=False, - type='bool'), type=dict( required=False, type='str'), @@ -152,6 +149,9 @@ purpose=dict( required=False, type='str'), + enabled=dict( + required=False, + type='bool'), id=dict( required=False, type='str'), @@ -217,7 +217,7 @@ def run_module(): resource_type='ibm_scc_posture_credential', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS_DS, tl_all_params=TL_ALL_PARAMETERS_DS) @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_scc_posture_credential', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 987fbe557..6acd670c8 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 5606e094e..66b52df95 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 a9fd53563..cf1725079 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 809b16630..f9c093cf7 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 2ce750212..b618ae62b 100644 --- a/plugins/modules/ibm_scc_posture_profile_import.py +++ b/plugins/modules/ibm_scc_posture_profile_import.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -172,7 +172,7 @@ def run_module(): resource_type='ibm_scc_posture_profile_import', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 faa344642..8e9b44fda 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 25a5593bf..864c556ff 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 b7eb1648d..7e0c05779 100644 --- a/plugins/modules/ibm_scc_posture_scan_initiate_validation.py +++ b/plugins/modules/ibm_scc_posture_scan_initiate_validation.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -32,14 +32,14 @@ - The ID of the profile group. required: False type: str - name: + description: description: - - The name of a scheduled scan. + - The description of a scheduled scan. required: False type: str - frequency: + no_of_occurrences: description: - - The frequency at which a scan is run specified in milliseconds. + - The number of times that a scan should be run. required: False type: int end_time: @@ -52,14 +52,14 @@ - (Required for new resource) The unique ID of the profile. required: True type: str - description: + name: description: - - The description of a scheduled scan. + - The name of a scheduled scan. required: False type: str - no_of_occurrences: + frequency: description: - - The number of times that a scan should be run. + - The frequency at which a scan is run specified in milliseconds. required: False type: int id: @@ -116,12 +116,12 @@ TL_ALL_PARAMETERS = [ 'scope_id', 'group_profile_id', - 'name', - 'frequency', - 'end_time', - 'profile_id', 'description', 'no_of_occurrences', + 'end_time', + 'profile_id', + 'name', + 'frequency', ] # Params for Data source @@ -144,10 +144,10 @@ group_profile_id=dict( required=False, type='str'), - name=dict( + description=dict( required=False, type='str'), - frequency=dict( + no_of_occurrences=dict( required=False, type='int'), end_time=dict( @@ -156,10 +156,10 @@ profile_id=dict( required=False, type='str'), - description=dict( + name=dict( required=False, type='str'), - no_of_occurrences=dict( + frequency=dict( required=False, type='int'), id=dict( @@ -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.50.0', + ibm_provider_version='1.51.0', 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 da013dabb..a67ee712d 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 815fbdc05..4dda48aeb 100644 --- a/plugins/modules/ibm_scc_posture_scan_summary_info.py +++ b/plugins/modules/ibm_scc_posture_scan_summary_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_scc_posture_scan_summary' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - profile_id: + scan_id: description: - - The profile ID. This can be obtained from the Security and Compliance Center UI by clicking on the profile name. The URL contains the ID. + - Your Scan ID. required: True type: str - scan_id: + profile_id: description: - - Your Scan ID. + - The profile ID. This can be obtained from the Security and Compliance Center UI by clicking on the profile name. The URL contains the ID. required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('profile_id', 'str'), ('scan_id', 'str'), + ('profile_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'profile_id', 'scan_id', + 'profile_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( - profile_id=dict( + scan_id=dict( required=True, type='str'), - scan_id=dict( + profile_id=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_scc_posture_scan_summary', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 52599a9d3..795344558 100644 --- a/plugins/modules/ibm_scc_posture_scope.py +++ b/plugins/modules/ibm_scc_posture_scope.py @@ -18,20 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_posture_scope' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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. @@ -48,6 +38,16 @@ 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,12 +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( - credential_id=dict( - required=False, - type='str'), - credential_type=dict( - required=False, - type='str'), name=dict( required=False, type='str'), @@ -142,6 +136,12 @@ 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 1c8860d71..53319c49e 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 687b04032..cf2b17eb6 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 92f2ec96f..b60320c55 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 e42c57d77..930ff74e3 100644 --- a/plugins/modules/ibm_scc_rule.py +++ b/plugins/modules/ibm_scc_rule.py @@ -18,43 +18,43 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_rule' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: + account_id: description: - - (Required for new resource) A human-readable alias to assign to your rule. + - (Required for new resource) Your IBM Cloud account ID. required: True type: str - description: + name: description: - - (Required for new resource) An extended description of your rule. + - (Required for new resource) A human-readable alias to assign to your rule. required: True type: str - 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 - account_id: - description: - - (Required for new resource) Your IBM Cloud account ID. - required: True - type: str required_config: 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 type: list elements: dict + description: + description: + - (Required for new resource) An extended description of your rule. + required: True + type: str + 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. @@ -107,21 +107,21 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), - ('description', 'str'), ('account_id', 'str'), + ('name', 'str'), ('required_config', 'list'), + ('description', 'str'), ('target', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'account_id', 'name', - 'description', - 'labels', 'enforcement_actions', - 'account_id', 'required_config', + 'description', + 'labels', 'target', ] @@ -139,24 +139,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( - name=dict( + account_id=dict( required=False, type='str'), - description=dict( + name=dict( required=False, type='str'), - labels=dict( + enforcement_actions=dict( required=False, elements='', type='list'), - enforcement_actions=dict( + required_config=dict( required=False, elements='', type='list'), - account_id=dict( + description=dict( required=False, type='str'), - required_config=dict( + labels=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.50.0', + ibm_provider_version='1.51.0', 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 e7f46b088..0171f5b5c 100644 --- a/plugins/modules/ibm_scc_rule_attachment.py +++ b/plugins/modules/ibm_scc_rule_attachment.py @@ -18,16 +18,10 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - excluded_scopes: - description: - - The extent at which the rule can be excluded from the included scope. - required: False - type: list - elements: dict rule_id: description: - (Required for new resource) The UUID that uniquely identifies the rule. @@ -44,6 +38,12 @@ required: True type: list elements: dict + excluded_scopes: + description: + - The extent at which the rule can be excluded from the included scope. + required: False + type: list + elements: dict 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 = [ - 'excluded_scopes', 'rule_id', 'account_id', 'included_scope', + 'excluded_scopes', ] # Params for Data source @@ -117,10 +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( - excluded_scopes=dict( - required=False, - elements='', - type='list'), rule_id=dict( required=False, type='str'), @@ -131,6 +127,10 @@ required=False, elements='', type='list'), + excluded_scopes=dict( + required=False, + elements='', + type='list'), 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.50.0', + ibm_provider_version='1.51.0', 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 e8fce9aec..8caf0e56d 100644 --- a/plugins/modules/ibm_scc_template.py +++ b/plugins/modules/ibm_scc_template.py @@ -18,10 +18,22 @@ - Create, update or destroy an IBM Cloud 'ibm_scc_template' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + 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 + customized_defaults: + description: + - (Required for new resource) A list of default property values to apply to your template. + required: True + type: list + elements: dict account_id: description: - (Required for new resource) Your IBM Cloud account ID. @@ -37,18 +49,6 @@ - (Required for new resource) An extended description of your template. required: True type: 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 - customized_defaults: - description: - - (Required for new resource) A list of default property values to apply to your template. - required: True - type: list - elements: dict 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 = [ + ('target', 'list'), + ('customized_defaults', 'list'), ('account_id', 'str'), ('name', 'str'), ('description', 'str'), - ('target', 'list'), - ('customized_defaults', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'target', + 'customized_defaults', 'account_id', 'name', 'description', - 'target', - 'customized_defaults', ] # Params for Data source @@ -125,6 +125,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( + target=dict( + required=False, + elements='', + type='list'), + customized_defaults=dict( + required=False, + elements='', + type='list'), account_id=dict( required=False, type='str'), @@ -134,14 +142,6 @@ description=dict( required=False, type='str'), - target=dict( - required=False, - elements='', - type='list'), - customized_defaults=dict( - required=False, - elements='', - type='list'), 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.50.0', + ibm_provider_version='1.51.0', 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 261f84707..0f5b1c1df 100644 --- a/plugins/modules/ibm_scc_template_attachment.py +++ b/plugins/modules/ibm_scc_template_attachment.py @@ -18,7 +18,7 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -196,7 +196,7 @@ def run_module(): resource_type='ibm_scc_template_attachment', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 798c8a53e..384e19b76 100644 --- a/plugins/modules/ibm_schematics_action.py +++ b/plugins/modules/ibm_schematics_action.py @@ -18,18 +18,30 @@ - Create, update or destroy an IBM Cloud 'ibm_schematics_action' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - description: + bastion_credential: description: - - Action description. + - User editable variable data & system generated reference to value. required: False + type: list + elements: dict + sys_lock: + description: + - System lock status. + required: False + type: list + elements: dict + 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 - resource_group: + source_readme_url: description: - - Resource-group name for an action. By default, action is created in default resource group. + - URL of the `README` file, for the source URL. required: False type: str credentials: @@ -38,26 +50,19 @@ required: False type: list elements: dict - settings: - description: - - Environment variables for the Action. - required: False - type: list - elements: dict x_github_token: description: - The personal access token to authenticate with your private GitHub or GitLab repository and access your Terraform template. required: False type: str - source: + location: description: - - Source of templates, playbooks, or controls. + - 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: list - elements: dict - source_type: + type: str + resource_group: description: - - Type of source for the Template. + - Resource-group name for an action. By default, action is created in default resource group. required: False type: str user_state: @@ -66,52 +71,53 @@ required: False type: list elements: dict - source_readme_url: + bastion: description: - - URL of the `README` file, for the source URL. + - Describes a bastion resource. required: False - type: str + type: list + elements: dict + action_inputs: + description: + - Input variables for the Action. + required: False + type: list + elements: dict tags: description: - Action tags. required: False type: list elements: str - name: + source_type: 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 of source for the Template. + required: False type: str command_parameter: description: - Schematics job command parameter (playbook-name). required: False type: str - inventory: - description: - - Target inventory record ID, used by the action or ansible playbook. - required: False - type: str - bastion: + source: description: - - Describes a bastion resource. + - Source of templates, playbooks, or controls. required: False type: list elements: dict - action_outputs: + description: description: - - Output variables for the Action. + - Action description. required: False - type: list - elements: dict - location: + type: str + inventory: 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. + - Target inventory record ID, used by the action or ansible playbook. required: False type: str - bastion_credential: + action_outputs: description: - - User editable variable data & system generated reference to value. + - Output variables for the Action. required: False type: list elements: dict @@ -120,15 +126,9 @@ - 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 - sys_lock: + settings: description: - - System lock status. + - Environment variables for the Action. required: False type: list elements: dict @@ -183,26 +183,26 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'description', - 'resource_group', + 'bastion_credential', + 'sys_lock', + 'name', + 'source_readme_url', 'credentials', - 'settings', 'x_github_token', - 'source', - 'source_type', + 'location', + 'resource_group', 'user_state', - 'source_readme_url', + 'bastion', + 'action_inputs', 'tags', - 'name', + 'source_type', 'command_parameter', + 'source', + 'description', 'inventory', - 'bastion', 'action_outputs', - 'location', - 'bastion_credential', 'targets_ini', - 'action_inputs', - 'sys_lock', + 'settings', ] # Params for Data source @@ -211,8 +211,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'location', 'action_id', + 'location', ] TL_CONFLICTS_MAP = { @@ -222,73 +222,73 @@ 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( + bastion_credential=dict( + required=False, + elements='', + type='list'), + sys_lock=dict( + required=False, + elements='', + type='list'), + name=dict( required=False, type='str'), - resource_group=dict( + source_readme_url=dict( required=False, type='str'), credentials=dict( required=False, elements='', type='list'), - settings=dict( - required=False, - elements='', - type='list'), x_github_token=dict( required=False, type='str'), - source=dict( + location=dict( required=False, - elements='', - type='list'), - source_type=dict( + type='str'), + resource_group=dict( required=False, type='str'), user_state=dict( required=False, elements='', type='list'), - source_readme_url=dict( + bastion=dict( required=False, - type='str'), + elements='', + type='list'), + action_inputs=dict( + required=False, + elements='', + type='list'), tags=dict( required=False, elements='', type='list'), - name=dict( + source_type=dict( required=False, type='str'), command_parameter=dict( required=False, type='str'), - inventory=dict( - required=False, - type='str'), - bastion=dict( + source=dict( required=False, elements='', type='list'), - action_outputs=dict( + description=dict( required=False, - elements='', - type='list'), - location=dict( + type='str'), + inventory=dict( required=False, type='str'), - bastion_credential=dict( + action_outputs=dict( required=False, elements='', type='list'), targets_ini=dict( required=False, type='str'), - action_inputs=dict( - required=False, - elements='', - type='list'), - sys_lock=dict( + settings=dict( required=False, elements='', type='list'), @@ -357,7 +357,7 @@ def run_module(): resource_type='ibm_schematics_action', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 033f8a32d..1242ba90c 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 8fa26f607..8e09b9e07 100644 --- a/plugins/modules/ibm_schematics_inventory.py +++ b/plugins/modules/ibm_schematics_inventory.py @@ -18,23 +18,18 @@ - Create, update or destroy an IBM Cloud 'ibm_schematics_inventory' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - description: - description: - - The description of your Inventory definition. The description can be up to 2048 characters long in size. - required: False - 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 - name: + inventories_ini: description: - - 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. + - Input inventory of host and host group for the playbook, in the `.ini` file format. required: False type: str resource_group: @@ -42,17 +37,22 @@ - 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 + name: + description: + - 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 + description: + description: + - The description of your Inventory definition. The description can be up to 2048 characters long in size. + required: False + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -103,12 +103,12 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'description', 'location', - 'name', - 'resource_group', 'inventories_ini', + 'resource_group', 'resource_queries', + 'name', + 'description', ] # Params for Data source @@ -117,8 +117,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'inventory_id', 'location', + 'inventory_id', ] TL_CONFLICTS_MAP = { @@ -128,25 +128,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( - description=dict( - required=False, - type='str'), location=dict( required=False, type='str'), - name=dict( + inventories_ini=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'), + name=dict( + required=False, + type='str'), + description=dict( + required=False, + type='str'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 71eeade3b..ee5162176 100644 --- a/plugins/modules/ibm_schematics_inventory_info.py +++ b/plugins/modules/ibm_schematics_inventory_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_inventory' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - inventory_id: - description: - - Resource Inventory Id. Use `GET /v2/inventories` API to look up the Resource Inventory definition 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 + inventory_id: + description: + - Resource Inventory Id. Use `GET /v2/inventories` API to look up the Resource Inventory definition Ids in your IBM Cloud account. + 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 = [ - 'inventory_id', 'location', + 'inventory_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( - inventory_id=dict( - required=True, - type='str'), location=dict( required=False, type='str'), + inventory_id=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_schematics_inventory', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 30610f251..60b0fdedc 100644 --- a/plugins/modules/ibm_schematics_job.py +++ b/plugins/modules/ibm_schematics_job.py @@ -18,42 +18,19 @@ - Create, update or destroy an IBM Cloud 'ibm_schematics_job' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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 - 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 - data: - description: - - Job data. - required: False - type: list - elements: dict - bastion: - description: - - Describes a bastion resource. - required: False - type: list - elements: dict - command_name: + command_object: description: - - (Required for new resource) Schematics job command name. + - (Required for new resource) Name of the Schematics automation resource. required: True type: str command_parameter: @@ -73,22 +50,45 @@ required: False type: list elements: dict + data: + description: + - Job data. + required: False + type: list + elements: dict command_object_id: description: - (Required for new resource) Job command object id (workspace-id, action-id). required: True type: str + command_name: + description: + - (Required for new resource) Schematics job command name. + required: True + type: str + bastion: + description: + - Describes a bastion resource. + required: False + type: list + elements: dict job_env_settings: description: - Environment variables used by the Job while performing Action or Workspace. required: False type: list elements: dict - command_object: + location: description: - - (Required for new resource) Name of the Schematics automation resource. - required: True + - 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 + log_summary: + description: + - Job log summary record. + required: False + type: list + elements: dict id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -135,25 +135,25 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('command_name', 'str'), - ('command_object_id', 'str'), ('command_object', 'str'), + ('command_object_id', 'str'), + ('command_name', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'location', - 'log_summary', 'tags', - 'data', - 'bastion', - 'command_name', + 'command_object', 'command_parameter', 'command_options', 'job_inputs', + 'data', 'command_object_id', + 'command_name', + 'bastion', 'job_env_settings', - 'command_object', + 'location', + 'log_summary', ] # Params for Data source @@ -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( - location=dict( - required=False, - type='str'), - log_summary=dict( + tags=dict( required=False, elements='', type='list'), - tags=dict( + command_object=dict( + required=False, + type='str'), + command_parameter=dict( + required=False, + type='str'), + command_options=dict( required=False, elements='', type='list'), - data=dict( + job_inputs=dict( required=False, elements='', type='list'), - bastion=dict( + data=dict( required=False, elements='', type='list'), - command_name=dict( + command_object_id=dict( required=False, type='str'), - command_parameter=dict( + command_name=dict( required=False, type='str'), - command_options=dict( + bastion=dict( required=False, elements='', type='list'), - job_inputs=dict( + job_env_settings=dict( required=False, elements='', type='list'), - command_object_id=dict( + location=dict( required=False, type='str'), - job_env_settings=dict( + log_summary=dict( required=False, elements='', type='list'), - command_object=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 54782b2ee..a756cd7a7 100644 --- a/plugins/modules/ibm_schematics_job_info.py +++ b/plugins/modules/ibm_schematics_job_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_job' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -121,7 +121,7 @@ def run_module(): resource_type='ibm_schematics_job', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 cc9ad0773..30c360646 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 f495c4883..c260239db 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 6232b92d7..42dd0017a 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 12cf25b79..7a51a6b28 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 dd215d45a..5ecf67797 100644 --- a/plugins/modules/ibm_schematics_workspace.py +++ b/plugins/modules/ibm_schematics_workspace.py @@ -18,39 +18,39 @@ - Create, update or destroy an IBM Cloud 'ibm_schematics_workspace' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - locked_by: - description: - - The user ID that initiated a resource-related action, such as applying or destroying resources, that locked the workspace. - 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 - resource_group: + locked: description: - - The ID of the resource group where you want to provision the workspace. + - If set to true, the workspace is locked and disabled for changes. + required: False + type: bool + locked_time: + description: + - The timestamp when the workspace was locked. required: False type: str - template_type: + x_github_token: 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 + - The personal access token to authenticate with your private GitHub or GitLab repository and access your Terraform template. + required: False type: str - frozen: + template_git_url: description: - - If set to true, the workspace is frozen and changes to the workspace are disabled. + - The source URL. required: False - type: bool - frozen_by: + type: str + frozen_at: description: - - The user ID that froze the workspace. + - The timestamp when the workspace was frozen. required: False type: str description: @@ -58,50 +58,62 @@ - The description of the workspace. required: False type: str - template_init_state_file: + template_git_branch: 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 schematics state pull --id --template `. + - The repository branch. required: False type: str - template_values: + template_git_release: 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 repository release. required: False type: str - frozen_at: + locked_by: description: - - The timestamp when the workspace was frozen. + - The user ID that initiated a resource-related action, such as applying or destroying resources, that locked the workspace. required: False type: str - locked: - description: - - If set to true, the workspace is locked and disabled for changes. - required: False - type: bool - x_github_token: + resource_group: description: - - The personal access token to authenticate with your private GitHub or GitLab repository and access your Terraform template. + - The ID of the resource group where you want to provision the workspace. required: False type: str - template_git_repo_sha_value: + shared_data: description: - - The repository SHA value. + - 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: str - name: + type: list + elements: dict + tags: 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 - type: str + - A list of tags that are associated with the workspace. + required: False + type: list + elements: str template_inputs: description: - VariablesRequest -. required: False type: list elements: dict - template_git_url: + template_git_folder: description: - - The source URL. + - The subfolder in your GitHub or GitLab repository where your Terraform template is stored. + required: False + type: str + template_git_repo_url: + description: + - The repository URL. + required: False + type: 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_git_repo_sha_value: + description: + - The repository SHA value. required: False type: str template_git_has_uploadedgitrepotar: @@ -109,74 +121,62 @@ - Has uploaded git repo tar required: False type: bool - applied_shareddata_ids: + frozen: description: - - List of applied shared dataset ID. + - If set to true, the workspace is frozen and changes to the workspace are disabled. + required: False + type: bool + template_values_metadata: + description: + - List of values metadata. required: False type: list - elements: str + elements: dict template_ref: description: - Workspace template ref. required: False type: str - template_git_branch: + applied_shareddata_ids: description: - - The repository branch. + - List of applied shared dataset ID. required: False + type: list + elements: str + name: + 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 type: str - template_git_release: + template_type: description: - - The repository release. - required: False + - (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 - shared_data: + template_values: 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. + - 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: list - elements: dict + type: str template_env_settings: 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. 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 - locked_time: - description: - - The timestamp when the workspace was locked. - required: False - type: str - location: + template_init_state_file: 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 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 schematics state pull --id --template `. required: False type: str - tags: - description: - - A list of tags that are associated with the workspace. - required: False - type: list - elements: str template_uninstall_script_name: description: - Uninstall script name. required: False type: str - template_values_metadata: - description: - - List of values metadata. - required: False - type: list - elements: dict - template_git_repo_url: + frozen_by: description: - - The repository URL. + - The user ID that froze the workspace. required: False type: str id: @@ -225,42 +225,42 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('template_type', 'str'), ('name', 'str'), + ('template_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'locked_by', 'catalog_ref', - 'resource_group', - 'template_type', - 'frozen', - 'frozen_by', - 'description', - 'template_init_state_file', - 'template_values', - 'frozen_at', 'locked', + 'locked_time', 'x_github_token', - 'template_git_repo_sha_value', - 'name', - 'template_inputs', 'template_git_url', - 'template_git_has_uploadedgitrepotar', - 'applied_shareddata_ids', - 'template_ref', + 'frozen_at', + 'description', 'template_git_branch', 'template_git_release', + 'locked_by', + 'resource_group', 'shared_data', - 'template_env_settings', + 'tags', + 'template_inputs', 'template_git_folder', - 'locked_time', + 'template_git_repo_url', 'location', - 'tags', - 'template_uninstall_script_name', + 'template_git_repo_sha_value', + 'template_git_has_uploadedgitrepotar', + 'frozen', 'template_values_metadata', - 'template_git_repo_url', + 'template_ref', + 'applied_shareddata_ids', + 'name', + 'template_type', + 'template_values', + 'template_env_settings', + 'template_init_state_file', + 'template_uninstall_script_name', + 'frozen_by', ] # Params for Data source @@ -269,8 +269,8 @@ ] TL_ALL_PARAMETERS_DS = [ - 'workspace_id', 'location', + 'workspace_id', 'template_values_metadata', 'template_git_has_uploadedgitrepotar', ] @@ -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( - locked_by=dict( - required=False, - type='str'), catalog_ref=dict( required=False, elements='', type='list'), - resource_group=dict( - required=False, - type='str'), - template_type=dict( - required=False, - type='str'), - frozen=dict( + locked=dict( required=False, type='bool'), - frozen_by=dict( + locked_time=dict( required=False, type='str'), - description=dict( + x_github_token=dict( required=False, type='str'), - template_init_state_file=dict( + template_git_url=dict( required=False, type='str'), - template_values=dict( + frozen_at=dict( required=False, type='str'), - frozen_at=dict( + description=dict( required=False, type='str'), - locked=dict( + template_git_branch=dict( required=False, - type='bool'), - x_github_token=dict( + type='str'), + template_git_release=dict( required=False, type='str'), - template_git_repo_sha_value=dict( + locked_by=dict( required=False, type='str'), - name=dict( + resource_group=dict( required=False, type='str'), - template_inputs=dict( + shared_data=dict( required=False, elements='', type='list'), - template_git_url=dict( - required=False, - type='str'), - template_git_has_uploadedgitrepotar=dict( + tags=dict( required=False, - type='bool'), - applied_shareddata_ids=dict( + elements='', + type='list'), + template_inputs=dict( required=False, elements='', type='list'), - template_ref=dict( + template_git_folder=dict( required=False, type='str'), - template_git_branch=dict( + template_git_repo_url=dict( required=False, type='str'), - template_git_release=dict( + location=dict( required=False, type='str'), - shared_data=dict( + template_git_repo_sha_value=dict( + required=False, + type='str'), + template_git_has_uploadedgitrepotar=dict( + required=False, + type='bool'), + frozen=dict( + required=False, + type='bool'), + template_values_metadata=dict( required=False, elements='', type='list'), - template_env_settings=dict( + template_ref=dict( + required=False, + type='str'), + applied_shareddata_ids=dict( required=False, elements='', type='list'), - template_git_folder=dict( + name=dict( required=False, type='str'), - locked_time=dict( + template_type=dict( required=False, type='str'), - location=dict( + template_values=dict( required=False, type='str'), - tags=dict( + template_env_settings=dict( required=False, elements='', type='list'), - template_uninstall_script_name=dict( + template_init_state_file=dict( required=False, type='str'), - template_values_metadata=dict( + template_uninstall_script_name=dict( required=False, - elements='', - type='list'), - template_git_repo_url=dict( + type='str'), + frozen_by=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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 49ad13a94..8d3bd0737 100644 --- a/plugins/modules/ibm_schematics_workspace_info.py +++ b/plugins/modules/ibm_schematics_workspace_info.py @@ -17,20 +17,20 @@ description: - Retrieve an IBM Cloud 'ibm_schematics_workspace' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - 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 + workspace_id: + description: + - The ID of the workspace. To find the workspace ID, use the `GET /v1/workspaces` API. + required: True + type: str template_values_metadata: description: - A list of input variables that are associated with the workspace. @@ -80,8 +80,8 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'workspace_id', 'location', + 'workspace_id', 'template_values_metadata', 'template_git_has_uploadedgitrepotar', ] @@ -94,12 +94,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( - workspace_id=dict( - required=True, - type='str'), location=dict( required=False, type='str'), + workspace_id=dict( + required=True, + type='str'), template_values_metadata=dict( required=False, elements='', @@ -141,7 +141,7 @@ def run_module(): resource_type='ibm_schematics_workspace', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 71d9e1a9c..9ca123cbf 100644 --- a/plugins/modules/ibm_secrets_manager_secret_info.py +++ b/plugins/modules/ibm_secrets_manager_secret_info.py @@ -17,24 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_secrets_manager_secret' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - instance_id: + secret_type: description: - - Secrets Manager instance GUID + - 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 - secret_type: + instance_id: description: - - The secret type. Supported options include: arbitrary, iam_credentials, username_password. + - Secrets Manager instance GUID required: True type: str secret_id: @@ -42,6 +36,12 @@ - The v4 UUID that uniquely identifies the secret. 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 @@ -75,17 +75,17 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('instance_id', 'str'), ('secret_type', 'str'), + ('instance_id', 'str'), ('secret_id', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'instance_id', - 'endpoint_type', 'secret_type', + 'instance_id', 'secret_id', + 'endpoint_type', ] @@ -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( - instance_id=dict( + secret_type=dict( required=True, type='str'), - endpoint_type=dict( - required=False, - type='str'), - secret_type=dict( + instance_id=dict( required=True, type='str'), secret_id=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.50.0', + ibm_provider_version='1.51.0', 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 c4cb636b5..491db7273 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 212fd5a3e..51c070d66 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -176,7 +176,7 @@ def run_module(): resource_type='ibm_security_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 04ee61ccd..82a33d5bf 100644 --- a/plugins/modules/ibm_security_group_info.py +++ b/plugins/modules/ibm_security_group_info.py @@ -17,7 +17,7 @@ description: - Retrieve an IBM Cloud 'ibm_security_group' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -131,7 +131,7 @@ def run_module(): resource_type='ibm_security_group', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 82e876c62..cdebdc893 100644 --- a/plugins/modules/ibm_security_group_rule.py +++ b/plugins/modules/ibm_security_group_rule.py @@ -18,10 +18,15 @@ - 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + remote_group_id: + description: + - remote group ID + required: False + type: int remote_ip: description: - Remote IP Address @@ -58,11 +63,6 @@ - Port number max range required: False type: int - remote_group_id: - description: - - remote group ID - required: False - type: int id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -115,6 +115,7 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'remote_group_id', 'remote_ip', 'protocol', 'security_group_id', @@ -122,7 +123,6 @@ 'ether_type', 'port_range_min', 'port_range_max', - 'remote_group_id', ] # Params for Data source @@ -133,14 +133,17 @@ ] TL_CONFLICTS_MAP = { - 'remote_ip': ['remote_group_id'], 'remote_group_id': ['remote_ip'], + 'remote_ip': ['remote_group_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( + remote_group_id=dict( + required=False, + type='int'), remote_ip=dict( required=False, type='str'), @@ -162,9 +165,6 @@ port_range_max=dict( required=False, type='int'), - remote_group_id=dict( - required=False, - type='int'), 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.50.0', + ibm_provider_version='1.51.0', 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 506b855bf..dba11e3e4 100644 --- a/plugins/modules/ibm_service_instance.py +++ b/plugins/modules/ibm_service_instance.py @@ -18,30 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_service_instance' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - name: - description: - - (Required for new resource) A name for the service instance - required: True - type: str space_guid: description: - (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 - required: False - type: dict plan: description: - (Required for new resource) The plan type of the service @@ -53,6 +38,21 @@ required: False type: list elements: str + name: + description: + - (Required for new resource) A name for the service instance + 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 + required: False + type: dict wait_time_minutes: description: - Define timeout to wait for the service instances to succeeded/deleted etc. @@ -105,20 +105,20 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('name', 'str'), ('space_guid', 'str'), - ('service', 'str'), ('plan', 'str'), + ('name', 'str'), + ('service', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'name', 'space_guid', - 'service', - 'parameters', 'plan', 'tags', + 'name', + 'service', + 'parameters', 'wait_time_minutes', ] @@ -140,18 +140,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'), 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'), @@ -159,6 +150,15 @@ required=False, elements='', type='list'), + name=dict( + required=False, + type='str'), + service=dict( + required=False, + type='str'), + parameters=dict( + required=False, + type='dict'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 e4190bac0..de424fff0 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 d3519488e..94f0d4d3a 100644 --- a/plugins/modules/ibm_service_key.py +++ b/plugins/modules/ibm_service_key.py @@ -18,16 +18,10 @@ - Create, update or destroy an IBM Cloud 'ibm_service_key' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - tags: - description: - - None - required: False - type: list - elements: str name: description: - (Required for new resource) The name of the service key @@ -43,6 +37,12 @@ - Arbitrary parameters to pass along to the service broker. 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. @@ -95,23 +95,23 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'tags', 'name', 'service_instance_guid', 'parameters', + 'tags', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ + ('space_guid', 'str'), ('name', 'str'), ('service_instance_name', 'str'), - ('space_guid', 'str'), ] TL_ALL_PARAMETERS_DS = [ + 'space_guid', 'name', 'service_instance_name', - 'space_guid', ] TL_CONFLICTS_MAP = { @@ -121,10 +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( - tags=dict( - required=False, - elements='', - type='list'), name=dict( required=False, type='str'), @@ -134,6 +130,10 @@ parameters=dict( required=False, type='dict'), + tags=dict( + required=False, + elements='', + type='list'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 d775c4694..e95e87dcf 100644 --- a/plugins/modules/ibm_service_key_info.py +++ b/plugins/modules/ibm_service_key_info.py @@ -17,10 +17,15 @@ description: - Retrieve an IBM Cloud 'ibm_service_key' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + space_guid: + description: + - The guid of the space in which the service instance is present + required: True + type: str name: description: - The name of the service key @@ -31,11 +36,6 @@ - Service instance name for example, speech_to_text required: True type: str - space_guid: - description: - - The guid of the space in which the service instance is present - 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 = [ + ('space_guid', 'str'), ('name', 'str'), ('service_instance_name', 'str'), - ('space_guid', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'space_guid', 'name', 'service_instance_name', - 'space_guid', ] @@ -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( + space_guid=dict( required=True, type='str'), - service_instance_name=dict( + name=dict( required=True, type='str'), - space_guid=dict( + service_instance_name=dict( required=True, type='str'), iaas_classic_username=dict( @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_service_key', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 52eb46225..2e2be317c 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS) diff --git a/plugins/modules/ibm_sm_arbitrary_secret.py b/plugins/modules/ibm_sm_arbitrary_secret.py new file mode 100644 index 000000000..c1e61f429 --- /dev/null +++ b/plugins/modules/ibm_sm_arbitrary_secret.py @@ -0,0 +1,296 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_arbitrary_secret +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_arbitrary_secret + +short_description: Configure IBM Cloud 'ibm_sm_arbitrary_secret' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_sm_arbitrary_secret' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + endpoint_type: + description: + - public or private. + required: False + type: str + secret_group_id: + description: + - A v4 UUID identifier, or `default` secret group. + required: False + type: str + name: + description: + - (Required for new resource) A human-readable name to assign to your secret.To protect your privacy, do not use personal data, such as your name or location, as a name for your secret. + required: True + type: str + expiration_date: + description: + - The date a secret is expired. The date format follows RFC 3339. + required: False + type: str + labels: + description: + - Labels that you can use to search for secrets in your instance.Up to 30 labels can be created. + required: False + type: list + elements: str + payload: + description: + - (Required for new resource) The arbitrary secret data payload. + required: True + type: str + custom_metadata: + description: + - The secret metadata that a user can customize. + required: False + type: dict + elements: str + version_custom_metadata: + description: + - The secret version metadata that a user can customize. + required: False + type: dict + elements: str + instance_id: + description: + - (Required for new resource) The ID of the Secrets Manager instance. + required: True + type: str + description: + description: + - An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group. + required: False + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + 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 = [ + ('name', 'str'), + ('payload', 'str'), + ('instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'endpoint_type', + 'secret_group_id', + 'name', + 'expiration_date', + 'labels', + 'payload', + 'custom_metadata', + 'version_custom_metadata', + 'instance_id', + 'description', + 'region', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('secret_id', 'str'), + ('instance_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'region', + 'secret_id', + 'endpoint_type', + 'instance_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( + endpoint_type=dict( + required=False, + type='str'), + secret_group_id=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), + expiration_date=dict( + required=False, + type='str'), + labels=dict( + required=False, + elements='', + type='list'), + payload=dict( + required=False, + type='str'), + custom_metadata=dict( + required=False, + elements='', + type='dict'), + version_custom_metadata=dict( + required=False, + elements='', + type='dict'), + instance_id=dict( + required=False, + type='str'), + description=dict( + required=False, + type='str'), + region=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_sm_arbitrary_secret', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_arbitrary_secret', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_arbitrary_secret_info.py b/plugins/modules/ibm_sm_arbitrary_secret_info.py new file mode 100644 index 000000000..2e7e0db08 --- /dev/null +++ b/plugins/modules/ibm_sm_arbitrary_secret_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_arbitrary_secret_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_arbitrary_secret + +short_description: Retrieve IBM Cloud 'ibm_sm_arbitrary_secret' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_arbitrary_secret' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + secret_id: + description: + - The ID of the secret. + required: True + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + instance_id: + description: + - The ID of the Secrets Manager instance. + 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 = [ + ('secret_id', 'str'), + ('instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'region', + 'secret_id', + 'endpoint_type', + 'instance_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( + region=dict( + required=False, + type='str'), + secret_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, + 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_sm_arbitrary_secret', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_arbitrary_secret_metadata_info.py b/plugins/modules/ibm_sm_arbitrary_secret_metadata_info.py new file mode 100644 index 000000000..d3cab80a6 --- /dev/null +++ b/plugins/modules/ibm_sm_arbitrary_secret_metadata_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_arbitrary_secret_metadata_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_arbitrary_secret_metadata + +short_description: Retrieve IBM Cloud 'ibm_sm_arbitrary_secret_metadata' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_arbitrary_secret_metadata' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + secret_id: + description: + - The ID of the secret. + required: True + type: str + instance_id: + description: + - The ID of the Secrets Manager instance. + 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 = [ + ('secret_id', 'str'), + ('instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'region', + 'endpoint_type', + 'secret_id', + 'instance_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( + region=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + secret_id=dict( + required=True, + type='str'), + instance_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_sm_arbitrary_secret_metadata', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_configurations_info.py b/plugins/modules/ibm_sm_configurations_info.py new file mode 100644 index 000000000..d873bf1a6 --- /dev/null +++ b/plugins/modules/ibm_sm_configurations_info.py @@ -0,0 +1,177 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_configurations_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_configurations + +short_description: Retrieve IBM Cloud 'ibm_sm_configurations' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_configurations' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + sort: + description: + - Sort a collection of secrets by the specified field in ascending order. To sort in descending order use the `-` character. Available values: id | created_at | updated_at | expiration_date | secret_type | name + required: False + type: str + search: + description: + - Obtain a collection of secrets that contain the specified string in one or more of the fields: `id`, `name`, `description`, + `labels`, `secret_type`. + required: False + type: str + groups: + description: + - Filter secrets by groups. You can apply multiple filters by using a comma-separated list of secret group IDs. If you need to filter secrets that are in the default secret group, use the `default` keyword. + required: False + 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 = [ + ('instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_id', + 'region', + 'endpoint_type', + 'sort', + 'search', + 'groups', +] + + +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( + instance_id=dict( + required=True, + type='str'), + region=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + sort=dict( + required=False, + type='str'), + search=dict( + required=False, + type='str'), + groups=dict( + required=False, + 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_sm_configurations', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_en_registration.py b/plugins/modules/ibm_sm_en_registration.py new file mode 100644 index 000000000..5da3bf9a2 --- /dev/null +++ b/plugins/modules/ibm_sm_en_registration.py @@ -0,0 +1,243 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_en_registration +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_en_registration + +short_description: Configure IBM Cloud 'ibm_sm_en_registration' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_sm_en_registration' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + event_notifications_source_name: + description: + - (Required for new resource) The name that is displayed as a source that is in your Event Notifications instance. + required: True + type: str + event_notifications_source_description: + description: + - An optional description for the source that is in your Event Notifications instance. + required: False + type: str + instance_id: + description: + - (Required for new resource) The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + event_notifications_instance_crn: + description: + - (Required for new resource) A CRN that uniquely identifies an IBM Cloud resource. + 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 = [ + ('event_notifications_source_name', 'str'), + ('instance_id', 'str'), + ('event_notifications_instance_crn', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'event_notifications_source_name', + 'event_notifications_source_description', + 'instance_id', + 'region', + 'endpoint_type', + 'event_notifications_instance_crn', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('instance_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'instance_id', + 'region', + 'endpoint_type', +] + +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( + event_notifications_source_name=dict( + required=False, + type='str'), + event_notifications_source_description=dict( + required=False, + type='str'), + instance_id=dict( + required=False, + type='str'), + region=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + event_notifications_instance_crn=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_sm_en_registration', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_en_registration', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_en_registration_info.py b/plugins/modules/ibm_sm_en_registration_info.py new file mode 100644 index 000000000..d9de6e80d --- /dev/null +++ b/plugins/modules/ibm_sm_en_registration_info.py @@ -0,0 +1,149 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_en_registration_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_en_registration + +short_description: Retrieve IBM Cloud 'ibm_sm_en_registration' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_en_registration' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + endpoint_type: + description: + - public or private. + required: False + 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 = [ + ('instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_id', + 'region', + 'endpoint_type', +] + + +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( + instance_id=dict( + required=True, + type='str'), + region=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + 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_sm_en_registration', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_iam_credentials_configuration.py b/plugins/modules/ibm_sm_iam_credentials_configuration.py new file mode 100644 index 000000000..041e5867a --- /dev/null +++ b/plugins/modules/ibm_sm_iam_credentials_configuration.py @@ -0,0 +1,236 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_iam_credentials_configuration +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_iam_credentials_configuration + +short_description: Configure IBM Cloud 'ibm_sm_iam_credentials_configuration' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_sm_iam_credentials_configuration' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + name: + description: + - (Required for new resource) A human-readable unique name to assign to your configuration.To protect your privacy, do not use personal data, such as your name or location, as an name for your secret. + required: True + type: str + api_key: + description: + - (Required for new resource) The API key that is generated for this secret.After the secret reaches the end of its lease (see the `ttl` field), the API key is deleted automatically. If you want to continue to use the same API key for future read operations, see the `reuse_api_key` field. + required: True + type: str + instance_id: + description: + - (Required for new resource) The ID of the Secrets Manager instance. + required: True + type: str + endpoint_type: + description: + - public or private. + required: False + 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 = [ + ('name', 'str'), + ('api_key', 'str'), + ('instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'region', + 'name', + 'api_key', + 'instance_id', + 'endpoint_type', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('name', 'str'), + ('instance_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'endpoint_type', + 'name', + 'instance_id', + 'region', +] + +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( + region=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), + api_key=dict( + required=False, + type='str'), + instance_id=dict( + required=False, + type='str'), + endpoint_type=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_sm_iam_credentials_configuration', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_iam_credentials_configuration', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_iam_credentials_configuration_info.py b/plugins/modules/ibm_sm_iam_credentials_configuration_info.py new file mode 100644 index 000000000..f9739b3a4 --- /dev/null +++ b/plugins/modules/ibm_sm_iam_credentials_configuration_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_iam_credentials_configuration_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_iam_credentials_configuration + +short_description: Retrieve IBM Cloud 'ibm_sm_iam_credentials_configuration' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_iam_credentials_configuration' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + endpoint_type: + description: + - public or private. + required: False + type: str + name: + description: + - The name of the configuration. + required: True + type: str + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + 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 = [ + ('name', 'str'), + ('instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'endpoint_type', + 'name', + 'instance_id', + 'region', +] + + +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( + endpoint_type=dict( + required=False, + type='str'), + name=dict( + required=True, + type='str'), + instance_id=dict( + required=True, + type='str'), + region=dict( + required=False, + 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_sm_iam_credentials_configuration', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_iam_credentials_secret.py b/plugins/modules/ibm_sm_iam_credentials_secret.py new file mode 100644 index 000000000..03b97b4f6 --- /dev/null +++ b/plugins/modules/ibm_sm_iam_credentials_secret.py @@ -0,0 +1,328 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_iam_credentials_secret +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_iam_credentials_secret + +short_description: Configure IBM Cloud 'ibm_sm_iam_credentials_secret' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_sm_iam_credentials_secret' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + description: + description: + - An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group. + required: False + type: str + access_groups: + description: + - Access Groups that you can use for an `iam_credentials` secret.Up to 10 Access Groups can be used for each secret. + required: False + type: list + elements: str + custom_metadata: + description: + - The secret metadata that a user can customize. + required: False + type: dict + elements: str + secret_group_id: + description: + - A v4 UUID identifier, or `default` secret group. + required: False + type: str + service_id: + description: + - The service ID under which the API key (see the `api_key` field) is created.If you omit this parameter, Secrets Manager generates a new service ID for your secret at its creation and adds it to the access groups that you assign.Optionally, you can use this field to provide your own service ID if you prefer to manage its access directly or retain the service ID after your secret expires, is rotated, or deleted. If you provide a service ID, do not include the `access_groups` parameter. + required: False + type: str + reuse_api_key: + description: + - (Required for new resource) Determines whether to use the same service ID and API key for future read operations on an`iam_credentials` secret.If it is set to `true`, the service reuses the current credentials. If it is set to `false`, a new service ID and API key are generated each time that the secret is read or accessed. + required: True + type: bool + instance_id: + description: + - (Required for new resource) The ID of the Secrets Manager instance. + required: True + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + name: + description: + - (Required for new resource) A human-readable name to assign to your secret.To protect your privacy, do not use personal data, such as your name or location, as a name for your secret. + required: True + type: str + ttl: + description: + - (Required for new resource) The time-to-live (TTL) or lease duration to assign to generated credentials.For `iam_credentials` secrets, the TTL defines for how long each generated API key remains valid. The value is an integer that specifies the number of seconds .Minimum duration is 1 minute. Maximum is 90 days. + required: True + type: str + rotation: + description: + - Determines whether Secrets Manager rotates your secrets automatically. + required: False + type: list + elements: dict + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + labels: + description: + - Labels that you can use to search for secrets in your instance.Up to 30 labels can be created. + required: False + type: list + elements: str + version_custom_metadata: + description: + - The secret version metadata that a user can customize. + required: False + type: dict + elements: 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 = [ + ('reuse_api_key', 'bool'), + ('instance_id', 'str'), + ('name', 'str'), + ('ttl', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'description', + 'access_groups', + 'custom_metadata', + 'secret_group_id', + 'service_id', + 'reuse_api_key', + 'instance_id', + 'endpoint_type', + 'name', + 'ttl', + 'rotation', + 'region', + 'labels', + 'version_custom_metadata', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('secret_id', 'str'), + ('instance_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'secret_id', + 'instance_id', + 'region', + 'endpoint_type', +] + +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( + description=dict( + required=False, + type='str'), + access_groups=dict( + required=False, + elements='', + type='list'), + custom_metadata=dict( + required=False, + elements='', + type='dict'), + secret_group_id=dict( + required=False, + type='str'), + service_id=dict( + required=False, + type='str'), + reuse_api_key=dict( + required=False, + type='bool'), + instance_id=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), + ttl=dict( + required=False, + type='str'), + rotation=dict( + required=False, + elements='', + type='list'), + region=dict( + required=False, + type='str'), + labels=dict( + required=False, + elements='', + type='list'), + version_custom_metadata=dict( + required=False, + elements='', + type='dict'), + 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_sm_iam_credentials_secret', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_iam_credentials_secret', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_iam_credentials_secret_info.py b/plugins/modules/ibm_sm_iam_credentials_secret_info.py new file mode 100644 index 000000000..3fab2e92e --- /dev/null +++ b/plugins/modules/ibm_sm_iam_credentials_secret_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_iam_credentials_secret_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_iam_credentials_secret + +short_description: Retrieve IBM Cloud 'ibm_sm_iam_credentials_secret' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_iam_credentials_secret' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + secret_id: + description: + - The ID of the secret. + required: True + type: str + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + endpoint_type: + description: + - public or private. + required: False + 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 = [ + ('secret_id', 'str'), + ('instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'secret_id', + 'instance_id', + 'region', + 'endpoint_type', +] + + +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( + secret_id=dict( + required=True, + type='str'), + instance_id=dict( + required=True, + type='str'), + region=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + 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_sm_iam_credentials_secret', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_iam_credentials_secret_metadata_info.py b/plugins/modules/ibm_sm_iam_credentials_secret_metadata_info.py new file mode 100644 index 000000000..83cce19f4 --- /dev/null +++ b/plugins/modules/ibm_sm_iam_credentials_secret_metadata_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_iam_credentials_secret_metadata_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_iam_credentials_secret_metadata + +short_description: Retrieve IBM Cloud 'ibm_sm_iam_credentials_secret_metadata' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_iam_credentials_secret_metadata' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + secret_id: + description: + - The ID of the secret. + required: True + type: str + endpoint_type: + description: + - public or private. + required: False + 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 = [ + ('instance_id', 'str'), + ('secret_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_id', + 'region', + 'secret_id', + 'endpoint_type', +] + + +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( + instance_id=dict( + required=True, + type='str'), + region=dict( + required=False, + type='str'), + secret_id=dict( + required=True, + type='str'), + endpoint_type=dict( + required=False, + 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_sm_iam_credentials_secret_metadata', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_imported_certificate.py b/plugins/modules/ibm_sm_imported_certificate.py new file mode 100644 index 000000000..9d1ea1024 --- /dev/null +++ b/plugins/modules/ibm_sm_imported_certificate.py @@ -0,0 +1,305 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_imported_certificate +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_imported_certificate + +short_description: Configure IBM Cloud 'ibm_sm_imported_certificate' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_sm_imported_certificate' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + description: + description: + - An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group. + required: False + type: str + private_key: + description: + - (Optional) The PEM-encoded private key to associate with the certificate. + required: False + type: str + intermediate: + description: + - (Optional) The PEM-encoded intermediate certificate to associate with the root certificate. + required: False + type: str + version_custom_metadata: + description: + - The secret version metadata that a user can customize. + required: False + type: dict + elements: str + instance_id: + description: + - (Required for new resource) The ID of the Secrets Manager instance. + required: True + type: str + secret_group_id: + description: + - A v4 UUID identifier, or `default` secret group. + required: False + type: str + certificate: + description: + - (Required for new resource) The PEM-encoded contents of your certificate. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + custom_metadata: + description: + - The secret metadata that a user can customize. + required: False + type: dict + elements: str + name: + description: + - (Required for new resource) A human-readable name to assign to your secret.To protect your privacy, do not use personal data, such as your name or location, as a name for your secret. + required: True + type: str + labels: + description: + - Labels that you can use to search for secrets in your instance.Up to 30 labels can be created. + required: False + type: list + elements: str + endpoint_type: + description: + - public or private. + required: False + 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 = [ + ('instance_id', 'str'), + ('certificate', 'str'), + ('name', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'description', + 'private_key', + 'intermediate', + 'version_custom_metadata', + 'instance_id', + 'secret_group_id', + 'certificate', + 'region', + 'custom_metadata', + 'name', + 'labels', + 'endpoint_type', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('secret_id', 'str'), + ('instance_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'secret_id', + 'instance_id', + 'region', + 'endpoint_type', +] + +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( + description=dict( + required=False, + type='str'), + private_key=dict( + required=False, + type='str'), + intermediate=dict( + required=False, + type='str'), + version_custom_metadata=dict( + required=False, + elements='', + type='dict'), + instance_id=dict( + required=False, + type='str'), + secret_group_id=dict( + required=False, + type='str'), + certificate=dict( + required=False, + type='str'), + region=dict( + required=False, + type='str'), + custom_metadata=dict( + required=False, + elements='', + type='dict'), + name=dict( + required=False, + type='str'), + labels=dict( + required=False, + elements='', + type='list'), + endpoint_type=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_sm_imported_certificate', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_imported_certificate', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_imported_certificate_info.py b/plugins/modules/ibm_sm_imported_certificate_info.py new file mode 100644 index 000000000..6cd8a7afd --- /dev/null +++ b/plugins/modules/ibm_sm_imported_certificate_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_imported_certificate_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_imported_certificate + +short_description: Retrieve IBM Cloud 'ibm_sm_imported_certificate' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_imported_certificate' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + secret_id: + description: + - The ID of the secret. + required: True + type: str + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + endpoint_type: + description: + - public or private. + required: False + 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 = [ + ('secret_id', 'str'), + ('instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'secret_id', + 'instance_id', + 'region', + 'endpoint_type', +] + + +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( + secret_id=dict( + required=True, + type='str'), + instance_id=dict( + required=True, + type='str'), + region=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + 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_sm_imported_certificate', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_imported_certificate_metadata_info.py b/plugins/modules/ibm_sm_imported_certificate_metadata_info.py new file mode 100644 index 000000000..b632bdb47 --- /dev/null +++ b/plugins/modules/ibm_sm_imported_certificate_metadata_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_imported_certificate_metadata_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_imported_certificate_metadata + +short_description: Retrieve IBM Cloud 'ibm_sm_imported_certificate_metadata' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_imported_certificate_metadata' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + endpoint_type: + description: + - public or private. + required: False + type: str + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + secret_id: + description: + - The ID of the secret. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + 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 = [ + ('instance_id', 'str'), + ('secret_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'endpoint_type', + 'instance_id', + 'secret_id', + 'region', +] + + +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( + endpoint_type=dict( + required=False, + type='str'), + instance_id=dict( + required=True, + type='str'), + secret_id=dict( + required=True, + type='str'), + region=dict( + required=False, + 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_sm_imported_certificate_metadata', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_kv_secret.py b/plugins/modules/ibm_sm_kv_secret.py new file mode 100644 index 000000000..9eb2e8fbf --- /dev/null +++ b/plugins/modules/ibm_sm_kv_secret.py @@ -0,0 +1,289 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_kv_secret +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_kv_secret + +short_description: Configure IBM Cloud 'ibm_sm_kv_secret' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_sm_kv_secret' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + labels: + description: + - Labels that you can use to search for secrets in your instance.Up to 30 labels can be created. + required: False + type: list + elements: str + data: + description: + - (Required for new resource) The payload data of a key-value secret. + required: True + type: dict + elements: str + instance_id: + description: + - (Required for new resource) The ID of the Secrets Manager instance. + required: True + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + description: + description: + - An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group. + required: False + type: str + name: + description: + - (Required for new resource) A human-readable name to assign to your secret.To protect your privacy, do not use personal data, such as your name or location, as a name for your secret. + required: True + type: str + secret_group_id: + description: + - A v4 UUID identifier, or `default` secret group. + required: False + type: str + version_custom_metadata: + description: + - The secret version metadata that a user can customize. + required: False + type: dict + elements: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + custom_metadata: + description: + - The secret metadata that a user can customize. + required: False + type: dict + elements: 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 = [ + ('data', 'dict'), + ('instance_id', 'str'), + ('name', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'labels', + 'data', + 'instance_id', + 'endpoint_type', + 'description', + 'name', + 'secret_group_id', + 'version_custom_metadata', + 'region', + 'custom_metadata', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('instance_id', 'str'), + ('secret_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'instance_id', + 'endpoint_type', + 'secret_id', + 'region', +] + +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( + labels=dict( + required=False, + elements='', + type='list'), + data=dict( + required=False, + elements='', + type='dict'), + instance_id=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + description=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), + secret_group_id=dict( + required=False, + type='str'), + version_custom_metadata=dict( + required=False, + elements='', + type='dict'), + region=dict( + required=False, + type='str'), + custom_metadata=dict( + required=False, + elements='', + type='dict'), + 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_sm_kv_secret', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_kv_secret', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_kv_secret_info.py b/plugins/modules/ibm_sm_kv_secret_info.py new file mode 100644 index 000000000..48bd99d17 --- /dev/null +++ b/plugins/modules/ibm_sm_kv_secret_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_kv_secret_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_kv_secret + +short_description: Retrieve IBM Cloud 'ibm_sm_kv_secret' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_kv_secret' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + secret_id: + description: + - The ID of the secret. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + 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 = [ + ('instance_id', 'str'), + ('secret_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_id', + 'endpoint_type', + 'secret_id', + 'region', +] + + +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( + instance_id=dict( + required=True, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + secret_id=dict( + required=True, + type='str'), + region=dict( + required=False, + 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_sm_kv_secret', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_kv_secret_metadata_info.py b/plugins/modules/ibm_sm_kv_secret_metadata_info.py new file mode 100644 index 000000000..bec0d44c1 --- /dev/null +++ b/plugins/modules/ibm_sm_kv_secret_metadata_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_kv_secret_metadata_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_kv_secret_metadata + +short_description: Retrieve IBM Cloud 'ibm_sm_kv_secret_metadata' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_kv_secret_metadata' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + secret_id: + description: + - The ID of the secret. + 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 = [ + ('instance_id', 'str'), + ('secret_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'region', + 'instance_id', + 'endpoint_type', + 'secret_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( + region=dict( + required=False, + type='str'), + instance_id=dict( + required=True, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + secret_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_sm_kv_secret_metadata', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_private_certificate.py b/plugins/modules/ibm_sm_private_certificate.py new file mode 100644 index 000000000..cd5662220 --- /dev/null +++ b/plugins/modules/ibm_sm_private_certificate.py @@ -0,0 +1,404 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_private_certificate +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_private_certificate + +short_description: Configure IBM Cloud 'ibm_sm_private_certificate' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_sm_private_certificate' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + endpoint_type: + description: + - public or private. + required: False + type: str + exclude_cn_from_sans: + description: + - Controls whether the common name is excluded from Subject Alternative Names (SANs).If the common name set to `true`, it is not included in DNS or Email SANs if they apply. This field can be useful if the common name is a human-readable identifier, instead of a hostname or an email address. + required: False + type: bool + version_custom_metadata: + description: + - The secret version metadata that a user can customize. + required: False + type: dict + elements: str + custom_metadata: + description: + - The secret metadata that a user can customize. + required: False + type: dict + elements: str + alt_names: + description: + - With the Subject Alternative Name field, you can specify additional host names to be protected by a single SSL certificate. + required: False + type: list + elements: str + uri_sans: + description: + - The URI Subject Alternative Names to define for the CA certificate, in a comma-delimited list. + required: False + type: str + name: + description: + - (Required for new resource) A human-readable name to assign to your secret.To protect your privacy, do not use personal data, such as your name or location, as a name for your secret. + required: True + type: str + certificate_template: + description: + - (Required for new resource) The name of the certificate template. + required: True + type: str + other_sans: + description: + - The custom Object Identifier (OID) or UTF8-string Subject Alternative Names to define for the CA certificate.The alternative names must match the values that are specified in the `allowed_other_sans` field in the associated certificate template. The format is the same as OpenSSL: `::` where the current valid type is `UTF8`. + required: False + type: list + elements: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + ip_sans: + description: + - The IP Subject Alternative Names to define for the CA certificate, in a comma-delimited list. + required: False + type: str + csr: + description: + - The certificate signing request. + required: False + type: str + rotation: + description: + - Determines whether Secrets Manager rotates your secrets automatically. + required: False + type: list + elements: dict + secret_group_id: + description: + - A v4 UUID identifier, or `default` secret group. + required: False + type: str + labels: + description: + - Labels that you can use to search for secrets in your instance.Up to 30 labels can be created. + required: False + type: list + elements: str + common_name: + description: + - (Required for new resource) The Common Name (AKA CN) represents the server name that is protected by the SSL certificate. + required: True + type: str + instance_id: + description: + - (Required for new resource) The ID of the Secrets Manager instance. + required: True + type: str + description: + description: + - An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group. + required: False + type: str + format: + description: + - The format of the returned data. + required: False + type: str + private_key_format: + description: + - The format of the generated private key. + required: False + type: str + default: der + ttl: + description: + - The time-to-live (TTL) or lease duration to assign to generated credentials.For `iam_credentials` secrets, the TTL defines for how long each generated API key remains valid. The value can be either an integer that specifies the number of seconds, or the string representation of a duration, such as `120m` or `24h`.Minimum duration is 1 minute. Maximum is 90 days. + required: False + type: str + key_algorithm: + description: + - The identifier for the cryptographic algorithm to be used to generate the public key that is associated with the certificate.The algorithm that you select determines the encryption algorithm (`RSA` or `ECDSA`) and key size to be used to generate keys and sign certificates. For longer living certificates, it is recommended to use longer keys to provide more encryption protection. Allowed values: RSA2048, RSA4096, EC256, EC384. + required: False + type: str + default: RSA2048 + 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 = [ + ('name', 'str'), + ('certificate_template', 'str'), + ('common_name', 'str'), + ('instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'endpoint_type', + 'exclude_cn_from_sans', + 'version_custom_metadata', + 'custom_metadata', + 'alt_names', + 'uri_sans', + 'name', + 'certificate_template', + 'other_sans', + 'region', + 'ip_sans', + 'csr', + 'rotation', + 'secret_group_id', + 'labels', + 'common_name', + 'instance_id', + 'description', + 'format', + 'private_key_format', + 'ttl', + 'key_algorithm', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('instance_id', 'str'), + ('secret_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'endpoint_type', + 'instance_id', + 'secret_id', + 'region', +] + +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( + endpoint_type=dict( + required=False, + type='str'), + exclude_cn_from_sans=dict( + required=False, + type='bool'), + version_custom_metadata=dict( + required=False, + elements='', + type='dict'), + custom_metadata=dict( + required=False, + elements='', + type='dict'), + alt_names=dict( + required=False, + elements='', + type='list'), + uri_sans=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), + certificate_template=dict( + required=False, + type='str'), + other_sans=dict( + required=False, + elements='', + type='list'), + region=dict( + required=False, + type='str'), + ip_sans=dict( + required=False, + type='str'), + csr=dict( + required=False, + type='str'), + rotation=dict( + required=False, + elements='', + type='list'), + secret_group_id=dict( + required=False, + type='str'), + labels=dict( + required=False, + elements='', + type='list'), + common_name=dict( + required=False, + type='str'), + instance_id=dict( + required=False, + type='str'), + description=dict( + required=False, + type='str'), + format=dict( + required=False, + type='str'), + private_key_format=dict( + required=False, + type='str'), + ttl=dict( + required=False, + type='str'), + key_algorithm=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_sm_private_certificate', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_private_certificate', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_private_certificate_configuration_intermediate_ca.py b/plugins/modules/ibm_sm_private_certificate_configuration_intermediate_ca.py new file mode 100644 index 000000000..727452ea5 --- /dev/null +++ b/plugins/modules/ibm_sm_private_certificate_configuration_intermediate_ca.py @@ -0,0 +1,511 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_private_certificate_configuration_intermediate_ca +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_private_certificate_configuration_intermediate_ca + +short_description: Configure IBM Cloud 'ibm_sm_private_certificate_configuration_intermediate_ca' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_sm_private_certificate_configuration_intermediate_ca' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + name: + description: + - (Required for new resource) A human-readable unique name to assign to your configuration.To protect your privacy, do not use personal data, such as your name or location, as an name for your secret. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + alt_names: + description: + - With the Subject Alternative Name field, you can specify additional host names to be protected by a single SSL certificate. + required: False + type: list + elements: str + uri_sans: + description: + - The URI Subject Alternative Names to define for the CA certificate, in a comma-delimited list. + required: False + type: str + use_csr_values: + description: + - Determines whether to use values from a certificate signing request (CSR) to complete a `private_cert_configuration_action_sign_csr` action. + required: False + type: bool + crl_distribution_points_encoded: + description: + - Determines whether to encode the certificate revocation list (CRL) distribution points in the certificates that are issued by this certificate authority. + required: False + type: bool + issuing_certificates_urls_encoded: + description: + - Determines whether to encode the URL of the issuing certificate in the certificates that are issued by this certificate authority. + required: False + type: bool + organization: + description: + - The Organization (O) values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + max_path_length: + description: + - The maximum path length to encode in the generated certificate. `-1` means no limit. + required: False + type: int + max_ttl: + description: + - (Required for new resource) The maximum time-to-live (TTL) for certificates that are created by this CA.The value can be supplied as a string representation of a duration in hours, for example '8760h'. In the API response, this value is returned in seconds (integer).Minimum value is one hour (`1h`). Maximum value is 100 years (`876000h`). + required: True + type: str + ip_sans: + description: + - The IP Subject Alternative Names to define for the CA certificate, in a comma-delimited list. + required: False + type: str + ou: + description: + - The Organizational Unit (OU) values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + crl_disable: + description: + - Disables or enables certificate revocation list (CRL) building.If CRL building is disabled, a signed but zero-length CRL is returned when downloading the CRL. If CRL building is enabled, it will rebuild the CRL. + required: False + type: bool + province: + description: + - The Province (ST) values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + locality: + description: + - The Locality (L) values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + postal_code: + description: + - The postal code values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + exclude_cn_from_sans: + description: + - Controls whether the common name is excluded from Subject Alternative Names (SANs).If the common name set to `true`, it is not included in DNS or Email SANs if they apply. This field can be useful if the common name is a human-readable identifier, instead of a hostname or an email address. + required: False + type: bool + issuer: + description: + - The distinguished name that identifies the entity that signed and issued the certificate. + required: False + type: str + format: + description: + - The format of the returned data. + required: False + type: str + key_bits: + description: + - The number of bits to use to generate the private key.Allowable values for RSA keys are: `2048` and `4096`. Allowable values for EC keys are: `224`, `256`, `384`, and `521`. The default for RSA keys is `2048`. The default for EC keys is `256`. + required: False + type: int + signing_method: + description: + - (Required for new resource) The signing method to use with this certificate authority to generate private certificates.You can choose between internal or externally signed options. For more information, see the [docs](https://cloud.ibm.com/docs/secrets-manager?topic=secrets-manager-intermediate-certificate-authorities). + required: True + type: str + ttl: + description: + - The time-to-live (TTL) or lease duration to assign to generated credentials.For `iam_credentials` secrets, the TTL defines for how long each generated API key remains valid. The value can be either an integer that specifies the number of seconds, or the string representation of a duration, such as `120m` or `24h`.Minimum duration is 1 minute. Maximum is 90 days. + required: False + type: str + instance_id: + description: + - (Required for new resource) The ID of the Secrets Manager instance. + required: True + type: str + common_name: + description: + - (Required for new resource) The Common Name (AKA CN) represents the server name that is protected by the SSL certificate. + required: True + type: str + private_key_format: + description: + - The format of the generated private key. + required: False + type: str + default: der + country: + description: + - The Country (C) values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + key_type: + description: + - The type of private key to generate. + required: False + type: str + street_address: + description: + - The street address values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + serial_number: + description: + - The serial number to assign to the generated certificate. To assign a random serial number, you can omit this field. + required: False + type: str + permitted_dns_domains: + description: + - The allowed DNS domains or subdomains for the certificates that are to be signed and issued by this CA certificate. + required: False + type: list + elements: str + crl_expiry: + description: + - The time until the certificate revocation list (CRL) expires.The value can be supplied as a string representation of a duration in hours, such as `48h`. The default is 72 hours. In the API response, this value is returned in seconds (integer).**Note:** The CRL is rotated automatically before it expires. + required: False + type: str + other_sans: + description: + - The custom Object Identifier (OID) or UTF8-string Subject Alternative Names to define for the CA certificate.The alternative names must match the values that are specified in the `allowed_other_sans` field in the associated certificate template. The format is the same as OpenSSL: `::` where the current valid type is `UTF8`. + required: False + type: list + elements: 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 = [ + ('name', 'str'), + ('max_ttl', 'str'), + ('signing_method', 'str'), + ('instance_id', 'str'), + ('common_name', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'name', + 'region', + 'endpoint_type', + 'alt_names', + 'uri_sans', + 'use_csr_values', + 'crl_distribution_points_encoded', + 'issuing_certificates_urls_encoded', + 'organization', + 'max_path_length', + 'max_ttl', + 'ip_sans', + 'ou', + 'crl_disable', + 'province', + 'locality', + 'postal_code', + 'exclude_cn_from_sans', + 'issuer', + 'format', + 'key_bits', + 'signing_method', + 'ttl', + 'instance_id', + 'common_name', + 'private_key_format', + 'country', + 'key_type', + 'street_address', + 'serial_number', + 'permitted_dns_domains', + 'crl_expiry', + 'other_sans', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('name', 'str'), + ('instance_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'name', + 'endpoint_type', + 'instance_id', + 'region', +] + +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( + name=dict( + required=False, + type='str'), + region=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + alt_names=dict( + required=False, + elements='', + type='list'), + uri_sans=dict( + required=False, + type='str'), + use_csr_values=dict( + required=False, + type='bool'), + crl_distribution_points_encoded=dict( + required=False, + type='bool'), + issuing_certificates_urls_encoded=dict( + required=False, + type='bool'), + organization=dict( + required=False, + elements='', + type='list'), + max_path_length=dict( + required=False, + type='int'), + max_ttl=dict( + required=False, + type='str'), + ip_sans=dict( + required=False, + type='str'), + ou=dict( + required=False, + elements='', + type='list'), + crl_disable=dict( + required=False, + type='bool'), + province=dict( + required=False, + elements='', + type='list'), + locality=dict( + required=False, + elements='', + type='list'), + postal_code=dict( + required=False, + elements='', + type='list'), + exclude_cn_from_sans=dict( + required=False, + type='bool'), + issuer=dict( + required=False, + type='str'), + format=dict( + required=False, + type='str'), + key_bits=dict( + required=False, + type='int'), + signing_method=dict( + required=False, + type='str'), + ttl=dict( + required=False, + type='str'), + instance_id=dict( + required=False, + type='str'), + common_name=dict( + required=False, + type='str'), + private_key_format=dict( + required=False, + type='str'), + country=dict( + required=False, + elements='', + type='list'), + key_type=dict( + required=False, + type='str'), + street_address=dict( + required=False, + elements='', + type='list'), + serial_number=dict( + required=False, + type='str'), + permitted_dns_domains=dict( + required=False, + elements='', + type='list'), + crl_expiry=dict( + required=False, + type='str'), + other_sans=dict( + required=False, + elements='', + type='list'), + 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_sm_private_certificate_configuration_intermediate_ca', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_private_certificate_configuration_intermediate_ca', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_private_certificate_configuration_intermediate_ca_info.py b/plugins/modules/ibm_sm_private_certificate_configuration_intermediate_ca_info.py new file mode 100644 index 000000000..d9af99a57 --- /dev/null +++ b/plugins/modules/ibm_sm_private_certificate_configuration_intermediate_ca_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_private_certificate_configuration_intermediate_ca_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_private_certificate_configuration_intermediate_ca + +short_description: Retrieve IBM Cloud 'ibm_sm_private_certificate_configuration_intermediate_ca' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_private_certificate_configuration_intermediate_ca' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + name: + description: + - The name of the configuration. + required: True + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + 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 = [ + ('name', 'str'), + ('instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'name', + 'endpoint_type', + 'instance_id', + 'region', +] + + +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( + name=dict( + required=True, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + instance_id=dict( + required=True, + type='str'), + region=dict( + required=False, + 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_sm_private_certificate_configuration_intermediate_ca', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_private_certificate_configuration_root_ca.py b/plugins/modules/ibm_sm_private_certificate_configuration_root_ca.py new file mode 100644 index 000000000..1ec0f735f --- /dev/null +++ b/plugins/modules/ibm_sm_private_certificate_configuration_root_ca.py @@ -0,0 +1,483 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_private_certificate_configuration_root_ca +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_private_certificate_configuration_root_ca + +short_description: Configure IBM Cloud 'ibm_sm_private_certificate_configuration_root_ca' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_sm_private_certificate_configuration_root_ca' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + ip_sans: + description: + - The IP Subject Alternative Names to define for the CA certificate, in a comma-delimited list. + required: False + type: str + other_sans: + description: + - The custom Object Identifier (OID) or UTF8-string Subject Alternative Names to define for the CA certificate.The alternative names must match the values that are specified in the `allowed_other_sans` field in the associated certificate template. The format is the same as OpenSSL: `::` where the current valid type is `UTF8`. + required: False + type: list + elements: str + private_key_format: + description: + - The format of the generated private key. + required: False + type: str + default: der + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + issuing_certificates_urls_encoded: + description: + - Determines whether to encode the URL of the issuing certificate in the certificates that are issued by this certificate authority. + required: False + type: bool + crl_expiry: + description: + - The time until the certificate revocation list (CRL) expires.The value can be supplied as a string representation of a duration in hours, such as `48h`. The default is 72 hours. In the API response, this value is returned in seconds (integer).**Note:** The CRL is rotated automatically before it expires. + required: False + type: str + exclude_cn_from_sans: + description: + - Controls whether the common name is excluded from Subject Alternative Names (SANs).If the common name set to `true`, it is not included in DNS or Email SANs if they apply. This field can be useful if the common name is a human-readable identifier, instead of a hostname or an email address. + required: False + type: bool + ou: + description: + - The Organizational Unit (OU) values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + province: + description: + - The Province (ST) values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + postal_code: + description: + - The postal code values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + uri_sans: + description: + - The URI Subject Alternative Names to define for the CA certificate, in a comma-delimited list. + required: False + type: str + crl_disable: + description: + - Disables or enables certificate revocation list (CRL) building.If CRL building is disabled, a signed but zero-length CRL is returned when downloading the CRL. If CRL building is enabled, it will rebuild the CRL. + required: False + type: bool + key_bits: + description: + - The number of bits to use to generate the private key.Allowable values for RSA keys are: `2048` and `4096`. Allowable values for EC keys are: `224`, `256`, `384`, and `521`. The default for RSA keys is `2048`. The default for EC keys is `256`. + required: False + type: int + name: + description: + - (Required for new resource) A human-readable unique name to assign to your configuration.To protect your privacy, do not use personal data, such as your name or location, as an name for your secret. + required: True + type: str + locality: + description: + - The Locality (L) values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + endpoint_type: + description: + - public or private. + required: False + type: str + organization: + description: + - The Organization (O) values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + format: + description: + - The format of the returned data. + required: False + type: str + max_path_length: + description: + - The maximum path length to encode in the generated certificate. `-1` means no limit.If the signing certificate has a maximum path length set, the path length is set to one less than that of the signing certificate. A limit of `0` means a literal path length of zero. + required: False + type: int + permitted_dns_domains: + description: + - The allowed DNS domains or subdomains for the certificates that are to be signed and issued by this CA certificate. + required: False + type: list + elements: str + instance_id: + description: + - (Required for new resource) The ID of the Secrets Manager instance. + required: True + type: str + common_name: + description: + - (Required for new resource) The Common Name (AKA CN) represents the server name that is protected by the SSL certificate. + required: True + type: str + max_ttl: + description: + - (Required for new resource) The maximum time-to-live (TTL) for certificates that are created by this CA.The value can be supplied as a string representation of a duration in hours, for example '8760h'. In the API response, this value is returned in seconds (integer).Minimum value is one hour (`1h`). Maximum value is 100 years (`876000h`). + required: True + type: str + alt_names: + description: + - With the Subject Alternative Name field, you can specify additional host names to be protected by a single SSL certificate. + required: False + type: list + elements: str + country: + description: + - The Country (C) values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + ttl: + description: + - The requested time-to-live (TTL) for certificates that are created by this CA. This field's value cannot be longer than the `max_ttl` limit.The value can be supplied as a string representation of a duration in hours, for example '8760h'. In the API response, this value is returned in seconds (integer). + required: False + type: str + key_type: + description: + - The type of private key to generate. + required: False + type: str + street_address: + description: + - The street address values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + serial_number: + description: + - The serial number to assign to the generated certificate. To assign a random serial number, you can omit this field. + required: False + type: str + crl_distribution_points_encoded: + description: + - Determines whether to encode the certificate revocation list (CRL) distribution points in the certificates that are issued by this certificate authority. + required: False + type: bool + 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 = [ + ('name', 'str'), + ('instance_id', 'str'), + ('common_name', 'str'), + ('max_ttl', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'ip_sans', + 'other_sans', + 'private_key_format', + 'region', + 'issuing_certificates_urls_encoded', + 'crl_expiry', + 'exclude_cn_from_sans', + 'ou', + 'province', + 'postal_code', + 'uri_sans', + 'crl_disable', + 'key_bits', + 'name', + 'locality', + 'endpoint_type', + 'organization', + 'format', + 'max_path_length', + 'permitted_dns_domains', + 'instance_id', + 'common_name', + 'max_ttl', + 'alt_names', + 'country', + 'ttl', + 'key_type', + 'street_address', + 'serial_number', + 'crl_distribution_points_encoded', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('name', 'str'), + ('instance_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'name', + 'endpoint_type', + 'instance_id', + 'region', +] + +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( + ip_sans=dict( + required=False, + type='str'), + other_sans=dict( + required=False, + elements='', + type='list'), + private_key_format=dict( + required=False, + type='str'), + region=dict( + required=False, + type='str'), + issuing_certificates_urls_encoded=dict( + required=False, + type='bool'), + crl_expiry=dict( + required=False, + type='str'), + exclude_cn_from_sans=dict( + required=False, + type='bool'), + ou=dict( + required=False, + elements='', + type='list'), + province=dict( + required=False, + elements='', + type='list'), + postal_code=dict( + required=False, + elements='', + type='list'), + uri_sans=dict( + required=False, + type='str'), + crl_disable=dict( + required=False, + type='bool'), + key_bits=dict( + required=False, + type='int'), + name=dict( + required=False, + type='str'), + locality=dict( + required=False, + elements='', + type='list'), + endpoint_type=dict( + required=False, + type='str'), + organization=dict( + required=False, + elements='', + type='list'), + format=dict( + required=False, + type='str'), + max_path_length=dict( + required=False, + type='int'), + permitted_dns_domains=dict( + required=False, + elements='', + type='list'), + instance_id=dict( + required=False, + type='str'), + common_name=dict( + required=False, + type='str'), + max_ttl=dict( + required=False, + type='str'), + alt_names=dict( + required=False, + elements='', + type='list'), + country=dict( + required=False, + elements='', + type='list'), + ttl=dict( + required=False, + type='str'), + key_type=dict( + required=False, + type='str'), + street_address=dict( + required=False, + elements='', + type='list'), + serial_number=dict( + required=False, + type='str'), + crl_distribution_points_encoded=dict( + required=False, + type='bool'), + 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_sm_private_certificate_configuration_root_ca', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_private_certificate_configuration_root_ca', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_private_certificate_configuration_root_ca_info.py b/plugins/modules/ibm_sm_private_certificate_configuration_root_ca_info.py new file mode 100644 index 000000000..38510afab --- /dev/null +++ b/plugins/modules/ibm_sm_private_certificate_configuration_root_ca_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_private_certificate_configuration_root_ca_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_private_certificate_configuration_root_ca + +short_description: Retrieve IBM Cloud 'ibm_sm_private_certificate_configuration_root_ca' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_private_certificate_configuration_root_ca' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + name: + description: + - The name of the configuration. + required: True + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + 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 = [ + ('name', 'str'), + ('instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'name', + 'endpoint_type', + 'instance_id', + 'region', +] + + +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( + name=dict( + required=True, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + instance_id=dict( + required=True, + type='str'), + region=dict( + required=False, + 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_sm_private_certificate_configuration_root_ca', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_private_certificate_configuration_template.py b/plugins/modules/ibm_sm_private_certificate_configuration_template.py new file mode 100644 index 000000000..107f8f411 --- /dev/null +++ b/plugins/modules/ibm_sm_private_certificate_configuration_template.py @@ -0,0 +1,606 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_private_certificate_configuration_template +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_private_certificate_configuration_template + +short_description: Configure IBM Cloud 'ibm_sm_private_certificate_configuration_template' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_sm_private_certificate_configuration_template' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + street_address: + description: + - The street address values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + allow_subdomains: + description: + - Determines whether to allow clients to request private certificates with common names (CN) that are subdomains of the CNs that are allowed by the other certificate template options. This includes wildcard subdomains.For example, if `allowed_domains` has a value of `example.com` and `allow_subdomains`is set to `true`, then the following subdomains are allowed: `foo.example.com`, `bar.example.com`, `*.example.com`.**Note:** This field is redundant if you use the `allow_any_name` option. + required: False + type: bool + ext_key_usage: + description: + - The allowed extended key usage constraint on private certificates.You can find valid values in the [Go x509 package documentation](https://golang.org/pkg/crypto/x509/#ExtKeyUsage). Omit the `ExtKeyUsage` part of the value. Values are not case-sensitive. To specify no key usage constraints, set this field to an empty list. + required: False + type: list + elements: str + require_cn: + description: + - Determines whether to require a common name to create a private certificate.By default, a common name is required to generate a certificate. To make the `common_name` field optional, set the `require_cn` option to `false`. + required: False + type: bool + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + allowed_secret_groups: + description: + - Scopes the creation of private certificates to only the secret groups that you specify.This field can be supplied as a comma-delimited list of secret group IDs. + required: False + type: str + allowed_uri_sans: + description: + - The URI Subject Alternative Names to allow for private certificates.Values can contain glob patterns, for example `spiffe://hostname/_*`. + required: False + type: list + elements: str + ext_key_usage_oids: + description: + - A list of extended key usage Object Identifiers (OIDs). + required: False + type: list + elements: str + basic_constraints_valid_for_non_ca: + description: + - Determines whether to mark the Basic Constraints extension of an issued private certificate as valid for non-CA certificates. + required: False + type: bool + serial_number: + description: + - The serial number to assign to the generated certificate. To assign a random serial number, you can omit this field. + required: False + type: str + email_protection_flag: + description: + - Determines whether private certificates are flagged for email protection use. + required: False + type: bool + max_ttl: + description: + - The maximum time-to-live (TTL) for certificates that are created by this CA.The value can be supplied as a string representation of a duration in hours, for example '8760h'. In the API response, this value is returned in seconds (integer).Minimum value is one hour (`1h`). Maximum value is 100 years (`876000h`). + required: False + type: str + key_type: + description: + - The type of private key to generate. + required: False + type: str + key_bits: + description: + - The number of bits to use to generate the private key.Allowable values for RSA keys are: `2048` and `4096`. Allowable values for EC keys are: `224`, `256`, `384`, and `521`. The default for RSA keys is `2048`. The default for EC keys is `256`. + required: False + type: int + ou: + description: + - The Organizational Unit (OU) values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + organization: + description: + - The Organization (O) values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + province: + description: + - The Province (ST) values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + key_usage: + description: + - The allowed key usage constraint to define for private certificates.You can find valid values in the [Go x509 package documentation](https://pkg.go.dev/crypto/x509#KeyUsage). Omit the `KeyUsage` part of the value. Values are not case-sensitive. To specify no key usage constraints, set this field to an empty list. + required: False + type: list + elements: str + use_csr_common_name: + description: + - When used with the `private_cert_configuration_action_sign_csr` action, this field determines whether to use the common name (CN) from a certificate signing request (CSR) instead of the CN that's included in the data of the certificate.Does not include any requested Subject Alternative Names (SANs) in the CSR. To use the alternative names, include the `use_csr_sans` property. + required: False + type: bool + endpoint_type: + description: + - public or private. + required: False + type: str + name: + description: + - (Required for new resource) A human-readable unique name to assign to your configuration.To protect your privacy, do not use personal data, such as your name or location, as an name for your secret. + required: True + type: str + ttl: + description: + - The requested time-to-live (TTL) for certificates that are created by this CA. This field's value cannot be longer than the `max_ttl` limit.The value can be supplied as a string representation of a duration in hours, for example '8760h'. In the API response, this value is returned in seconds (integer). + required: False + type: str + postal_code: + description: + - The postal code values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + allowed_domains_template: + description: + - Determines whether to allow the domains that are supplied in the `allowed_domains` field to contain access control list (ACL) templates. + required: False + type: bool + country: + description: + - The Country (C) values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + allow_localhost: + description: + - Determines whether to allow `localhost` to be included as one of the requested common names. + required: False + type: bool + allowed_domains: + description: + - The domains to define for the certificate template. This property is used along with the `allow_bare_domains` and `allow_subdomains` options. + required: False + type: list + elements: str + allow_wildcard_certificates: + description: + - Determines whether the issuance of certificates with RFC 6125 wildcards in the CN field.When set to false, this field prevents wildcards from being issued even if they can be allowed by an option `allow_glob_domains`. + required: False + type: bool + allow_any_name: + description: + - Determines whether to allow clients to request a private certificate that matches any common name. + required: False + type: bool + allowed_other_sans: + description: + - The custom Object Identifier (OID) or UTF8-string Subject Alternative Names (SANs) to allow for private certificates.The format for each element in the list is the same as OpenSSL: `::` where the current valid type is `UTF8`. To allow any value for an OID, use `*` as its value. Alternatively, specify a single `*` to allow any `other_sans` input. + required: False + type: list + elements: str + server_flag: + description: + - Determines whether private certificates are flagged for server use. + required: False + type: bool + instance_id: + description: + - (Required for new resource) The ID of the Secrets Manager instance. + required: True + type: str + not_before_duration: + description: + - The duration in seconds by which to backdate the `not_before` property of an issued private certificate.The value can be supplied as a string representation of a duration, such as `30s`. In the API response, this value is returned in seconds (integer). + required: False + type: str + allow_bare_domains: + description: + - Determines whether to allow clients to request private certificates that match the value of the actual domains on the final certificate.For example, if you specify `example.com` in the `allowed_domains` field, you grant clients the ability to request a certificate that contains the name `example.com` as one of the DNS values on the final certificate.**Important:** In some scenarios, allowing bare domains can be considered a security risk. + required: False + type: bool + allow_glob_domains: + description: + - Determines whether to allow glob patterns, for example, `ftp*.example.com`, in the names that are specified in the `allowed_domains` field.If set to `true`, clients are allowed to request private certificates with names that match the glob patterns. + required: False + type: bool + enforce_hostnames: + description: + - Determines whether to enforce only valid host names for common names, DNS Subject Alternative Names, and the host section of email addresses. + required: False + type: bool + allow_ip_sans: + description: + - Determines whether to allow clients to request a private certificate with IP Subject Alternative Names. + required: False + type: bool + client_flag: + description: + - Determines whether private certificates are flagged for client use. + required: False + type: bool + policy_identifiers: + description: + - A list of policy Object Identifiers (OIDs). + required: False + type: list + elements: str + locality: + description: + - The Locality (L) values to define in the subject field of the resulting certificate. + required: False + type: list + elements: str + certificate_authority: + description: + - (Required for new resource) The name of the intermediate certificate authority. + required: True + type: str + code_signing_flag: + description: + - Determines whether private certificates are flagged for code signing use. + required: False + type: bool + use_csr_sans: + description: + - When used with the `private_cert_configuration_action_sign_csr` action, this field determines whether to use the Subject Alternative Names(SANs) from a certificate signing request (CSR) instead of the SANs that are included in the data of the certificate.Does not include the common name in the CSR. To use the common name, include the `use_csr_common_name` property. + required: False + type: bool + 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 = [ + ('name', 'str'), + ('instance_id', 'str'), + ('certificate_authority', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'street_address', + 'allow_subdomains', + 'ext_key_usage', + 'require_cn', + 'region', + 'allowed_secret_groups', + 'allowed_uri_sans', + 'ext_key_usage_oids', + 'basic_constraints_valid_for_non_ca', + 'serial_number', + 'email_protection_flag', + 'max_ttl', + 'key_type', + 'key_bits', + 'ou', + 'organization', + 'province', + 'key_usage', + 'use_csr_common_name', + 'endpoint_type', + 'name', + 'ttl', + 'postal_code', + 'allowed_domains_template', + 'country', + 'allow_localhost', + 'allowed_domains', + 'allow_wildcard_certificates', + 'allow_any_name', + 'allowed_other_sans', + 'server_flag', + 'instance_id', + 'not_before_duration', + 'allow_bare_domains', + 'allow_glob_domains', + 'enforce_hostnames', + 'allow_ip_sans', + 'client_flag', + 'policy_identifiers', + 'locality', + 'certificate_authority', + 'code_signing_flag', + 'use_csr_sans', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('instance_id', 'str'), + ('name', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'instance_id', + 'name', + 'endpoint_type', + 'region', +] + +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( + street_address=dict( + required=False, + elements='', + type='list'), + allow_subdomains=dict( + required=False, + type='bool'), + ext_key_usage=dict( + required=False, + elements='', + type='list'), + require_cn=dict( + required=False, + type='bool'), + region=dict( + required=False, + type='str'), + allowed_secret_groups=dict( + required=False, + type='str'), + allowed_uri_sans=dict( + required=False, + elements='', + type='list'), + ext_key_usage_oids=dict( + required=False, + elements='', + type='list'), + basic_constraints_valid_for_non_ca=dict( + required=False, + type='bool'), + serial_number=dict( + required=False, + type='str'), + email_protection_flag=dict( + required=False, + type='bool'), + max_ttl=dict( + required=False, + type='str'), + key_type=dict( + required=False, + type='str'), + key_bits=dict( + required=False, + type='int'), + ou=dict( + required=False, + elements='', + type='list'), + organization=dict( + required=False, + elements='', + type='list'), + province=dict( + required=False, + elements='', + type='list'), + key_usage=dict( + required=False, + elements='', + type='list'), + use_csr_common_name=dict( + required=False, + type='bool'), + endpoint_type=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), + ttl=dict( + required=False, + type='str'), + postal_code=dict( + required=False, + elements='', + type='list'), + allowed_domains_template=dict( + required=False, + type='bool'), + country=dict( + required=False, + elements='', + type='list'), + allow_localhost=dict( + required=False, + type='bool'), + allowed_domains=dict( + required=False, + elements='', + type='list'), + allow_wildcard_certificates=dict( + required=False, + type='bool'), + allow_any_name=dict( + required=False, + type='bool'), + allowed_other_sans=dict( + required=False, + elements='', + type='list'), + server_flag=dict( + required=False, + type='bool'), + instance_id=dict( + required=False, + type='str'), + not_before_duration=dict( + required=False, + type='str'), + allow_bare_domains=dict( + required=False, + type='bool'), + allow_glob_domains=dict( + required=False, + type='bool'), + enforce_hostnames=dict( + required=False, + type='bool'), + allow_ip_sans=dict( + required=False, + type='bool'), + client_flag=dict( + required=False, + type='bool'), + policy_identifiers=dict( + required=False, + elements='', + type='list'), + locality=dict( + required=False, + elements='', + type='list'), + certificate_authority=dict( + required=False, + type='str'), + code_signing_flag=dict( + required=False, + type='bool'), + use_csr_sans=dict( + required=False, + type='bool'), + 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_sm_private_certificate_configuration_template', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_private_certificate_configuration_template', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_private_certificate_configuration_template_info.py b/plugins/modules/ibm_sm_private_certificate_configuration_template_info.py new file mode 100644 index 000000000..510dec471 --- /dev/null +++ b/plugins/modules/ibm_sm_private_certificate_configuration_template_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_private_certificate_configuration_template_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_private_certificate_configuration_template + +short_description: Retrieve IBM Cloud 'ibm_sm_private_certificate_configuration_template' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_private_certificate_configuration_template' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + name: + description: + - The name of the configuration. + required: True + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + 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 = [ + ('instance_id', 'str'), + ('name', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_id', + 'name', + 'endpoint_type', + 'region', +] + + +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( + instance_id=dict( + required=True, + type='str'), + name=dict( + required=True, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + region=dict( + required=False, + 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_sm_private_certificate_configuration_template', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_private_certificate_info.py b/plugins/modules/ibm_sm_private_certificate_info.py new file mode 100644 index 000000000..de5def73b --- /dev/null +++ b/plugins/modules/ibm_sm_private_certificate_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_private_certificate_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_private_certificate + +short_description: Retrieve IBM Cloud 'ibm_sm_private_certificate' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_private_certificate' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + endpoint_type: + description: + - public or private. + required: False + type: str + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + secret_id: + description: + - The ID of the secret. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + 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 = [ + ('instance_id', 'str'), + ('secret_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'endpoint_type', + 'instance_id', + 'secret_id', + 'region', +] + + +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( + endpoint_type=dict( + required=False, + type='str'), + instance_id=dict( + required=True, + type='str'), + secret_id=dict( + required=True, + type='str'), + region=dict( + required=False, + 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_sm_private_certificate', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_private_certificate_metadata_info.py b/plugins/modules/ibm_sm_private_certificate_metadata_info.py new file mode 100644 index 000000000..83c6e1001 --- /dev/null +++ b/plugins/modules/ibm_sm_private_certificate_metadata_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_private_certificate_metadata_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_private_certificate_metadata + +short_description: Retrieve IBM Cloud 'ibm_sm_private_certificate_metadata' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_private_certificate_metadata' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + secret_id: + description: + - The ID of the secret. + required: True + type: str + endpoint_type: + description: + - public or private. + required: False + 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 = [ + ('instance_id', 'str'), + ('secret_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'region', + 'instance_id', + 'secret_id', + 'endpoint_type', +] + + +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( + region=dict( + required=False, + type='str'), + instance_id=dict( + required=True, + type='str'), + secret_id=dict( + required=True, + type='str'), + endpoint_type=dict( + required=False, + 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_sm_private_certificate_metadata', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_public_certificate.py b/plugins/modules/ibm_sm_public_certificate.py new file mode 100644 index 000000000..244c2d178 --- /dev/null +++ b/plugins/modules/ibm_sm_public_certificate.py @@ -0,0 +1,349 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_public_certificate +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_public_certificate + +short_description: Configure IBM Cloud 'ibm_sm_public_certificate' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_sm_public_certificate' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + secret_group_id: + description: + - A v4 UUID identifier, or `default` secret group. + required: False + type: str + key_algorithm: + description: + - The identifier for the cryptographic algorithm to be used to generate the public key that is associated with the certificate.The algorithm that you select determines the encryption algorithm (`RSA` or `ECDSA`) and key size to be used to generate keys and sign certificates. For longer living certificates, it is recommended to use longer keys to provide more encryption protection. Allowed values: RSA2048, RSA4096, EC256, EC384. + required: False + type: str + default: RSA2048 + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + description: + description: + - An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group. + required: False + type: str + labels: + description: + - Labels that you can use to search for secrets in your instance.Up to 30 labels can be created. + required: False + type: list + elements: str + alt_names: + description: + - With the Subject Alternative Name field, you can specify additional host names to be protected by a single SSL certificate. + required: False + type: list + elements: str + ca: + description: + - (Required for new resource) A human-readable unique name to assign to your configuration.To protect your privacy, do not use personal data, such as your name or location, as an name for your secret. + required: True + type: str + common_name: + description: + - (Required for new resource) The Common Name (AKA CN) represents the server name that is protected by the SSL certificate. + required: True + type: str + version_custom_metadata: + description: + - The secret version metadata that a user can customize. + required: False + type: dict + elements: str + name: + description: + - (Required for new resource) A human-readable name to assign to your secret.To protect your privacy, do not use personal data, such as your name or location, as a name for your secret. + required: True + type: str + dns: + description: + - (Required for new resource) A human-readable unique name to assign to your configuration.To protect your privacy, do not use personal data, such as your name or location, as an name for your secret. + required: True + type: str + bundle_certs: + description: + - Determines whether your issued certificate is bundled with intermediate certificates. Set to `false` for the certificate file to contain only the issued certificate. + required: False + type: bool + default: True + custom_metadata: + description: + - The secret metadata that a user can customize. + required: False + type: dict + elements: str + instance_id: + description: + - (Required for new resource) The ID of the Secrets Manager instance. + required: True + type: str + rotation: + description: + - Determines whether Secrets Manager rotates your secrets automatically. + required: False + type: list + elements: dict + 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 = [ + ('ca', 'str'), + ('common_name', 'str'), + ('name', 'str'), + ('dns', 'str'), + ('instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'secret_group_id', + 'key_algorithm', + 'region', + 'endpoint_type', + 'description', + 'labels', + 'alt_names', + 'ca', + 'common_name', + 'version_custom_metadata', + 'name', + 'dns', + 'bundle_certs', + 'custom_metadata', + 'instance_id', + 'rotation', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('instance_id', 'str'), + ('secret_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'endpoint_type', + 'instance_id', + 'region', + 'secret_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( + secret_group_id=dict( + required=False, + type='str'), + key_algorithm=dict( + required=False, + type='str'), + region=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + description=dict( + required=False, + type='str'), + labels=dict( + required=False, + elements='', + type='list'), + alt_names=dict( + required=False, + elements='', + type='list'), + ca=dict( + required=False, + type='str'), + common_name=dict( + required=False, + type='str'), + version_custom_metadata=dict( + required=False, + elements='', + type='dict'), + name=dict( + required=False, + type='str'), + dns=dict( + required=False, + type='str'), + bundle_certs=dict( + required=False, + type='bool'), + custom_metadata=dict( + required=False, + elements='', + type='dict'), + instance_id=dict( + required=False, + type='str'), + rotation=dict( + required=False, + elements='', + type='list'), + 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_sm_public_certificate', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_public_certificate', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_public_certificate_configuration_ca_lets_encrypt.py b/plugins/modules/ibm_sm_public_certificate_configuration_ca_lets_encrypt.py new file mode 100644 index 000000000..f342a3dc3 --- /dev/null +++ b/plugins/modules/ibm_sm_public_certificate_configuration_ca_lets_encrypt.py @@ -0,0 +1,246 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_public_certificate_configuration_ca_lets_encrypt +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_public_certificate_configuration_ca_lets_encrypt + +short_description: Configure IBM Cloud 'ibm_sm_public_certificate_configuration_ca_lets_encrypt' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_sm_public_certificate_configuration_ca_lets_encrypt' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + lets_encrypt_environment: + description: + - (Required for new resource) The configuration of the Let's Encrypt CA environment. + required: True + type: str + lets_encrypt_private_key: + description: + - (Required for new resource) The PEM encoded private key of your Lets Encrypt account. + required: True + type: str + instance_id: + description: + - (Required for new resource) The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + name: + description: + - (Required for new resource) A human-readable unique name to assign to your configuration.To protect your privacy, do not use personal data, such as your name or location, as an name for your secret. + 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 = [ + ('lets_encrypt_environment', 'str'), + ('lets_encrypt_private_key', 'str'), + ('instance_id', 'str'), + ('name', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'lets_encrypt_environment', + 'lets_encrypt_private_key', + 'instance_id', + 'region', + 'endpoint_type', + 'name', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('name', 'str'), + ('instance_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'region', + 'name', + 'instance_id', + 'endpoint_type', +] + +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( + lets_encrypt_environment=dict( + required=False, + type='str'), + lets_encrypt_private_key=dict( + required=False, + type='str'), + instance_id=dict( + required=False, + type='str'), + region=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + name=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_sm_public_certificate_configuration_ca_lets_encrypt', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_public_certificate_configuration_ca_lets_encrypt', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_public_certificate_configuration_ca_lets_encrypt_info.py b/plugins/modules/ibm_sm_public_certificate_configuration_ca_lets_encrypt_info.py new file mode 100644 index 000000000..b00e8301b --- /dev/null +++ b/plugins/modules/ibm_sm_public_certificate_configuration_ca_lets_encrypt_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_public_certificate_configuration_ca_lets_encrypt_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_public_certificate_configuration_ca_lets_encrypt + +short_description: Retrieve IBM Cloud 'ibm_sm_public_certificate_configuration_ca_lets_encrypt' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_public_certificate_configuration_ca_lets_encrypt' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + name: + description: + - The name of the configuration. + required: True + type: str + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + endpoint_type: + description: + - public or private. + required: False + 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 = [ + ('name', 'str'), + ('instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'region', + 'name', + 'instance_id', + 'endpoint_type', +] + + +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( + region=dict( + required=False, + type='str'), + name=dict( + required=True, + type='str'), + instance_id=dict( + required=True, + type='str'), + endpoint_type=dict( + required=False, + 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_sm_public_certificate_configuration_ca_lets_encrypt', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_public_certificate_configuration_dns_cis.py b/plugins/modules/ibm_sm_public_certificate_configuration_dns_cis.py new file mode 100644 index 000000000..7b74d117c --- /dev/null +++ b/plugins/modules/ibm_sm_public_certificate_configuration_dns_cis.py @@ -0,0 +1,245 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_public_certificate_configuration_dns_cis +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_public_certificate_configuration_dns_cis + +short_description: Configure IBM Cloud 'ibm_sm_public_certificate_configuration_dns_cis' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_sm_public_certificate_configuration_dns_cis' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + cloud_internet_services_apikey: + description: + - An IBM Cloud API key that can to list domains in your Cloud Internet Services instance.To grant Secrets Manager the ability to view the Cloud Internet Services instance and all of its domains, the API key must be assigned the Reader service role on Internet Services (`internet-svcs`).If you need to manage specific domains, you can assign the Manager role. For production environments, it is recommended that you assign the Reader access role, and then use the[IAM Policy Management API](https://cloud.ibm.com/apidocs/iam-policy-management#create-policy) to control specific domains. For more information, see the [docs](https://cloud.ibm.com/docs/secrets-manager?topic=secrets-manager-prepare-order-certificates#authorize-specific-domains). + required: False + type: str + instance_id: + description: + - (Required for new resource) The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + name: + description: + - (Required for new resource) A human-readable unique name to assign to your configuration.To protect your privacy, do not use personal data, such as your name or location, as an name for your secret. + required: True + type: str + cloud_internet_services_crn: + description: + - (Required for new resource) A CRN that uniquely identifies an IBM Cloud resource. + 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 = [ + ('instance_id', 'str'), + ('name', 'str'), + ('cloud_internet_services_crn', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'cloud_internet_services_apikey', + 'instance_id', + 'region', + 'endpoint_type', + 'name', + 'cloud_internet_services_crn', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('instance_id', 'str'), + ('name', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'instance_id', + 'region', + 'endpoint_type', + 'name', +] + +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( + cloud_internet_services_apikey=dict( + required=False, + type='str'), + instance_id=dict( + required=False, + type='str'), + region=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), + cloud_internet_services_crn=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_sm_public_certificate_configuration_dns_cis', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_public_certificate_configuration_dns_cis', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_public_certificate_configuration_dns_cis_info.py b/plugins/modules/ibm_sm_public_certificate_configuration_dns_cis_info.py new file mode 100644 index 000000000..8c7756b65 --- /dev/null +++ b/plugins/modules/ibm_sm_public_certificate_configuration_dns_cis_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_public_certificate_configuration_dns_cis_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_public_certificate_configuration_dns_cis + +short_description: Retrieve IBM Cloud 'ibm_sm_public_certificate_configuration_dns_cis' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_public_certificate_configuration_dns_cis' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + name: + description: + - The name of the configuration. + 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 = [ + ('instance_id', 'str'), + ('name', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_id', + 'region', + 'endpoint_type', + 'name', +] + + +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( + instance_id=dict( + required=True, + type='str'), + region=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + name=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_sm_public_certificate_configuration_dns_cis', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_public_certificate_configuration_dns_classic_infrastructure.py b/plugins/modules/ibm_sm_public_certificate_configuration_dns_classic_infrastructure.py new file mode 100644 index 000000000..a112d9f61 --- /dev/null +++ b/plugins/modules/ibm_sm_public_certificate_configuration_dns_classic_infrastructure.py @@ -0,0 +1,246 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_public_certificate_configuration_dns_classic_infrastructure +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_public_certificate_configuration_dns_classic_infrastructure + +short_description: Configure IBM Cloud 'ibm_sm_public_certificate_configuration_dns_classic_infrastructure' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_sm_public_certificate_configuration_dns_classic_infrastructure' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + endpoint_type: + description: + - public or private. + required: False + type: str + classic_infrastructure_password: + description: + - (Required for new resource) Your classic infrastructure API key.For information about viewing and accessing your classic infrastructure API key, see the [docs](https://cloud.ibm.com/docs/account?topic=account-classic_keys). + required: True + type: str + classic_infrastructure_username: + description: + - (Required for new resource) The username that is associated with your classic infrastructure account.In most cases, your classic infrastructure username is your `_`. For more information, see the [docs](https://cloud.ibm.com/docs/account?topic=account-classic_keys). + required: True + type: str + instance_id: + description: + - (Required for new resource) The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + name: + description: + - (Required for new resource) A human-readable unique name to assign to your configuration.To protect your privacy, do not use personal data, such as your name or location, as an name for your secret. + 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 = [ + ('classic_infrastructure_password', 'str'), + ('classic_infrastructure_username', 'str'), + ('instance_id', 'str'), + ('name', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'endpoint_type', + 'classic_infrastructure_password', + 'classic_infrastructure_username', + 'instance_id', + 'region', + 'name', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('instance_id', 'str'), + ('name', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'instance_id', + 'region', + 'endpoint_type', + 'name', +] + +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( + endpoint_type=dict( + required=False, + type='str'), + classic_infrastructure_password=dict( + required=False, + type='str'), + classic_infrastructure_username=dict( + required=False, + type='str'), + instance_id=dict( + required=False, + type='str'), + region=dict( + required=False, + type='str'), + name=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_sm_public_certificate_configuration_dns_classic_infrastructure', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_public_certificate_configuration_dns_classic_infrastructure', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_public_certificate_configuration_dns_classic_infrastructure_info.py b/plugins/modules/ibm_sm_public_certificate_configuration_dns_classic_infrastructure_info.py new file mode 100644 index 000000000..9a414990d --- /dev/null +++ b/plugins/modules/ibm_sm_public_certificate_configuration_dns_classic_infrastructure_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_public_certificate_configuration_dns_classic_infrastructure_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_public_certificate_configuration_dns_classic_infrastructure + +short_description: Retrieve IBM Cloud 'ibm_sm_public_certificate_configuration_dns_classic_infrastructure' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_public_certificate_configuration_dns_classic_infrastructure' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + name: + description: + - The name of the configuration. + 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 = [ + ('instance_id', 'str'), + ('name', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_id', + 'region', + 'endpoint_type', + 'name', +] + + +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( + instance_id=dict( + required=True, + type='str'), + region=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + name=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_sm_public_certificate_configuration_dns_classic_infrastructure', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_public_certificate_info.py b/plugins/modules/ibm_sm_public_certificate_info.py new file mode 100644 index 000000000..bbb14054c --- /dev/null +++ b/plugins/modules/ibm_sm_public_certificate_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_public_certificate_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_public_certificate + +short_description: Retrieve IBM Cloud 'ibm_sm_public_certificate' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_public_certificate' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + endpoint_type: + description: + - public or private. + required: False + type: str + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + secret_id: + description: + - The ID of the secret. + 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 = [ + ('instance_id', 'str'), + ('secret_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'endpoint_type', + 'instance_id', + 'region', + 'secret_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( + endpoint_type=dict( + required=False, + type='str'), + instance_id=dict( + required=True, + type='str'), + region=dict( + required=False, + type='str'), + secret_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_sm_public_certificate', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_public_certificate_metadata_info.py b/plugins/modules/ibm_sm_public_certificate_metadata_info.py new file mode 100644 index 000000000..e06e71ebf --- /dev/null +++ b/plugins/modules/ibm_sm_public_certificate_metadata_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_public_certificate_metadata_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_public_certificate_metadata + +short_description: Retrieve IBM Cloud 'ibm_sm_public_certificate_metadata' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_public_certificate_metadata' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + secret_id: + description: + - The ID of the secret. + required: True + type: str + endpoint_type: + description: + - public or private. + required: False + 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 = [ + ('instance_id', 'str'), + ('secret_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'region', + 'instance_id', + 'secret_id', + 'endpoint_type', +] + + +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( + region=dict( + required=False, + type='str'), + instance_id=dict( + required=True, + type='str'), + secret_id=dict( + required=True, + type='str'), + endpoint_type=dict( + required=False, + 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_sm_public_certificate_metadata', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_secret_group.py b/plugins/modules/ibm_sm_secret_group.py new file mode 100644 index 000000000..881473674 --- /dev/null +++ b/plugins/modules/ibm_sm_secret_group.py @@ -0,0 +1,235 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_secret_group +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_secret_group + +short_description: Configure IBM Cloud 'ibm_sm_secret_group' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_sm_secret_group' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + instance_id: + description: + - (Required for new resource) The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + name: + description: + - (Required for new resource) The name of your secret group. + required: True + type: str + description: + description: + - An extended description of your secret group.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group. + required: False + 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 = [ + ('instance_id', 'str'), + ('name', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_id', + 'region', + 'endpoint_type', + 'name', + 'description', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('instance_id', 'str'), + ('secret_group_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'instance_id', + 'region', + 'endpoint_type', + 'secret_group_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( + instance_id=dict( + required=False, + type='str'), + region=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + name=dict( + required=False, + type='str'), + description=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_sm_secret_group', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_secret_group', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_secret_group_info.py b/plugins/modules/ibm_sm_secret_group_info.py new file mode 100644 index 000000000..4b777a8f5 --- /dev/null +++ b/plugins/modules/ibm_sm_secret_group_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_secret_group_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_secret_group + +short_description: Retrieve IBM Cloud 'ibm_sm_secret_group' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_secret_group' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + secret_group_id: + description: + - The ID of the secret group. + 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 = [ + ('instance_id', 'str'), + ('secret_group_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_id', + 'region', + 'endpoint_type', + 'secret_group_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( + instance_id=dict( + required=True, + type='str'), + region=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + secret_group_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_sm_secret_group', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_secret_groups_info.py b/plugins/modules/ibm_sm_secret_groups_info.py new file mode 100644 index 000000000..3fd2b6f59 --- /dev/null +++ b/plugins/modules/ibm_sm_secret_groups_info.py @@ -0,0 +1,149 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_secret_groups_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_secret_groups + +short_description: Retrieve IBM Cloud 'ibm_sm_secret_groups' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_secret_groups' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + endpoint_type: + description: + - public or private. + required: False + 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 = [ + ('instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_id', + 'region', + 'endpoint_type', +] + + +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( + instance_id=dict( + required=True, + type='str'), + region=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + 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_sm_secret_groups', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_secrets_info.py b/plugins/modules/ibm_sm_secrets_info.py new file mode 100644 index 000000000..27e4086b2 --- /dev/null +++ b/plugins/modules/ibm_sm_secrets_info.py @@ -0,0 +1,177 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_secrets_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_secrets + +short_description: Retrieve IBM Cloud 'ibm_sm_secrets' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_secrets' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + sort: + description: + - Sort a collection of secrets by the specified field in ascending order. To sort in descending order use the `-` character. Available values: id | created_at | updated_at | expiration_date | secret_type | name + required: False + type: str + search: + description: + - Obtain a collection of secrets that contain the specified string in one or more of the fields: `id`, `name`, `description`, + `labels`, `secret_type`. + required: False + type: str + groups: + description: + - Filter secrets by groups. You can apply multiple filters by using a comma-separated list of secret group IDs. If you need to filter secrets that are in the default secret group, use the `default` keyword. + required: False + 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 = [ + ('instance_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_id', + 'region', + 'endpoint_type', + 'sort', + 'search', + 'groups', +] + + +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( + instance_id=dict( + required=True, + type='str'), + region=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + sort=dict( + required=False, + type='str'), + search=dict( + required=False, + type='str'), + groups=dict( + required=False, + 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_sm_secrets', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_username_password_secret.py b/plugins/modules/ibm_sm_username_password_secret.py new file mode 100644 index 000000000..ca22918ab --- /dev/null +++ b/plugins/modules/ibm_sm_username_password_secret.py @@ -0,0 +1,317 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_username_password_secret +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/sm_username_password_secret + +short_description: Configure IBM Cloud 'ibm_sm_username_password_secret' resource + +version_added: "2.8" + +description: + - Create, update or destroy an IBM Cloud 'ibm_sm_username_password_secret' resource + - This module supports idempotency +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + custom_metadata: + description: + - The secret metadata that a user can customize. + required: False + type: dict + elements: str + name: + description: + - (Required for new resource) A human-readable name to assign to your secret.To protect your privacy, do not use personal data, such as your name or location, as a name for your secret. + required: True + type: str + password: + description: + - (Required for new resource) The password that is assigned to the secret. + required: True + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + description: + description: + - An extended description of your secret.To protect your privacy, do not use personal data, such as your name or location, as a description for your secret group. + required: False + type: str + expiration_date: + description: + - The date a secret is expired. The date format follows RFC 3339. + required: False + type: str + rotation: + description: + - Determines whether Secrets Manager rotates your secrets automatically. + required: False + type: list + elements: dict + labels: + description: + - Labels that you can use to search for secrets in your instance.Up to 30 labels can be created. + required: False + type: list + elements: str + secret_group_id: + description: + - A v4 UUID identifier, or `default` secret group. + required: False + type: str + instance_id: + description: + - (Required for new resource) The ID of the Secrets Manager instance. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + version_custom_metadata: + description: + - The secret version metadata that a user can customize. + required: False + type: dict + elements: str + username: + description: + - (Required for new resource) The username that is assigned to the secret. + 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 = [ + ('name', 'str'), + ('password', 'str'), + ('instance_id', 'str'), + ('username', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'custom_metadata', + 'name', + 'password', + 'endpoint_type', + 'description', + 'expiration_date', + 'rotation', + 'labels', + 'secret_group_id', + 'instance_id', + 'region', + 'version_custom_metadata', + 'username', +] + +# Params for Data source +TL_REQUIRED_PARAMETERS_DS = [ + ('instance_id', 'str'), + ('secret_id', 'str'), +] + +TL_ALL_PARAMETERS_DS = [ + 'instance_id', + 'secret_id', + 'region', + 'endpoint_type', +] + +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( + custom_metadata=dict( + required=False, + elements='', + type='dict'), + name=dict( + required=False, + type='str'), + password=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + description=dict( + required=False, + type='str'), + expiration_date=dict( + required=False, + type='str'), + rotation=dict( + required=False, + elements='', + type='list'), + labels=dict( + required=False, + elements='', + type='list'), + secret_group_id=dict( + required=False, + type='str'), + instance_id=dict( + required=False, + type='str'), + region=dict( + required=False, + type='str'), + version_custom_metadata=dict( + required=False, + elements='', + type='dict'), + username=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_sm_username_password_secret', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_username_password_secret', + tf_type='resource', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_username_password_secret_info.py b/plugins/modules/ibm_sm_username_password_secret_info.py new file mode 100644 index 000000000..8139f6eb2 --- /dev/null +++ b/plugins/modules/ibm_sm_username_password_secret_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_username_password_secret_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_username_password_secret + +short_description: Retrieve IBM Cloud 'ibm_sm_username_password_secret' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_username_password_secret' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + secret_id: + description: + - The ID of the secret. + required: True + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + endpoint_type: + description: + - public or private. + required: False + 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 = [ + ('instance_id', 'str'), + ('secret_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_id', + 'secret_id', + 'region', + 'endpoint_type', +] + + +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( + instance_id=dict( + required=True, + type='str'), + secret_id=dict( + required=True, + type='str'), + region=dict( + required=False, + type='str'), + endpoint_type=dict( + required=False, + 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_sm_username_password_secret', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_sm_username_password_secret_metadata_info.py b/plugins/modules/ibm_sm_username_password_secret_metadata_info.py new file mode 100644 index 000000000..b5e745097 --- /dev/null +++ b/plugins/modules/ibm_sm_username_password_secret_metadata_info.py @@ -0,0 +1,159 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +ANSIBLE_METADATA = {'metadata_version': '1.1', + 'status': ['preview'], + 'supported_by': 'community'} + +DOCUMENTATION = ''' +--- +module: ibm_sm_username_password_secret_metadata_info +for_more_info: refer - https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/sm_username_password_secret_metadata + +short_description: Retrieve IBM Cloud 'ibm_sm_username_password_secret_metadata' resource + +version_added: "2.8" + +description: + - Retrieve an IBM Cloud 'ibm_sm_username_password_secret_metadata' resource +requirements: + - IBM-Cloud terraform-provider-ibm v1.51.0 + - Terraform v0.12.20 + +options: + instance_id: + description: + - The ID of the Secrets Manager instance. + required: True + type: str + endpoint_type: + description: + - public or private. + required: False + type: str + region: + description: + - The region of the Secrets Manager instance. + required: False + type: str + secret_id: + description: + - The ID of the secret. + 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 = [ + ('instance_id', 'str'), + ('secret_id', 'str'), +] + +# All top level parameter keys supported by Terraform module +TL_ALL_PARAMETERS = [ + 'instance_id', + 'endpoint_type', + 'region', + 'secret_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( + instance_id=dict( + required=True, + type='str'), + endpoint_type=dict( + required=False, + type='str'), + region=dict( + required=False, + type='str'), + secret_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_sm_username_password_secret_metadata', + tf_type='data', + parameters=module.params, + ibm_provider_version='1.51.0', + 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_space.py b/plugins/modules/ibm_space.py index ef4a6339e..13d95cd1b 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 856d404cb..b5d50bde4 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 48b50d122..5f0771f3c 100644 --- a/plugins/modules/ibm_ssl_certificate.py +++ b/plugins/modules/ibm_ssl_certificate.py @@ -18,15 +18,41 @@ - Create, update or destroy an IBM Cloud 'ibm_ssl_certificate' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + server_count: + description: + - (Required for new resource) Server count + required: True + type: int + certificate_signing_request: + description: + - (Required for new resource) certificate signing request info + required: True + type: str + administrative_address_same_as_organization_flag: + description: + - administrative address same as organization flag + required: False + type: bool + default: False + server_type: + description: + - (Required for new resource) server type + required: True + type: str validity_months: description: - (Required for new resource) vslidity of the ssl certificate in month required: True type: int + ssl_type: + description: + - (Required for new resource) ssl type + required: True + type: str order_approver_email_address: description: - (Required for new resource) Email address of the approver @@ -38,9 +64,15 @@ required: False type: bool default: False - administrative_address_same_as_organization_flag: + billing_contact: description: - - administrative address same as organization flag + - None + required: False + type: list + elements: dict + billing_address_same_as_organization_flag: + description: + - billing address same as organization flag required: False type: bool default: False @@ -50,28 +82,18 @@ required: True type: list elements: dict - billing_contact: - description: - - None - required: False - type: list - elements: dict administrative_contact: description: - None required: False type: list elements: dict - server_count: - description: - - (Required for new resource) Server count - required: True - type: int - ssl_type: + renewal_flag: description: - - (Required for new resource) ssl type - required: True - type: str + - Renewal flag + required: False + type: bool + default: True administrative_contact_same_as_technical_flag: description: - Administrative contact same as technical flag @@ -84,28 +106,6 @@ required: False type: bool default: False - billing_address_same_as_organization_flag: - description: - - billing address same as organization flag - required: False - type: bool - default: False - server_type: - description: - - (Required for new resource) server type - required: True - type: str - certificate_signing_request: - description: - - (Required for new resource) certificate signing request info - required: True - type: str - renewal_flag: - description: - - Renewal flag - required: False - type: bool - default: True technical_contact: description: - (Required for new resource) Technical contact info @@ -158,33 +158,33 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('server_count', 'int'), + ('certificate_signing_request', 'str'), + ('server_type', 'str'), ('validity_months', 'int'), + ('ssl_type', 'str'), ('order_approver_email_address', 'str'), ('organization_information', 'list'), - ('server_count', 'int'), - ('ssl_type', 'str'), - ('server_type', 'str'), - ('certificate_signing_request', 'str'), ('technical_contact', 'list'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'server_count', + 'certificate_signing_request', + 'administrative_address_same_as_organization_flag', + 'server_type', 'validity_months', + 'ssl_type', 'order_approver_email_address', 'technical_contact_same_as_org_address_flag', - 'administrative_address_same_as_organization_flag', - 'organization_information', 'billing_contact', + 'billing_address_same_as_organization_flag', + 'organization_information', 'administrative_contact', - 'server_count', - 'ssl_type', + 'renewal_flag', 'administrative_contact_same_as_technical_flag', 'billing_contact_same_as_technical_flag', - 'billing_address_same_as_organization_flag', - 'server_type', - 'certificate_signing_request', - 'renewal_flag', 'technical_contact', ] @@ -202,23 +202,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( + server_count=dict( + required=False, + type='int'), + certificate_signing_request=dict( + required=False, + type='str'), + administrative_address_same_as_organization_flag=dict( + required=False, + type='bool'), + server_type=dict( + required=False, + type='str'), validity_months=dict( required=False, type='int'), + ssl_type=dict( + required=False, + type='str'), order_approver_email_address=dict( required=False, type='str'), technical_contact_same_as_org_address_flag=dict( required=False, type='bool'), - administrative_address_same_as_organization_flag=dict( - required=False, - type='bool'), - organization_information=dict( + billing_contact=dict( required=False, elements='', type='list'), - billing_contact=dict( + billing_address_same_as_organization_flag=dict( + required=False, + type='bool'), + organization_information=dict( required=False, elements='', type='list'), @@ -226,30 +241,15 @@ required=False, elements='', type='list'), - server_count=dict( - required=False, - type='int'), - ssl_type=dict( + renewal_flag=dict( required=False, - type='str'), + type='bool'), administrative_contact_same_as_technical_flag=dict( required=False, type='bool'), billing_contact_same_as_technical_flag=dict( required=False, type='bool'), - billing_address_same_as_organization_flag=dict( - required=False, - type='bool'), - server_type=dict( - required=False, - type='str'), - certificate_signing_request=dict( - required=False, - type='str'), - renewal_flag=dict( - required=False, - type='bool'), technical_contact=dict( required=False, elements='', @@ -319,7 +319,7 @@ def run_module(): resource_type='ibm_ssl_certificate', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 6fd0dd729..faee25876 100644 --- a/plugins/modules/ibm_storage_block.py +++ b/plugins/modules/ibm_storage_block.py @@ -18,75 +18,75 @@ - Create, update or destroy an IBM Cloud 'ibm_storage_block' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - datacenter: + capacity: description: - - (Required for new resource) Datacenter name + - (Required for new resource) Storage block size required: True - type: str - allowed_hardware_ids: + type: int + iops: description: - - List of allowe hardware IDs + - (Required for new resource) IOPS value required + required: True + type: float + allowed_virtual_guest_ids: + description: + - List of allowed virtual guest IDs required: False type: list elements: int - hourly_billing: + allowed_hardware_ids: description: - - Billing done hourly, if set to true + - List of allowe hardware IDs required: False - type: bool - default: False + type: list + elements: int type: description: - (Required for new resource) Storage block type required: True type: str + os_format_type: + description: + - (Required for new resource) OS formatr type + required: True + type: str notes: description: - Additional note info required: False type: str - allowed_ip_addresses: - description: - - Allowed IP addresses - required: False - type: list - elements: str - allowed_virtual_guest_ids: - description: - - List of allowed virtual guest IDs - required: False - type: list - elements: int tags: description: - List of tags associated with the resource required: False type: list elements: str - capacity: + hourly_billing: description: - - (Required for new resource) Storage block size + - Billing done hourly, if set to true + required: False + type: bool + default: False + datacenter: + description: + - (Required for new resource) Datacenter name required: True - type: int + type: str snapshot_capacity: description: - Snapshot capacity in GB required: False type: int - os_format_type: - description: - - (Required for new resource) OS formatr type - required: True - type: str - iops: + allowed_ip_addresses: description: - - (Required for new resource) IOPS value required - required: True - type: float + - Allowed IP addresses + required: False + type: list + elements: str 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 = [ - ('datacenter', 'str'), - ('type', 'str'), ('capacity', 'int'), - ('os_format_type', 'str'), ('iops', 'float'), + ('type', 'str'), + ('os_format_type', 'str'), + ('datacenter', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'datacenter', + 'capacity', + 'iops', + 'allowed_virtual_guest_ids', 'allowed_hardware_ids', - 'hourly_billing', 'type', + 'os_format_type', 'notes', - 'allowed_ip_addresses', - 'allowed_virtual_guest_ids', 'tags', - 'capacity', + 'hourly_billing', + 'datacenter', 'snapshot_capacity', - 'os_format_type', - 'iops', + 'allowed_ip_addresses', ] # 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( - datacenter=dict( + capacity=dict( required=False, - type='str'), - allowed_hardware_ids=dict( + type='int'), + iops=dict( + required=False, + type='float'), + allowed_virtual_guest_ids=dict( required=False, elements='', type='list'), - hourly_billing=dict( + allowed_hardware_ids=dict( required=False, - type='bool'), + elements='', + type='list'), type=dict( required=False, type='str'), - notes=dict( + os_format_type=dict( required=False, type='str'), - allowed_ip_addresses=dict( - required=False, - elements='', - type='list'), - allowed_virtual_guest_ids=dict( + notes=dict( required=False, - elements='', - type='list'), + type='str'), tags=dict( required=False, elements='', type='list'), - capacity=dict( + hourly_billing=dict( required=False, - type='int'), + type='bool'), + datacenter=dict( + required=False, + type='str'), snapshot_capacity=dict( required=False, type='int'), - os_format_type=dict( - required=False, - type='str'), - iops=dict( + allowed_ip_addresses=dict( required=False, - type='float'), + elements='', + type='list'), 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.50.0', + ibm_provider_version='1.51.0', 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 2b9bd4592..6d18edea0 100644 --- a/plugins/modules/ibm_storage_evault.py +++ b/plugins/modules/ibm_storage_evault.py @@ -18,10 +18,15 @@ - Create, update or destroy an IBM Cloud 'ibm_storage_evault' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + hardware_instance_id: + description: + - Hardware instance ID + required: False + type: int tags: description: - Tags set for the resource @@ -43,11 +48,6 @@ - Virtual instance ID required: False type: int - hardware_instance_id: - description: - - Hardware instance ID - required: False - type: int 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 = [ + 'hardware_instance_id', 'tags', 'datacenter', 'capacity', 'virtual_instance_id', - 'hardware_instance_id', ] # Params for Data source @@ -115,14 +115,17 @@ ] TL_CONFLICTS_MAP = { - 'virtual_instance_id': ['hardware_instance_id'], 'hardware_instance_id': ['virtual_instance_id'], + 'virtual_instance_id': ['hardware_instance_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( + hardware_instance_id=dict( + required=False, + type='int'), tags=dict( required=False, elements='', @@ -136,9 +139,6 @@ virtual_instance_id=dict( required=False, type='int'), - hardware_instance_id=dict( - required=False, - type='int'), id=dict( required=False, type='str'), @@ -204,7 +204,7 @@ def run_module(): resource_type='ibm_storage_evault', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 80b5ea798..fa821a977 100644 --- a/plugins/modules/ibm_storage_file.py +++ b/plugins/modules/ibm_storage_file.py @@ -18,20 +18,22 @@ - Create, update or destroy an IBM Cloud 'ibm_storage_file' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - type: + tags: description: - - (Required for new resource) Storage type - required: True - type: str - datacenter: + - Tags set for the storage volume + required: False + type: list + elements: str + hourly_billing: description: - - (Required for new resource) Datacenter name - required: True - type: str + - Hourly based billing type + required: False + type: bool + default: False allowed_virtual_guest_ids: description: - Virtual guest ID @@ -44,18 +46,18 @@ required: False type: list elements: int - tags: + allowed_subnets: description: - - Tags set for the storage volume + - Allowed network subnets required: False type: list elements: str - hourly_billing: + allowed_ip_addresses: description: - - Hourly based billing type + - Allowed range of IP addresses required: False - type: bool - default: False + type: list + elements: str capacity: description: - (Required for new resource) Storage capacity @@ -77,23 +79,21 @@ - Snapshot capacity required: False type: 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 required: False type: str + type: + description: + - (Required for new resource) Storage type + required: True + type: str + datacenter: + description: + - (Required for new resource) Datacenter name + required: True + type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -140,27 +140,27 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('type', 'str'), - ('datacenter', 'str'), ('capacity', 'int'), ('iops', 'float'), + ('type', 'str'), + ('datacenter', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'type', - 'datacenter', - 'allowed_virtual_guest_ids', - 'allowed_hardware_ids', 'tags', 'hourly_billing', + 'allowed_virtual_guest_ids', + 'allowed_hardware_ids', + 'allowed_subnets', + 'allowed_ip_addresses', 'capacity', 'snapshot_schedule', 'iops', 'snapshot_capacity', - 'allowed_subnets', - 'allowed_ip_addresses', 'notes', + 'type', + 'datacenter', ] # Params for Data source @@ -177,12 +177,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( + tags=dict( required=False, - type='str'), - datacenter=dict( + elements='', + type='list'), + hourly_billing=dict( required=False, - type='str'), + type='bool'), allowed_virtual_guest_ids=dict( required=False, elements='', @@ -191,13 +192,14 @@ required=False, elements='', type='list'), - tags=dict( + allowed_subnets=dict( required=False, elements='', type='list'), - hourly_billing=dict( + allowed_ip_addresses=dict( required=False, - type='bool'), + elements='', + type='list'), capacity=dict( required=False, type='int'), @@ -211,15 +213,13 @@ snapshot_capacity=dict( required=False, type='int'), - allowed_subnets=dict( + notes=dict( required=False, - elements='', - type='list'), - allowed_ip_addresses=dict( + type='str'), + type=dict( required=False, - elements='', - type='list'), - notes=dict( + type='str'), + datacenter=dict( required=False, type='str'), id=dict( @@ -287,7 +287,7 @@ def run_module(): resource_type='ibm_storage_file', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 cfe7e8a3c..93933bac9 100644 --- a/plugins/modules/ibm_subnet.py +++ b/plugins/modules/ibm_subnet.py @@ -18,53 +18,53 @@ - Create, update or destroy an IBM Cloud 'ibm_subnet' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + notes: + description: + - Notes + required: False + type: str + type: + description: + - (Required for new resource) subnet type + required: True + 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 + endpoint_ip: + description: + - endpoint IP + required: False + type: str tags: description: - tags set for the resource required: False type: list elements: str - notes: - description: - - Notes - required: False - type: str private: description: - private subnet required: False type: bool default: False - type: - description: - - (Required for new resource) subnet type - required: True - type: str capacity: description: - (Required for new resource) number of ip addresses in the subnet required: True type: int - vlan_id: - description: - - VLAN ID for the subnet - required: False - type: int - endpoint_ip: - description: - - endpoint IP - required: False - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -117,14 +117,14 @@ # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'ip_version', - 'tags', 'notes', - 'private', 'type', - 'capacity', + 'ip_version', 'vlan_id', 'endpoint_ip', + 'tags', + 'private', + 'capacity', ] # Params for Data source @@ -143,23 +143,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( - ip_version=dict( - required=False, - type='int'), - tags=dict( - required=False, - elements='', - type='list'), notes=dict( required=False, type='str'), - private=dict( - required=False, - type='bool'), type=dict( required=False, type='str'), - capacity=dict( + ip_version=dict( required=False, type='int'), vlan_id=dict( @@ -168,6 +158,16 @@ endpoint_ip=dict( required=False, type='str'), + tags=dict( + required=False, + elements='', + type='list'), + private=dict( + required=False, + type='bool'), + capacity=dict( + required=False, + type='int'), id=dict( required=False, type='str'), @@ -233,7 +233,7 @@ def run_module(): resource_type='ibm_subnet', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 9f1c3e4a8..c102f59be 100644 --- a/plugins/modules/ibm_tg_connection.py +++ b/plugins/modules/ibm_tg_connection.py @@ -18,13 +18,13 @@ - Create, update or destroy an IBM Cloud 'ibm_tg_connection' resource - This module does not support idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - base_connection_id: + local_gateway_ip: description: - - The ID of a network_type 'classic' connection a tunnel is configured over. This field only applies to network type 'gre_tunnel' connections. + - The local gateway IP address. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. required: False type: str base_network_type: @@ -32,9 +32,9 @@ - The type of network the unbound gre tunnel is targeting. This field is required for network type 'unbound_gre_tunnel'. required: False type: str - local_tunnel_ip: + remote_tunnel_ip: description: - - The local tunnel IP address. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. + - The remote tunnel IP address. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. required: False type: str zone: @@ -42,24 +42,24 @@ - Location of GRE tunnel. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. required: False type: str - network_type: - description: - - (Required for new resource) Defines what type of network is connected via this connection. Allowable values (classic,directlink,vpc,gre_tunnel,unbound_gre_tunnel) - required: True - 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_id: + local_tunnel_ip: 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', 'gre_tunnel', and 'unbound_gre_tunnel'. + - The local tunnel IP address. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. required: False type: str - local_gateway_ip: + base_connection_id: description: - - The local gateway IP address. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. + - 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 + remote_gateway_ip: + description: + - The remote gateway IP address. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. required: False type: str gateway: @@ -67,24 +67,24 @@ - (Required for new resource) The Transit Gateway identifier required: True 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. This field is required for type 'unbound_gre_tunnel' when the associated_network_type is 'classic' and the GRE tunnel is in a different account than the gateway. - required: False - type: str - remote_gateway_ip: + network_type: description: - - The remote gateway IP address. This field only applies to network type 'gre_tunnel' and 'unbound_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,unbound_gre_tunnel) + required: True type: str remote_bgp_asn: description: - The remote network BGP ASN. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. required: False type: int - remote_tunnel_ip: + network_id: description: - - The remote tunnel IP address. This field only applies to network type 'gre_tunnel' and 'unbound_gre_tunnel' connections. + - 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', 'gre_tunnel', and 'unbound_gre_tunnel'. + 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. This field is required for type 'unbound_gre_tunnel' when the associated_network_type is 'classic' and the GRE tunnel is in a different account than the gateway. required: False type: str id: @@ -133,25 +133,25 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('network_type', 'str'), ('gateway', 'str'), + ('network_type', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'base_connection_id', + 'local_gateway_ip', 'base_network_type', - 'local_tunnel_ip', + 'remote_tunnel_ip', 'zone', - 'network_type', 'name', - 'network_id', - 'local_gateway_ip', - 'gateway', - 'network_account_id', + 'local_tunnel_ip', + 'base_connection_id', 'remote_gateway_ip', + 'gateway', + 'network_type', 'remote_bgp_asn', - 'remote_tunnel_ip', + 'network_id', + 'network_account_id', ] # Params for Data source @@ -168,43 +168,43 @@ from ansible_collections.ibm.cloudcollection.plugins.module_utils.ibmcloud import Terraform, ibmcloud_terraform from ansible.module_utils.basic import env_fallback module_args = dict( - base_connection_id=dict( + local_gateway_ip=dict( required=False, type='str'), base_network_type=dict( required=False, type='str'), - local_tunnel_ip=dict( + remote_tunnel_ip=dict( required=False, type='str'), zone=dict( required=False, type='str'), - network_type=dict( - required=False, - type='str'), name=dict( required=False, type='str'), - network_id=dict( + local_tunnel_ip=dict( required=False, type='str'), - local_gateway_ip=dict( + base_connection_id=dict( required=False, type='str'), - gateway=dict( + remote_gateway_ip=dict( required=False, type='str'), - network_account_id=dict( + gateway=dict( required=False, type='str'), - remote_gateway_ip=dict( + network_type=dict( required=False, type='str'), remote_bgp_asn=dict( required=False, type='int'), - remote_tunnel_ip=dict( + network_id=dict( + required=False, + type='str'), + network_account_id=dict( required=False, type='str'), id=dict( @@ -272,7 +272,7 @@ def run_module(): resource_type='ibm_tg_connection', tf_type='resource', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 11201585b..2d2f95906 100644 --- a/plugins/modules/ibm_tg_connection_prefix_filter.py +++ b/plugins/modules/ibm_tg_connection_prefix_filter.py @@ -18,15 +18,30 @@ - Create, update or destroy an IBM Cloud 'ibm_tg_connection_prefix_filter' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + prefix: + description: + - (Required for new resource) IP Prefix + 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 gateway: description: - (Required for new resource) The Transit Gateway identifier @@ -42,21 +57,6 @@ - (Required for new resource) Whether to permit or deny the prefix filter required: True 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 - required: True - type: str id: description: - (Required when updating or destroying existing resource) IBM Cloud Resource ID. @@ -103,34 +103,34 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ + ('prefix', 'str'), ('gateway', 'str'), ('connection_id', 'str'), ('action', 'str'), - ('prefix', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ + 'prefix', 'before', + 'ge', + 'le', 'gateway', 'connection_id', 'action', - 'ge', - 'le', - 'prefix', ] # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('gateway', 'str'), ('connection_id', 'str'), ('filter_id', 'str'), + ('gateway', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'gateway', 'connection_id', 'filter_id', + 'gateway', ] TL_CONFLICTS_MAP = { @@ -140,16 +140,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( - before=dict( - required=False, - type='str'), - gateway=dict( - required=False, - type='str'), - connection_id=dict( + prefix=dict( required=False, type='str'), - action=dict( + before=dict( required=False, type='str'), ge=dict( @@ -158,7 +152,13 @@ le=dict( required=False, type='int'), - prefix=dict( + gateway=dict( + required=False, + type='str'), + connection_id=dict( + required=False, + type='str'), + action=dict( required=False, type='str'), id=dict( @@ -226,7 +226,7 @@ def run_module(): resource_type='ibm_tg_connection_prefix_filter', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 16cd10f3a..d33361504 100644 --- a/plugins/modules/ibm_tg_connection_prefix_filter_info.py +++ b/plugins/modules/ibm_tg_connection_prefix_filter_info.py @@ -17,15 +17,10 @@ description: - Retrieve an IBM Cloud 'ibm_tg_connection_prefix_filter' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - gateway: - description: - - The Transit Gateway identifier - required: True - type: str connection_id: description: - The Transit Gateway Connection identifier @@ -36,6 +31,11 @@ - The Transit Gateway Connection Prefix Filter identifier required: True type: str + gateway: + description: + - The Transit Gateway 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 = [ - ('gateway', 'str'), ('connection_id', 'str'), ('filter_id', 'str'), + ('gateway', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'gateway', 'connection_id', 'filter_id', + 'gateway', ] @@ -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( - gateway=dict( - required=True, - type='str'), connection_id=dict( required=True, type='str'), filter_id=dict( required=True, type='str'), + gateway=dict( + required=True, + type='str'), iaas_classic_username=dict( type='str', no_log=True, @@ -132,7 +132,7 @@ def run_module(): resource_type='ibm_tg_connection_prefix_filter', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 ca34a5918..cce7f61e1 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 5ecfc8190..1411b156c 100644 --- a/plugins/modules/ibm_tg_gateway.py +++ b/plugins/modules/ibm_tg_gateway.py @@ -18,25 +18,24 @@ - Create, update or destroy an IBM Cloud 'ibm_tg_gateway' resource - This module supports idempotency requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: + resource_group: + description: + - None + required: False + type: str name: description: - (Required for new resource) Name Transit Gateway Services required: True type: str - tags: - description: - - Tags for the transit gateway instance - required: False - type: list - elements: str - resource_group: + location: description: - - None - required: False + - (Required for new resource) Location of Transit Gateway Services + required: True type: str global_: description: @@ -44,11 +43,12 @@ required: False type: bool default: False - location: + tags: description: - - (Required for new resource) Location of Transit Gateway Services - required: True - type: str + - Tags for the transit gateway instance + required: False + type: list + elements: 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 = [ - 'name', - 'tags', 'resource_group', - 'global_', + 'name', 'location', + 'global_', + '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( + resource_group=dict( required=False, type='str'), - tags=dict( + name=dict( required=False, - elements='', - type='list'), - resource_group=dict( + type='str'), + location=dict( required=False, type='str'), global_=dict( required=False, type='bool'), - location=dict( + tags=dict( required=False, - type='str'), + elements='', + type='list'), 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.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 135e5a230..9f74a88d1 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 95e098cb2..fe44ca6ba 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 182047186..48b8a2d18 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 f3c912b5f..257549fcc 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', 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 90f3dabd1..1edf12fcc 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: @@ -83,13 +83,13 @@ # Params for Data source TL_REQUIRED_PARAMETERS_DS = [ - ('gateway', 'str'), ('route_report', 'str'), + ('gateway', 'str'), ] TL_ALL_PARAMETERS_DS = [ - 'gateway', 'route_report', + 'gateway', ] TL_CONFLICTS_MAP = { @@ -167,7 +167,7 @@ def run_module(): resource_type='ibm_tg_route_report', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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.50.0', + ibm_provider_version='1.51.0', 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 9356d6940..a658bb8a8 100644 --- a/plugins/modules/ibm_tg_route_report_info.py +++ b/plugins/modules/ibm_tg_route_report_info.py @@ -17,18 +17,18 @@ description: - Retrieve an IBM Cloud 'ibm_tg_route_report' resource requirements: - - IBM-Cloud terraform-provider-ibm v1.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - Terraform v0.12.20 options: - gateway: + route_report: description: - - The Transit Gateway identifier + - The Transit Gateway Route Report identifier required: True type: str - route_report: + gateway: description: - - The Transit Gateway Route Report identifier + - The Transit Gateway identifier required: True type: str iaas_classic_username: @@ -64,14 +64,14 @@ # Top level parameter keys required by Terraform module TL_REQUIRED_PARAMETERS = [ - ('gateway', 'str'), ('route_report', 'str'), + ('gateway', 'str'), ] # All top level parameter keys supported by Terraform module TL_ALL_PARAMETERS = [ - 'gateway', 'route_report', + 'gateway', ] @@ -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( - gateway=dict( + route_report=dict( required=True, type='str'), - route_report=dict( + gateway=dict( required=True, type='str'), iaas_classic_username=dict( @@ -122,7 +122,7 @@ def run_module(): resource_type='ibm_tg_route_report', tf_type='data', parameters=module.params, - ibm_provider_version='1.50.0', + ibm_provider_version='1.51.0', 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 85f868f1a..ef71a08a1 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.50.0 + - IBM-Cloud terraform-provider-ibm v1.51.0 - 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.50.0', + ibm_provider_version='1.51.0', tl_required_params=TL_REQUIRED_PARAMETERS, tl_all_params=TL_ALL_PARAMETERS)