Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
84519dc6
Commit
84519dc6
authored
Dec 18, 2020
by
Giancarlo Razzolini
Committed by
Jelle van der Waa
Dec 20, 2020
Browse files
tf-stage1/archlinux: Escape the value on gitlab pages verification code
Escape the value, since TXT records need it.
parent
3d8638cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
tf-stage1/archlinux.tf
View file @
84519dc6
...
...
@@ -1051,6 +1051,37 @@ resource "hcloud_server" "gitlab" {
}
}
resource
"hcloud_floating_ip"
"gitlab_pages"
{
type
=
"ipv4"
description
=
"GitLab Pages"
server_id
=
hcloud_server
.
gitlab
.
id
}
variable
"gitlab_pages_ipv6"
{
default
=
"2a01:4f8:c2c:5d2d::2"
}
resource
"hetznerdns_record"
"gitlab_pages_test_a"
{
zone_id
=
hetznerdns_zone
.
archlinux
.
id
name
=
"test"
value
=
hcloud_floating_ip
.
gitlab_pages
.
ip_address
type
=
"A"
}
resource
"hetznerdns_record"
"gitlab_pages_test_aaaa"
{
zone_id
=
hetznerdns_zone
.
archlinux
.
id
name
=
"test"
value
=
var
.
gitlab_pages_ipv6
type
=
"AAAA"
}
resource
"hetznerdns_record"
"gitlab_pages_test_verification"
{
zone_id
=
hetznerdns_zone
.
archlinux
.
id
name
=
"_gitlab-pages-verification-code.test"
value
=
"
\"
gitlab-pages-verification-code=04ee0a6d7284e43a85bee57bf401bb03
\"
"
type
=
"TXT"
}
resource
"hcloud_volume"
"gitlab"
{
name
=
"gitlab"
size
=
1000
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment