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

EKS token as data source #37

Merged
merged 2 commits into from
Apr 8, 2019
Merged

EKS token as data source #37

merged 2 commits into from
Apr 8, 2019

Conversation

yorinasub17
Copy link
Contributor

This introduces a new parameter to the eks token command that makes the command suitable for use as a terraform external data source. Specifically, this works around the limitation where the data source expects outputs to be in a flat map, encoded as JSON. The token output is in JSON, but the actual token data is nested in another map. Since we only need the actual token output and not the metadata in this mode of use, this command simply extracts out the token and puts it in a flat map of one attribute token_data.

@yorinasub17
Copy link
Contributor Author

Merging and releasing

@yorinasub17 yorinasub17 merged commit 02a4919 into master Apr 8, 2019
@yorinasub17 yorinasub17 deleted the yori-token-as-data-source branch April 8, 2019 15:05
@yorinasub17 yorinasub17 mentioned this pull request Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants