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

azurerm_logic_app_standard - Add new computed attribute auto_swap_slot_name #22525

Merged
merged 1 commit into from
Jul 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions internal/services/logic/logic_app_standard_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ func dataSourceLogicAppStandard() *pluginsdk.Resource {
},
},

"auto_swap_slot_name": {
Type: pluginsdk.TypeString,
Computed: true,
},

"use_extension_bundle": {
Type: pluginsdk.TypeBool,
Computed: true,
Expand Down
5 changes: 5 additions & 0 deletions internal/services/logic/logic_app_standard_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,11 @@ func resourceLogicAppStandard() *pluginsdk.Resource {
Optional: true,
ValidateFunc: commonids.ValidateSubnetID,
},

"auto_swap_slot_name": {
Type: pluginsdk.TypeString,
Computed: true,
},
},
}
}
Expand Down
2 changes: 2 additions & 0 deletions website/docs/d/logic_app_standard.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ The following attributes are exported:

* `identity` - An `identity` block as defined below.

* `auto_swap_slot_name` - The Auto-swap slot name.

---

The `identity` block exports the following:
Expand Down
2 changes: 2 additions & 0 deletions website/docs/r/logic_app_standard.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ In addition to the Arguments listed above - the following Attributes are exporte

* `id` - The ID of the Logic App

* `auto_swap_slot_name` - The Auto-swap slot name.

* `custom_domain_verification_id` - An identifier used by App Service to perform domain ownership verification via DNS TXT record.

* `default_hostname` - The default hostname associated with the Logic App - such as `mysite.azurewebsites.net`
Expand Down