This repository was archived by the owner on Jan 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 459
AWS IAM Policy for Vault AWS Auth method #71
Open
boldandbusted
wants to merge
25
commits into
hashicorp:master
Choose a base branch
from
boldandbusted:IAM_Policy_for_Vault_AWS_Auth_method
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
3323a71
Add ability to specify VPC.
boldandbusted 93339ed
Add non-default VPC support to vault-cluster-private example.
boldandbusted 6eee689
Merge to preserve S3 persistent storage capability, hopefully.
boldandbusted c624968
Create IAM Instance Profile Role policy to allow Vault AWS Auth full …
boldandbusted 03d8194
Remove duplicate vpc_id variable; set default to false for new enable…
boldandbusted 3eef292
Expose more variables from underlying modules.
boldandbusted 720adbf
Merge branch 'master' of https://github.com/hashicorp/terraform-aws-v…
boldandbusted 6cf8e19
Move variables to proper modules, set enable_EC2_IAM_Auth on vault-cl…
boldandbusted 7dc1638
Expose s3, and EC2 IAM role components to vault-cluster-private examp…
boldandbusted 8de0eab
Copy user-data-vault.sh from vault-s3-backend. (Should probably just …
boldandbusted c544ca3
Copy user-data-vault.sh from vault-s3-backend. (Should probably just …
boldandbusted 8893851
Specific local changes to packer build.
boldandbusted b4f4e31
Specify private subnets, using private_subnet_tags (see Terraform Reg…
boldandbusted ab63036
Re-add consul-server configuring section. Oops.
boldandbusted fdeb3e0
Filed https://github.com/hashicorp/vault/issues/4383, staying at 0.9.…
boldandbusted 17a02db
Merge with upstream master.
boldandbusted a268913
Merge with upstream origin.
boldandbusted 3b85902
Remove non-IAM-related work (S3 buckets and non-default VPCs.)
boldandbusted 932d711
Cleanup: run terraform fmt before PR. :)
boldandbusted 7512e42
*_EC2_IAM_Auth -> *_ec2_iam_auth, yay sed.
boldandbusted 199b04a
With suggestions by @brikis98, hopefully craft a clearer description.
boldandbusted 0f03108
Rename -> create_aws_auth_backend_iam_policies, per @brikis98 suggest…
boldandbusted 69e47eb
Add source for IAM policies.
boldandbusted dae9f4b
Merge branch 'master' of https://github.com/hashicorp/terraform-aws-v…
boldandbusted 471b5f5
Remove redundant '? 1 : 0' for boolean variables, per @brikis98 PR su…
boldandbusted File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Create IAM Instance Profile Role policy to allow Vault AWS Auth full …
…functionality, and enable by variable.
- Loading branch information
commit c624968626b949e40c7e68facca6638a75e5d717
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -175,3 +175,7 @@ variable "force_destroy_s3_bucket" { | |
| description = "If 'configure_s3_backend' is enabled and you set this to true, when you run terraform destroy, this tells Terraform to delete all the objects in the S3 bucket used for backend storage. You should NOT set this to true in production or you risk losing all your data! This property is only here so automated tests of this module can clean up after themselves. Only used if 'enable_s3_backend' is set to true." | ||
| default = false | ||
| } | ||
|
|
||
| variable "enable_EC2_IAM_Auth" { | ||
|
||
| description = "Configure IAM Instance Profile on Vault cluster members to permit the user to enable AWS Auth backend. Note that this does NOT actually enable the backend, but merely sets policys that will permit it to function as expected." | ||
| } | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use all lower case for resource and variable names.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done with latest commit, but I leave it to you to 'resolve', if you're satisfied. :)