Skip to content
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

vault_aws_auth_backend_role: Add bound_ec2_instance_id parameter #135

Merged

Conversation

JayH5
Copy link
Contributor

@JayH5 JayH5 commented May 30, 2018

Fixes GH-134

I've left the parameter as a string instead of a list, so that the fix for GH-92 can come after this and handle all the bind parameters at once.

@tyrannosaurus-becks tyrannosaurus-becks self-assigned this Sep 14, 2018
Copy link
Contributor

@tyrannosaurus-becks tyrannosaurus-becks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JayH5 thank you for contributing this code! I appreciate it!

It looks good, but unfortunately the acceptance tests aren't passing. I checked and there are also a lot of failures on master, so it's hard to pick apart, and the code you've added probably isn't causing any of them.

I can't merge this though until I'm sure. It'll probably be at least a couple weeks before I can try to fix the tests.

If you get an itch, feel free to take a pass at it! I'm testing by:

  • Running $ vault server -dev using the Vault 0.11.1 binary
  • Setting TF_ACC=1, VAULT_TOKEN=whatever, and VAULT_ADDR=http://localhost:8200
  • Running the tests in resource_aws_auth_backend_role_test.go

@tyrannosaurus-becks
Copy link
Contributor

Actually, #153 may fix them, I'll play with it and see.....

@tyrannosaurus-becks
Copy link
Contributor

@JayH5 would you be willing to merge in master? Then I could re-run the tests and see where they're landing. If they're passing, happy to approve and merge.

* Rework bound_ec2_instance_id to be a list type
@ghost ghost added the size/XS label Sep 25, 2018
@JayH5
Copy link
Contributor Author

JayH5 commented Sep 26, 2018

@tyrannosaurus-becks thanks 🙏, I've merged master.

Copy link
Contributor

@tyrannosaurus-becks tyrannosaurus-becks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JayH5 perfect! Thank you!

@tyrannosaurus-becks tyrannosaurus-becks merged commit 6294e33 into hashicorp:master Sep 26, 2018
@JayH5 JayH5 deleted the gh-134/bound_ec2_instance_id branch October 19, 2018 09:09
dandandy pushed a commit to dandandy/terraform-provider-vault that referenced this pull request Jun 17, 2021
…_instance_id

vault_aws_auth_backend_role: Add bound_ec2_instance_id parameter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vault_aws_auth_backend_role missing bound_ec2_instance_id parameter
2 participants