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

Deprecated terraform cloud Variables API #76

Closed
johnfolly opened this issue Dec 19, 2022 · 0 comments · Fixed by #79
Closed

Deprecated terraform cloud Variables API #76

johnfolly opened this issue Dec 19, 2022 · 0 comments · Fixed by #79
Assignees
Labels
dependencies Related to external dependencies terraform cloud Affect terraform cloud command group

Comments

@johnfolly
Copy link
Contributor

johnfolly commented Dec 19, 2022

Deprecated terraform cloud Variables API

Message from hashicorp : The Variables API is deprecated and will be removed in a future release. All existing integrations with this API should transition to the Workspace Variables API.

See : https://developer.hashicorp.com/terraform/cloud-docs/api-docs/variables

We are currently using the terraform cloud Variables API to create terraform cloud Variables through Babylon in the babylon terraform-cloud workspace vars create command.

image

Suggestion :

    try:
        r = api.workspace_vars.create(workspace_id=workspace_id, payload=var_payload)
    except TFCHTTPUnprocessableEntity as _error:
@johnfolly johnfolly added terraform cloud Affect terraform cloud command group dependencies Related to external dependencies labels Dec 19, 2022
@neomatamune neomatamune linked a pull request Dec 19, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Related to external dependencies terraform cloud Affect terraform cloud command group
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants