Skip to content

Commit

Permalink
azurerm_logic_app_standard - Move the attribute `auto_swap_slot_nam…
Browse files Browse the repository at this point in the history
…e` under `site_config` (#22712)
  • Loading branch information
magodo authored Jul 27, 2023
1 parent 1062b0c commit 0669db6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
5 changes: 0 additions & 5 deletions internal/services/logic/logic_app_standard_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ func dataSourceLogicAppStandard() *pluginsdk.Resource {
},
},

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

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

"auto_swap_slot_name": {
Type: pluginsdk.TypeString,
Computed: true,
},
},
}
}
Expand Down Expand Up @@ -872,6 +867,11 @@ func schemaLogicAppStandardSiteConfig() *pluginsdk.Schema {
Optional: true,
Computed: true,
},

"auto_swap_slot_name": {
Type: pluginsdk.TypeString,
Computed: true,
},
},
},
}
Expand Down
2 changes: 0 additions & 2 deletions website/docs/d/logic_app_standard.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ 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
8 changes: 6 additions & 2 deletions website/docs/r/logic_app_standard.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,6 @@ 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 Expand Up @@ -332,6 +330,12 @@ The `site_credential` block exports the following:

* `password` - The password associated with the username, which can be used to publish to this App Service.

---

The `site_config` block exports the following:

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

## Timeouts

The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions:
Expand Down

0 comments on commit 0669db6

Please sign in to comment.