This is an automated email from the ASF dual-hosted git repository.
lahirujayathilake pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-custos.git
The following commit(s) were added to refs/heads/master by this push:
new def07a853 included license headers
def07a853 is described below
commit def07a853da66668ab84103a55b70dd5d984b0aa
Author: lahiruj <[email protected]>
AuthorDate: Tue Dec 3 02:53:59 2024 -0500
included license headers
---
custos-portal/README.md | 19 +++++++++++
custos-portal/eslint.config.js | 19 +++++++++++
custos-portal/index.html | 19 +++++++++++
custos-portal/public/vite.svg | 38 +++++++++++++++++++++-
custos-portal/src/App.tsx | 19 +++++++++++
custos-portal/src/components/ActionButton.tsx | 19 +++++++++++
.../src/components/Groups/AddGroupMemberModal.tsx | 19 +++++++++++
.../src/components/Groups/CreateGroupModal.tsx | 19 +++++++++++
.../src/components/Groups/GroupDetails.tsx | 19 +++++++++++
.../src/components/Groups/GroupMembers.tsx | 19 +++++++++++
.../src/components/Groups/GroupSettings.tsx | 19 +++++++++++
.../components/Groups/TransferOwnershipModal.tsx | 19 +++++++++++
custos-portal/src/components/Groups/index.tsx | 19 +++++++++++
custos-portal/src/components/Login/index.tsx | 19 +++++++++++
custos-portal/src/components/NavContainer.tsx | 19 +++++++++++
custos-portal/src/components/PageTitle.tsx | 19 +++++++++++
.../src/components/ProtectedComponent.tsx | 19 +++++++++++
custos-portal/src/hooks/useApi.tsx | 19 +++++++++++
custos-portal/src/index.tsx | 19 +++++++++++
custos-portal/src/interfaces/Groups.tsx | 19 +++++++++++
custos-portal/src/lib/constants.ts | 19 +++++++++++
custos-portal/src/lib/util.ts | 19 +++++++++++
custos-portal/src/public/otherLogo.svg | 19 +++++++++++
custos-portal/src/vite-env.d.ts | 19 +++++++++++
custos-portal/vite.config.ts | 19 +++++++++++
deployment/terraform/aws/README.md | 19 +++++++++++
deployment/terraform/aws/main.tf | 19 +++++++++++
deployment/terraform/aws/modules/keycloak/main.tf | 19 +++++++++++
.../terraform/aws/modules/keycloak/outputs.tf | 19 +++++++++++
.../aws/modules/keycloak/resources/Dockerfile | 19 +++++++++++
.../keycloak/resources/cache-ispn-jdbc-ping.xml | 19 +++++++++++
.../keycloak/resources/docker-entrypoint.sh | 19 +++++++++++
.../terraform/aws/modules/keycloak/variables.tf | 19 +++++++++++
.../terraform/aws/modules/keycloak/versions.tf | 19 +++++++++++
deployment/terraform/aws/modules/network/main.tf | 19 +++++++++++
.../terraform/aws/modules/network/outputs.tf | 19 +++++++++++
.../terraform/aws/modules/network/variables.tf | 19 +++++++++++
.../terraform/aws/modules/network/versions.tf | 19 +++++++++++
deployment/terraform/aws/modules/vault/README.md | 19 +++++++++++
deployment/terraform/aws/modules/vault/main.tf | 19 +++++++++++
.../aws/modules/vault/resources/openssl-vault.cnf | 19 +++++++++++
.../vault/templates/install_vault_script.sh.tpl | 19 +++++++++++
.../terraform/aws/modules/vault/variables.tf | 19 +++++++++++
deployment/terraform/aws/modules/vault/versions.tf | 19 +++++++++++
deployment/terraform/aws/outputs.tf | 19 +++++++++++
deployment/terraform/aws/terraform.tfvars | 19 +++++++++++
deployment/terraform/aws/variables.tf | 19 +++++++++++
47 files changed, 911 insertions(+), 1 deletion(-)
diff --git a/custos-portal/README.md b/custos-portal/README.md
index 74872fd4a..23dccd5d7 100644
--- a/custos-portal/README.md
+++ b/custos-portal/README.md
@@ -1,3 +1,22 @@
+<!--
+ 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.
+-->
+
# React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR
and some ESLint rules.
diff --git a/custos-portal/eslint.config.js b/custos-portal/eslint.config.js
index 092408a9f..e4d63e401 100644
--- a/custos-portal/eslint.config.js
+++ b/custos-portal/eslint.config.js
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
diff --git a/custos-portal/index.html b/custos-portal/index.html
index cc9d4c5b6..59cd507af 100644
--- a/custos-portal/index.html
+++ b/custos-portal/index.html
@@ -1,3 +1,22 @@
+<!--
+ ~ 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.
+-->
+
<!doctype html>
<html lang="en">
diff --git a/custos-portal/public/vite.svg b/custos-portal/public/vite.svg
index e7b8dfb1b..1f57e64bc 100644
--- a/custos-portal/public/vite.svg
+++ b/custos-portal/public/vite.svg
@@ -1 +1,37 @@
-<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img"
class="iconify iconify--logos" width="31.88" height="32"
preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient
id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%"
y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%"
stop-color="#BD34FE"></stop></linearGradient><linearGradient
id="IconifyId1813088fe1fbc01fb [...]
\ No newline at end of file
+<!--
+ ~ 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.
+-->
+
+<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img"
+ class="iconify iconify--logos" width="31.88" height="32"
preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257">
+ <defs>
+ <linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%"
x2="57.636%" y1="7.652%" y2="78.411%">
+ <stop offset="0%" stop-color="#41D1FF"></stop>
+ <stop offset="100%" stop-color="#BD34FE"></stop>
+ </linearGradient>
+ <linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%"
x2="50.316%" y1="2.242%" y2="89.03%">
+ <stop offset="0%" stop-color="#FFEA83"></stop>
+ <stop offset="8.333%" stop-color="#FFDD35"></stop>
+ <stop offset="100%" stop-color="#FFA800"></stop>
+ </linearGradient>
+ </defs>
+ <path fill="url(#IconifyId1813088fe1fbc01fb466)"
+ d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862
4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385
21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877
9.62Z"></path>
+ <path fill="url(#IconifyId1813088fe1fbc01fb467)"
+ d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474
92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936
3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72
4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943
2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505
4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path>
+</svg>
\ No newline at end of file
diff --git a/custos-portal/src/App.tsx b/custos-portal/src/App.tsx
index e27d50693..da7b30496 100644
--- a/custos-portal/src/App.tsx
+++ b/custos-portal/src/App.tsx
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
import { Routes, Route, BrowserRouter } from 'react-router-dom';
import { Heading } from '@chakra-ui/react';
import { Groups } from './components/Groups';
diff --git a/custos-portal/src/components/ActionButton.tsx
b/custos-portal/src/components/ActionButton.tsx
index 90810893c..bc29a0bc9 100644
--- a/custos-portal/src/components/ActionButton.tsx
+++ b/custos-portal/src/components/ActionButton.tsx
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
import { Icon, Button } from "@chakra-ui/react";
interface ActionButtonProps {
onClick: () => void;
diff --git a/custos-portal/src/components/Groups/AddGroupMemberModal.tsx
b/custos-portal/src/components/Groups/AddGroupMemberModal.tsx
index 66dc3c3a8..99a8caa81 100644
--- a/custos-portal/src/components/Groups/AddGroupMemberModal.tsx
+++ b/custos-portal/src/components/Groups/AddGroupMemberModal.tsx
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
import {
useToast,
Button, Input, Modal,
diff --git a/custos-portal/src/components/Groups/CreateGroupModal.tsx
b/custos-portal/src/components/Groups/CreateGroupModal.tsx
index 410c42dd5..991a9b009 100644
--- a/custos-portal/src/components/Groups/CreateGroupModal.tsx
+++ b/custos-portal/src/components/Groups/CreateGroupModal.tsx
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
import {
Modal,
ModalOverlay,
diff --git a/custos-portal/src/components/Groups/GroupDetails.tsx
b/custos-portal/src/components/Groups/GroupDetails.tsx
index 4f76a4c02..4c10f1500 100644
--- a/custos-portal/src/components/Groups/GroupDetails.tsx
+++ b/custos-portal/src/components/Groups/GroupDetails.tsx
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
import React from "react";
import { Link, useParams } from "react-router-dom";
import { NavContainer } from "../NavContainer";
diff --git a/custos-portal/src/components/Groups/GroupMembers.tsx
b/custos-portal/src/components/Groups/GroupMembers.tsx
index 135d3b0c9..4d196043d 100644
--- a/custos-portal/src/components/Groups/GroupMembers.tsx
+++ b/custos-portal/src/components/Groups/GroupMembers.tsx
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
/* eslint-disable @typescript-eslint/no-explicit-any */
import {
Text,
diff --git a/custos-portal/src/components/Groups/GroupSettings.tsx
b/custos-portal/src/components/Groups/GroupSettings.tsx
index 3294940cf..00e6e3566 100644
--- a/custos-portal/src/components/Groups/GroupSettings.tsx
+++ b/custos-portal/src/components/Groups/GroupSettings.tsx
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
import {
Box,
Flex,
diff --git a/custos-portal/src/components/Groups/TransferOwnershipModal.tsx
b/custos-portal/src/components/Groups/TransferOwnershipModal.tsx
index ff1ca017c..f4df16d9d 100644
--- a/custos-portal/src/components/Groups/TransferOwnershipModal.tsx
+++ b/custos-portal/src/components/Groups/TransferOwnershipModal.tsx
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
/* eslint-disable @typescript-eslint/no-explicit-any */
import {
Modal,
diff --git a/custos-portal/src/components/Groups/index.tsx
b/custos-portal/src/components/Groups/index.tsx
index 493cfffaa..37223e876 100644
--- a/custos-portal/src/components/Groups/index.tsx
+++ b/custos-portal/src/components/Groups/index.tsx
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
import { useState } from 'react'
import {
Box, Flex, Icon, Input, InputGroup, InputRightElement, Text,
diff --git a/custos-portal/src/components/Login/index.tsx
b/custos-portal/src/components/Login/index.tsx
index 2556a1eb7..0abde4924 100644
--- a/custos-portal/src/components/Login/index.tsx
+++ b/custos-portal/src/components/Login/index.tsx
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
import { Center, Img, SimpleGrid, Box, Flex, Text, Avatar, AvatarGroup, Button
} from "@chakra-ui/react"
import cuate from "../../public/cuate.png"
import airavata from "../../public/airavata.png"
diff --git a/custos-portal/src/components/NavContainer.tsx
b/custos-portal/src/components/NavContainer.tsx
index 3b2678907..138127596 100644
--- a/custos-portal/src/components/NavContainer.tsx
+++ b/custos-portal/src/components/NavContainer.tsx
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
import React, { useState, useEffect, memo } from 'react';
import {
Grid,
diff --git a/custos-portal/src/components/PageTitle.tsx
b/custos-portal/src/components/PageTitle.tsx
index 18d00ba52..82f1a9bc5 100644
--- a/custos-portal/src/components/PageTitle.tsx
+++ b/custos-portal/src/components/PageTitle.tsx
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
import { Heading } from "@chakra-ui/react";
interface PageTitleProps {
diff --git a/custos-portal/src/components/ProtectedComponent.tsx
b/custos-portal/src/components/ProtectedComponent.tsx
index ee29cd2e5..0b20cc3ba 100644
--- a/custos-portal/src/components/ProtectedComponent.tsx
+++ b/custos-portal/src/components/ProtectedComponent.tsx
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
import { useAuth } from "react-oidc-context";
import { useNavigate } from "react-router-dom";
diff --git a/custos-portal/src/hooks/useApi.tsx
b/custos-portal/src/hooks/useApi.tsx
index fa42fa990..3acdeb30b 100644
--- a/custos-portal/src/hooks/useApi.tsx
+++ b/custos-portal/src/hooks/useApi.tsx
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
import { useState, useEffect } from "react";
import { useAuth } from "react-oidc-context";
diff --git a/custos-portal/src/index.tsx b/custos-portal/src/index.tsx
index 9bf129409..16c862ba4 100644
--- a/custos-portal/src/index.tsx
+++ b/custos-portal/src/index.tsx
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
import { createRoot } from 'react-dom/client';
import App from './App';
import { extendTheme, ChakraProvider } from '@chakra-ui/react';
diff --git a/custos-portal/src/interfaces/Groups.tsx
b/custos-portal/src/interfaces/Groups.tsx
index f482a0330..d55a20d68 100644
--- a/custos-portal/src/interfaces/Groups.tsx
+++ b/custos-portal/src/interfaces/Groups.tsx
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
export interface GroupMembership {
id: string;
name: string;
diff --git a/custos-portal/src/lib/constants.ts
b/custos-portal/src/lib/constants.ts
index d164a3d7b..11ccbe5e1 100644
--- a/custos-portal/src/lib/constants.ts
+++ b/custos-portal/src/lib/constants.ts
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
import packageJson from '../../package.json';
export const PORTAL_VERSION = packageJson.version;
diff --git a/custos-portal/src/lib/util.ts b/custos-portal/src/lib/util.ts
index 0a7a9c235..4340d1d3d 100644
--- a/custos-portal/src/lib/util.ts
+++ b/custos-portal/src/lib/util.ts
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
export const decodeToken = (token: string | undefined) => {
if (!token) return null;
return JSON.parse(atob(token.split('.')[1]));
diff --git a/custos-portal/src/public/otherLogo.svg
b/custos-portal/src/public/otherLogo.svg
index c1e1f3519..5ed201fae 100644
--- a/custos-portal/src/public/otherLogo.svg
+++ b/custos-portal/src/public/otherLogo.svg
@@ -1,3 +1,22 @@
+<!--
+ ~ 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.
+-->
+
<svg width="44" height="44" viewBox="0 0 44 44" fill="none"
xmlns="http://www.w3.org/2000/svg">
<path d="M8.4177 10.0712L8.69522 12.6358C8.93193 12.3632 9.17843 12.0971
9.43636 11.8392C12.205 9.07048 15.8863 7.54574 19.801 7.54574C20.8588 7.54574
21.8987 7.65839 22.9076 7.8755L25.2894 6.75399L24.2495 4.54525C22.8113 4.1861
21.3208 4 19.801 4C14.9378 4 10.3669 5.89368 6.92888 9.33168C6.60565 9.65491
6.29548 9.98956 6 10.3324L8.4177 10.0712Z" fill="#3184C6"/>
<path d="M30.1649 11.8397C32.4259 14.1007 33.8576 16.9706 34.3065
20.0804L36.2361 21.9937L37.9061 20.309C37.48 16.1641 35.6598 12.3213 32.6724
9.33382C30.8669 7.5283 28.7463 6.14885 26.4363 5.24609L27.5268 7.56095L25.2969
8.61063C27.0975 9.33545 28.7512 10.4243 30.1649 11.8397Z" fill="#3184C6"/>
diff --git a/custos-portal/src/vite-env.d.ts b/custos-portal/src/vite-env.d.ts
index 11f02fe2a..fe6b04c4f 100644
--- a/custos-portal/src/vite-env.d.ts
+++ b/custos-portal/src/vite-env.d.ts
@@ -1 +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.
+ */
+
/// <reference types="vite/client" />
diff --git a/custos-portal/vite.config.ts b/custos-portal/vite.config.ts
index 5a33944a9..0165000f7 100644
--- a/custos-portal/vite.config.ts
+++ b/custos-portal/vite.config.ts
@@ -1,3 +1,22 @@
+/*
+ * 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.
+ */
+
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
diff --git a/deployment/terraform/aws/README.md
b/deployment/terraform/aws/README.md
index cea07ed81..638550c1b 100644
--- a/deployment/terraform/aws/README.md
+++ b/deployment/terraform/aws/README.md
@@ -1,3 +1,22 @@
+<!--
+ 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.
+-->
+
# Custos AWS Deployment
### Create the Deployment
diff --git a/deployment/terraform/aws/main.tf b/deployment/terraform/aws/main.tf
index 352a1d74c..adbb51277 100644
--- a/deployment/terraform/aws/main.tf
+++ b/deployment/terraform/aws/main.tf
@@ -1,3 +1,22 @@
+#
+# 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
}
diff --git a/deployment/terraform/aws/modules/keycloak/main.tf
b/deployment/terraform/aws/modules/keycloak/main.tf
index 4bd8b9f5c..68007ce87 100644
--- a/deployment/terraform/aws/modules/keycloak/main.tf
+++ b/deployment/terraform/aws/modules/keycloak/main.tf
@@ -1,3 +1,22 @@
+#
+# 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 "label" {
source = "cloudposse/label/null"
version = "0.25.0"
diff --git a/deployment/terraform/aws/modules/keycloak/outputs.tf
b/deployment/terraform/aws/modules/keycloak/outputs.tf
index e1638fa1c..205cf4e17 100644
--- a/deployment/terraform/aws/modules/keycloak/outputs.tf
+++ b/deployment/terraform/aws/modules/keycloak/outputs.tf
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
output "alb_dns_name" {
value = module.alb.alb_dns_name
}
diff --git a/deployment/terraform/aws/modules/keycloak/resources/Dockerfile
b/deployment/terraform/aws/modules/keycloak/resources/Dockerfile
index 10b1c8308..fb9f78270 100644
--- a/deployment/terraform/aws/modules/keycloak/resources/Dockerfile
+++ b/deployment/terraform/aws/modules/keycloak/resources/Dockerfile
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
FROM quay.io/keycloak/keycloak:20.0.3 as builder
ENV KC_METRICS_ENABLED=true
diff --git
a/deployment/terraform/aws/modules/keycloak/resources/cache-ispn-jdbc-ping.xml
b/deployment/terraform/aws/modules/keycloak/resources/cache-ispn-jdbc-ping.xml
index fc2e28890..df5d6f413 100644
---
a/deployment/terraform/aws/modules/keycloak/resources/cache-ispn-jdbc-ping.xml
+++
b/deployment/terraform/aws/modules/keycloak/resources/cache-ispn-jdbc-ping.xml
@@ -1,3 +1,22 @@
+<!--
+ ~ 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.
+-->
+
<infinispan
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:infinispan:config:11.0
http://www.infinispan.org/schemas/infinispan-config-11.0.xsd"
diff --git
a/deployment/terraform/aws/modules/keycloak/resources/docker-entrypoint.sh
b/deployment/terraform/aws/modules/keycloak/resources/docker-entrypoint.sh
index c290a0a27..755550ef9 100755
--- a/deployment/terraform/aws/modules/keycloak/resources/docker-entrypoint.sh
+++ b/deployment/terraform/aws/modules/keycloak/resources/docker-entrypoint.sh
@@ -1,5 +1,24 @@
#!/bin/bash
+#
+# 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.
+#
+
# ECS 1.3
if [ -n "${ECS_CONTAINER_METADATA_URI}" ]; then
EXTERNAL_ADDR=$(curl -fs "${ECS_CONTAINER_METADATA_URI}" \
diff --git a/deployment/terraform/aws/modules/keycloak/variables.tf
b/deployment/terraform/aws/modules/keycloak/variables.tf
index 549ead70a..aa2d616a9 100644
--- a/deployment/terraform/aws/modules/keycloak/variables.tf
+++ b/deployment/terraform/aws/modules/keycloak/variables.tf
@@ -1,3 +1,22 @@
+#
+# 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 "alb_certificate_arn" {
description = "ACM certificate ARN used by ALB"
type = string
diff --git a/deployment/terraform/aws/modules/keycloak/versions.tf
b/deployment/terraform/aws/modules/keycloak/versions.tf
index 21c24a6e3..5bdab04c2 100644
--- a/deployment/terraform/aws/modules/keycloak/versions.tf
+++ b/deployment/terraform/aws/modules/keycloak/versions.tf
@@ -1,3 +1,22 @@
+#
+# 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 {
required_version = ">= 0.15.3"
diff --git a/deployment/terraform/aws/modules/network/main.tf
b/deployment/terraform/aws/modules/network/main.tf
index d112eaf85..f769dd49d 100644
--- a/deployment/terraform/aws/modules/network/main.tf
+++ b/deployment/terraform/aws/modules/network/main.tf
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
data "aws_availability_zones" "available" {
state = "available"
}
diff --git a/deployment/terraform/aws/modules/network/outputs.tf
b/deployment/terraform/aws/modules/network/outputs.tf
index e7159a238..9d8b78a14 100644
--- a/deployment/terraform/aws/modules/network/outputs.tf
+++ b/deployment/terraform/aws/modules/network/outputs.tf
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
output "vpc_id" {
value = aws_vpc.main.id
}
diff --git a/deployment/terraform/aws/modules/network/variables.tf
b/deployment/terraform/aws/modules/network/variables.tf
index 29c9777ca..250819dcd 100644
--- a/deployment/terraform/aws/modules/network/variables.tf
+++ b/deployment/terraform/aws/modules/network/variables.tf
@@ -1,3 +1,22 @@
+#
+# 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 "vpc_cidr" {
description = "RFC1918 CIDR range for VPC"
type = string
diff --git a/deployment/terraform/aws/modules/network/versions.tf
b/deployment/terraform/aws/modules/network/versions.tf
index 21c24a6e3..5bdab04c2 100644
--- a/deployment/terraform/aws/modules/network/versions.tf
+++ b/deployment/terraform/aws/modules/network/versions.tf
@@ -1,3 +1,22 @@
+#
+# 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 {
required_version = ">= 0.15.3"
diff --git a/deployment/terraform/aws/modules/vault/README.md
b/deployment/terraform/aws/modules/vault/README.md
index 4d88758af..962a2e31e 100644
--- a/deployment/terraform/aws/modules/vault/README.md
+++ b/deployment/terraform/aws/modules/vault/README.md
@@ -1,3 +1,22 @@
+<!--
+ 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.
+-->
+
# Vault Configurations
### Generating the Self Signed Certificate (Development Purpose Only)
diff --git a/deployment/terraform/aws/modules/vault/main.tf
b/deployment/terraform/aws/modules/vault/main.tf
index 9945edb13..a686a714e 100644
--- a/deployment/terraform/aws/modules/vault/main.tf
+++ b/deployment/terraform/aws/modules/vault/main.tf
@@ -1,3 +1,22 @@
+#
+# 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 "label" {
source = "cloudposse/label/null"
version = "0.25.0"
diff --git a/deployment/terraform/aws/modules/vault/resources/openssl-vault.cnf
b/deployment/terraform/aws/modules/vault/resources/openssl-vault.cnf
index 618080e77..a1591a2d7 100644
--- a/deployment/terraform/aws/modules/vault/resources/openssl-vault.cnf
+++ b/deployment/terraform/aws/modules/vault/resources/openssl-vault.cnf
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
[req]
default_bits = 2048
prompt = no
diff --git
a/deployment/terraform/aws/modules/vault/templates/install_vault_script.sh.tpl
b/deployment/terraform/aws/modules/vault/templates/install_vault_script.sh.tpl
index f97465adf..7857b020c 100644
---
a/deployment/terraform/aws/modules/vault/templates/install_vault_script.sh.tpl
+++
b/deployment/terraform/aws/modules/vault/templates/install_vault_script.sh.tpl
@@ -1,5 +1,24 @@
#!/usr/bin/env bash
+#
+# 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.
+#
+
imds_token=$( curl -Ss -H "X-aws-ec2-metadata-token-ttl-seconds: 30" -XPUT
169.254.169.254/latest/api/token )
instance_id=$( curl -Ss -H "X-aws-ec2-metadata-token: $imds_token"
169.254.169.254/latest/meta-data/instance-id )
local_ipv4=$( curl -Ss -H "X-aws-ec2-metadata-token: $imds_token"
169.254.169.254/latest/meta-data/local-ipv4 )
diff --git a/deployment/terraform/aws/modules/vault/variables.tf
b/deployment/terraform/aws/modules/vault/variables.tf
index bf1784067..54e8f7170 100644
--- a/deployment/terraform/aws/modules/vault/variables.tf
+++ b/deployment/terraform/aws/modules/vault/variables.tf
@@ -1,3 +1,22 @@
+#
+# 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 "environment" {
description = "Environment name (development, production, etc)"
type = string
diff --git a/deployment/terraform/aws/modules/vault/versions.tf
b/deployment/terraform/aws/modules/vault/versions.tf
index 21c24a6e3..5bdab04c2 100644
--- a/deployment/terraform/aws/modules/vault/versions.tf
+++ b/deployment/terraform/aws/modules/vault/versions.tf
@@ -1,3 +1,22 @@
+#
+# 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 {
required_version = ">= 0.15.3"
diff --git a/deployment/terraform/aws/outputs.tf
b/deployment/terraform/aws/outputs.tf
index d7778a970..5d665ff07 100644
--- a/deployment/terraform/aws/outputs.tf
+++ b/deployment/terraform/aws/outputs.tf
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
output "public_subnet_cidrs" {
value = var.enable_network ? module.network[0].public_subnet_cidrs : []
}
diff --git a/deployment/terraform/aws/terraform.tfvars
b/deployment/terraform/aws/terraform.tfvars
index ea827dfc1..40538e316 100644
--- a/deployment/terraform/aws/terraform.tfvars
+++ b/deployment/terraform/aws/terraform.tfvars
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
environment = "dev"
namespace = "custos"
region = "us-east-2"
diff --git a/deployment/terraform/aws/variables.tf
b/deployment/terraform/aws/variables.tf
index f04456c85..5ccff96d9 100644
--- a/deployment/terraform/aws/variables.tf
+++ b/deployment/terraform/aws/variables.tf
@@ -1,3 +1,22 @@
+#
+# 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 "environment" {
description = "Environment name (development, production, etc)"
type = string