From e52460f08ab1f70843631cc269c73d49db57ca2e Mon Sep 17 00:00:00 2001 From: KOSASIH Date: Fri, 19 Apr 2024 17:16:08 +0700 Subject: [PATCH] Create sanitech_configuration_management.tf --- func/sanitech_configuration_management.tf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 func/sanitech_configuration_management.tf diff --git a/func/sanitech_configuration_management.tf b/func/sanitech_configuration_management.tf new file mode 100644 index 0000000..c9cf391 --- /dev/null +++ b/func/sanitech_configuration_management.tf @@ -0,0 +1,9 @@ +resource "aws_s3_bucket" "example" { + bucket = "example-bucket" +} + +resource "null_resource" "configuration_management" { + provisioner "local-exec" { + command = "aws s3 sync . s3://${aws_s3_bucket.example.bucket}" + } +}