Closed
Description
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 a user, that user is claiming responsibility for the issue.
- Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.
Terraform Version & Provider Version(s)
Terraform v1.10.5
- provider registry.terraform.io/hashicorp/google v6.19.0
- provider registry.terraform.io/hashicorp/google-beta v6.19.0
Affected Resource(s)
google_dataflow_flex_template_job
Terraform Configuration
resource "google_dataflow_flex_template_job" "my_job" {
provider = google-beta
name = "test-job-123"
region = var.region
project = var.project
container_spec_gcs_path = local.template_path
subnetwork = local.network_path
ip_configuration = "WORKER_IP_PRIVATE"
on_delete = "drain"
enable_streaming_engine = "true"
additional_experiments = [
"enable_data_sampling",
"use_runner_v2"
]
max_workers = 3
parameters = {
input_subscription = "projects/${var.project}/subscriptions/test-123123"
}
}
Debug Output
No response
Expected Behavior
No changes. Your infrastructure matches the configuration.
is expected when nothing is changed in the resource at all.
Actual Behavior
Arguments like max_workers
, machine_type
and sdk_container_image
(see the docs here) are not considered when plan
runs for a second time. The plan
command always ignores those arguments and so the resource is always planned to be changed over and over again.
Steps to reproduce
terraform plan
setting those argumentsterraform plan
for a second/third/whatever time, with the same configuration. No changes at all.
Important Factoids
No response
References
No response