Skip to content

Commit 25e90f4

Browse files
authored
Merge pull request #1 from aws-solutions/release/v1.0.0
Update to release v1.0.0
2 parents 5631a45 + 1b7742f commit 25e90f4

File tree

539 files changed

+99854
-21
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

539 files changed

+99854
-21
lines changed

.env.example

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Copy this file and rename to ".env" to save your local configuration outside of version control.
2+
# You should then be able to use the npm scripts that require these values.
3+
4+
# Deployment Mode (Optional)
5+
# DEPLOYMENT_MODE="dev" # If set to "dev" deletion protection of stack resources is turned off.
6+
7+
# Common
8+
HUB_ACCOUNT_ID=000000000000 # The AWS account that the Compute and Data stacks will be deployed to.
9+
NAMESPACE="myisb" # The namespace that the stacks will be deployed to.
10+
11+
# Account Pool Stack CFN Parameters
12+
PARENT_OU_ID="ou-abcd-abcd1234" # The organization's root OU id is also acceptable.
13+
AWS_REGIONS="us-east-1,us-west-2" # The regions enabled in the sandbox accounts.
14+
15+
# IDC Stack CFN Parameters
16+
IDENTITY_STORE_ID="d-0000000000" # The Identity Store Id of the Identity Source in IAM Identity Center.
17+
SSO_INSTANCE_ARN="arn:aws:sso:::instance/ssoins-0000000000000000" # The ARN of the SSO instance in IAM Identity Center.
18+
19+
# Compute Stack CFN Parameters
20+
ORG_MGT_ACCOUNT_ID=000000000000 # The AWS account that the AccountPool stack is deployed to.
21+
IDC_ACCOUNT_ID=000000000000 # The AWS account that the IDC stack is deployed to.
22+
ACCEPT_SOLUTION_TERMS_OF_USE="" # Must be set to "Accept" for the compute stack to be deployed. Terms are located here ./source/infrastructure/lib/assets/terms-of-use.txt
23+
24+
# Configuration Overrides (Optional)
25+
# NUKE_CONFIG_FILE_PATH="/example/path/nuke-config.yaml" # The file path for an alternative AWS Nuke configuration file to build the solution with.
26+
27+
# Private ECR Repo Configs (Optional)
28+
# commands in package.json use HUB_ACCOUNT_ID for the account hosting ECR
29+
# PRIVATE_ECR_REPO="example-repo-name" # The private ECR repo name for hosting the account cleaner image.
30+
# PRIVATE_ECR_REPO_REGION="us-east-1" # Region for the private ECR repo being used.
31+
32+
# E2E Test Configs (only required to run E2E test suite) (Optional)
33+
# DATA_STACK="InnovationSandbox-Data" # Name of the deployed Data stack.
34+
# COMPUTE_STACK="InnovationSandbox-Compute" # Name of the deployed Compute stack.
35+
# SANDBOX_ACCOUNT_ID="000000000000" # AWS account id to use for testing the account cleaner.
36+
# SANDBOX_ACCOUNT_ADMIN_ROLE_NAME="Admin" # The name of the administrative role to use in the test account.
37+
# EMAIL_FROM="email@example.com" # The email address to use for notifications during the e2e tests.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ""
5+
labels: bug
6+
assignees: ""
7+
---
8+
9+
**Describe the bug**
10+
11+
<!--- A clear and concise description of what the bug is -->
12+
13+
**To Reproduce**
14+
15+
<!--- Steps to reproduce the behavior -->
16+
17+
**Expected behavior**
18+
19+
<!--- A clear and concise description of what you expected to happen -->
20+
21+
**Please complete the following information about the solution:**
22+
23+
- [ ] Version: [e.g. v1.0.0]
24+
25+
To get the version of the solution, you can look at the description of the created
26+
CloudFormation stack. For example, _"(SO0284) Innovation Sandbox on AWS Stack, v1.0.0"_.
27+
28+
- [ ] Region: [e.g. us-east-1]
29+
- [ ] Was the solution modified from the version published on this repository?
30+
- [ ] If the answer to the previous question was yes, are the changes available on
31+
GitHub?
32+
- [ ] Have you checked your [service quotas]
33+
(https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html)
34+
for the sevices this solution uses?
35+
- [ ] Were there any errors in the CloudWatch Logs? [Troubleshooting]
36+
(https link to troubleshooting in docs.aws.amazon.com for solution)
37+
38+
**Screenshots**
39+
If applicable, add screenshots to help explain your problem (please **DO NOT include
40+
sensitive information**).
41+
42+
**Additional context**
43+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this solution
4+
title: ""
5+
labels: feature-request, enhancement
6+
assignees: ""
7+
---
8+
9+
**Is your feature request related to a problem? Please describe.**
10+
11+
<!--- A clear and concise description of what the problem is. Ex. I'm always
12+
frustrated when [...] -->
13+
14+
**Describe the feature you'd like**
15+
16+
<!--- A clear and concise description of what you want to happen -->
17+
18+
**Additional context**
19+
20+
<!--- Add any other context or screenshots about the feature request here -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
_Issue #, if available:_
2+
3+
_Description of changes:_
4+
5+
By submitting this pull request, I confirm that you can use, modify, copy, and
6+
redistribute this contribution, under the terms of your choice.

.gitignore

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
*.js
2+
!jest.config.js
3+
*.d.ts
4+
!vite-env.d.ts
5+
node_modules/
6+
!source/.typescript/lambda/**/*.js
7+
!source/lambda/**/*.js
8+
dist
9+
bom.json
10+
.env
11+
12+
# CDK asset staging directory
13+
.cdk.staging
14+
cdk.out
15+
16+
deployment/global-s3-assets
17+
deployment/regional-s3-assets
18+
deployment/ecr
19+
open-source/
20+
staging/
21+
22+
# Temporary folders
23+
tmp/
24+
temp/
25+
.temp_*/
26+
.build
27+
.test-reports
28+
29+
### VisualStudioCode ###
30+
.vscode
31+
32+
### macOS ###
33+
.DS_Store
34+
35+
.idea
36+
37+
**/coverage

.pre-commit-config.yaml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
exclude: '^.*\.svg$'
5+
repos:
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v4.6.0
8+
hooks:
9+
- id: check-executables-have-shebangs
10+
name: Check executables have shebangs
11+
- id: fix-byte-order-marker
12+
name: Fix byte order marker
13+
- id: check-case-conflict
14+
name: Check case conflict
15+
- id: check-json
16+
name: Check json
17+
- id: check-yaml
18+
name: Check yaml
19+
args: [--allow-multiple-documents, --unsafe]
20+
- id: check-toml
21+
name: Check toml
22+
- id: check-merge-conflict
23+
name: Check for merge conflicts
24+
- id: check-added-large-files
25+
name: Check for added large files
26+
exclude: |
27+
(?x)^(
28+
^.*/package-lock.json |
29+
)$
30+
- id: end-of-file-fixer
31+
name: Fix end of the files
32+
- id: fix-encoding-pragma
33+
name: Fix python encoding pragma
34+
- id: trailing-whitespace
35+
name: Trim trailing whitespace
36+
- id: mixed-line-ending
37+
name: Mixed line ending
38+
- id: detect-private-key
39+
name: Detect private keys
40+
- repo: https://github.com/Lucas-C/pre-commit-hooks
41+
rev: v1.5.5
42+
hooks:
43+
- id: insert-license
44+
name: Insert license header (typescript and javascript)
45+
files: \.tsx$|\.ts$|\.js$|\.jsx$|\.scss$
46+
args:
47+
- --license-filepath
48+
- ./license_header.txt
49+
- --comment-style
50+
- // # defaults to Python's # syntax, requires changing for typescript syntax.
51+
- --detect-license-in-X-top-lines=3
52+
- repo: https://github.com/pre-commit/mirrors-prettier
53+
rev: v3.1.0
54+
hooks:
55+
- id: prettier
56+
name: Prettier
57+
additional_dependencies:
58+
- "prettier@^3.3.3"
59+
- "@trivago/prettier-plugin-sort-imports"
60+
- repo: https://github.com/koalaman/shellcheck-precommit
61+
rev: v0.10.0
62+
hooks:
63+
- id: shellcheck
64+
name: ShellChecker
65+
args: ["-x", "--severity=warning"]
66+
types: [shell]
67+
# Local
68+
- repo: local
69+
hooks:
70+
- id: detect-empty-files
71+
name: Detect Empty Files
72+
entry: scripts/detect-empty-files.sh
73+
language: system
74+
pass_filenames: false

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [1.0.0] - 2025-05-22
9+
10+
### Added
11+
12+
- All files, initial version

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## Code of Conduct
2+
23
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
34
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
45
opensource-codeofconduct@amazon.com with any additional questions or comments.

CONTRIBUTING.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,23 @@ documentation, we greatly value feedback and contributions from our community.
66
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary
77
information to effectively respond to your bug report or contribution.
88

9-
109
## Reporting Bugs/Feature Requests
1110

1211
We welcome you to use the GitHub issue tracker to report bugs or suggest features.
1312

14-
When filing an issue, please check existing open, or recently closed, issues to make sure somebody else hasn't already
13+
When filing an issue, please check [existing open](https://github.com/aws-solutions/innovation-sandbox-on-aws/issues), or [recently closed](https://github.com/aws-solutions/innovation-sandbox-on-aws/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already
1514
reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:
1615

17-
* A reproducible test case or series of steps
18-
* The version of our code being used
19-
* Any modifications you've made relevant to the bug
20-
* Anything unusual about your environment or deployment
21-
16+
- A reproducible test case or series of steps
17+
- The version of our code being used
18+
- Any modifications you've made relevant to the bug
19+
- Anything unusual about your environment or deployment
2220

2321
## Contributing via Pull Requests
22+
2423
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
2524

26-
1. You are working against the latest source on the *main* branch.
25+
1. You are working against the latest source on the _main_ branch.
2726
2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
2827
3. You open an issue to discuss any significant work - we would hate for your time to be wasted.
2928

@@ -39,21 +38,22 @@ To send us a pull request, please:
3938
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
4039
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
4140

42-
4341
## Finding contributions to work on
44-
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any 'help wanted' issues is a great place to start.
4542

43+
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels ((enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/aws-solutions/innovation-sandbox-on-aws/labels/help%20wanted) issues is a great place to start.
4644

4745
## Code of Conduct
46+
4847
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
4948
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
5049
opensource-codeofconduct@amazon.com with any additional questions or comments.
5150

52-
5351
## Security issue notifications
54-
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
5552

53+
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
5654

5755
## Licensing
5856

59-
See the [LICENSE](LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
57+
See the [LICENSE](https://github.com/aws-solutions/innovation-sandbox-on-aws/blob/mainline/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
58+
59+
We may ask you to sign a [Contributor License Agreement (CLA)](https://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes.

0 commit comments

Comments
 (0)