Change address purposes to strings (#4681) (#401)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2021-04-09 16:04:40 -07:00 committed by GitHub
parent a7b0e7ff87
commit eac6eddbe3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 26 deletions

View file

@ -86,14 +86,12 @@ options:
type: str
purpose:
description:
- 'The purpose of this resource, which can be one of the following values: * GCE_ENDPOINT
for addresses that are used by VM instances, alias IP ranges, internal load
balancers, and similar resources.'
- 'The purpose of this resource. Possible values include: * GCE_ENDPOINT for addresses
that are used by VM instances, alias IP ranges, internal load balancers, and
similar resources.'
- "* SHARED_LOADBALANCER_VIP for an address that can be used by multiple internal
load balancers."
- "* VPC_PEERING for addresses that are reserved for VPC peer networks."
- This should only be set when using an Internal address.
- 'Some valid choices include: "GCE_ENDPOINT", "VPC_PEERING", "SHARED_LOADBALANCER_VIP"'
required: false
type: str
network_tier:
@ -226,13 +224,12 @@ name:
type: str
purpose:
description:
- 'The purpose of this resource, which can be one of the following values: * GCE_ENDPOINT
for addresses that are used by VM instances, alias IP ranges, internal load balancers,
and similar resources.'
- 'The purpose of this resource. Possible values include: * GCE_ENDPOINT for addresses
that are used by VM instances, alias IP ranges, internal load balancers, and similar
resources.'
- "* SHARED_LOADBALANCER_VIP for an address that can be used by multiple internal
load balancers."
- "* VPC_PEERING for addresses that are reserved for VPC peer networks."
- This should only be set when using an Internal address.
returned: success
type: str
networkTier:

View file

@ -158,13 +158,12 @@ resources:
type: str
purpose:
description:
- 'The purpose of this resource, which can be one of the following values: *
GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges,
internal load balancers, and similar resources.'
- 'The purpose of this resource. Possible values include: * GCE_ENDPOINT for
addresses that are used by VM instances, alias IP ranges, internal load balancers,
and similar resources.'
- "* SHARED_LOADBALANCER_VIP for an address that can be used by multiple internal
load balancers."
- "* VPC_PEERING for addresses that are reserved for VPC peer networks."
- This should only be set when using an Internal address.
returned: success
type: str
networkTier:

View file

@ -93,11 +93,9 @@ options:
type: str
purpose:
description:
- The purpose of the resource. For global internal addresses it can be * VPC_PEERING
- for peer networks * PRIVATE_SERVICE_CONNECT - for ([Beta](U(https://terraform.io/docs/providers/google/guides/provider_versions.html))
only) Private Service Connect networks This should only be set when using an
Internal address.
- 'Some valid choices include: "VPC_PEERING", "PRIVATE_SERVICE_CONNECT"'
- 'The purpose of the resource. Possible values include: * VPC_PEERING - for peer
networks * PRIVATE_SERVICE_CONNECT - for ([Beta](U(https://terraform.io/docs/providers/google/guides/provider_versions.html))
only) Private Service Connect networks .'
required: false
type: str
network:
@ -234,10 +232,9 @@ addressType:
type: str
purpose:
description:
- The purpose of the resource. For global internal addresses it can be * VPC_PEERING
- for peer networks * PRIVATE_SERVICE_CONNECT - for ([Beta](U(https://terraform.io/docs/providers/google/guides/provider_versions.html))
only) Private Service Connect networks This should only be set when using an Internal
address.
- 'The purpose of the resource. Possible values include: * VPC_PEERING - for peer
networks * PRIVATE_SERVICE_CONNECT - for ([Beta](U(https://terraform.io/docs/providers/google/guides/provider_versions.html))
only) Private Service Connect networks .'
returned: success
type: str
network:

View file

@ -171,10 +171,9 @@ resources:
type: str
purpose:
description:
- The purpose of the resource. For global internal addresses it can be * VPC_PEERING
- for peer networks * PRIVATE_SERVICE_CONNECT - for ([Beta](U(https://terraform.io/docs/providers/google/guides/provider_versions.html))
only) Private Service Connect networks This should only be set when using
an Internal address.
- 'The purpose of the resource. Possible values include: * VPC_PEERING - for
peer networks * PRIVATE_SERVICE_CONNECT - for ([Beta](U(https://terraform.io/docs/providers/google/guides/provider_versions.html))
only) Private Service Connect networks .'
returned: success
type: str
network: