Skip to content
This repository has been archived by the owner on Apr 7, 2020. It is now read-only.

Commit

Permalink
Trigger Alicloud infra reconciliation due to new output variables
Browse files Browse the repository at this point in the history
```improvement user
The Alicloud infrastructure controller does now explicitly trigger the Terraform execution because new output variables have been added.
```
  • Loading branch information
rfranzke committed May 31, 2019
1 parent 447d926 commit f8ac54a
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,16 @@ resource "alicloud_security_group_rule" "allow_all_internal_udp_in" {
cidr_ip = "{{ required "pod is required" .Values.vpc.cidr }}"
}

// We have introduced new output variables. However, they are not applied for
// existing clusters as Terraform won't detect a diff when we run `terraform plan`.
// Workaround: Providing a null-resource for letting Terraform think that there are
// differences, enabling the Gardener to start an actual `terraform apply` job.
resource "null_resource" "outputs" {
triggers = {
recompute = "outputs"
}
}

//=====================================================================
//= Output variables
//=====================================================================
Expand Down

0 comments on commit f8ac54a

Please sign in to comment.