Comments (2)
I'm definitely down with using the module's output variables to programmatically get at the role ARN when appropriate. To clarify the issue's description:
- It isn't a matter of the role name being unknown post-deploy, its a matter of the ARN not being known before invoking
terraform apply
. - Additionally, it is conceivable that the role ARN would change on subsequent deployments. For instance, if the cluster_name variable was modified.
That said, this issue was filed to ensure the idea wasn't completely misguided (and to abide by per the repo's contributing guidelines). I totally intend to try my hand at a PR for this fella! 😅
from terraform-aws-vault.
The module does return the IAM ARN info as output variables, so you shouldn't have to hard-code them: https://github.com/hashicorp/terraform-aws-vault/blob/master/modules/vault-cluster/outputs.tf#L21-L27.
That said, this feature would likely be useful for a number of reasons, so I'm in favor of it. It should be straightforward to add an iam_role_name
input variable, set to an empty string by default, and to name the IAM role using that variable if it's non-empty or var.name
otherwise.
PRs welcome!
from terraform-aws-vault.
Related Issues (20)
- Remove availability_zones from autoscaling group HOT 5
- DNS functionality failing HOT 1
- Vault service isn't registered in consul. UI not available via vault.service.consul HOT 13
- vault-examples-helper error HOT 4
- Packer build failed due to permission error HOT 4
- Example request: Best practice KMS usage for vault in AWS HOT 2
- No apt update in packer build? HOT 6
- When using S3 bucket for vault backend, can we destroy this module without destroying the bucket? HOT 1
- Add logging configuration to the ELB HOT 2
- Upgrading private vault cluster HOT 2
- Cannot install vault from latest 0.17 module on ARM
- Support gp3 for vault-cluster storage
- [Feature Request] add vault plugin setting
- KMS Key Creation for Vault auto unseal
- [Question] How can we renew Vault TLS certificates? HOT 1
- Make instance IAM role set-up optional
- sign-request script timeout
- Terraform Provider got updated and s3 bucket res changes exists HOT 1
- install-vault uses a deprecated method to install awscli v1. Should be v2 HOT 1
- Can AWS PCA be used to create the TLS certificates?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-vault.