Files
kubevela/docs/examples/terraform/application-force-delete.yaml
Zheng Xi Zhou 334446c264 Feat: support force delete Terraform typed application (#3929)
* Feat: support force delete Terraform typed application

If a Terraform typed application hangs on deletion, it could be forced to
delete by command line `vela delete xxx --force`

Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com>

* fix copyright

Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com>

* Upgrade terraform controller api version

Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com>

* add one more tests

Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com>

* fix two unit-tests

Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com>
2022-05-20 18:17:10 +08:00

15 lines
335 B
YAML

apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: app-terraform-force-delete
spec:
components:
- name: force-delete-vpc
type: alibaba-vpc
properties:
vpc_cidr: "172.16.0.0/12"
providerRef:
name: xxx-not-existed
writeConnectionSecretToRef:
name: vpc-conn