You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sdap.apache.org by rk...@apache.org on 2023/03/14 18:24:43 UTC
[incubator-sdap-in-situ-data-services] branch SDAP-445-asf-compliance updated: Terraform ASF headers
This is an automated email from the ASF dual-hosted git repository.
rkk pushed a commit to branch SDAP-445-asf-compliance
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-in-situ-data-services.git
The following commit(s) were added to refs/heads/SDAP-445-asf-compliance by this push:
new 0bf9e61 Terraform ASF headers
0bf9e61 is described below
commit 0bf9e61daa2690b578c4368f2950aa33cea4aec0
Author: rileykk <ri...@jpl.nasa.gov>
AuthorDate: Tue Mar 14 11:24:24 2023 -0700
Terraform ASF headers
---
terraform/cdms-parquet-tf/ddb.tf | 17 +++++++++++++++++
terraform/cdms-parquet-tf/eks.tf | 17 +++++++++++++++++
terraform/cdms-parquet-tf/lambda.tf | 17 +++++++++++++++++
terraform/cdms-parquet-tf/main.tf | 17 +++++++++++++++++
terraform/cdms-parquet-tf/s3.tf | 17 +++++++++++++++++
terraform/cdms-parquet-tf/variables.tf | 17 +++++++++++++++++
terraform/cmd-paruqet.tf | 17 +++++++++++++++++
terraform/main.tf | 17 +++++++++++++++++
terraform/variables.tf | 17 +++++++++++++++++
9 files changed, 153 insertions(+)
diff --git a/terraform/cdms-parquet-tf/ddb.tf b/terraform/cdms-parquet-tf/ddb.tf
index 722fbd1..022a909 100644
--- a/terraform/cdms-parquet-tf/ddb.tf
+++ b/terraform/cdms-parquet-tf/ddb.tf
@@ -1,3 +1,20 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+*/
+
resource "aws_dynamodb_table" "cdms-parquet-metadata-tbl" {
name = "${local.resource_prefix}-cdms-parquet-metadata-tbl"
billing_mode = "PAY_PER_REQUEST" // TOOD update to "PROVISIONED" after figuring out read & write capacity
diff --git a/terraform/cdms-parquet-tf/eks.tf b/terraform/cdms-parquet-tf/eks.tf
index e69de29..b875902 100644
--- a/terraform/cdms-parquet-tf/eks.tf
+++ b/terraform/cdms-parquet-tf/eks.tf
@@ -0,0 +1,17 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+*/
+
diff --git a/terraform/cdms-parquet-tf/lambda.tf b/terraform/cdms-parquet-tf/lambda.tf
index e69de29..b875902 100644
--- a/terraform/cdms-parquet-tf/lambda.tf
+++ b/terraform/cdms-parquet-tf/lambda.tf
@@ -0,0 +1,17 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+*/
+
diff --git a/terraform/cdms-parquet-tf/main.tf b/terraform/cdms-parquet-tf/main.tf
index a0c650b..becce32 100644
--- a/terraform/cdms-parquet-tf/main.tf
+++ b/terraform/cdms-parquet-tf/main.tf
@@ -1,3 +1,20 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+*/
+
provider "aws" {
region = var.region
shared_credentials_file = var.shared_credentials_file
diff --git a/terraform/cdms-parquet-tf/s3.tf b/terraform/cdms-parquet-tf/s3.tf
index b25f7d5..7125f4c 100644
--- a/terraform/cdms-parquet-tf/s3.tf
+++ b/terraform/cdms-parquet-tf/s3.tf
@@ -1,3 +1,20 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+*/
+
resource "aws_s3_bucket" "cdms-parquet-bucket" {
bucket = "${local.resource_prefix}-cdms-parquet-bucket"
acl = "private"
diff --git a/terraform/cdms-parquet-tf/variables.tf b/terraform/cdms-parquet-tf/variables.tf
index 43c8e98..de59110 100644
--- a/terraform/cdms-parquet-tf/variables.tf
+++ b/terraform/cdms-parquet-tf/variables.tf
@@ -1,3 +1,20 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+*/
+
variable "region" {}
variable "shared_credentials_file" {}
variable "profile" {}
diff --git a/terraform/cmd-paruqet.tf b/terraform/cmd-paruqet.tf
index cba4f7b..95da6d5 100644
--- a/terraform/cmd-paruqet.tf
+++ b/terraform/cmd-paruqet.tf
@@ -1,3 +1,20 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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 "cdms-parquet" {
source = "./cdms-parquet-tf/" # Change this to Github URL once this is public.
ami = var.ami
diff --git a/terraform/main.tf b/terraform/main.tf
index b1bfb95..3b4d396 100644
--- a/terraform/main.tf
+++ b/terraform/main.tf
@@ -1,3 +1,20 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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 {
backend "s3" {
}
diff --git a/terraform/variables.tf b/terraform/variables.tf
index 43c8e98..de59110 100644
--- a/terraform/variables.tf
+++ b/terraform/variables.tf
@@ -1,3 +1,20 @@
+/*
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You 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.
+*/
+
variable "region" {}
variable "shared_credentials_file" {}
variable "profile" {}