Zheng Xi Zhou

Results 97 comments of Zheng Xi Zhou

1. What will happen, if a variable of the configuration changes? The job will be deleted. 2. `terraform init` logic is in an initContainer, will you use a normal container...

> > 1. What will happen, if a variable of the configuration changes? The job will be deleted. > > Do you mean [the deletion happened when updating the configuration](https://github.com/oam-dev/terraform-controller/blob/52091ac0e0d85b9d39d1e1c194e528d95d8d9b0d/controllers/configuration_controller.go#L564)?...

> > > > 1. What will happen, if a variable of the configuration changes? The job will be deleted. > > > > > > > > > Do...

> In my opinion, the state is stored in remote backend in most cases except the `local` type. Should we backup the state manually after `terraform apply` or `terraform destory`...

Here are some concerns: - When "New: Container: `terraform sate push`, restore the terraform state`" executes, `terraform apply` haven't started, is there any real resources states backed up as there...

> Thanks for the reply! @zzxwill > > 1. It's certain that we needn't to push the backup state to the remote backend before the first `terraform apply`. But if...

> > So how can you tell when it's the first time of `terraform apply` or when the configuration is changed. As you know, there is not state when executing...

@loheagn With our deep discussion, we find it's complex to figure out whether a remote HCL contains Terraform backend or not, and there is a high probability that the proposal...

We don't manually backup and restore. If end-users don't specifically set a backend, we set the default Kubernetes backend, or we use the customed one. Terraform itself will automatically keep...

> Okay, I understand. Actually, I was confused as to why we should back up and restore manually the terraform state as the Terraform will store its state in the...