File tree Expand file tree Collapse file tree 4 files changed +38
-1
lines changed Expand file tree Collapse file tree 4 files changed +38
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
+ cd ` dirname $0 ` /..
6
+
5
7
APP_NAME=correcthorse_main
6
8
7
9
instance_ip=` cat deploy/instance_ip | tr -d ' \n' `
Original file line number Diff line number Diff line change
1
+
2
+ #!/usr/bin/env bash
3
+
4
+ set -e
5
+
6
+ cd `dirname $0`
7
+
8
+ # ./make-release
9
+ # ./infra-build
10
+ ./deploy-release
Original file line number Diff line number Diff line change
1
+ // Update beta.correcthorsebatterystaple.com CNAME
2
+
3
+
4
+ variable "dnsimple_token" {
5
+
6
+ }
7
+
8
+ variable "dnsimple_account" {
9
+
10
+ }
11
+
12
+ provider "dnsimple" {
13
+ token = var. dnsimple_token
14
+ account = var. dnsimple_account
15
+ }
16
+
17
+ // update record
18
+ resource "dnsimple_record" "beta_chs" {
19
+ domain = " correcthorsebatterystaple.com"
20
+ name = " beta"
21
+ type = " CNAME"
22
+ ttl = " 60"
23
+ priority = " 0"
24
+ value = aws_lb. lb . dns_name
25
+ }
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ resource "aws_subnet" "other" {
36
36
availability_zone = " eu-west-1b"
37
37
}
38
38
39
- # A security group for the ELB so it is accessible via the web
39
+ # A security group for the LB so it is accessible via the web
40
40
resource "aws_security_group" "load_balancer" {
41
41
name = " load-balancer"
42
42
description = " For the load-balancer"
You can’t perform that action at this time.
0 commit comments