-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rewrite using an ECS task * Create S3 bucket if not present Signed-off-by: Stephen Hoekstra <[email protected]> --------- Signed-off-by: Stephen Hoekstra <[email protected]> Co-authored-by: Stephen Hoekstra <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
0bcde9c
commit 894981f
Showing
11 changed files
with
345 additions
and
420 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,15 @@ | ||
# Local .terraform directories | ||
# Local .terraform directories | ||
**/.terraform/* | ||
|
||
# .tfstate files | ||
*.tfstate | ||
*.tfstate.* | ||
|
||
# Lock files | ||
**/.terraform.lock.hcl | ||
|
||
# Crash log files | ||
crash.log | ||
crash.*.log | ||
|
||
# Exclude all .tfvars files, which are likely to contain sensitive data, such as | ||
# password, private keys, and other secrets. These should not be part of version | ||
# control as they are data points which are potentially sensitive and subject | ||
# to change depending on the environment. | ||
# .tfvars files | ||
*.tfvars | ||
*.tfvars.json | ||
|
||
# Ignore override files as they are usually used to override resources locally and so | ||
# are not checked in | ||
override.tf | ||
override.tf.json | ||
*_override.tf | ||
*_override.tf.json | ||
|
||
# Ignore transient lock info files created by terraform apply | ||
.terraform.tfstate.lock.info | ||
|
||
# Include override files you do wish to add to version control using negated pattern | ||
# !example_override.tf | ||
|
||
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan | ||
# example: *tfplan* | ||
# Terraform Lock file | ||
.terraform.lock.hcl | ||
|
||
# Ignore CLI configuration files | ||
.terraformrc | ||
terraform.rc | ||
# CheckOv pre-commit external modules path | ||
**/.external_modules/* |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,25 @@ | ||
terraform { | ||
required_version = ">= 1.3" | ||
|
||
required_providers { | ||
aws = { | ||
source = "hashicorp/aws" | ||
version = ">= 4.39.0" | ||
} | ||
} | ||
} | ||
|
||
provider "aws" { | ||
region = "eu-west-1" | ||
} | ||
|
||
module "aws-energy-labeler" { | ||
source = "../../" | ||
|
||
image_uri = "123456789012.dkr.ecr.eu-west-1.amazonaws.com/energy-labeler:latest" | ||
kms_key_arn = module.kms_key.arn | ||
image_uri = "123456789012.dkr.ecr.eu-west-1.amazonaws.com/energy-labeler:latest" | ||
|
||
labeler_config = { | ||
export-path = "s3://bucket-name/folder/" | ||
organizations-zone-name = "SOMETHING" | ||
config = { | ||
export_path = "s3://bucket_name/folder/" | ||
organizations_zone_name = "MYZONE" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.