Skip to content

Commit 75e1187

Browse files
djryanjhqhqhqhqhqhqhqhqhqhqhq
authored andcommitted
Docs: azurerm_static_web_app added note regarding unsettable repository_token when deploying using api_key (hashicorp#30140)
1 parent f7ac0e6 commit 75e1187

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

website/docs/r/static_web_app.html.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ The following arguments are supported:
5151

5252
* `app_settings` - (Optional) A key-value pair of App Settings.
5353

54+
~> **Note:** If using the `api_key` to deploy a Static Web App from a CI/CD pipeline or other source, `repository_branch` and `repository_url` will get updated in Azure, but it is not possible to set `repository_token` in that case. Use a `lifecycle` block to `ignore_changes` for `repository_branch` and`repository_url` if that is your deployment scenario.
55+
5456
* `repository_branch` - (Optional) Repository branch to use for the Static Web App. `repository_url` and `repository_token` must also be set.
5557

5658
* `repository_url` - (Optional) Repository URL to use for the Static Web App. `repository_branch` and `repository_token` must also be set.

0 commit comments

Comments
 (0)