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: changing variable scope #337

Merged
merged 2 commits into from
Apr 17, 2022
Merged

Conversation

TomerHeber
Copy link
Collaborator

Issue & Steps to Reproduce / Feature Request

fixes #332

Solution

Added ForceNew to project_id, template_id, and environment_id.

Copy link

@sabasabo sabasabo left a comment

Choose a reason for hiding this comment

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

LGTM

@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 17, 2022
},
"environment_id": {
Type: schema.TypeString,
Description: "create the variable under this environment, not globally",
Optional: true,
ConflictsWith: []string{"template_id", "project_id", "is_required", "is_read_only"},
ForceNew: true,
Copy link
Contributor

Choose a reason for hiding this comment

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

Please also apply this to the type attribute of the schema. API doesn't support changing an existing variable's type

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added.

@TomerHeber TomerHeber force-pushed the fix-changing-variable-scope-#332 branch from c7d99bf to 3a5c2f5 Compare April 17, 2022 13:49
@TomerHeber TomerHeber merged commit 94ac04b into main Apr 17, 2022
@TomerHeber TomerHeber deleted the fix-changing-variable-scope-#332 branch April 17, 2022 13:59
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.

Bug report : Changing variable scope
3 participants