-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpresentations.tf
More file actions
43 lines (34 loc) · 1.06 KB
/
presentations.tf
File metadata and controls
43 lines (34 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
module "presentations_user" {
source = "./user"
name = "presentations"
}
module "presentations_ssl_certificate" {
source = "./ssl_certificate"
domain = "slides.codeforpoznan.pl"
route53_zone = aws_route53_zone.codeforpoznan_pl
providers = {
aws = aws.north_virginia
}
}
module "presentations_frontend_assets" {
source = "./frontend_assets"
name = "Presentations"
s3_bucket = aws_s3_bucket.codeforpoznan_public
iam_user = module.presentations_user.user
}
module "presentations_cloudfront_distribution" {
source = "./cloudfront_distribution"
name = "Presentations"
domain = "slides.codeforpoznan.pl"
s3_bucket = aws_s3_bucket.codeforpoznan_public
route53_zone = aws_route53_zone.codeforpoznan_pl
iam_user = module.presentations_user.user
acm_certificate = module.presentations_ssl_certificate.certificate
origins = {
static_assets = {
default = true
domain_name = aws_s3_bucket.codeforpoznan_public.bucket_domain_name
origin_path = "/Presentations"
}
}
}