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 da305fb
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 1 deletion.
23 changes: 22 additions & 1 deletion aws/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,27 @@
# See the License for the specific language governing permissions and
# limitations under the License.

terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.58.0"
}
tls = {
source = "hashicorp/tls"
version = "~> 4.0.5"
}
local = {
source = "hashicorp/local"
version = "~> 2.5.1"
}
http = {
source = "hashicorp/http"
version = "~> 3.4.3"
}
}
}

provider "aws" {
region = var.aws_region

Expand Down Expand Up @@ -60,7 +81,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
25 changes: 25 additions & 0 deletions azure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,31 @@
# See the License for the specific language governing permissions and
# limitations under the License.

terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 3.111.0"
}
azuread = {
source = "hashicorp/azuread"
version = "~> 2.53.1"
}
tls = {
source = "hashicorp/tls"
version = "~> 4.0.5"
}
local = {
source = "hashicorp/local"
version = "~> 2.5.1"
}
http = {
source = "hashicorp/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
21 changes: 21 additions & 0 deletions gcp/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,27 @@
# See the License for the specific language governing permissions and
# limitations under the License.

terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 5.37.0"
}
tls = {
source = "hashicorp/tls"
version = "~> 4.0.5"
}
local = {
source = "hashicorp/local"
version = "~> 2.5.1"
}
http = {
source = "hashicorp/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 da305fb

Please sign in to comment.