You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Terraform v0.12.20
provider.azurerm v1.44.0
Affected Resource(s)
azurerm_automation_schedule
Terraform Configuration Files
resource"azurerm_resource_group""example" {
name="tfex-automation-account"location="West Europe"
}
resource"azurerm_automation_account""example" {
name="tfex-automation-account"location=azurerm_resource_group.example.locationresource_group_name=azurerm_resource_group.example.namesku_name="Basic"
}
resource"azurerm_automation_schedule""example" {
name="tfex-automation-schedule"resource_group_name=azurerm_resource_group.example.nameautomation_account_name=azurerm_automation_account.example.namefrequency="Week"interval=1timezone="Central Europe Standard Time"start_time="2020-02-13T11:15:00+02:00"description="This is an example schedule"week_days=["Friday"]
}
Debug Output
Panic Output
Expected Behavior
Plan or apply should complete successfully subsequently after initial resource provisioning as start_time is a fixed value and it wasn't changed.
------------------------------------------------------------------------
No changes. Infrastructure is up-to-date.
This means that Terraform did not detect any differences between your
configuration and real physical resources that exist. As a result, no
actions need to be performed.
Actual Behavior
Error:"start_time" is "2020-02-13T11:15:00+02:00" and should be at least "5m0s" in the future
on main.tf line 13, in resource "azurerm_automation_schedule""example":13:resource"azurerm_automation_schedule""example" {
Steps to Reproduce
terraform init
Change start_time to +7-8 minutes from your current time
terraform apply
Wait for 3+ minutes to get into 5min barrier between specified start_time and your current time or wait for current time to get past start_time
terraform plan
Important Factoids
References
#0000
The text was updated successfully, but these errors were encountered:
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
locked and limited conversation to collaborators
Mar 30, 2020
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.12.20
Affected Resource(s)
azurerm_automation_schedule
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Plan or apply should complete successfully subsequently after initial resource provisioning as start_time is a fixed value and it wasn't changed.
Actual Behavior
Steps to Reproduce
terraform init
terraform apply
terraform plan
Important Factoids
References
The text was updated successfully, but these errors were encountered: