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

d/app_service_environment: support for location #6532

Closed
ps-selliott opened this issue Apr 17, 2020 · 1 comment · Fixed by #6538
Closed

d/app_service_environment: support for location #6532

ps-selliott opened this issue Apr 17, 2020 · 1 comment · Fixed by #6538

Comments

@ps-selliott
Copy link

ps-selliott commented Apr 17, 2020

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform (and AzureRM Provider) Version

  • v0.12.24

Description

Receiving an error when trying to access the location attribute reference. I am able to access id without issue, but receive an error when trying to access location and other attribute references listed in the documentation for azurerm_app_service_environment.

Affected Resource(s)

  • azurerm_app_service_environment

Example Configuration Files

data "azurerm_app_service_environment" "example" {
  name                = "example-ase"
  resource_group_name = "example-rg"
}

output "app_service_environment_example_id" {
  value = data.azurerm_app_service_environment.example.id
}

output "app_service_environment_example_location" {
  value = data.azurerm_app_service_environment.example.location
}

Expected Behavior

data.azurerm_app_service_environment.example.id should resolve to the id of the ASE

data.azurerm_app_service_environment.example.location should resolve to the location of the existing ASE

Actual Behavior

data.azurerm_app_service_environment.example.idproperly resolves to the id of the ASE

data.azurerm_app_service_environment.example.location throws an error stating location does not exist.

Error: Unsupported attribute

  on main.tf line 22, in output "azurerm_app_service_environment_location":
  22:   value = data.azurerm_app_service_environment.example.location

This object has no argument, nested block, or exported attribute named
"location".

References

@tombuildsstuff tombuildsstuff changed the title Attribute References not resolving for azurerm_app_service_environment d/app_service_environment: support for location Apr 18, 2020
@tracypholmes tracypholmes linked a pull request Apr 20, 2020 that will close this issue
@ghost
Copy link

ghost commented May 21, 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 👉 [email protected]. Thanks!

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

Successfully merging a pull request may close this issue.

2 participants