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
Description: "Upon application creation or update, wait for application health/sync status to be healthy/Synced, upon application deletion, wait for application to be removed, when set to true.",
31
+
Optional: true,
32
+
Default: false,
33
+
},
34
+
},
35
+
Timeouts: &schema.ResourceTimeout{
36
+
Create: schema.DefaultTimeout(5*time.Minute),
37
+
Update: schema.DefaultTimeout(5*time.Minute),
38
+
Delete: schema.DefaultTimeout(5*time.Minute),
26
39
},
27
40
}
28
41
}
@@ -78,6 +91,23 @@ func resourceArgoCDApplicationCreate(d *schema.ResourceData, meta interface{}) e
78
91
returnfmt.Errorf("something went wrong during application creation")
*`metadata` - (Required) Standard Kubernetes API service's metadata. For more info see the [Kubernetes reference](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata).
122
124
*`spec` - (Required) The application specification, the nested attributes are documented below.
125
+
*`wait` - (Optional) boolean, wait for application to be synced and healthy upon creation and updates, also waits for Kubernetes resources to be truly deleted upon deletion. Wait timeouts are controlled by Terraform Create, Update and Delete resource timeouts (all default to 5 minutes). Default is `false`.
123
126
124
127
The `metadata` block can have the following attributes:
0 commit comments