Giter Site home page Giter Site logo

Comments (3)

ArchiFleKs avatar ArchiFleKs commented on May 19, 2024

Hi @zestrells What do we mean it staked together ? Yes in general I segment AWS account at the environment level. Personnaly I like to do:

terragrunt/live/account1/us-west-2
terragrunt/live/account1/us-east-1
terragrunt/live/account2/us-china
terragrunt/live/account3/us-gov

You can then make use of the terragrunt assume role ARN to switch between account if you have a root accountfor example with iam_role = "arn:aws:iam::${local.merged.aws_account_id}:role/github-action-iac-administrator" in each environment / account terragrunt.hcl here.

Hope that's clear

from teks.

zestrells avatar zestrells commented on May 19, 2024

Hi @ArchiFleKs , sorry to be pinging you so often. Did you have any troubles leveraging terragrunt in China? I am running into the following issue when first running terragrunt to create all components including s3 state backend from a cn-north-1 ec2 instance. We validated that our egress for our Security group is 0.0.0.0/0, so we are confused why this is arising or what the potential fix could be. Thank you for your help as always, we leveraged the suggestions you made above 😄

Initializing the backend...

Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.

Initializing provider plugins...
- Finding latest version of hashicorp/aws...
╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider
│ hashicorp/aws: could not connect to registry.terraform.io: Failed to
│ request discovery document: Get
│ "https://registry.terraform.io/.well-known/terraform.json": net/http: TLS
│ handshake timeout

from teks.

ArchiFleKs avatar ArchiFleKs commented on May 19, 2024

Hi @ArchiFleKs , sorry to be pinging you so often. Did you have any troubles leveraging terragrunt in China? I am running into the following issue when first running terragrunt to create all components including s3 state backend from a cn-north-1 ec2 instance. We validated that our egress for our Security group is 0.0.0.0/0, so we are confused why this is arising or what the potential fix could be. Thank you for your help as always, we leveraged the suggestions you made above 😄


Initializing the backend...



Successfully configured the backend "s3"! Terraform will automatically

use this backend unless the backend configuration changes.



Initializing provider plugins...

- Finding latest version of hashicorp/aws...

╷

│ Error: Failed to query available provider packages

│

│ Could not retrieve the list of available versions for provider

│ hashicorp/aws: could not connect to registry.terraform.io: Failed to

│ request discovery document: Get

│ "https://registry.terraform.io/.well-known/terraform.json": net/http: TLS

│ handshake timeout

Seems more a Terraform / Egress connection issue than related to Teks or this module IMO

from teks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.