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

azurerm_cdn_frontdoor_secret data source error: Invalid address to set #24731

Closed
1 task done
will-faro opened this issue Jan 31, 2024 · 4 comments · Fixed by #26982
Closed
1 task done

azurerm_cdn_frontdoor_secret data source error: Invalid address to set #24731

will-faro opened this issue Jan 31, 2024 · 4 comments · Fixed by #26982

Comments

@will-faro
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

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 and review the contribution guide to help.

Terraform Version

1.7.2

AzureRM Provider Version

3.89.0

Affected Resource(s)/Data Source(s)

azurerm_cdn_frontdoor_secret

Terraform Configuration Files

data "azurerm_cdn_frontdoor_secret" "tls_cert_secret" {
  name                = var.frontdoor_cert_secret_name
  profile_name        = var.frontdoor_name
  resource_group_name = var.frontdoor_resource_group
}


### Debug Output/Panic Output

```shell
│ Error: setting 'secret': Invalid address to set: []string{"secret", "0", "expiration_date"}
│ 
│   with data.azurerm_cdn_frontdoor_secret.tls_cert_secret,
│   on main.tf line 34, in data "azurerm_cdn_frontdoor_secret" "tls_cert_secret":
│   34: data "azurerm_cdn_frontdoor_secret" "tls_cert_secret" {
│ 


### Expected Behaviour

Data source should fetch data without error

### Actual Behaviour

Error thrown, data source unusable.

### Steps to Reproduce

1. `terraform plan`

### Important Factoids

_No response_

### References

_No response_
@antonina-uglianets
Copy link

Hi @will-faro
I faced the same issue few days ago. Changing azurerm version to 3.57.0 helped me to fix it
azurerm = {
source = "hashicorp/azurerm"
version = "~> 3.57.0"
}

@OliDow
Copy link

OliDow commented May 15, 2024

Can confirm that downgrading from "3.103.1" to "3.57.0" removed the error but is hardly a fix :/

@qetza
Copy link
Contributor

qetza commented Aug 9, 2024

Any news on a fix in the newer version of the provider? It's getting difficult to stay on version "3.57.0" as we are missing new features.

Copy link

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 14, 2024
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.

5 participants