File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import (
15
15
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
16
16
"github.com/hashicorp/terraform-plugin-framework/types"
17
17
"github.com/mackerelio-labs/terraform-provider-mackerel/internal/mackerel"
18
+ "github.com/mackerelio-labs/terraform-provider-mackerel/internal/planmodifierutil"
18
19
)
19
20
20
21
var (
@@ -285,8 +286,6 @@ func schemaAWSIntegrationResource() schema.Schema {
285
286
Description : schemaAWSIntegrationSecretKeyDesc ,
286
287
Optional : true ,
287
288
Sensitive : true ,
288
- Computed : true ,
289
- Default : stringdefault .StaticString ("" ),
290
289
Validators : []validator.String {
291
290
// Secret access key cannot be set alone
292
291
stringvalidator .AlsoRequires (path .MatchRoot ("key" )),
@@ -301,6 +300,7 @@ func schemaAWSIntegrationResource() schema.Schema {
301
300
"external_id" : schema.StringAttribute {
302
301
Description : schemaAWSIntegrationExternalIDDesc ,
303
302
Optional : true ,
303
+ Sensitive : true ,
304
304
Computed : true ,
305
305
Default : stringdefault .StaticString ("" ),
306
306
Validators : []validator.String {
You can’t perform that action at this time.
0 commit comments