Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jplock committed Jan 25, 2025
1 parent 28f581e commit 5cdc65e
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion api/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.black]
line-length = 120
target-version = ['py312']
target-version = ['py313']
include = '\.pyi?$'
extend-exclude = '''
(
Expand Down
2 changes: 1 addition & 1 deletion api/template_configuration.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Tags": {
"AppManagerCFNStackKey": "nitro-vault-ci-api"
"AppManagerCFNStackKey": "nitro-vault"
},
"StackPolicy": {
"Statement": [
Expand Down
2 changes: 1 addition & 1 deletion canary/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.black]
line-length = 120
target-version = ['py312']
target-version = ['py313']
include = '\.pyi?$'
extend-exclude = '''
(
Expand Down
2 changes: 1 addition & 1 deletion canary/template_configuration.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Tags": {
"AppManagerCFNStackKey": "nitro-vault-ci-canary"
"AppManagerCFNStackKey": "nitro-vault"
}
}
6 changes: 3 additions & 3 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ printf "[!] Deploying ${VPC_STACK_NAME} stack..."
aws cloudformation deploy --stack-name "${VPC_STACK_NAME}" --template-file vpc_template.yml \
--parameter-overrides \
"pDomainName=${DOMAIN_NAME}" \
--tags "AppManagerCFNStackKey=${VPC_STACK_NAME}"
--tags "AppManagerCFNStackKey=nitro-vault"

VPC_ID=$(get-output "${VPC_STACK_NAME}" "oVpcId")
VPC_CIDR=$(get-output "${VPC_STACK_NAME}" "oVpcCidrBlock")
Expand All @@ -55,7 +55,7 @@ printf "\n[!] Deploying ${KEY_STACK_NAME} stack..."
aws cloudformation deploy --stack-name "${KEY_STACK_NAME}" --template-file kms_template.yml \
--parameter-overrides \
"pVpcId=${VPC_ID}" \
--tags "AppManagerCFNStackKey=${KEY_STACK_NAME}"
--tags "AppManagerCFNStackKey=nitro-vault"

KEY_ARN=$(get-output "${KEY_STACK_NAME}" "oEncryptionKeyArn")

Expand All @@ -74,7 +74,7 @@ aws cloudformation deploy --stack-name "${CI_STACK_NAME}" --template-file ci_tem
"pBranchName=${GITHUB_BRANCH}" \
"pKmsCloudFormationStackName=${KEY_STACK_NAME}" \
--capabilities CAPABILITY_IAM CAPABILITY_NAMED_IAM \
--tags "AppManagerCFNStackKey=${CI_STACK_NAME}"
--tags "AppManagerCFNStackKey=nitro-vault"

PIPELINE_NAME=$(get-output "${CI_STACK_NAME}" "oCodePipelineName")

Expand Down
2 changes: 1 addition & 1 deletion kms_template_configuration.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Tags": {
"AppManagerCFNStackKey": "nitro-vault-key"
"AppManagerCFNStackKey": "nitro-vault"
},
"StackPolicy": {
"Statement": [
Expand Down
2 changes: 1 addition & 1 deletion vault_template_configuration.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Tags": {
"AppManagerCFNStackKey": "nitro-vault-ci-vault"
"AppManagerCFNStackKey": "nitro-vault"
}
}

0 comments on commit 5cdc65e

Please sign in to comment.