MitocGroup / terraform-aws-landing-zone

Terraform Module for AWS Landing Zone
https://registry.terraform.io/modules/MitocGroup/landing-zone/aws
Mozilla Public License 2.0
174 stars 112 forks source link

Issue 140 #143

Closed euliancom closed 4 years ago

euliancom commented 4 years ago

Description

Type of Changes

How Has This Been Tested?

root@DESKTOP-ECSQPB1:/mnt/c/Terrahub/terraform-aws-landing-zone# second_account run -i landing_zone_iam_policy
💡 THUB_TOKEN is not provided.
Project: terraform-aws-landing-zone
 └─ landing_zone_iam_policy
💡 'second_account run' action is executed for above list of components.
💡 [landing_zone_iam_policy] terraform init -no-color -force-copy -input=false .
[landing_zone_iam_policy]
Initializing the backend...
[landing_zone_iam_policy]
[landing_zone_iam_policy] Initializing provider plugins...
[landing_zone_iam_policy]
[landing_zone_iam_policy] The following providers do not have any version constraints in configuration,
so the latest version was installed.

To prevent automatic upgrades to new major versions that may contain breaking
[landing_zone_iam_policy] changes, it is recommended to add version = "..." constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.

* provider.aws: version = "~> 2.35"
* provider.template: version = "~> 2.1"

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
[landing_zone_iam_policy] 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.
💡 [landing_zone_iam_policy] terraform workspace list
[landing_zone_iam_policy] * default

💡 [landing_zone_iam_policy] terraform plan -no-color -var-file='/root/.second_account/cache/hcl/landing_zone_iam_policy_eef16dcf/default.tfvars' -var-file='/root/.second_account/cache/hcl/landing_zone_iam_policy_eef16dcf/default.tfvars' -out=/root/.second_account/cache/hcl/landing_zone_iam_policy_eef16dcf/terraform.tfplan -input=false
[landing_zone_iam_policy] Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.

[landing_zone_iam_policy] data.template_file.policy_second_account[1]: Refreshing state...
data.template_file.policy_first_account[1]: Refreshing state...
data.template_file.policy_second_account[0]: Refreshing state...
data.template_file.policy_second_account[2]: Refreshing state...
[landing_zone_iam_policy] data.template_file.policy_first_account[3]: Refreshing state...
data.template_file.policy_second_account[3]: Refreshing state...
data.template_file.policy[0]: Refreshing state...
data.template_file.policy_first_account[2]: Refreshing state...
data.template_file.policy_first_account[0]: Refreshing state...
data.template_file.policy[2]: Refreshing state...
data.template_file.policy[1]: Refreshing state...
data.template_file.policy[3]: Refreshing state...
data.template_file.policy_third_account[0]: Refreshing state...
data.template_file.policy_third_account[2]: Refreshing state...
[landing_zone_iam_policy] data.template_file.policy_third_account[1]: Refreshing state...
data.template_file.policy_third_account[3]: Refreshing state...
[landing_zone_iam_policy] aws_iam_policy.landing_zone_iam_policy[2]: Refreshing state... [id=arn:aws:iam::123456789012:policy/ServicePolicyForCodePipeline]
aws_iam_policy.landing_zone_iam_policy[3]: Refreshing state... [id=arn:aws:iam::123456789012:policy/ServicePolicyForS3Replication]
aws_iam_policy.landing_zone_iam_policy[1]: Refreshing state... [id=arn:aws:iam::123456789012:policy/ServicePolicyForCodeBuild]
aws_iam_policy.landing_zone_iam_policy[0]: Refreshing state... [id=arn:aws:iam::123456789012:policy/ServicePolicyForADroles]
[landing_zone_iam_policy] aws_iam_policy.landing_zone_iam_policy_third_account[1]: Refreshing state... [id=arn:aws:iam::123456789014:policy/ServicePolicyForCodeBuild]
aws_iam_policy.landing_zone_iam_policy_second_account[1]: Refreshing state... [id=arn:aws:iam::123456789013:policy/ServicePolicyForCodeBuild]
aws_iam_policy.landing_zone_iam_policy_second_account[0]: Refreshing state... [id=arn:aws:iam::123456789013:policy/ServicePolicyForADroles]
aws_iam_policy.landing_zone_iam_policy_second_account[2]: Refreshing state... [id=arn:aws:iam::123456789013:policy/ServicePolicyForCodePipeline]
aws_iam_policy.landing_zone_iam_policy_second_account[3]: Refreshing state... [id=arn:aws:iam::123456789013:policy/ServicePolicyForS3Replication]
[landing_zone_iam_policy] aws_iam_policy.landing_zone_iam_policy_third_account[2]: Refreshing state... [id=arn:aws:iam::123456789014:policy/ServicePolicyForCodePipeline]
[landing_zone_iam_policy] aws_iam_policy.landing_zone_iam_policy_third_account[3]: Refreshing state... [id=arn:aws:iam::123456789014:policy/ServicePolicyForS3Replication]
aws_iam_policy.landing_zone_iam_policy_first_account[0]: Refreshing state... [id=arn:aws:iam::123456789015:policy/ServicePolicyForADroles]
aws_iam_policy.landing_zone_iam_policy_third_account[0]: Refreshing state... [id=arn:aws:iam::123456789014:policy/ServicePolicyForADroles]
aws_iam_policy.landing_zone_iam_policy_first_account[2]: Refreshing state... [id=arn:aws:iam::123456789015:policy/ServicePolicyForCodePipeline]
aws_iam_policy.landing_zone_iam_policy_first_account[1]: Refreshing state... [id=arn:aws:iam::123456789015:policy/ServicePolicyForCodeBuild]
[landing_zone_iam_policy] aws_iam_policy.landing_zone_iam_policy_first_account[3]: Refreshing state... [id=arn:aws:iam::123456789015:policy/ServicePolicyForS3Replication]
[landing_zone_iam_policy]
------------------------------------------------------------------------
[landing_zone_iam_policy]
[landing_zone_iam_policy] No changes. Infrastructure is up-to-date.

This means that Terraform did not detect any differences between your
configuration and real physical resources that exist. As a result, no
actions need to be performed.
✅ Done

Test Configuration

Checklist: