Skip to content
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

Fix IMDSv2 test to allow /tmp to be immutable #4673

Merged
merged 2 commits into from
Oct 28, 2024
Merged

Conversation

t0yv0
Copy link
Member

@t0yv0 t0yv0 commented Oct 26, 2024

The IMDSv2 test provisions a RC of the pulumi-aws-provider inside an AWS test account and checks if it can authenticate. Unfortunately something changed in the cloud that no longer permits unix programs to make changes to /tmp. The test relied to this for no good reason; the updated version creates a dedicated folder /home/ec2-user/repro to perform the check.

Fixes #4670

This was referenced Oct 26, 2024
@@ -94,7 +94,7 @@ resources:
bucket: ${upload-bucket.id}
key: pulumi-resource-aws
source:
fn::FileAsset: ${localProviderBuild}
fn::fileAsset: ${localProviderBuild}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removes a warning; the older form is obsolete.

Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Maintainer note: consult the runbook for dealing with any breaking changes.

@t0yv0 t0yv0 merged commit 804f14f into master Oct 28, 2024
33 checks passed
@t0yv0 t0yv0 deleted the t0yv0/fix-imds-test branch October 28, 2024 13:25
@pulumi-bot
Copy link
Contributor

This PR has been shipped in release v6.57.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TestIMDSAuth started failing
4 participants