Upgrade pulumi-aws provider from v6 to v7 across all infrastructure projects#647
Merged
Upgrade pulumi-aws provider from v6 to v7 across all infrastructure projects#647
Conversation
…aining, and stricter typing
|
bdeadman
approved these changes
Feb 17, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Upgrades
pulumi-awsfrom v6 to v7 across all four infrastructure projects (app, backend, domain, interface). Also pinspulumi-awsxandpulumi-randomexplicitly where used.Changes
requirements.txt (all 4 projects)
pulumi-aws:>=6.0.2,<7.0.0->>=7.0.0,<8.0.0pulumi-awsx>=3.0.0,<4.0.0pin (app, backend, interface)pulumi-random>=4.0.0,<5.0.0pin (backend)Code fixes for v7 compatibility
backend/main.py
engine=cluster.engine(Output[str]) toengine=aws.rds.EngineType.AURORA_POSTGRESQLto satisfy stricter v7 enum typing onClusterInstanceapp/main.py & interface/main.py
aws.ec2.get_vpc()toaws.ec2.get_vpc_output()to properly handle Output-typed arguments from stack referencesaws.secretsmanager.get_secret_version()toaws.secretsmanager.get_secret_version_output()for the same reasondomain/main.py
create_recordstype annotation fromlist[CertificateDomainValidationOptionArgs]toSequence[CertificateDomainValidationOption]to match the v7 output type from.apply()resource_record_valueandresource_record_typefieldsDeployment notes
Per the v7 migration guide, the first deployment after upgrading should use
pulumi up --refresh --run-programto migrate state to be compatible with the new major version.