Closed rodriguez-matias closed 1 year ago
💰 Infracost estimate: monthly cost will not change
Project | Previous | New | Diff |
All projects | $1,761 | $1,761 | $0 |
129 projects have no cost estimate changes.
This comment will be updated when the cost estimate changes.
[11:55:58.950] INFO Checking environment name definition in account.tfvars...
[11:55:58.958] INFO ✔ OK
[11:55:58.961] WARNING ‼ Account directory name does not match environment name.
Expected root, found management
[11:55:58.964] INFO Checking backend key...
[11:55:58.967] INFO Found: 'root/organizations/terraform.tfstate'
[11:55:58.969] INFO ✔ OK
[11:55:58.973] INFO Checking backend.tfvars:
[11:55:58.975] INFO Checking if profile starts with bb-root...
[11:55:58.978] INFO ✔ OK
[11:55:58.981] INFO Checking if bucket starts with bb-root...
[11:55:58.982] INFO ✔ OK
[11:55:58.985] INFO Checking if dynamodb table starts with bb-root...
[11:55:58.989] INFO ✔ OK
[14:56:01] INFO Attempting to get temporary credentials for root account.
[14:56:03] INFO Using already configured temporary credentials.
Initializing the backend...
Initializing provider plugins...
- Finding latest version of hashicorp/null...
- Finding hashicorp/aws versions matching "~> 4.0"...
- Installing hashicorp/null v3.2.1...
- Installed hashicorp/null v3.2.1 (signed by HashiCorp)
- Installing hashicorp/aws v4.67.0...
- Installed hashicorp/aws v4.67.0 (signed by HashiCorp)
Terraform has created a lock file .terraform.lock.hcl to record the provider
selections it made above. Include this file in your version control repository
so that Terraform can guarantee to make the same selections by default when
you run "terraform init" in the future.
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
[14:49:59] INFO Attempting to get temporary credentials for root account.
[14:50:01] INFO Using already configured temporary credentials.
null_resource.ram_enable_sharing_with_aws_organization: Refreshing state... [id=66666666666]
aws_organizations_policy.delete_protection: Refreshing state... [id=p-ffffffff]
aws_organizations_account.root: Refreshing state... [id=777777777777]
aws_organizations_organization.main: Refreshing state... [id=o-6666666]
aws_organizations_policy.standard: Refreshing state... [id=p-ggggggg]
aws_organizations_policy.default: Refreshing state... [id=p-5656556]
aws_organizations_organizational_unit.units["security"]: Refreshing state... [id=ou-xxxxxx-0r3x4pz3]
aws_organizations_organizational_unit.units["network"]: Refreshing state... [id=ou-xxxxx-xyr6h0er]
aws_organizations_organizational_unit.units["bbl_apps_devstg"]: Refreshing state... [id=ou-xxxxx-yl3npduj]
aws_organizations_organizational_unit.units["bbl_apps_prd"]: Refreshing state... [id=ou-xxxxxx-78mid8ji]
aws_organizations_organizational_unit.units["shared"]: Refreshing state... [id=ou-xxxxx-tbfuw3cz]
aws_organizations_account.accounts["shared"]: Refreshing state... [id=7777777777]
aws_organizations_policy_attachment.delete_protection["bbl_apps_devstg"]: Refreshing state... [id=ou-xxxxxx-yl3npduj:p-m6li7ssz]
aws_organizations_policy_attachment.delete_protection["bbl_apps_prd"]: Refreshing state... [id=ou-xxxxxxxxxx-78mid8ji:p-m6li7ssz]
aws_organizations_policy_attachment.policy_attachments["bbl_apps_devstg"]: Refreshing state... [id=ou-xxxxxxxxxx-yl3npduj:p-]
aws_organizations_account.accounts["apps-devstg"]: Refreshing state... [id=55555555555]
aws_organizations_account.accounts["apps-prd"]: Refreshing state... [id=88888888888]
aws_organizations_policy_attachment.delete_protection["network"]: Refreshing state... [id=ou-xxxxxxxxxx-:p-m6li7ssz]
aws_organizations_account.accounts["network"]: Refreshing state... [id=222222222]
aws_organizations_policy_attachment.delete_protection["shared"]: Refreshing state... [id=ou-xxxxxxxxxx-:p-m6li7ssz]
aws_organizations_account.accounts["security"]: Refreshing state... [id=9999999]
aws_organizations_policy_attachment.policy_attachments["bbl_apps_prd"]: Refreshing state... [id=ou-xxxxxxxxxx-78mid8ji:p-b85e42hx]
aws_organizations_policy_attachment.policy_attachments["network"]: Refreshing state... [id=ou-xxxxxxxxxx-xyr6h0er:p-up97og9o]
aws_organizations_policy_attachment.policy_attachments["security"]: Refreshing state... [id=ou-xxxxxxxxxx-0r3x4pz3:p-up97og9o]
aws_organizations_policy_attachment.policy_attachments["shared"]: Refreshing state... [id=ou-xxxxxxxxxx-tbfuw3cz:p-b85e42hx]
aws_organizations_policy.tag_protection: Refreshing state... [id=p-77777ggg]
aws_organizations_policy_attachment.tag_protection["bbl_apps_devstg"]: Refreshing state... [id=ou-xxxxxxxxxx-yl3npduj:p-7nyj6n2n]
aws_organizations_policy_attachment.tag_protection["bbl_apps_prd"]: Refreshing state... [id=ou-xxxxxxxxxx-:p-7nyj6n2n]
aws_organizations_policy_attachment.tag_protection["shared"]: Refreshing state... [id=ou-xxxxxxxxxx-tbfuw3cz:p-7nyj6n2n]
aws_organizations_policy_attachment.tag_protection["network"]: Refreshing state... [id=ou-xxxxxxxxxx-:p-7nyj6n2n]
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# aws_iam_service_linked_role.access_analyzer will be created
+ resource "aws_iam_service_linked_role" "access_analyzer" {
+ arn = (known after apply)
+ aws_service_name = "access-analyzer.amazonaws.com"
+ create_date = (known after apply)
+ id = (known after apply)
+ name = (known after apply)
+ path = (known after apply)
+ tags_all = (known after apply)
+ unique_id = (known after apply)
}
# aws_organizations_delegated_administrator.access_analyzer_administrator will be created
+ resource "aws_organizations_delegated_administrator" "access_analyzer_administrator" {
+ account_id = "9999999"
+ arn = (known after apply)
+ delegation_enabled_date = (known after apply)
+ email = (known after apply)
+ id = (known after apply)
+ joined_method = (known after apply)
+ joined_timestamp = (known after apply)
+ name = (known after apply)
+ service_principal = "access-analyzer.amazonaws.com"
+ status = (known after apply)
}
Plan: 2 to add, 0 to change, 0 to destroy.
What?
Update and test the Ref Architecture organization layer with the latest Landing Zone Template code.
Environment Versions
Layers
/management/global/organizations
Why?
References
GitHub issue https://github.com/binbashar/le-tf-infra-aws/issues/495