Skip to content

Commit

Permalink
azurerm_logic_app_standard - Add new computed attribute `auto_swap_…
Browse files Browse the repository at this point in the history
…slot_name` (#22525)
  • Loading branch information
magodo authored Jul 14, 2023
1 parent 8a095ec commit e151c3e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
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

0 comments on commit e151c3e

Please sign in to comment.