-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade terraform-provider-aws to v5.82.1 #4957
Conversation
Does the PR have any schema changes?Found 2 breaking changes: Types
New resources:
New functions:
Maintainer note: consult the runbook for dealing with any breaking changes. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4957 +/- ##
========================================
Coverage 24.41% 24.42%
========================================
Files 360 360
Lines 143270 143403 +133
========================================
+ Hits 34984 35023 +39
- Misses 108187 108281 +94
Partials 99 99 ☔ View full report in Codecov by Sentry. |
"aws:elasticache/replicationGroup:ReplicationGroup": That seems bad at a first glance. Checking why that happened |
hashicorp/terraform-provider-aws#40514 changed The |
We should rewrite that test to use nodejs (or yaml?) because they are not susceptible to this issue. Skipping for now, opened issue: #4958 |
Added override for ReplicationGroup |
@@ -317,3 +324,32 @@ func planEqual(t *testing.T, firstPlan, secondPlan string) bool { | |||
|
|||
return assert.Equal(t, firstPlanData, secondPlanData) | |||
} | |||
|
|||
func inPlacePulumiTest(t *testing.T, dir string, opts ...opttest.Option) *pulumitest.PulumiTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This allows us now to use an in-process provider for the tests. Which will also give us code coverage :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good but might want to be careful to not use this for production release verification in case there's accidentally some behavioral difference between the prod binary and this form of running the provider.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, before adopting this for all tests we should add some sort of flag/env variable to fall back to attaching the binary for releases
examples/examples_py_test.go
Outdated
@@ -179,6 +179,7 @@ func TestRegress2534(t *testing.T) { | |||
} | |||
|
|||
func TestRegress4457(t *testing.T) { | |||
t.Skipf("TODO[pulumi/pulumi-aws#4957]") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's happening here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah wait, just noticed I linked the PR and not the issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
corrected the link, thanks for noticing!
replicationGroupArn: ${replicationGroup.arn} | ||
resources: | ||
replicationGroup: | ||
type: aws:elasticache:ReplicationGroup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I think it fixes #4760 too |
This PR has been shipped in release v6.66.0. |
This PR was generated via
$ upgrade-provider pulumi/pulumi-aws --kind=provider --target-version=5.82.1
.New resources:
apigateway/domainNameAccessAssociation.DomainNameAccessAssociation
cloudfront/vpcOrigin.VpcOrigin
memorydb/multiRegionCluster.MultiRegionCluster
networkmanager/dxGatewayAttachment.DxGatewayAttachment
rds/clusterSnapshotCopy.ClusterSnapshotCopy
New functions:
servicecatalog/getAppregistryAttributeGroupAssociations.getAppregistryAttributeGroupAssociations
Fixes Upgrade terraform-provider-aws to v5.82.1 #4953
Fixes #4760