-
Notifications
You must be signed in to change notification settings - Fork 10
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: terraform source control block #2160
Conversation
4de1dcc
to
d71e3b1
Compare
we don't want Azure continuous deployment / webhooks
it seems like Deployment Center is stuck with pending changes
d71e3b1
to
f7951f7
Compare
|
app_id = azurerm_linux_web_app.main.id | ||
repo_url = "https://github.com/cal-itp/benefits" | ||
branch = local.env_name | ||
use_manual_integration = true |
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.
Hopefully this was the missing piece
I just deleted the webhook shown above, and I'm going to merge. 🤞 that the webhook is not created and this change is reflected correctly in the Azure UI. |
The
|
After deleting all of the Azure Webhooks in this git repo, we saw one show up for the
dev
app:(I disabled this webhook for working on this PR, we should delete it before merging to ensure Azure doesn't re-create).
It seems like this was created because the Azure Deployment Center settings didn't take for GitHub Actions with the old Container Registry still being selected with unsaved pending state.
Now that we know the Terraform state is aligned, this PR introduces some changes to hopefully get the UI where we want.
use_manual_integration = true
, from the default offalse
. The docs say: Set tofalse
to enable continuous integration, such as webhooks into online repos such as GitHub. Defaults tofalse
. Changing this forces a new resource to be created.github_action_configuration
block with acontainer_configuration
block.