-
Notifications
You must be signed in to change notification settings - Fork 914
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
Unsupported block type gke_backup_agent_config
with gke-cluster and autopilot
#705
Comments
gke_backup_agent_config
with gke-cluster and autopoia gke_backup_agent_config
with gke-cluster and autopilot
Seems like the As a quick workaround you can use |
Thanks, I have pulled #706 |
@intotecho the issue should be fixed in the master branch now. Thanks for the report! |
So this is a different problem. Let me take alook |
@intotecho I completely missed the second part of your original report. I think it should be fixed now, can you give it another try? |
I have pulled #707 with the same result. have the changes been pushed?
The plan includes
I see that the test module/gke-cluster passes, so not sure why I am stuck. |
can you try with |
No change. Even this fails if I modify gke-cluster/main.tf to force enabled=true
Same if I hard code it to false.
|
@intotecho we tried a different approach with PR #708. Can you try once again? Thanks, and sorry for the back and forth |
Thanks for the PR. Same error sorry.
However, this works. edit to force each =[]
And DeMorgan's theorem also works (changing && to ||) dynamic "gcp_filestore_csi_driver_config" { |
We tried the code you provided in your initial comment and it worked. Are you still doing the same thing? |
The PR is working fine as is. |
I am creating a gke_cluster with autopilot enabled:
But it gives error:
According to the google_container_cluster
the addons_config block supports:
...
gke_backup_agent_config - (Optional, Beta). The status of the Backup for GKE agent addon. It is disabled by default; Set enabled = true to enable.
I cannot pass an addon object without this flag.
"gke_backup_agent_config" is required.
I see that gke-cluster has provider=beta.
I am using the latest cloud-foundation-fabric branch
terraform version 1.2.3
providers:
My only workaround is to comment out this block in gke-cluster/main.tf:99
Another workaround is to not enable autopilot.
[Edit]
Also, when I comment out the above statement, I get:
Removing the entire addons block in the call leads to:
The text was updated successfully, but these errors were encountered: