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

Fix: sub_environment_configuration of environment is not passing work… #835

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

TomerHeber
Copy link
Collaborator

…space correctly

Issue & Steps to Reproduce / Feature Request

fixes #834

Solution

  1. Added workspace to the payload.
  2. Updated the tests.

@@ -884,6 +884,7 @@ func getCreatePayload(d *schema.ResourceData, apiClient client.ApiClientInterfac
deployPayload.SubEnvironments[subEnvironment.Alias] = client.SubEnvironment{
Revision: subEnvironment.Revision,
ConfigurationChanges: subEnvironment.Configuration,
Workspace: subEnvironment.Workspace,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the fix.
The rest is just testing changes to test some create and update scenarios related to workspace.

@yaronya yaronya merged commit 8ad1f6c into main Apr 25, 2024
8 checks passed
@yaronya yaronya deleted the fix-subenv-workspace-#834 branch April 25, 2024 14:11
@github-actions github-actions bot added ready to merge PR approved - can be merged once the PR owner is ready and removed pending final review labels Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix provider ready to merge PR approved - can be merged once the PR owner is ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sub_environment_configuration of environment is not passing workspace correctly on create
2 participants