I test it with : Terraform v1.5.4 provider helm v3.12.2 provider hashicorp/kubernetes v2.11.0
- Change adminPassword in values.yaml
- for auto load prometheus:
prometheus svc name: prometheus-k8s
prometheus namespace: monitoring
or change address datasources.datasources.url in values.yaml
- Run Terraform commands
terraform init
terraform plan
terraform apply
if you want to recreate a machine without destroy and recreate whole the infrastracture, you can go for the taint command
terraform taint [options] <address>
and new Recommand for Terraform v0.15.2 and later is -replace flag
terraform apply -replace="aws_instance.example[0]"