mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-03 01:01:06 +00:00
Merge pull request #561 from terraform-providers/f-compute-vpn-tunnel-secret-sensitive
r/compute_vpn_tunnel: Mark 'shared_secret' as sensitive
This commit is contained in:
commit
96ac8255d1
@ -36,6 +36,7 @@ func resourceComputeVpnTunnel() *schema.Resource {
|
||||
"shared_secret": &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
Required: true,
|
||||
Sensitive: true,
|
||||
ForceNew: true,
|
||||
},
|
||||
|
||||
|
@ -11,6 +11,9 @@ description: |-
|
||||
Manages a VPN Tunnel to the GCE network. For more info, read the
|
||||
[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
|
||||
|
||||
```hcl
|
||||
|
Loading…
Reference in New Issue
Block a user