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

Enhancement: post output as JSON to URL #28

Open
ghost opened this issue Nov 16, 2019 · 1 comment
Open

Enhancement: post output as JSON to URL #28

ghost opened this issue Nov 16, 2019 · 1 comment
Assignees

Comments

@ghost
Copy link

ghost commented Nov 16, 2019

This issue was originally opened by @MarcelT-NL as hashicorp/terraform#23389. It was migrated here as a result of the provider split. The original body of the issue is below.


Current Terraform Version

0.12.14

Use-cases

We need to run post-provisioning scripts in our CI/CD pipeline which takes the output of Terraform. It would be great if Terraform could post the output JSON to an https endpoint.

E.g. for output of generated:

  • Acme keys
  • IP addresses
  • etc

Attempted Solutions

None, we use the cloud solution at terraform.io. No post options there.

Proposal

Add a post_url to the output command, where the JSON output is sent to:

output "certificate_private_key" {
   ...
   post_url:   "https://<url>"
   ...
}

All output should be combined in one JSON and sent in one go.

@kayrus
Copy link

kayrus commented Dec 19, 2019

should be covered by #22

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

No branches or pull requests

2 participants