Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial module setup #1

Merged
merged 3 commits into from
Sep 17, 2024
Merged

Initial module setup #1

merged 3 commits into from
Sep 17, 2024

Conversation

benjaminlukeclark
Copy link
Member

Initial setup of the module, see the README for more details.

@sudoblark-bot
Copy link
Member

Terraform plan in ./examples/s3_files

Plan: 2 to add, 0 to change, 0 to destroy.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+   create

Terraform will perform the following actions:

  # module.s3_files.aws_s3_object.uploaded_files["plain"] will be created
+   resource "aws_s3_object" "uploaded_files" {
+       acl                    = (known after apply)
+       arn                    = (known after apply)
+       bucket                 = "asset-bucket"
+       bucket_key_enabled     = (known after apply)
+       checksum_crc32         = (known after apply)
+       checksum_crc32c        = (known after apply)
+       checksum_sha1          = (known after apply)
+       checksum_sha256        = (known after apply)
+       content                = jsonencode(
            {
+               description = "I'm a plain file with static content."
+               name        = "plain.json"
            }
        )
+       content_type           = (known after apply)
+       etag                   = "095f49b4d3dff885e3178e1e0f58c55a"
+       force_destroy          = false
+       id                     = (known after apply)
+       key                    = "plain-file.json"
+       kms_key_id             = (known after apply)
+       server_side_encryption = (known after apply)
+       storage_class          = (known after apply)
+       tags_all               = (known after apply)
+       version_id             = (known after apply)
    }

  # module.s3_files.aws_s3_object.uploaded_files["templated"] will be created
+   resource "aws_s3_object" "uploaded_files" {
+       acl                    = (known after apply)
+       arn                    = (known after apply)
+       bucket                 = "asset-bucket"
+       bucket_key_enabled     = (known after apply)
+       checksum_crc32         = (known after apply)
+       checksum_crc32c        = (known after apply)
+       checksum_sha1          = (known after apply)
+       checksum_sha256        = (known after apply)
+       content                = <<-EOT
            {
              "name": "templated.json",
              "description": "I'm a file that uses terraform templating syntax to dynamically do things.",
              "examples": {
                "string": Hello World!,
                "number": 42,
                "list": ["All work and no play makes Jack a dull boy.","All work and no play makes Jack a dull boy.","All work and no play makes Jack a dull boy.","All work and no play makes Jack a dull boy.","All work and no play makes Jack a dull boy."]
              }
            }
        EOT
+       content_type           = (known after apply)
+       etag                   = "ba1040213c407c0a3435eb1c8b817434"
+       force_destroy          = false
+       id                     = (known after apply)
+       key                    = "templated-file.json"
+       kms_key_id             = (known after apply)
+       server_side_encryption = (known after apply)
+       storage_class          = (known after apply)
+       tags_all               = (known after apply)
+       version_id             = (known after apply)
    }

Plan: 2 to add, 0 to change, 0 to destroy.

📝 Plan generated in Terraform checks on pull request #3

@benjaminlukeclark benjaminlukeclark merged commit bed610a into main Sep 17, 2024
5 checks passed
@benjaminlukeclark benjaminlukeclark deleted the feature/initial-setup branch September 17, 2024 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants