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
╷
│ Error: scaling_spec (hibernation) is only supported for is_development_mode set to true
│
│ with astro_deployment.main,
│ on main_astro.tf line 29, in resource "astro_deployment" "main":
│ 29: resource "astro_deployment" "main" {
│
│ Either set is_development_mode to true or remove scaling_spec
╵
Acceptance Criteria
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Hi, I'm facing the same problem. I did debug it quickly and looks like when validation is first called, both IsDevelopmentMode and ScalingSpec values are unknown. Probably adding a check for skipping validation if ScalingSpec is unknown would suffice, as subsequent validations will eventually have the value set.
Just adding !data.ScalingSpec.IsUnknown() check on
Description
I'm trying to create 2 astro deployments (dev and prod) using a variable
The behavior is the same when using a
for_each
loop on a set of stringSteps To Reproduce
Working ✅
Not working ❌
Output
Acceptance Criteria
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: