Skip to content

Commit

Permalink
Merge pull request #118 from jeremy-cxf/jeremy-sigsci-fix-attribute-s…
Browse files Browse the repository at this point in the history
…ensitivity

Set sensitive value at atttribute level to fix terraform destroy exposing sensitive values
  • Loading branch information
shawnps authored Feb 21, 2023
2 parents 76218f5 + 8f0fae4 commit 8746845
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions provider/resource_site.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func resourceSite() *schema.Resource {
Type: schema.TypeMap,
Description: "The sites primary Agent key",
Computed: true,
Sensitive: true,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"name": {
Expand All @@ -66,12 +67,10 @@ func resourceSite() *schema.Resource {
"secret_key": {
Type: schema.TypeString,
Computed: true,
Sensitive: true,
},
"access_key": {
Type: schema.TypeString,
Computed: true,
Sensitive: true,
},
},
},
Expand Down

0 comments on commit 8746845

Please sign in to comment.