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

static-website-aws-typescript stale version of synced-folder causes AWS SSO Session issues #840

Open
PeterBaker0 opened this issue Oct 9, 2024 · 1 comment
Assignees
Labels
area/templates customer/feedback Feedback from customers impact/first-48 This bug is likely to be hit during a user's first 48 hours of product evaluation kind/bug Some behavior is incorrect or out of spec size/S Estimated effort to complete (1-2 days).

Comments

@PeterBaker0
Copy link

What happened?

As a new user to Pulumi, following https://www.pulumi.com/templates/static-website/aws/ resulted in the following package.json

{
    "name": "my-site",
    "devDependencies": {
        "@types/node": "^18",
        "typescript": "^5.0.0"
    },
    "dependencies": {
        "@pulumi/aws": "^6.0.2",
        "@pulumi/synced-folder": "^0.0.9",
        "@pulumi/pulumi": "^3.113.0"
    }
}

This stale version of synced-folder causes issues with AWS SSO profile - throwing an error similar to this fixed issue .

Upgrading the entry to

        "@pulumi/synced-folder": "^0.11.1",

Fixed the issue.

Example

Following the guide results in the generation of the above package.json. Then run pulumi up with an AWS config such as

[profile pulumiprofile]
output = json
region = ap-southeast-2
sso_account_id = <redacted>
sso_session = pulumisession
sso_role_name = IAMPowerUserAccess
sso_region = ap-southeast-2

[sso-session pulumisession]
sso_start_url = <redacted>
sso_region = ap-southeast-2
sso_registration_scopes = sso:account:access

And exporting the profile to use the above export AWS_PROFILE=pulumiprofile.

Output of pulumi about

I've already fixed the issue as identified above - I can't easily replicate it now the resources are deployed. If you need more information please let me know.

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@PeterBaker0 PeterBaker0 added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Oct 9, 2024
@thoward
Copy link
Contributor

thoward commented Oct 16, 2024

Thanks for this report, we really appreciate it. Fix in place in #845 .

@thoward thoward added customer/feedback Feedback from customers size/S Estimated effort to complete (1-2 days). area/templates impact/first-48 This bug is likely to be hit during a user's first 48 hours of product evaluation and removed needs-triage Needs attention from the triage team labels Oct 16, 2024
@thoward thoward self-assigned this Oct 16, 2024
@thoward thoward added this to the 0.111 milestone Oct 16, 2024
@mikhailshilkov mikhailshilkov modified the milestones: 0.111, 0.112 Oct 31, 2024
@mikhailshilkov mikhailshilkov removed this from the 0.112 milestone Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/templates customer/feedback Feedback from customers impact/first-48 This bug is likely to be hit during a user's first 48 hours of product evaluation kind/bug Some behavior is incorrect or out of spec size/S Estimated effort to complete (1-2 days).
Projects
None yet
Development

No branches or pull requests

3 participants