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

App Service / Function Apps: support for updating #1125

Merged
merged 6 commits into from Apr 23, 2018

Conversation

tombuildsstuff
Copy link
Member

As part of SDKv15 it appears that Update support is now working; as such I've removed the ForceNew from the App Service / Function App resources.

We can verify this works as the update tests fail prior to the Update method being implemented:

$ acctests azurerm TestAccAzureRMAppService_tagsUpdate
=== RUN   TestAccAzureRMAppService_tagsUpdate
--- FAIL: TestAccAzureRMAppService_tagsUpdate (109.41s)
	testing.go:513: Step 1 error: Check failed: Check 2/4 error: azurerm_app_service.test: Attribute 'tags.%' expected "2", got "1"
FAIL
exit status 1
FAIL	github.com/terraform-providers/terraform-provider-azurerm/azurerm	109.444s

which subsequently pass:

$ acctests azurerm TestAccAzureRMAppService_tagsUpdate
=== RUN   TestAccAzureRMAppService_tagsUpdate
--- PASS: TestAccAzureRMAppService_tagsUpdate (144.13s)
PASS
ok  	github.com/terraform-providers/terraform-provider-azurerm/azurerm	144.156s

```
$ acctests azurerm TestAccAzureRMAppService_tagsUpdate
=== RUN   TestAccAzureRMAppService_tagsUpdate
--- FAIL: TestAccAzureRMAppService_tagsUpdate (109.41s)
	testing.go:513: Step 1 error: Check failed: Check 2/4 error: azurerm_app_service.test: Attribute 'tags.%' expected "2", got "1"
FAIL
exit status 1
FAIL	github.com/terraform-providers/terraform-provider-azurerm/azurerm	109.444s
```
```
$ acctests azurerm TestAccAzureRMAppService_tagsUpdate
=== RUN   TestAccAzureRMAppService_tagsUpdate
--- PASS: TestAccAzureRMAppService_tagsUpdate (144.13s)
PASS
ok  	github.com/terraform-providers/terraform-provider-azurerm/azurerm	144.156s
```
@tombuildsstuff
Copy link
Member Author

App Service tests pass:

screen shot 2018-04-17 at 12 33 47

@tombuildsstuff tombuildsstuff changed the title App Service / Function Apps: support for updating [WIP] App Service / Function Apps: support for updating Apr 19, 2018
@tombuildsstuff
Copy link
Member Author

WIP as I'm fixing an issue with the Function App tests

@tombuildsstuff tombuildsstuff self-assigned this Apr 19, 2018
@tombuildsstuff
Copy link
Member Author

Fixes #359

```
$ acctests azurerm TestAccAzureRMFunctionApp_siteConfigMulti
=== RUN   TestAccAzureRMFunctionApp_siteConfigMulti
--- PASS: TestAccAzureRMFunctionApp_siteConfigMulti (225.65s)
PASS
ok  	github.com/terraform-providers/terraform-provider-azurerm/azurerm	225.693s
```
@tombuildsstuff tombuildsstuff changed the title [WIP] App Service / Function Apps: support for updating App Service / Function Apps: support for updating Apr 23, 2018
@tombuildsstuff tombuildsstuff requested a review from a team April 23, 2018 11:29
@tombuildsstuff
Copy link
Member Author

Function App tests pass:

screen shot 2018-04-23 at 13 29 14

@tombuildsstuff tombuildsstuff added this to the 1.4.0 milestone Apr 23, 2018
Copy link
Contributor

@vancluever vancluever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ghost
Copy link

ghost commented Mar 31, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@hashicorp hashicorp locked and limited conversation to collaborators Mar 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants