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

env0_environment resource allows you to bypass "required" terraform variables #758

Open
away168 opened this issue Nov 28, 2023 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@away168
Copy link
Contributor

away168 commented Nov 28, 2023

Describe the bug
when using env0_environment resource with a required terraform variable in a workflow sub_environment

To Reproduce
Create a template with a variable marked as required.
Use the template in a workfllow
Create the workflow environment using env0_environment resource

Expected behavior
env0_environment should now allow a deployment.

Provider Version
1.16.0

Screenshots

CleanShot 2023-11-28 at 13 53 45

CleanShot 2023-11-28 at 13 54 16

Additional context

https://app.env0.com/p/6932f811-a7d0-4c8e-923c-3f2f285dacc3/environments/697b277a-95ca-425b-a42a-0fb984c67d00?tabname=deployment-logs

@away168 away168 added the bug Something isn't working label Nov 28, 2023
@TomerHeber
Copy link
Collaborator

@away168 - wouldn't this be an issue with API/product itself?
Could you describe in more detail what the provider is doing wrong? maybe a small sample?

Thank you!

@away168
Copy link
Contributor Author

away168 commented Nov 29, 2023

possibly an API / product issue - I don't really know.

The UI - will prevent the deployment because it sees a required variable.
So I guess it's being caught before the backend call. Need someone from RnD to help confirm.

@TomerHeber TomerHeber added the help wanted Extra attention is needed label Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants