Skip to content

Commit

Permalink
AWS: Add a DNS zone for kops tests
Browse files Browse the repository at this point in the history
Ref: kubernetes#5127

Add a Route53 public zone used by kops tests.

Signed-off-by: Arnaud Meukam <[email protected]>
  • Loading branch information
ameukam committed Apr 19, 2023
1 parent 62c9c6c commit 7307721
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 0 deletions.
27 changes: 27 additions & 0 deletions infra/aws/terraform/workloads/kops/infra-services/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
Copyright 2023 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

/* This file contains services used by kOps */


resource "aws_route53_zone" "kops_tests" {
name = "tests-kops-aws.k8s.io"

tags = {
environment = "staging"
group = "sig-cluster-lifecycle"
}
}
23 changes: 23 additions & 0 deletions infra/aws/terraform/workloads/kops/infra-services/provider.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
Copyright 2023 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

terraform {
required_providers {
aws = {
version = "4.61.0"
}
}
}
19 changes: 19 additions & 0 deletions infra/aws/terraform/workloads/kops/infra-services/versions.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
Copyright 2023 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

terraform {
required_version = "~> 1.3.0"
}

0 comments on commit 7307721

Please sign in to comment.