diff --git a/public-cloud/aws/datalake-tf/config.yml b/public-cloud/aws/datalake-tf/config.yml index 2fb74b8..34d82fe 100644 --- a/public-cloud/aws/datalake-tf/config.yml +++ b/public-cloud/aws/datalake-tf/config.yml @@ -1,4 +1,19 @@ --- + +# Copyright 2023 Cloudera, Inc. All Rights Reserved. +# +# 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. + name_prefix: "" # You must specify a name prefix infra_region: eu-west-1 # CSP region for infra diff --git a/public-cloud/aws/datalake-tf/pbc_deploy_tf/main.tf b/public-cloud/aws/datalake-tf/pbc_deploy_tf/main.tf index 5bdfa07..2686df7 100644 --- a/public-cloud/aws/datalake-tf/pbc_deploy_tf/main.tf +++ b/public-cloud/aws/datalake-tf/pbc_deploy_tf/main.tf @@ -1,3 +1,17 @@ +# Copyright 2023 Cloudera, Inc. All Rights Reserved. +# +# 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. + module "cdp_deploy" { source = "git::https://github.com/cloudera-labs/terraform-cdp-modules.git//modules/terraform-cdp-deploy?ref=v0.2.0" diff --git a/public-cloud/aws/datalake-tf/pbc_deploy_tf/outputs.tf b/public-cloud/aws/datalake-tf/pbc_deploy_tf/outputs.tf index 2f432c7..e40eaec 100644 --- a/public-cloud/aws/datalake-tf/pbc_deploy_tf/outputs.tf +++ b/public-cloud/aws/datalake-tf/pbc_deploy_tf/outputs.tf @@ -1,3 +1,17 @@ +# Copyright 2023 Cloudera, Inc. All Rights Reserved. +# +# 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. + output "cdp_environment_name" { value = module.cdp_deploy.cdp_environment_name } diff --git a/public-cloud/aws/datalake-tf/pbc_deploy_tf/variables.tf b/public-cloud/aws/datalake-tf/pbc_deploy_tf/variables.tf index 3806c97..ad0a791 100644 --- a/public-cloud/aws/datalake-tf/pbc_deploy_tf/variables.tf +++ b/public-cloud/aws/datalake-tf/pbc_deploy_tf/variables.tf @@ -1,3 +1,17 @@ +# Copyright 2023 Cloudera, Inc. All Rights Reserved. +# +# 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. + # ------- Global settings ------- variable "aws_region" { type = string diff --git a/public-cloud/aws/datalake-tf/pbc_infra_tf/main.tf b/public-cloud/aws/datalake-tf/pbc_infra_tf/main.tf index 07982b1..b24dd74 100644 --- a/public-cloud/aws/datalake-tf/pbc_infra_tf/main.tf +++ b/public-cloud/aws/datalake-tf/pbc_infra_tf/main.tf @@ -1,3 +1,17 @@ +# Copyright 2023 Cloudera, Inc. All Rights Reserved. +# +# 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 and Provider Configuration ##### terraform { required_providers { diff --git a/public-cloud/aws/datalake-tf/pbc_infra_tf/outputs.tf b/public-cloud/aws/datalake-tf/pbc_infra_tf/outputs.tf index f33760f..f4db43a 100644 --- a/public-cloud/aws/datalake-tf/pbc_infra_tf/outputs.tf +++ b/public-cloud/aws/datalake-tf/pbc_infra_tf/outputs.tf @@ -1,3 +1,17 @@ +# Copyright 2023 Cloudera, Inc. All Rights Reserved. +# +# 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. + output "aws_key_name" { value = aws_key_pair.cdp_keypair.key_name } diff --git a/public-cloud/aws/datalake-tf/pbc_infra_tf/variables.tf b/public-cloud/aws/datalake-tf/pbc_infra_tf/variables.tf index 1385f98..7880d64 100644 --- a/public-cloud/aws/datalake-tf/pbc_infra_tf/variables.tf +++ b/public-cloud/aws/datalake-tf/pbc_infra_tf/variables.tf @@ -1,3 +1,17 @@ +# Copyright 2023 Cloudera, Inc. All Rights Reserved. +# +# 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. + # ------- Global settings ------- variable "env_prefix" { type = string diff --git a/public-cloud/aws/datalake-tf/templates/cdp_aws_deploy.tfvars.j2 b/public-cloud/aws/datalake-tf/templates/cdp_aws_deploy.tfvars.j2 index 870f812..88843fc 100644 --- a/public-cloud/aws/datalake-tf/templates/cdp_aws_deploy.tfvars.j2 +++ b/public-cloud/aws/datalake-tf/templates/cdp_aws_deploy.tfvars.j2 @@ -1,3 +1,17 @@ +# Copyright 2023 Cloudera, Inc. All Rights Reserved. +# +# 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. + # ------- Global settings ------- env_prefix = "{{ name_prefix }}" infra_type = "{{ infra_type }}" diff --git a/public-cloud/aws/datalake-tf/templates/cdp_aws_prereqs.tfvars.j2 b/public-cloud/aws/datalake-tf/templates/cdp_aws_prereqs.tfvars.j2 index 8e07ed3..acf1c67 100644 --- a/public-cloud/aws/datalake-tf/templates/cdp_aws_prereqs.tfvars.j2 +++ b/public-cloud/aws/datalake-tf/templates/cdp_aws_prereqs.tfvars.j2 @@ -1,3 +1,17 @@ +# Copyright 2023 Cloudera, Inc. All Rights Reserved. +# +# 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. + # ------- Global settings ------- env_prefix = "{{ name_prefix }}" aws_region = "{{ infra_region }}"