-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- **Moving ./upstream to v5.54.1** - **Update patches** - **./scripts/tidy-all.sh** - **./script/patch_computed_only.sh** - **Add mod mappings for new resources** - **Regenerate SDK** - **Regenerate schema** closes #4084
- Loading branch information
1 parent
5f48e07
commit 9ecfa37
Showing
256 changed files
with
23,340 additions
and
1,523 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Florian Stadler <[email protected]> | ||
Date: Tue, 18 Jun 2024 10:24:51 +0200 | ||
Subject: [PATCH] Fix tags_all Computed for PF resources | ||
|
||
|
||
diff --git a/internal/service/appfabric/app_authorization.go b/internal/service/appfabric/app_authorization.go | ||
index 8b8f2091ec..9781507561 100644 | ||
--- a/internal/service/appfabric/app_authorization.go | ||
+++ b/internal/service/appfabric/app_authorization.go | ||
@@ -112,7 +112,7 @@ func (r *appAuthorizationResource) Schema(ctx context.Context, request resource. | ||
}, | ||
}, | ||
names.AttrTags: tftags.TagsAttribute(), | ||
- names.AttrTagsAll: tftags.TagsAttributeComputedOnly(), | ||
+ names.AttrTagsAll: tftags.TagsAttribute(), | ||
"updated_at": schema.StringAttribute{ | ||
CustomType: timetypes.RFC3339Type{}, | ||
Computed: true, | ||
diff --git a/internal/service/appfabric/app_bundle.go b/internal/service/appfabric/app_bundle.go | ||
index 98a55920b8..e1085f4cc4 100644 | ||
--- a/internal/service/appfabric/app_bundle.go | ||
+++ b/internal/service/appfabric/app_bundle.go | ||
@@ -58,7 +58,7 @@ func (r *appBundleResource) Schema(ctx context.Context, request resource.SchemaR | ||
}, | ||
names.AttrID: framework.IDAttribute(), | ||
names.AttrTags: tftags.TagsAttribute(), | ||
- names.AttrTagsAll: tftags.TagsAttributeComputedOnly(), | ||
+ names.AttrTagsAll: tftags.TagsAttribute(), | ||
}, | ||
} | ||
} | ||
diff --git a/internal/service/ec2/ec2_capacity_block_reservation.go b/internal/service/ec2/ec2_capacity_block_reservation.go | ||
index eecf8cf1a9..e27245f1fd 100644 | ||
--- a/internal/service/ec2/ec2_capacity_block_reservation.go | ||
+++ b/internal/service/ec2/ec2_capacity_block_reservation.go | ||
@@ -150,7 +150,7 @@ func (r *resourceCapacityBlockReservation) Schema(ctx context.Context, _ resourc | ||
}, | ||
}, | ||
names.AttrTags: tftags.TagsAttribute(), | ||
- names.AttrTagsAll: tftags.TagsAttributeComputedOnly(), | ||
+ names.AttrTagsAll: tftags.TagsAttribute(), | ||
"tenancy": schema.StringAttribute{ | ||
Computed: true, | ||
PlanModifiers: []planmodifier.String{ | ||
diff --git a/internal/service/fms/resource_set.go b/internal/service/fms/resource_set.go | ||
index 8722e6a2b6..09293cdecc 100644 | ||
--- a/internal/service/fms/resource_set.go | ||
+++ b/internal/service/fms/resource_set.go | ||
@@ -103,7 +103,7 @@ func (r *resourceResourceSet) Schema(ctx context.Context, req resource.SchemaReq | ||
names.AttrID: framework.IDAttribute(), | ||
names.AttrARN: framework.ARNAttributeComputedOnly(), | ||
names.AttrTags: tftags.TagsAttribute(), | ||
- names.AttrTagsAll: tftags.TagsAttributeComputedOnly(), | ||
+ names.AttrTagsAll: tftags.TagsAttribute(), | ||
}, | ||
Blocks: map[string]schema.Block{ | ||
"resource_set": resourceSetLNB, | ||
diff --git a/internal/service/guardduty/malware_protection_plan.go b/internal/service/guardduty/malware_protection_plan.go | ||
index efe2773748..c48b5ff4aa 100644 | ||
--- a/internal/service/guardduty/malware_protection_plan.go | ||
+++ b/internal/service/guardduty/malware_protection_plan.go | ||
@@ -88,7 +88,7 @@ func (r *resourceMalwareProtectionPlan) Schema(ctx context.Context, req resource | ||
Computed: true, | ||
}, | ||
names.AttrTags: tftags.TagsAttribute(), | ||
- names.AttrTagsAll: tftags.TagsAttributeComputedOnly(), | ||
+ names.AttrTagsAll: tftags.TagsAttribute(), | ||
}, | ||
Blocks: map[string]schema.Block{ | ||
"protected_resource": schema.ListNestedBlock{ |
Oops, something went wrong.