We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Terraform v1.8.5 on linux_amd64
azuread_application_password
resource "azuread_application_password" "app" { application_id = azuread_application.app.id display_name = "service connection" end_date_relative = "9504h" # 13 months rotate_when_changed = { rotation = time_rotating.rotation_period.id } }
The rotated password should have been created with an expiration date of 13 months.
The rotated password was created with an expiration date of 24 months.
terraform apply
applicationPasswordResourceCreate calls PasswordCredentialForResource, which parses end_date_relative, then calls PasswordCredential, which doesn't use end_date_relative, resulting in a default end_date of 24 months.
end_date_relative
end_date
Compare with the end date calculations done in KeyCredentialForResource.
The text was updated successfully, but these errors were encountered:
This appears to be a regression caused by #1389.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Community Note
Terraform (and AzureAD Provider) Version
Terraform v1.8.5
on linux_amd64
Affected Resource(s)
azuread_application_password
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
The rotated password should have been created with an expiration date of 13 months.
Actual Behavior
The rotated password was created with an expiration date of 24 months.
Steps to Reproduce
terraform apply
Important Factoids
References
applicationPasswordResourceCreate calls
PasswordCredentialForResource, which parses
end_date_relative
, then callsPasswordCredential, which doesn't use
end_date_relative
, resulting in a defaultend_date
of 24 months.Compare with the end date calculations done in KeyCredentialForResource.
The text was updated successfully, but these errors were encountered: