provider/aws: Mark password fields as sensitive (#13147)
This commit is contained in:
parent
55230c03df
commit
5db819d852
|
@ -48,6 +48,7 @@ func resourceAwsApiGatewayDomainName() *schema.Resource {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
ForceNew: true,
|
ForceNew: true,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
|
Sensitive: true,
|
||||||
ConflictsWith: []string{"certificate_arn"},
|
ConflictsWith: []string{"certificate_arn"},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -33,9 +33,10 @@ func resourceAwsDirectoryServiceDirectory() *schema.Resource {
|
||||||
ForceNew: true,
|
ForceNew: true,
|
||||||
},
|
},
|
||||||
"password": &schema.Schema{
|
"password": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Required: true,
|
Required: true,
|
||||||
ForceNew: true,
|
ForceNew: true,
|
||||||
|
Sensitive: true,
|
||||||
},
|
},
|
||||||
"size": &schema.Schema{
|
"size": &schema.Schema{
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
|
|
|
@ -150,8 +150,9 @@ func resourceAwsKinesisFirehoseDeliveryStream() *schema.Resource {
|
||||||
},
|
},
|
||||||
|
|
||||||
"password": {
|
"password": {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Required: true,
|
Required: true,
|
||||||
|
Sensitive: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"role_arn": {
|
"role_arn": {
|
||||||
|
|
|
@ -102,8 +102,9 @@ func resourceAwsOpsworksApplication() *schema.Resource {
|
||||||
},
|
},
|
||||||
|
|
||||||
"password": {
|
"password": {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
|
Sensitive: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"revision": {
|
"revision": {
|
||||||
|
@ -187,8 +188,9 @@ func resourceAwsOpsworksApplication() *schema.Resource {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"private_key": {
|
"private_key": {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Required: true,
|
Required: true,
|
||||||
|
Sensitive: true,
|
||||||
StateFunc: func(v interface{}) string {
|
StateFunc: func(v interface{}) string {
|
||||||
switch v.(type) {
|
switch v.(type) {
|
||||||
case string:
|
case string:
|
||||||
|
|
|
@ -111,8 +111,9 @@ func resourceAwsOpsworksStack() *schema.Resource {
|
||||||
},
|
},
|
||||||
|
|
||||||
"password": {
|
"password": {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Optional: true,
|
Optional: true,
|
||||||
|
Sensitive: true,
|
||||||
},
|
},
|
||||||
|
|
||||||
"revision": {
|
"revision": {
|
||||||
|
|
Loading…
Reference in New Issue