Skip to content

Commit 87cbc0c

Browse files
committed
chore: fix lint issues
1 parent 4fcaf13 commit 87cbc0c

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

internal/provider/env/aws/model.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -90,18 +90,18 @@ type AWSEnvIcebergModel struct {
9090
}
9191

9292
type AWSEnvIcebergCatalogModel struct {
93-
Name types.String `tfsdk:"name"`
94-
Type types.String `tfsdk:"type"`
95-
CustomS3Bucket types.String `tfsdk:"custom_s3_bucket"`
96-
CustomS3BucketPath types.String `tfsdk:"custom_s3_bucket_path"`
97-
CustomS3TableBucketARN types.String `tfsdk:"custom_s3_table_bucket_arn"`
98-
AWSRegion types.String `tfsdk:"aws_region"`
99-
AnonymousAccessEnabled types.Bool `tfsdk:"anonymous_access_enabled"`
93+
Name types.String `tfsdk:"name"`
94+
Type types.String `tfsdk:"type"`
95+
CustomS3Bucket types.String `tfsdk:"custom_s3_bucket"`
96+
CustomS3BucketPath types.String `tfsdk:"custom_s3_bucket_path"`
97+
CustomS3TableBucketARN types.String `tfsdk:"custom_s3_table_bucket_arn"`
98+
AWSRegion types.String `tfsdk:"aws_region"`
99+
AnonymousAccessEnabled types.Bool `tfsdk:"anonymous_access_enabled"`
100100
Maintenance *AWSEnvIcebergCatalogMaintenanceModel `tfsdk:"maintenance"`
101-
Watches []AWSEnvIcebergCatalogWatchModel `tfsdk:"watches"`
102-
RoleARN types.String `tfsdk:"role_arn"`
103-
AssumeRoleARNRW types.String `tfsdk:"assume_role_arn_rw"`
104-
AssumeRoleARNRO types.String `tfsdk:"assume_role_arn_ro"`
101+
Watches []AWSEnvIcebergCatalogWatchModel `tfsdk:"watches"`
102+
RoleARN types.String `tfsdk:"role_arn"`
103+
AssumeRoleARNRW types.String `tfsdk:"assume_role_arn_rw"`
104+
AssumeRoleARNRO types.String `tfsdk:"assume_role_arn_ro"`
105105
}
106106

107107
type AWSEnvIcebergCatalogMaintenanceModel struct {

internal/provider/env/aws/schema.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ func getIcebergAttribute(required, optional, computed bool) rschema.SingleNested
408408
MarkdownDescription: common.ICEBERG_CATALOG_TYPE_DESCRIPTION,
409409
Validators: []validator.String{
410410
stringvalidator.OneOf(
411-
string(types.StringValue("S3").ValueString()),
412-
string(types.StringValue("S3_TABLE").ValueString()),
411+
"S3",
412+
"S3_TABLE",
413413
),
414414
},
415415
},

0 commit comments

Comments
 (0)