-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: Add configuration for waiting for environment to finish deploy…
…ment (#273) * feat: allow env0_environment creation to be synchronous This commit adds a new "wait" parameter to the env0_environment resource. If this parameter is set to true, the resource waits for the environment's latest deployment to hit a terminal state. This allows multiple environments to be chained together with terraform dependencies to deploy environments in a specific order. The parameter defaults to false to preserve existing behaviour * Update docs * PR comments + add integration test * Update docs * Fix ACK vs FULLY_DEPLOYED * Fetch specific deployment status, instead of latestDeploymentLog status * Fix destroy test mock * Add tests * Fix create environment mock * Fix configuration variable mock in tests * Fix wait_for failure test * Remove unnecessary mock on failure * Go back to using revision, using name in data using id is flaky * Fix wait_for docs * Remove comments * go fmt * Add logs for deployment polling Co-authored-by: Jack Stone <[email protected]> Co-authored-by: update generated docs action <[email protected]>
- Loading branch information
1 parent
e5a303b
commit 2e045e5
Showing
8 changed files
with
1,143 additions
and
748 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.