Microsoft Teams and Slack services produce a Plan output after a successful apply
Starting with the GitLab.com release on March 3rd, 2023, and to be released with %15.10, a successful application of a configuration that includes a gitlab_service_microsoft_teams or a gitlab_service_slack resource will return a non-empty plan. The plan will say that the webhook value (on either resource) is currently "", and the value in the configuration is expected.
Example Configuration that produces a problem:
resource "gitlab_service_slack" "slack" {
project = "${gitlab_project.foo.id}"
webhook = "https://test.com"
}
Test Output:
resource_gitlab_service_slack_test.go:24: Step 1/10 error: Check failed: Check 2/2 error: gitlab_service_slack.slack: Attribute 'webhook' expected "https://test.com", got ""
Prior Description:
There was an issue identified within the nightly acceptance test run, please investigate the issue!
Workflow to tackle this issue:
- close if it's a duplicate (issues are still created every night).
- assign yourself if you are investigating this.
- change labels accordingly.
- add additional information, start a discussion or provide a fix.
Relevant Pipeline
https://gitlab.com/gitlab-org/terraform-provider-gitlab/-/pipelines/795915652
Edited by Patrick Rice