Skip to content

Commit 062baff

Browse files
authored
Merge pull request #343 from mkusaka/mark-channel-webhook-url-sensitive
Mark channel webhook URLs as sensitive
2 parents e1f6be3 + 0588e59 commit 062baff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/provider/resource_mackerel_channel.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ func schemaChannelResource() (schema.Schema, []resource.ConfigValidator) {
254254
"url": schema.StringAttribute{
255255
Description: schemaChannelSlack_URLDesc,
256256
Required: true,
257+
Sensitive: true,
257258
Validators: []validator.String{
258259
validatorutil.IsURLWithHTTPorHTTPS(),
259260
},
@@ -295,6 +296,7 @@ func schemaChannelResource() (schema.Schema, []resource.ConfigValidator) {
295296
"url": schema.StringAttribute{
296297
Description: schemaChannelWebhook_URLDesc,
297298
Required: true,
299+
Sensitive: true,
298300
Validators: []validator.String{
299301
validatorutil.IsURLWithHTTPorHTTPS(),
300302
},

0 commit comments

Comments
 (0)