worker_cloud_init does not pick up new changes
Spechal opened this issue ยท 1 comments
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
Terraform Version and Provider Version
terraform {
required_providers {
oci = {
source = "oracle/oci"
version = "~> 5.21.0"
}
}
required_version = "~> 1.5.0"
}
Affected Resource(s)
https://github.com/oracle-terraform-modules/terraform-oci-oke/blob/main/modules/workers/cloudinit.tf
Terraform Configuration Files
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file.
# Please remove any sensitive information from configuration files before sharing them.
Debug Output
Panic Output
Expected Behavior
module.oke.module.worker[0].null_resource.await_cloudinit ... needed to be refreshed
Actual Behavior
Nothing ... module.oke.module.worker[0].null_resource.await_cloudinit does not exist
Steps to Reproduce
Try to use this and then change it, no changes are picked up. Feels like https://github.com/oracle-terraform-modules/terraform-oci-oke/blob/c23e645d351c9c6e963731854758da616eb073c1/modules/workers/nodepools.tf#L107C11-L107C11 may be involved.
worker_cloud_init = [
{
content_type = "text/cloud-config"
content = jsonencode({
runcmd = [
"echo 'Running custom init...'"
]
})
filename = "91-xxx-xxx.yml"
mergetype = "list(append)+dict(no_replace,recurse_list)+str(append)"
}
]
Important Factoids
module.oke.module.bastion[0].null_resource.await_cloudinit: Refreshing state... [id=8064727544853391624]
module.oke.module.operator[0].null_resource.await_cloudinit: Refreshing state... [id=7638323085362603428]
No changes. Your infrastructure matches the configuration.
References
Too much left to be desired, making my own