Skip to content

Commit

Permalink
Upstream v5.75.0 (#4732)
Browse files Browse the repository at this point in the history
Upgrade the upstream provider to v5.75.0

Fixes #4730

New functions:

ec2/getSpotDatafeedSubscription.getSpotDatafeedSubscription
  • Loading branch information
t0yv0 authored Nov 11, 2024
1 parent 2a6aef3 commit 848ed49
Show file tree
Hide file tree
Showing 180 changed files with 13,246 additions and 3,937 deletions.
516 changes: 258 additions & 258 deletions examples/go.mod

Large diffs are not rendered by default.

1,028 changes: 514 additions & 514 deletions examples/go.sum

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ Subject: [PATCH] Remove lakeformation catalog_resource default


diff --git a/internal/service/lakeformation/permissions.go b/internal/service/lakeformation/permissions.go
index 4ba6a90c17..58ad735363 100644
index 48ff32d5a5..06523ef2da 100644
--- a/internal/service/lakeformation/permissions.go
+++ b/internal/service/lakeformation/permissions.go
@@ -43,8 +43,8 @@ func ResourcePermissions() *schema.Resource {
@@ -44,8 +44,8 @@ func ResourcePermissions() *schema.Resource {
ValidateFunc: verify.ValidAccountID,
},
"catalog_resource": {
Expand Down
4 changes: 2 additions & 2 deletions patches/0027-Do-not-compute-tags_all-at-TF-level.patch
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ index 6ece15b4f4..89844a1233 100644
if request.Plan.Raw.IsNull() {
return
diff --git a/internal/provider/fwprovider/provider.go b/internal/provider/fwprovider/provider.go
index f175ebbf31..38b5b238ff 100644
index 5a04dc37de..13d23e89f7 100644
--- a/internal/provider/fwprovider/provider.go
+++ b/internal/provider/fwprovider/provider.go
@@ -431,8 +431,8 @@ func (p *fwprovider) Resources(ctx context.Context) []func() resource.Resource {
@@ -434,8 +434,8 @@ func (p *fwprovider) Resources(ctx context.Context) []func() resource.Resource {
continue
}
if v, ok := schemaResponse.Schema.Attributes[names.AttrTagsAll]; ok {
Expand Down
4 changes: 2 additions & 2 deletions patches/0031-DisableTagSchemaCheck-for-PF-provider.patch
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ Subject: [PATCH] DisableTagSchemaCheck for PF provider


diff --git a/internal/provider/fwprovider/provider.go b/internal/provider/fwprovider/provider.go
index 38b5b238ff..c1ffe2f355 100644
index 13d23e89f7..9735b9e20a 100644
--- a/internal/provider/fwprovider/provider.go
+++ b/internal/provider/fwprovider/provider.go
@@ -418,8 +418,7 @@ func (p *fwprovider) Resources(ctx context.Context) []func() resource.Resource {
@@ -421,8 +421,7 @@ func (p *fwprovider) Resources(ctx context.Context) []func() resource.Resource {
if v.Tags != nil {
// The resource has opted in to transparent tagging.
// Ensure that the schema look OK.
Expand Down
4 changes: 2 additions & 2 deletions patches/0033-Fail-fast-when-PF-resources-are-dropped.patch
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ Subject: [PATCH] Fail fast when PF resources are dropped


diff --git a/internal/provider/fwprovider/provider.go b/internal/provider/fwprovider/provider.go
index c1ffe2f355..5395503dde 100644
index 9735b9e20a..c8d0d9ed03 100644
--- a/internal/provider/fwprovider/provider.go
+++ b/internal/provider/fwprovider/provider.go
@@ -449,9 +449,8 @@ func (p *fwprovider) Resources(ctx context.Context) []func() resource.Resource {
@@ -452,9 +452,8 @@ func (p *fwprovider) Resources(ctx context.Context) []func() resource.Resource {
}

if err := errors.Join(errs...); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion patches/0058-Fix-tags_all-Computed-for-PF-resources.patch
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ index 976dba4ac1..648f2b5003 100644
"use_dedicated_replication_server": schema.BoolAttribute{
Required: true,
diff --git a/internal/service/elasticache/reserved_cache_node.go b/internal/service/elasticache/reserved_cache_node.go
index 9716af3eb1..aa4dd11e76 100644
index 4aa7fceca6..4ba20a47a7 100644
--- a/internal/service/elasticache/reserved_cache_node.go
+++ b/internal/service/elasticache/reserved_cache_node.go
@@ -111,7 +111,7 @@ func (r *resourceReservedCacheNode) Schema(ctx context.Context, request resource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,18 @@ Subject: [PATCH] Temporarily remove iam_role managed_policy_arn deprecation


diff --git a/internal/service/iam/role.go b/internal/service/iam/role.go
index d3719df1a8..e6171b295a 100644
index a2b746356e..e6171b295a 100644
--- a/internal/service/iam/role.go
+++ b/internal/service/iam/role.go
@@ -131,8 +131,6 @@ func resourceRole() *schema.Resource {
@@ -131,11 +131,6 @@ func resourceRole() *schema.Resource {
Type: schema.TypeSet,
Optional: true,
Computed: true,
- Deprecated: "The managed_policy_arns argument is deprecated. " +
- "Use the aws_iam_role_policy_attachments_exclusive resource instead.",
- "Use the aws_iam_role_policy_attachment resource instead. If Terraform should" +
- "exclusively manage all managed policy attachments (the current " +
- "behavior of this argument), use the aws_iam_role_policy_attachments_exclusive " +
- "resource as well.",
Elem: &schema.Schema{
Type: schema.TypeString,
ValidateFunc: verify.ValidARN,
19 changes: 19 additions & 0 deletions patches/0076-Patch-computed-only-tags-for-iot-billing_group.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Anton Tayanovskyy <[email protected]>
Date: Fri, 8 Nov 2024 13:45:27 -0500
Subject: [PATCH] Patch computed only tags for iot/billing_group


diff --git a/internal/service/iot/billing_group.go b/internal/service/iot/billing_group.go
index 90d64baff5..dd84f3acb3 100644
--- a/internal/service/iot/billing_group.go
+++ b/internal/service/iot/billing_group.go
@@ -75,7 +75,7 @@ func (r *resourceBillingGroup) Schema(ctx context.Context, request resource.Sche
},
},
names.AttrTags: tftags.TagsAttribute(),
- names.AttrTagsAll: tftags.TagsAttributeComputedOnly(),
+ names.AttrTagsAll: tftags.TagsAttribute(),
names.AttrVersion: schema.Int64Attribute{
Computed: true,
},
79 changes: 76 additions & 3 deletions provider/cmd/pulumi-resource-aws/bridge-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -3967,6 +3967,31 @@
"image_pull_secret": {
"maxItemsOne": false
},
"init_containers": {
"maxItemsOne": false,
"elem": {
"fields": {
"args": {
"maxItemsOne": false
},
"command": {
"maxItemsOne": false
},
"env": {
"maxItemsOne": false
},
"resources": {
"maxItemsOne": true
},
"security_context": {
"maxItemsOne": true
},
"volume_mounts": {
"maxItemsOne": false
}
}
}
},
"metadata": {
"maxItemsOne": true
},
Expand Down Expand Up @@ -11267,7 +11292,12 @@
},
"aws_eks_addon": {
"current": "aws:eks/addon:Addon",
"majorVersion": 6
"majorVersion": 6,
"fields": {
"pod_identity_association": {
"maxItemsOne": false
}
}
},
"aws_eks_cluster": {
"current": "aws:eks/cluster:Cluster",
Expand Down Expand Up @@ -223255,6 +223285,34 @@
}
}
},
"image_pull_secrets": {
"maxItemsOne": false
},
"init_containers": {
"maxItemsOne": false,
"elem": {
"fields": {
"args": {
"maxItemsOne": false
},
"command": {
"maxItemsOne": false
},
"env": {
"maxItemsOne": false
},
"resources": {
"maxItemsOne": false
},
"security_context": {
"maxItemsOne": false
},
"volume_mounts": {
"maxItemsOne": false
}
}
}
},
"metadata": {
"maxItemsOne": false
},
Expand Down Expand Up @@ -227260,7 +227318,12 @@
},
"aws_eks_addon": {
"current": "aws:eks/getAddon:getAddon",
"majorVersion": 6
"majorVersion": 6,
"fields": {
"pod_identity_association": {
"maxItemsOne": false
}
}
},
"aws_eks_addon_version": {
"current": "aws:eks/getAddonVersion:getAddonVersion",
Expand Down Expand Up @@ -274651,6 +274714,10 @@
"current": "aws:sns/getTopic:getTopic",
"majorVersion": 6
},
"aws_spot_datafeed_subscription": {
"current": "aws:ec2/getSpotDatafeedSubscription:getSpotDatafeedSubscription",
"majorVersion": 6
},
"aws_sqs_queue": {
"current": "aws:sqs/getQueue:getQueue",
"majorVersion": 6
Expand Down Expand Up @@ -275651,6 +275718,11 @@
},
"auto-settings": {
"resources": {
"aws_batch_job_definition": {
"maxItemsOneOverrides": {
"eks_properties.$.pod_properties.$.containers": true
}
},
"aws_eks_cluster": {
"maxItemsOneOverrides": {
"certificate_authority": true
Expand Down Expand Up @@ -276489,7 +276561,7 @@
"aws:inspector2/memberAssociation:MemberAssociation": 0,
"aws:inspector2/organizationConfiguration:OrganizationConfiguration": 0,
"aws:iot/authorizer:Authorizer": 0,
"aws:iot/billingGroup:BillingGroup": 0,
"aws:iot/billingGroup:BillingGroup": 1,
"aws:iot/caCertificate:CaCertificate": 0,
"aws:iot/certificate:Certificate": 0,
"aws:iot/domainConfiguration:DomainConfiguration": 0,
Expand Down Expand Up @@ -277367,6 +277439,7 @@
"aws:ec2/getSecurityGroup:getSecurityGroup": 0,
"aws:ec2/getSecurityGroups:getSecurityGroups": 0,
"aws:ec2/getSerialConsoleAccess:getSerialConsoleAccess": 0,
"aws:ec2/getSpotDatafeedSubscription:getSpotDatafeedSubscription": 1,
"aws:ec2/getSpotPrice:getSpotPrice": 0,
"aws:ec2/getSubnet:getSubnet": 0,
"aws:ec2/getSubnets:getSubnets": 0,
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit 848ed49

Please sign in to comment.