Skip to content

Commit 211ea46

Browse files
committed
Remove additional constants.
1 parent b3dc025 commit 211ea46

File tree

3 files changed

+8
-16
lines changed

3 files changed

+8
-16
lines changed

internal/service/bedrock/guardrail.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -226,30 +226,30 @@ func (r *guardrailResource) Schema(ctx context.Context, req resource.SchemaReque
226226
Required: true,
227227
CustomType: fwtypes.StringEnumType[awstypes.GuardrailSensitiveInformationAction](),
228228
},
229-
names.AttrInputAction: schema.StringAttribute{
229+
"input_action": schema.StringAttribute{
230230
Optional: true,
231231
Computed: true,
232232
CustomType: fwtypes.StringEnumType[awstypes.GuardrailSensitiveInformationAction](),
233233
PlanModifiers: []planmodifier.String{
234234
stringplanmodifier.UseStateForUnknown(),
235235
},
236236
},
237-
names.AttrInputEnabled: schema.BoolAttribute{
237+
"input_enabled": schema.BoolAttribute{
238238
Optional: true,
239239
Computed: true,
240240
PlanModifiers: []planmodifier.Bool{
241241
boolplanmodifier.UseStateForUnknown(),
242242
},
243243
},
244-
names.AttrOutputAction: schema.StringAttribute{
244+
"output_action": schema.StringAttribute{
245245
Optional: true,
246246
Computed: true,
247247
CustomType: fwtypes.StringEnumType[awstypes.GuardrailSensitiveInformationAction](),
248248
PlanModifiers: []planmodifier.String{
249249
stringplanmodifier.UseStateForUnknown(),
250250
},
251251
},
252-
names.AttrOutputEnabled: schema.BoolAttribute{
252+
"output_enabled": schema.BoolAttribute{
253253
Optional: true,
254254
Computed: true,
255255
PlanModifiers: []planmodifier.Bool{
@@ -281,15 +281,15 @@ func (r *guardrailResource) Schema(ctx context.Context, req resource.SchemaReque
281281
stringplanmodifier.UseStateForUnknown(),
282282
},
283283
},
284-
names.AttrInputAction: schema.StringAttribute{
284+
"input_action": schema.StringAttribute{
285285
Optional: true,
286286
Computed: true,
287287
CustomType: fwtypes.StringEnumType[awstypes.GuardrailSensitiveInformationAction](),
288288
PlanModifiers: []planmodifier.String{
289289
stringplanmodifier.UseStateForUnknown(),
290290
},
291291
},
292-
names.AttrInputEnabled: schema.BoolAttribute{
292+
"input_enabled": schema.BoolAttribute{
293293
Optional: true,
294294
Computed: true,
295295
PlanModifiers: []planmodifier.Bool{
@@ -302,15 +302,15 @@ func (r *guardrailResource) Schema(ctx context.Context, req resource.SchemaReque
302302
stringvalidator.LengthBetween(1, 100),
303303
},
304304
},
305-
names.AttrOutputAction: schema.StringAttribute{
305+
"output_action": schema.StringAttribute{
306306
Optional: true,
307307
Computed: true,
308308
CustomType: fwtypes.StringEnumType[awstypes.GuardrailSensitiveInformationAction](),
309309
PlanModifiers: []planmodifier.String{
310310
stringplanmodifier.UseStateForUnknown(),
311311
},
312312
},
313-
names.AttrOutputEnabled: schema.BoolAttribute{
313+
"output_enabled": schema.BoolAttribute{
314314
Optional: true,
315315
Computed: true,
316316
PlanModifiers: []planmodifier.Bool{

names/attr_constants.csv

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ iam_role_arn,IAMRoleARN
8989
id,ID
9090
identifier,Identifier
9191
ids,IDs
92-
input_action,InputAction
93-
input_enabled,InputEnabled
9492
instance_count,InstanceCount
9593
instance_id,InstanceID
9694
instance_type,InstanceType
@@ -129,8 +127,6 @@ network_interface_id,NetworkInterfaceID
129127
owner,Owner
130128
owner_account_id,OwnerAccountID
131129
owner_id,OwnerID
132-
output_action,OutputAction
133-
output_enabled,OutputEnabled
134130
parameter,Parameter
135131
parameter_group_name,ParameterGroupName
136132
parameters,Parameters

names/attr_consts_gen.go

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)