CLEAResult / cr-azurerm_app_service

Terraform module for Azure App Service
MIT License
0 stars 0 forks source link

Need basic slot support #1

Closed mcdafydd closed 5 years ago

mcdafydd commented 5 years ago

Create an app service with one or more identical copies for the most common use case.

mcdafydd commented 5 years ago

Addressed in 53faf98.

Creates a slot with identical configuration of app_service.app[0]. No support yet for slots on app service instances with higher index numbers if var.num is greater than 0.

Note that go test will pass if run twice. Committing anyway as this seems to be related to a problem with the azuread group resources or provider, not with the slot changes.

Error shows up like this on the first run, but then passes on the second run:

TestTerraformServer 2019-07-24T20:17:12-05:00 command.go:121: TestTerraformServer 2019-07-24T20:17:12-05:00 command.go:121: Error: Provider produced inconsistent result after apply TestTerraformServer 2019-07-24T20:17:12-05:00 command.go:121: TestTerraformServer 2019-07-24T20:17:12-05:00 command.go:121: When applying changes to module.rg.azuread_group.reader, provider "azuread" TestTerraformServer 2019-07-24T20:17:12-05:00 command.go:121: produced an unexpected new value for was present, but now absent. TestTerraformServer 2019-07-24T20:17:12-05:00 command.go:121: TestTerraformServer 2019-07-24T20:17:12-05:00 command.go:121: This is a bug in the provider, which should be reported in the provider's own TestTerraformServer 2019-07-24T20:17:12-05:00 command.go:121: issue tracker. TestTerraformServer 2019-07-24T20:17:12-05:00 command.go:121: TestTerraformServer 2019-07-24T20:17:12-05:00 retry.go:77: Returning due to fatal error: FatalError{Underlying: exit status 1} --- FAIL: TestTerraformServer (114.73s) apply.go:13: FatalError{Underlying: exit status 1} FAIL exit status 1