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
Hi I am trying to use a current module and make enable_autopilot a variable option, but just adding it to configuration and setting it to false explicitly returns Error: Conflicting configuration arguments. If I set it up as a variable I get more of the same error.
Community Note
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.
If an issue is assigned to the modular-magician user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned to hashibot, a community member has claimed the issue already.
╷│ Error: Conflicting configuration arguments││ with module.control_plane.google_container_cluster.cluster,│ on ../../modules/control_plane/gcp/gke/main.tf line 58, in resource "google_container_cluster" "cluster":│ 58: resource "google_container_cluster" "cluster" {││ "workload_identity_config": conflicts with enable_autopilot╵╷│ Error: Conflicting configuration arguments││ with module.control_plane.google_container_cluster.cluster,│ on ../../modules/control_plane/gcp/gke/main.tf line 58, in resource "google_container_cluster" "cluster":│ 58: resource "google_container_cluster" "cluster" {││ "network_policy": conflicts with enable_autopilot╵╷│ Error: Conflicting configuration arguments││ with module.control_plane.google_container_cluster.cluster,│ on ../../modules/control_plane/gcp/gke/main.tf line 81, in resource "google_container_cluster" "cluster":│ 81: remove_default_node_pool = true││ "remove_default_node_pool": conflicts with enable_autopilot╵╷│ Error: Conflicting configuration arguments││ with module.control_plane.google_container_cluster.cluster,│ on ../../modules/control_plane/gcp/gke/main.tf line 101, in resource "google_container_cluster" "cluster":│ 101: enable_shielded_nodes = true││ "enable_shielded_nodes": conflicts with enable_autopilot╵╷│ Error: Conflicting configuration arguments││ with module.control_plane.google_container_cluster.cluster,│ on ../../modules/control_plane/gcp/gke/main.tf line 125, in resource "google_container_cluster" "cluster":│ 125: gcp_filestore_csi_driver_config {││ "addons_config.0.gcp_filestore_csi_driver_config": conflicts with enable_autopilot
Expected Behavior
I would of expected that adding optional feature with default value of false or variable value with default set to false to not activate conflicts.
Actual Behavior
The actual behavior was that with variable value set to false as default I still got conflicts and with me setting value statically to false inline it gave less conflicts, but still produce conflicts although not "enabled".
Steps to Reproduce
terraform plan
Important Factoids
I did not get to next step of making conflicting items possibly optional or dynamic as initial state is conflicting.
The text was updated successfully, but these errors were encountered:
@cxhercules I see what you are experiencing. By removing enable_autopilot, the plan-time validation error will go away. I believe you know that. There are many other fields that share the same behavior. Basically it prevents conflicting fields showing up in the same plan. This is by design.
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Hi I am trying to use a current module and make enable_autopilot a variable option, but just adding it to configuration and setting it to false explicitly returns
Error: Conflicting configuration arguments
. If I set it up as a variable I get more of the same error.Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Expected Behavior
I would of expected that adding optional feature with default value of false or variable value with default set to false to not activate conflicts.
Actual Behavior
The actual behavior was that with variable value set to false as default I still got conflicts and with me setting value statically to false inline it gave less conflicts, but still produce conflicts although not "enabled".
Steps to Reproduce
terraform plan
Important Factoids
I did not get to next step of making conflicting items possibly optional or dynamic as initial state is conflicting.
The text was updated successfully, but these errors were encountered: