Skip to content

Commit ca751b6

Browse files
committed
Using python
1 parent 50d42e1 commit ca751b6

File tree

14 files changed

+56
-898
lines changed

14 files changed

+56
-898
lines changed
File renamed without changes.

data.tf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
data "archive_file" "this" {
2-
depends_on = [null_resource.lambda_build]
3-
for_each = local.lambdas
2+
for_each = local.lambdas
43

54
type = "zip"
6-
source_file = "${path.module}/lambdas/bin/${each.key}"
5+
source_file = "${path.module}/lambdas/cmd/events_logger/main.py"
76
output_path = "${path.module}/lambdas/archive/${each.key}.zip"
87
}
98

@@ -17,4 +16,3 @@ data "aws_iam_policy_document" "this" {
1716
}
1817
}
1918
}
20-

examples/.terraform.lock.hcl

Lines changed: 48 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/variables.tf

Lines changed: 0 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -15,107 +15,4 @@ variable "service_name" {
1515
1616
See variables.tf for a complete list of input options.
1717
DESC
18-
19-
validation {
20-
condition = contains([
21-
"access-analyzer",
22-
"forecast",
23-
"apigateway",
24-
"appflow",
25-
"application-autoscaling",
26-
"athena",
27-
"autoscaling",
28-
"codestar",
29-
"connect",
30-
"databrew",
31-
"xray",
32-
"backup",
33-
"batch",
34-
"acm",
35-
"acm-pca",
36-
"clouddirectory",
37-
"cloudformation",
38-
"cloudhsm",
39-
"cloudsearch",
40-
"cloudtrail",
41-
"cloudwatch",
42-
"applicationinsights",
43-
"logs",
44-
"synthetics",
45-
"codeartifact",
46-
"codebuild",
47-
"codecommit",
48-
"codedeploy",
49-
"codepipeline",
50-
"config",
51-
"controltower",
52-
"dataexchange",
53-
"dlm",
54-
"datapipeline",
55-
"dms",
56-
"datasync",
57-
"directconnect",
58-
"ds",
59-
"dynamodb",
60-
"ec2",
61-
"ec2fleet",
62-
"ec2spotfleet",
63-
"elasticbeanstalk",
64-
"ecr",
65-
"ecs",
66-
"elasticloadbalancing",
67-
"elasticmapreduce",
68-
"elastictranscoder",
69-
"elasticache",
70-
"es",
71-
"mediapackage",
72-
"emr",
73-
"events",
74-
"schemas",
75-
"gamelift",
76-
"glacier",
77-
"glue",
78-
"greengrass",
79-
"groundstation",
80-
"guardduty",
81-
"health",
82-
"iotanalytics",
83-
"kms",
84-
"kinesis",
85-
"lambda",
86-
"macie",
87-
"mediaconvert",
88-
"medialive",
89-
"mediastore",
90-
"metering-marketplace",
91-
"monitoring",
92-
"opsworks",
93-
"redshift",
94-
"redshift-data",
95-
"rds",
96-
"ram",
97-
"s3-outposts",
98-
"sagemaker",
99-
"secretsmanager",
100-
"securityhub",
101-
"sts",
102-
"sms",
103-
"servicecatalog",
104-
"signer",
105-
"sns",
106-
"sqs",
107-
"s3",
108-
"swf",
109-
"states",
110-
"storagegateway",
111-
"ssm",
112-
"tag",
113-
"transcribe",
114-
"waf",
115-
"workdocs",
116-
"workspaces", ],
117-
var.service_name
118-
)
119-
error_message = "The provided value is not supported for service_name, consult the module variables.tf for the possible input values."
120-
}
12118
}

go.mod

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)