Skip to content

Commit

Permalink
Generated with latest terraform provider 1.42.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kavya498 committed Jul 19, 2022
1 parent 04d48c7 commit 6552ae6
Show file tree
Hide file tree
Showing 700 changed files with 13,788 additions and 10,638 deletions.
4 changes: 2 additions & 2 deletions plugins/modules/ibm_account_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
description:
- Retrieve an IBM Cloud 'ibm_account' resource
requirements:
- IBM-Cloud terraform-provider-ibm v1.41.1
- IBM-Cloud terraform-provider-ibm v1.42.0
- Terraform v0.12.20
options:
Expand Down Expand Up @@ -112,7 +112,7 @@ def run_module():
resource_type='ibm_account',
tf_type='data',
parameters=module.params,
ibm_provider_version='1.41.1',
ibm_provider_version='1.42.0',
tl_required_params=TL_REQUIRED_PARAMETERS,
tl_all_params=TL_ALL_PARAMETERS)

Expand Down
24 changes: 12 additions & 12 deletions plugins/modules/ibm_api_gateway_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- 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.41.1
- IBM-Cloud terraform-provider-ibm v1.42.0
- Terraform v0.12.20
options:
Expand All @@ -43,18 +43,18 @@
required: False
type: bool
default: False
routes:
description:
- Invokable routes for an endpoint
required: False
type: list
elements: str
provider_id:
description:
- Provider ID of an endpoint allowable values user-defined and whisk
required: False
type: str
default: user-defined
routes:
description:
- Invokable routes for an endpoint
required: False
type: list
elements: str
type:
description:
- Action type of Endpoint ALoowable values are share, unshare, manage, unmanage
Expand Down Expand Up @@ -118,8 +118,8 @@
'open_api_doc_name',
'name',
'managed',
'routes',
'provider_id',
'routes',
'type',
]

Expand Down Expand Up @@ -149,13 +149,13 @@
managed=dict(
required=False,
type='bool'),
provider_id=dict(
required=False,
type='str'),
routes=dict(
required=False,
elements='',
type='list'),
provider_id=dict(
required=False,
type='str'),
type=dict(
required=False,
type='str'),
Expand Down Expand Up @@ -224,7 +224,7 @@ def run_module():
resource_type='ibm_api_gateway_endpoint',
tf_type='resource',
parameters=module.params,
ibm_provider_version='1.41.1',
ibm_provider_version='1.42.0',
tl_required_params=TL_REQUIRED_PARAMETERS,
tl_all_params=TL_ALL_PARAMETERS)

Expand Down
24 changes: 12 additions & 12 deletions plugins/modules/ibm_api_gateway_endpoint_subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,10 @@
- Create, update or destroy an IBM Cloud 'ibm_api_gateway_endpoint_subscription' resource
- This module does not support idempotency
requirements:
- IBM-Cloud terraform-provider-ibm v1.41.1
- IBM-Cloud terraform-provider-ibm v1.42.0
- Terraform v0.12.20
options:
client_secret:
description:
- Client Sercret of a Subscription
required: False
type: str
generate_secret:
description:
- Indicates if Client Sercret has to be autogenerated
Expand All @@ -52,6 +47,11 @@
- (Required for new resource) Subscription type. Allowable values are external, internal
required: True
type: str
client_secret:
description:
- Client Sercret of a Subscription
required: False
type: str
id:
description:
- (Required when updating or destroying existing resource) IBM Cloud Resource ID.
Expand Down Expand Up @@ -105,12 +105,12 @@

# All top level parameter keys supported by Terraform module
TL_ALL_PARAMETERS = [
'client_secret',
'generate_secret',
'artifact_id',
'client_id',
'name',
'type',
'client_secret',
]

# Params for Data source
Expand All @@ -121,17 +121,14 @@
]

TL_CONFLICTS_MAP = {
'client_secret': ['generate_secret'],
'generate_secret': ['client_secret'],
'client_secret': ['generate_secret'],
}

# 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(
client_secret=dict(
required=False,
type='str'),
generate_secret=dict(
required=False,
type='bool'),
Expand All @@ -147,6 +144,9 @@
type=dict(
required=False,
type='str'),
client_secret=dict(
required=False,
type='str'),
id=dict(
required=False,
type='str'),
Expand Down Expand Up @@ -212,7 +212,7 @@ def run_module():
resource_type='ibm_api_gateway_endpoint_subscription',
tf_type='resource',
parameters=module.params,
ibm_provider_version='1.41.1',
ibm_provider_version='1.42.0',
tl_required_params=TL_REQUIRED_PARAMETERS,
tl_all_params=TL_ALL_PARAMETERS)

Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/ibm_api_gateway_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
description:
- Retrieve an IBM Cloud 'ibm_api_gateway' resource
requirements:
- IBM-Cloud terraform-provider-ibm v1.41.1
- IBM-Cloud terraform-provider-ibm v1.42.0
- Terraform v0.12.20
options:
Expand Down Expand Up @@ -112,7 +112,7 @@ def run_module():
resource_type='ibm_api_gateway',
tf_type='data',
parameters=module.params,
ibm_provider_version='1.41.1',
ibm_provider_version='1.42.0',
tl_required_params=TL_REQUIRED_PARAMETERS,
tl_all_params=TL_ALL_PARAMETERS)

Expand Down
Loading

0 comments on commit 6552ae6

Please sign in to comment.