You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a module from 3rd party vendor. The source is a public S3 bucket, used as a HTTP repository.
The module is public: testing with curl and wget I can download it without credentials.
But using Terragrunt, I see the URL is resolved using the s3::https protocol, so it's failing asking for the credentials.
INFO[0000] Downloading Terraform configurations from s3::https://s3-us-east-2.amazonaws.com/wizio-public/deployment-v2/aws/wiz-aws-cloud-events-terraform-module.zip into /Users/marco/.terragrunt-cache/bj1DtPSzfD2L7xtoscLsClD9TJ4/J5rSBBFtvLMrstC7CVu_4ibhzvoERRO[0005] downloading source url s3::https://s3-us-east-2.amazonaws.com/wizio-public/deployment-v2/aws/wiz-aws-cloud-events-terraform-module.zip1 error occurred: * NoCredentialProviders: no valid providers in chaincaused by: EnvAccessKeyNotFound: AWS_ACCESS_KEY_ID or AWS_ACCESS_KEY not found in environmentSharedCredsAccessKey: shared credentials ... in /Users/marco/.aws/credentials did not contain aws_access_key_idEC2RoleRequestError: no EC2 instance role foundcaused by: RequestError: send request failed
As you can see, Terragrunt downloads the module using s3::https protocol.
Expected behavior
I'm expecting that Terragrunt download the module using the HTTPS protocol, instead of "redirecting" to s3::https protocol.
Versions
Terragrunt version: 0.58.3
Terraform version: 1.5.7
Environment details: laptop OSX darwin_arm64
Additional context
To apply the changes in AWS, i'm using the AWS SSO and the CLI profile, so I don't have neither the AWS_ACCESS_KEY_ID/AWS_ACCESS_KEY exported, nor the credentials file in ~/.aws/credentials
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm using a module from 3rd party vendor. The source is a public S3 bucket, used as a HTTP repository.
The module is public: testing with
curl
andwget
I can download it without credentials.But using Terragrunt, I see the URL is resolved using the
s3::https
protocol, so it's failing asking for the credentials.Steps To Reproduce
Here the code
When running the plan I get:
As you can see, Terragrunt downloads the module using
s3::https
protocol.Expected behavior
I'm expecting that Terragrunt download the module using the HTTPS protocol, instead of "redirecting" to
s3::https
protocol.Versions
Additional context
To apply the changes in AWS, i'm using the AWS SSO and the CLI profile, so I don't have neither the
AWS_ACCESS_KEY_ID
/AWS_ACCESS_KEY
exported, nor the credentials file in~/.aws/credentials
The text was updated successfully, but these errors were encountered: