-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
google_dataproc_cluster- Internal IPs not preserved for master and worker nodes when redeployed #10074
Comments
This is how terraform works. If a configuration change can not be done through an update call the resource destroyed and a new resource is created using the config defined within terraform file. There is no way to carry over fields defined in a previous deployment as they are outside of your configuration files. |
@ScottSuarez This is causing the issue If I read on documentation This is in my codes |
I think this is the solution for this, I have to hardcode:- |
This should fix the issue. |
This works with no alias for one URL |
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. |
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
*Terraform 0.13+
terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "3.84.0"
}
}
}
provider "google" {
Configuration options
dataproc_clusters = {
"welltuned" : {
software_config_optional_components = ["ZOOKEEPER", "JUPYTER", "FLINK"]
}
}
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Master and worker nodes IP remains same
Actual Behavior
With google_dataproc_cluster- Internal IPs not preserved for master and worker nodes when redeployed
tfstate recreates the nester and worker node internal IPS for newly created dataproc lsuter
trace.txt
I have tried manually restarting the dataproc cluster and IPs do not change.
Only when I redeploy using terraform , my tfstate doe snot stop IPs to be preserved and it recreates.
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: