From eb1516716947f5aaac56d2b507a16b96bc041ea7 Mon Sep 17 00:00:00 2001 From: rpksh Date: Tue, 9 Apr 2019 11:42:15 +0530 Subject: [PATCH] Initial commit --- challenge3/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/challenge3/README.md b/challenge3/README.md index 0cd1794..e5c6622 100644 --- a/challenge3/README.md +++ b/challenge3/README.md @@ -7,3 +7,9 @@ Input - AWS credentials should be provided to the controller via environment - Kubernetes manifest as shown below (extend the spec as needed) # Solution - (in-progress) +# Approach 1 details + - Import the terraform golang packages + - create the bucket through the code. + - store the output `terraform.state` in one of the provisioned kubernetes object status fields after creating the bucket. + - Add a finalizer field to the object to wait for deletion of the bucket Content. + - when delete call is made,use the `terrafom.state` file to delete bucket from cloud.