Skip to content

Commit 25c5d51

Browse files
CCM-10922 adding initial resources
1 parent ccd8f00 commit 25c5d51

File tree

16 files changed

+155
-21
lines changed

16 files changed

+155
-21
lines changed

infrastructure/terraform/components/examplecomponent/README.md renamed to infrastructure/terraform/components/api/README.md

File renamed without changes.

infrastructure/terraform/components/examplecomponent/locals_remote_state.tf renamed to infrastructure/terraform/components/api/locals_remote_state.tf

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
locals {
22
bootstrap = data.terraform_remote_state.bootstrap.outputs
3-
acct = data.terraform_remote_state.acct.outputs
43
}
54

65
data "terraform_remote_state" "bootstrap" {
@@ -21,20 +20,3 @@ data "terraform_remote_state" "bootstrap" {
2120
}
2221
}
2322

24-
data "terraform_remote_state" "acct" {
25-
backend = "s3"
26-
27-
config = {
28-
bucket = local.terraform_state_bucket
29-
30-
key = format(
31-
"%s/%s/%s/%s/acct.tfstate",
32-
var.project,
33-
var.aws_account_id,
34-
"eu-west-2",
35-
var.parent_acct_environment
36-
)
37-
38-
region = "eu-west-2"
39-
}
40-
}

infrastructure/terraform/components/examplecomponent/locals_tfscaffold.tf renamed to infrastructure/terraform/components/api/locals_tfscaffold.tf

File renamed without changes.

infrastructure/terraform/components/examplecomponent/module_lambda_example_lambda.tf renamed to infrastructure/terraform/components/api/module_lambda_example_lambda.tf

File renamed without changes.

infrastructure/terraform/components/examplecomponent/outputs.tf renamed to infrastructure/terraform/components/api/outputs.tf

File renamed without changes.
File renamed without changes.

infrastructure/terraform/components/examplecomponent/variables.tf renamed to infrastructure/terraform/components/api/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ variable "group" {
3838
variable "component" {
3939
type = string
4040
description = "The variable encapsulating the name of this component"
41-
default = "examplecomponent"
41+
default = "supapi"
4242
}
4343

4444
variable "default_tags" {

infrastructure/terraform/components/examplecomponent/.tool-versions

Lines changed: 0 additions & 1 deletion
This file was deleted.

infrastructure/terraform/components/examplecomponent/main.tf

Lines changed: 0 additions & 1 deletion
This file was deleted.

lambdas/api-handler/.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist

0 commit comments

Comments
 (0)