Skip to content

Commit 0e4d29f

Browse files
authored
Disable current alinka.io (#113)
I also manually removed s3://codeforpoznan-public/alinka_website/ Fixes CodeForPoznan/alinka-pyside#78
1 parent fd7d429 commit 0e4d29f

File tree

4 files changed

+0
-71
lines changed

4 files changed

+0
-71
lines changed

alinka_website.tf

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
module "alinka_website_user" {
2-
source = "./user"
3-
4-
name = "alinka_website"
5-
}
6-
71
resource "aws_route53_zone" "alinka_website" {
82
name = "alinka.io"
93
}
@@ -30,53 +24,3 @@ resource "aws_route53_record" "soa_alinka_website" {
3024
"ns-1143.awsdns-14.org. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400",
3125
]
3226
}
33-
34-
module "alinka_website_ssl_certificate" {
35-
source = "./ssl_certificate"
36-
37-
domain = "alinka.io"
38-
route53_zone = aws_route53_zone.alinka_website
39-
40-
providers = {
41-
aws = aws.north_virginia
42-
}
43-
}
44-
45-
module "alinka_website_frontend_assets" {
46-
source = "./frontend_assets"
47-
48-
name = "alinka_website"
49-
s3_bucket = aws_s3_bucket.codeforpoznan_public
50-
iam_user = module.alinka_website_user.user
51-
}
52-
53-
module "alinka_website_cloudfront_distribution" {
54-
source = "./cloudfront_distribution"
55-
56-
name = "alinka_website"
57-
domain = "alinka.io"
58-
s3_bucket = aws_s3_bucket.codeforpoznan_public
59-
route53_zone = aws_route53_zone.alinka_website
60-
iam_user = module.alinka_website_user.user
61-
acm_certificate = module.alinka_website_ssl_certificate.certificate
62-
63-
origins = {
64-
static_assets = {
65-
default = true
66-
domain_name = aws_s3_bucket.codeforpoznan_public.bucket_domain_name
67-
origin_path = "/alinka_website"
68-
}
69-
google_form = {
70-
domain_name = "docs.google.com"
71-
origin_path = ""
72-
custom_origin = true
73-
}
74-
}
75-
76-
additional_cache_behaviors = [
77-
{
78-
path_pattern = "forms/*"
79-
target_origin_id = "google_form"
80-
}
81-
]
82-
}

codeforpoznan_pl_v3.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,6 @@ module "codeforpoznan_pl_v3_cloudfront_distribution" {
137137
]
138138
}
139139

140-
import {
141-
to = module.codeforpoznan_pl_v3_serverless_api.aws_api_gateway_stage.stage
142-
id = "q4ih7hkyl4/devel"
143-
}
144-
145140
module "codeforpoznan_pl_v3_serverless_api" {
146141
source = "./serverless_api"
147142

dev_codeforpoznan_pl_v3.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,6 @@ resource "aws_iam_user_policy_attachment" "dev_codeforpoznan_pl_v3_ses_policy_at
113113
user = module.dev_codeforpoznan_pl_v3_user.user.name
114114
}
115115

116-
import {
117-
to = module.dev_codeforpoznan_pl_v3_serverless_api.aws_api_gateway_stage.stage
118-
id = "z00svsc3od/devel"
119-
}
120-
121116
module "dev_codeforpoznan_pl_v3_serverless_api" {
122117
source = "./serverless_api"
123118

dev_pah_fm.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,6 @@ module "dev_pah_fm_frontend_assets" {
6565
iam_user = module.dev_pah_fm_user.user
6666
}
6767

68-
import {
69-
to = module.dev_pah_fm_serverless_api.aws_api_gateway_stage.stage
70-
id = "8sbwf5qbi1/devel"
71-
}
72-
7368
module "dev_pah_fm_serverless_api" {
7469
source = "./serverless_api"
7570

0 commit comments

Comments
 (0)