-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/basic structure #5
base: master
Are you sure you want to change the base?
Conversation
atlantis plan |
Ran Plan for 4 projects:
1. dir:
|
atlantis apply -d live/dev/iam |
Ran Apply for dir: Apply Error Show Output
|
Ran Plan for 4 projects:
1. dir:
|
atlantis apply -d live/dev/iam |
Ran Apply for dir: Apply Error Show Output
|
Ran Plan for 4 projects:
1. dir:
|
atlantis apply -d live/dev/iam |
Ran Apply for dir: Apply Error Show Output
|
Ran Plan for 4 projects:
1. dir:
|
atlantis apply -d live/dev/iam |
Ran Apply for dir: Show Output[terragrunt] 2020/01/15 11:35:03 Reading Terragrunt config file at /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/dev/iam/terragrunt.hcl
[terragrunt] [/home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/dev/iam] 2020/01/15 11:35:03 Running command: terraform --version
[terragrunt] 2020/01/15 11:35:03 WARNING: no double-slash (//) found in source URL /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/modules/TargetAccountIAM. Relative paths in downloaded Terraform code may not work.
[terragrunt] 2020/01/15 11:35:03 Downloading Terraform configurations from file:///home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/modules/TargetAccountIAM into /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/dev/iam/.terragrunt-cache/Xy-zeOLGaIRQY9AskDQBqbX56S0/5JFf6YeMRgVcCyDSvcUei6uwt-Y
[terragrunt] 2020/01/15 11:35:03 Copying files from /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/dev/iam into /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/dev/iam/.terragrunt-cache/Xy-zeOLGaIRQY9AskDQBqbX56S0/5JFf6YeMRgVcCyDSvcUei6uwt-Y
[terragrunt] 2020/01/15 11:35:03 Setting working directory to /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/dev/iam/.terragrunt-cache/Xy-zeOLGaIRQY9AskDQBqbX56S0/5JFf6YeMRgVcCyDSvcUei6uwt-Y
[terragrunt] 2020/01/15 11:35:03 Running command: terraform apply -no-color /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/dev/iam/default.tfplan
aws_iam_role.cross_account_role: Creating...
aws_iam_role.cross_account_role: Creation complete after 0s [id=the-role-name]
aws_iam_policy_attachment.exclusive_policy_attachment[1]: Creating...
aws_iam_policy_attachment.exclusive_policy_attachment[0]: Creating...
aws_iam_policy_attachment.exclusive_policy_attachment[1]: Creation complete after 2s [id=policy-2-name-policy]
aws_iam_policy_attachment.exclusive_policy_attachment[0]: Creation complete after 2s [id=policy-1-name-policy]
Warning: Interpolation-only expressions are deprecated
on main.tf line 56, in resource "aws_iam_policy" "policies":
56: count = "${length(var.policies)}"
Terraform 0.11 and earlier required all non-constant expressions to be
provided via interpolation syntax, but this pattern is now deprecated. To
silence this warning, remove the "${ sequence from the start and the }"
sequence from the end of this expression, leaving just the inner expression.
Template interpolation syntax is still used to construct strings from
expressions when the template includes multiple interpolation sequences or a
mixture of literal strings and interpolations. This deprecation applies only
to templates that consist entirely of a single interpolation sequence.
(and 4 more similar warnings elsewhere)
Warning: Quoted type constraints are deprecated
on vars.tf line 51, in variable "tags":
51: type = "map"
Terraform 0.11 and earlier required type constraints to be given in quotes,
but that form is now deprecated and will be removed in a future version of
Terraform. To silence this warning, remove the quotes around "map" and write
map(string) instead to explicitly indicate that the map elements are strings.
(and one more similar warning elsewhere)
Apply complete! Resources: 3 added, 0 changed, 0 destroyed.
Outputs:
assumer_account_id = 711433298525
assumer_account_role_arn = arn:aws:iam::711433298525:role/AssumeRole
assumer_account_role_name = AssumeRole
assumer_account_role_path = /
cross_account_exclusive_policy_attachment_ids = [
[
"policy-1-name-policy",
"policy-2-name-policy",
],
]
cross_account_exclusive_policy_attachment_names = [
[
"policy-1-name-policy",
"policy-2-name-policy",
],
]
cross_account_exclusive_policy_attachment_policy_arns = [
[
"arn:aws:iam::711433298525:policy/policy-1-name",
"arn:aws:iam::711433298525:policy/policy-2-name",
],
]
cross_account_exclusive_policy_attachment_role_names = [
[
[
"the-role-name",
],
[
"the-role-name",
],
],
]
cross_account_imperative_policy_attachment_ids = [
[],
]
cross_account_imperative_policy_attachment_names = [
[],
]
cross_account_imperative_policy_attachment_policy_arns = [
[],
]
cross_account_imperative_policy_attachment_role_names = [
[],
]
cross_account_policy_arns = [
[
"arn:aws:iam::711433298525:policy/policy-1-name",
"arn:aws:iam::711433298525:policy/policy-2-name",
],
]
cross_account_policy_ids = [
[
"arn:aws:iam::711433298525:policy/policy-1-name",
"arn:aws:iam::711433298525:policy/policy-2-name",
],
]
cross_account_policy_names = [
[
"policy-1-name",
"policy-2-name",
],
]
cross_account_policy_paths = [
[
"/",
"/",
],
]
cross_account_policy_policies = [
[
"{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Effect\": \"Allow\",\n \"Action\": \"*\",\n \"Resource\": \"*\"\n }\n ]\n}",
"{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Effect\": \"Allow\",\n \"Action\": \"*\",\n \"Resource\": \"*\"\n }\n ]\n}",
],
]
cross_account_role_arn = arn:aws:iam::711433298525:role/engineering/admin/the-role-name
cross_account_role_assume_role_policy = {"Version":"2012-10-17","Statement":[{"Sid":"","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::711433298525:role/AssumeRole"},"Action":"sts:AssumeRole"}]}
cross_account_role_force_detach_policies = true
cross_account_role_id = AROA2LJF2UJO6JHXFCHT4
cross_account_role_name = the-role-name
cross_account_role_path = /engineering/admin/
cross_account_role_session_duration = 36000
|
Ran Plan for 4 projects:
1. dir:
|
Ran Plan for 4 projects:
1. dir:
|
atlantis apply -d live/atlantis/iam |
Ran Apply for dir: Show Output[terragrunt] 2020/01/15 11:44:32 Reading Terragrunt config file at /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/atlantis/iam/terragrunt.hcl
[terragrunt] [/home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/atlantis/iam] 2020/01/15 11:44:32 Running command: terraform --version
[terragrunt] 2020/01/15 11:44:32 WARNING: no double-slash (//) found in source URL /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/modules/EmptyModule. Relative paths in downloaded Terraform code may not work.
[terragrunt] 2020/01/15 11:44:32 Downloading Terraform configurations from file:///home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/modules/EmptyModule into /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/atlantis/iam/.terragrunt-cache/jQBwtsobTorzVoBLUmFAkQ4nWcw/4_nKPqJI-HbzDjYmZKOgdTnB2jw
[terragrunt] 2020/01/15 11:44:32 Copying files from /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/atlantis/iam into /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/atlantis/iam/.terragrunt-cache/jQBwtsobTorzVoBLUmFAkQ4nWcw/4_nKPqJI-HbzDjYmZKOgdTnB2jw
[terragrunt] 2020/01/15 11:44:32 Setting working directory to /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/atlantis/iam/.terragrunt-cache/jQBwtsobTorzVoBLUmFAkQ4nWcw/4_nKPqJI-HbzDjYmZKOgdTnB2jw
[terragrunt] 2020/01/15 11:44:32 Running command: terraform apply -no-color /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/atlantis/iam/default.tfplan
aws_iam_policy_attachment.exclusive_policy_attachment[1]: Destroying... [id=policy-2-name-policy]
aws_iam_policy_attachment.exclusive_policy_attachment[0]: Destroying... [id=policy-1-name-policy]
aws_iam_policy_attachment.exclusive_policy_attachment[1]: Destruction complete after 0s
aws_iam_policy_attachment.exclusive_policy_attachment[0]: Destruction complete after 0s
aws_iam_policy.policies[0]: Destroying... [id=arn:aws:iam::711433298525:policy/policy-1-name]
aws_iam_role.cross_account_role: Destroying... [id=the-role-name]
aws_iam_policy.policies[1]: Destroying... [id=arn:aws:iam::711433298525:policy/policy-2-name]
aws_iam_policy.policies[0]: Destruction complete after 1s
aws_iam_policy.policies[1]: Destruction complete after 1s
aws_iam_role.cross_account_role: Destruction complete after 2s
Apply complete! Resources: 0 added, 0 changed, 5 destroyed.
|
atlantis plan |
Ran Plan for 4 projects:
1. dir:
|
Ran Plan for 4 projects:
1. dir:
|
atlantis plan -d live/atlantis/iam |
Ran Plan for dir: Show Output[terragrunt] 2020/01/15 12:25:18 Reading Terragrunt config file at /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/atlantis/iam/terragrunt.hcl
[terragrunt] [/home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/atlantis/iam] 2020/01/15 12:25:18 Running command: terraform --version
[terragrunt] 2020/01/15 12:25:18 WARNING: no double-slash (//) found in source URL /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/modules/EmptyModule. Relative paths in downloaded Terraform code may not work.
[terragrunt] 2020/01/15 12:25:18 Downloading Terraform configurations from file:///home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/modules/EmptyModule into /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/atlantis/iam/.terragrunt-cache/jQBwtsobTorzVoBLUmFAkQ4nWcw/4_nKPqJI-HbzDjYmZKOgdTnB2jw
[terragrunt] 2020/01/15 12:25:18 Copying files from /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/atlantis/iam into /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/atlantis/iam/.terragrunt-cache/jQBwtsobTorzVoBLUmFAkQ4nWcw/4_nKPqJI-HbzDjYmZKOgdTnB2jw
[terragrunt] 2020/01/15 12:25:18 Setting working directory to /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/atlantis/iam/.terragrunt-cache/jQBwtsobTorzVoBLUmFAkQ4nWcw/4_nKPqJI-HbzDjYmZKOgdTnB2jw
[terragrunt] 2020/01/15 12:25:18 Running command: terraform plan -no-color -out /home/ubuntu/.atlantis/repos/vaibhav-walke/terragrunt/5/default/live/atlantis/iam/default.tfplan
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.
------------------------------------------------------------------------
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.
|
atlantis plan |
Ran Plan for 4 projects:
1. dir:
|
No description provided.