Skip to content

Commit

Permalink
CDPCP-12359 Open security group en express onboarding clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
daszabo committed Jul 12, 2024
1 parent a0fd18d commit 9530a57
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 1 deletion.
19 changes: 18 additions & 1 deletion aws/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,23 @@
# See the License for the specific language governing permissions and
# limitations under the License.

terraform {
required_providers {
aws = {
version = "5.58.0"
}
tls = {
version = "4.0.5"
}
local = {
version = "2.5.1"
}
http = {
version = "3.4.3"
}
}
}

provider "aws" {
region = var.aws_region

Expand Down Expand Up @@ -60,7 +77,7 @@ module "cdp_deploy" {
datalake_scale = var.datalake_scale
datalake_recipes = var.datalake_recipes
freeipa_recipes = var.freeipa_recipes

environment_async_creation = var.environment_async_creation
datalake_async_creation = var.datalake_async_creation

Expand Down
1 change: 1 addition & 0 deletions aws/quickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export TF_VAR_env_tags='{"deploy_tool": "express-tf", "env_prefix": "'"$2"'"}'
export TF_VAR_create_vpc_endpoints="false"
export TF_VAR_environment_async_creation="true"
export TF_VAR_datalake_async_creation="true"
export TF_VAR_ingress_extra_cidrs_and_ports='{ cidrs = ["0.0.0.0/0"], ports = [443, 22] }'

# Install Terraform
curl -fsSL https://releases.hashicorp.com/terraform/1.7.1/terraform_1.7.1_linux_amd64.zip -o terraform.zip
Expand Down
20 changes: 20 additions & 0 deletions azure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,26 @@
# See the License for the specific language governing permissions and
# limitations under the License.

terraform {
required_providers {
azurerm = {
version = "3.111.0"
}
azuread = {
version = "2.53.1"
}
tls = {
version = "4.0.5"
}
local = {
version = "2.5.1"
}
http = {
version = "3.4.3"
}
}
}

provider "azurerm" {
features {
resource_group {
Expand Down
1 change: 1 addition & 0 deletions azure/quickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export TF_VAR_deployment_template="${4:-"semi-private"}"
export TF_VAR_env_tags='{"deploy_tool": "express-tf", "env_prefix": "'"$2"'"}'
export TF_VAR_environment_async_creation="true"
export TF_VAR_datalake_async_creation="true"
export TF_VAR_ingress_extra_cidrs_and_ports='{ cidrs = ["0.0.0.0/0], ports = [443, 22] }'

# Checkout CDP Quickstart Repository
git clone --branch v0.6.1 https://github.com/cloudera-labs/cdp-tf-quickstarts.git
Expand Down
17 changes: 17 additions & 0 deletions gcp/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,23 @@
# See the License for the specific language governing permissions and
# limitations under the License.

terraform {
required_providers {
google = {
version = "5.37.0"
}
tls = {
version = "4.0.5"
}
local = {
version = "2.5.1"
}
http = {
version = "3.4.3"
}
}
}

provider "google" {
project = var.gcp_project
region = var.gcp_region
Expand Down
1 change: 1 addition & 0 deletions gcp/quickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export TF_VAR_deployment_template="${5:-"semi-private"}"
export TF_VAR_env_tags='{"deploy_tool": "express-tf", "env_prefix": "'"$2"'"}'
export TF_VAR_environment_async_creation="true"
export TF_VAR_datalake_async_creation="true"
export TF_VAR_ingress_extra_cidrs_and_ports='{ cidrs = ["0.0.0.0/0"], ports = [443, 22] }'

# Checkout CDP Quickstart Repository
git clone --branch v0.6.1 https://github.com/cloudera-labs/cdp-tf-quickstarts.git
Expand Down

0 comments on commit 9530a57

Please sign in to comment.