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

setting 'secret': Invalid address to set: []string{"secret", "0", "expiration_date"} #23245

Closed
1 task done
ppatelmunich opened this issue Sep 12, 2023 · 2 comments
Closed
1 task done

Comments

@ppatelmunich
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.3.6

AzureRM Provider Version

3.59.0

Affected Resource(s)/Data Source(s)

azurerm_cdn_frontdoor_secret

Terraform Configuration Files

#Front Door
data "azurerm_cdn_frontdoor_profile" "core" {
  name                = "fd-profile-${var.application_name}"
  resource_group_name = var.frontdoor_core.resource_group_name
}

data "azurerm_cdn_frontdoor_secret" "core" {
  name                = "dns-cert-${var.application_name}-secret"
  resource_group_name = var.frontdoor_core.resource_group_name
  profile_name        = data.azurerm_cdn_frontdoor_profile.core.name
}

Debug Output/Panic Output

n/a

Expected Behaviour

The command terraform plan should go through without any error and the azurerm_cdn_frontdoor_secret resources should be read with expiration_date exported

Actual Behaviour

│ Error: setting 'secret': Invalid address to set: []string{"secret", "0", "expiration_date"}
│ .....in data "azurerm_cdn_frontdoor_secret" "core":

Steps to Reproduce

terraform plan

Important Factoids

No response

References

#21945

@rcskosir
Copy link
Contributor

@ppatelmunich Thanks for taking the time to submit this issue. It looks like this is a duplicate of #22124. We like to try to keep discussions consolidated, so we’re going to close this new issue in favor of #22124.

Copy link

github-actions bot commented May 7, 2024

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 May 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants