-
Notifications
You must be signed in to change notification settings - Fork 14
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 gitlab_project_id changes every apply #145
Conversation
@@ -243,7 +243,6 @@ func resourceTemplateRead(ctx context.Context, d *schema.ResourceData, meta inte | |||
d.Set("description", template.Description) | |||
d.Set("github_installation_id", template.GithubInstallationId) | |||
d.Set("token_id", template.TokenId) | |||
d.Set("gitlab_project_id", template.GitlabProjectId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we cover this with some test?
It feels like we aren't asserting that the value is set after create/update.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed 7ae0d91
f9f9cd3 fixed broken test |
@razbensimon looks like something is still broken here |
3fbecee
to
7ae0d91
Compare
@yaronya please rereview |
Issue & Steps to Reproduce / Feature Request
gitlab_project_id
always gets changed on TF apply.Solution
Set
call because this field doesn't exist on the blueprint