Skip to content

Commit

Permalink
Generated with latest terraform provider 1.43.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kavya498 committed Jul 19, 2022
1 parent 6552ae6 commit 5e27559
Show file tree
Hide file tree
Showing 778 changed files with 24,962 additions and 10,470 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.42.0
- IBM-Cloud terraform-provider-ibm v1.43.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.42.0',
ibm_provider_version='1.43.0',
tl_required_params=TL_REQUIRED_PARAMETERS,
tl_all_params=TL_ALL_PARAMETERS)

Expand Down
58 changes: 29 additions & 29 deletions plugins/modules/ibm_api_gateway_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,43 +18,43 @@
- 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.42.0
- IBM-Cloud terraform-provider-ibm v1.43.0
- Terraform v0.12.20
options:
service_instance_crn:
description:
- (Required for new resource) Api Gateway Service Instance Crn
required: True
type: str
open_api_doc_name:
description:
- (Required for new resource) Json File path
required: True
type: str
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
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
routes:
description:
- Invokable routes for an endpoint
required: False
type: list
elements: str
managed:
description:
- Managed indicates if endpoint is online or offline.
required: False
type: bool
default: False
type:
description:
- Action type of Endpoint ALoowable values are share, unshare, manage, unmanage
Expand Down Expand Up @@ -107,19 +107,19 @@

# Top level parameter keys required by Terraform module
TL_REQUIRED_PARAMETERS = [
('service_instance_crn', 'str'),
('open_api_doc_name', 'str'),
('service_instance_crn', 'str'),
('name', 'str'),
]

# All top level parameter keys supported by Terraform module
TL_ALL_PARAMETERS = [
'service_instance_crn',
'open_api_doc_name',
'name',
'managed',
'provider_id',
'service_instance_crn',
'name',
'routes',
'managed',
'type',
]

Expand All @@ -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(
service_instance_crn=dict(
required=False,
type='str'),
open_api_doc_name=dict(
required=False,
type='str'),
name=dict(
provider_id=dict(
required=False,
type='str'),
managed=dict(
service_instance_crn=dict(
required=False,
type='bool'),
provider_id=dict(
type='str'),
name=dict(
required=False,
type='str'),
routes=dict(
required=False,
elements='',
type='list'),
managed=dict(
required=False,
type='bool'),
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.42.0',
ibm_provider_version='1.43.0',
tl_required_params=TL_REQUIRED_PARAMETERS,
tl_all_params=TL_ALL_PARAMETERS)

Expand Down
44 changes: 22 additions & 22 deletions plugins/modules/ibm_api_gateway_endpoint_subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,20 @@
- 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.42.0
- IBM-Cloud terraform-provider-ibm v1.43.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
required: False
type: str
generate_secret:
description:
- Indicates if Client Sercret has to be autogenerated
Expand All @@ -42,16 +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
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 @@ -98,19 +98,19 @@

# Top level parameter keys required by Terraform module
TL_REQUIRED_PARAMETERS = [
('type', 'str'),
('artifact_id', 'str'),
('name', 'str'),
('type', 'str'),
]

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

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

TL_CONFLICTS_MAP = {
'generate_secret': ['client_secret'],
'client_secret': ['generate_secret'],
'generate_secret': ['client_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(
type=dict(
required=False,
type='str'),
client_secret=dict(
required=False,
type='str'),
generate_secret=dict(
required=False,
type='bool'),
Expand All @@ -141,12 +147,6 @@
name=dict(
required=False,
type='str'),
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.42.0',
ibm_provider_version='1.43.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.42.0
- IBM-Cloud terraform-provider-ibm v1.43.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.42.0',
ibm_provider_version='1.43.0',
tl_required_params=TL_REQUIRED_PARAMETERS,
tl_all_params=TL_ALL_PARAMETERS)

Expand Down
Loading

0 comments on commit 5e27559

Please sign in to comment.