Comments (2)
Out of curiosity, what happens if you run terraform plan
directly with the exact same env vars and profile?
from terragrunt.
@brikis98 yes, it worked fine at the time (apologies - I should have mentioned).
This may be environmental (to me) as I have now managed to make it work by creating a completely new OS X profile. I'll mark this as closed again but if anybody else sees the issue in future please do raise a new issue.
For reference, https://www.terraform.io/docs/providers/aws/index.html mentions the following:
Shared Credentials file
You can use an AWS credentials file to specify your credentials. The default location is $HOME/.aws/credentials on Linux and OS X, or "%USERPROFILE%.aws\credentials" for Windows users. If we fail to detect credentials inline, or in the environment, Terraform will check this location. You can optionally specify a different location in the configuration by providing the shared_credentials_file attribute, or in the environment with the AWS_SHARED_CREDENTIALS_FILE variable. This method also supports a profile configuration and matching AWS_PROFILE environment variable:
Usage:
provider "aws" {
region = "us-west-2"
shared_credentials_file = "/Users/tf_user/.aws/creds"
profile = "customprofile"
}
from terragrunt.
Related Issues (20)
- Flaky TestTableTagging HOT 1
- Using provider caching with existing `.terraformrc` having `provider_installation` block defined. HOT 11
- Parallel terragrunt runs with provider cache conflict and fail HOT 2
- Unable to use Terraform modules stored in a private S3 bucket HOT 1
- 1Password CLI integration HOT 2
- Authentication Provider Command Does Not Work With Dependencies HOT 2
- Add a way to supply credentials for a third-party registry when using Terragrunt Provider Cache HOT 9
- Moving to `main` on 2024/09/03
- Terragrunt provider cache does not support relative URLs in GetPlatform HOT 1
- IMDSv1 errors when running terragrunt render-json in an EC2 environment without valid credentials HOT 3
- read_terragrunt_config not evaluating dependency blocks HOT 7
- Regression: Empty list [] as input to a nested list of objects is interpreted as null HOT 3
- Stacks HOT 9
- Bump OpenTofu Support to `v1.8.0`
- Terragrunt can't find outputs in dependency HOT 10
- Question about provider using locals when the local value is from SSM HOT 1
- Terragrunt run does not create local file in mac OS HOT 5
- Investigate: Avoid Starting Provider Cache Server When it Doesn't Help
- Moving Beyond Terraform 1.5.x HOT 5
- Question: How to use Terragrunt in CI/CD? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terragrunt.