File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ resource "aws_lb_listener" "elblistener80" {
57
57
58
58
resource "aws_lb_listener" "elblistener443" {
59
59
load_balancer_arn = aws_lb. elb . arn
60
- certificate_arn = " arn:aws:acm:eu-west-1:478389220392:certificate/2225440f-8847-4834-a90b-4b81a0105955 "
60
+ certificate_arn = aws_acm_certificate . cert . arn
61
61
port = 443
62
62
default_action {
63
63
type = " fixed-response"
Original file line number Diff line number Diff line change @@ -102,3 +102,9 @@ import {
102
102
to = aws_iam_user_policy. lb_ro
103
103
id = " github_action_deploy:GitHubActionsDeploy"
104
104
}
105
+
106
+ # ACM
107
+ import {
108
+ to = aws_acm_certificate. cert
109
+ id = " arn:aws:acm:eu-west-1:478389220392:certificate/2225440f-8847-4834-a90b-4b81a0105955"
110
+ }
Original file line number Diff line number Diff line change @@ -8,11 +8,6 @@ variable "ecr_image_tag_php" {
8
8
type = string
9
9
}
10
10
11
- variable "elb_certificate_arn" {
12
- description = " Specifies the ARN of the Certificate."
13
- type = string
14
- }
15
-
16
11
variable "environment" {
17
12
description = " The Environment"
18
13
type = string
You can’t perform that action at this time.
0 commit comments