mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-06 18:51:13 +00:00
r/compute_vpn_tunnel: Mark 'shared_secret' as sensitive
This commit is contained in:
parent
888df75f39
commit
0e5b4b0597
@ -34,9 +34,10 @@ func resourceComputeVpnTunnel() *schema.Resource {
|
|||||||
},
|
},
|
||||||
|
|
||||||
"shared_secret": &schema.Schema{
|
"shared_secret": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Required: true,
|
Required: true,
|
||||||
ForceNew: true,
|
Sensitive: true,
|
||||||
|
ForceNew: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"target_vpn_gateway": &schema.Schema{
|
"target_vpn_gateway": &schema.Schema{
|
||||||
|
@ -11,6 +11,9 @@ description: |-
|
|||||||
Manages a VPN Tunnel to the GCE network. For more info, read the
|
Manages a VPN Tunnel to the GCE network. For more info, read the
|
||||||
[documentation](https://cloud.google.com/compute/docs/vpn).
|
[documentation](https://cloud.google.com/compute/docs/vpn).
|
||||||
|
|
||||||
|
~> **Note:** All arguments including the `shared_secret` will be stored in the raw state as plain-text.
|
||||||
|
[Read more about sensitive data in state](/docs/state/sensitive-data.html).
|
||||||
|
|
||||||
## Example Usage
|
## Example Usage
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
|
Loading…
Reference in New Issue
Block a user