add zones for kn.dev
// knative.dev DNS
module "knative_dev" {
source = "terraform-google-modules/cloud-dns/google"
- version = "3.0.0"
+ version = "~> 4.1"
project_id = module.project.project_id
type = "public"
name = "knative-dev"
@@ -93,10 +93,10 @@ module "knative_dev" {
]
}
-// knative.dev DNS
+// knative.team DNS
module "knative_team" {
source = "terraform-google-modules/cloud-dns/google"
- version = "3.0.0"
+ version = "~> 4.1"
project_id = module.project.project_id
type = "public"
name = "knative-team"
@@ -125,3 +125,32 @@ module "knative_team" {
},
]
}
+
+// kn.dev DNS
+module "kn_dev" {
+ source = "terraform-google-modules/cloud-dns/google"
+ version = "~> 4.1"
+ project_id = module.project.project_id
+ type = "public"
+ name = "kn-dev"
+ domain = "kn.dev."
+
+ recordsets = []
+ // no active records so far.
+}
+
+// kn-e2e.dev DNS
+module "kn_e2e_dev" {
+ source = "terraform-google-modules/cloud-dns/google"
+ version = "~> 4.1"
+ description = "Custom domain used only for Knative E2E tests."
+ project_id = "knative-e2e-dns"
+ type = "public"
+ name = "knative-e2e"
+ domain = "kn-e2e.dev."
+ dnssec_config = {
+ state = "on"}
+
+ recordsets = []
+ // RECORDSETS ARE ADDED VIA E2E AUTOMATION, CONSIDER THOSE TESTS BEFORE ADDING RECORDS
+}
