Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit a767274

Browse files
committed
fix vpc stack launch
* use deep link to console * use latest aws vpc quickstart template
1 parent 57f1fa5 commit a767274

File tree

5 files changed

+13
-11
lines changed

5 files changed

+13
-11
lines changed

docs/orchestration/cromwell/cromwell-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Cromwell uses a relational database for storing metadata information. In AWS you
2424

2525
| Name | Description | Source | Launch Stack |
2626
| -- | -- | :--: | :--: |
27-
{{ cfn_stack_row("VPC (Optional)", "GenomicsVPC", "https://aws-quickstart.s3.amazonaws.com/quickstart-aws-vpc/templates/aws-vpc.template", "Creates a new Virtual Private Cloud to use for your genomics workflow resources.") }}
27+
{{ cfn_stack_row("VPC (Optional)", "GenomicsVPC", "https://aws-quickstart.s3.amazonaws.com/quickstart-aws-vpc/templates/aws-vpc.template.yaml", "Creates a new Virtual Private Cloud to use for your genomics workflow resources.") }}
2828

2929
### Genomics Workflow Core
3030

docs/orchestration/nextflow/nextflow-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ If you are handling sensitive data in your Nextflow pipelines, we recommend usin
2525

2626
| Name | Description | Source | Launch Stack |
2727
| -- | -- | :--: | :--: |
28-
{{ cfn_stack_row("VPC (Optional)", "GenomicsVPC", "https://aws-quickstart.s3.amazonaws.com/quickstart-aws-vpc/templates/aws-vpc.template", "Creates a new Virtual Private Cloud to use for your genomics workflow resources.") }}
28+
{{ cfn_stack_row("VPC (Optional)", "GenomicsVPC", "https://aws-quickstart.s3.amazonaws.com/quickstart-aws-vpc/templates/aws-vpc.template.yaml", "Creates a new Virtual Private Cloud to use for your genomics workflow resources.") }}
2929

3030
### Genomics Workflow Core
3131

docs/orchestration/step-functions/step-functions-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ If you are handling sensitive data in your genomics pipelines, we recommend usin
2525

2626
| Name | Description | Source | Launch Stack |
2727
| -- | -- | :--: | :--: |
28-
{{ cfn_stack_row("VPC (Optional)", "GenomicsVPC", "https://aws-quickstart.s3.amazonaws.com/quickstart-aws-vpc/templates/aws-vpc.template", "Creates a new Virtual Private Cloud to use for your genomics workflow resources.") }}
28+
{{ cfn_stack_row("VPC (Optional)", "GenomicsVPC", "https://aws-quickstart.s3.amazonaws.com/quickstart-aws-vpc/templates/aws-vpc.template.yaml", "Creates a new Virtual Private Cloud to use for your genomics workflow resources.") }}
2929

3030
### Genomics Workflow Core
3131

docs/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ _NOTE_, these private subnets **must** have a route to the secure route to the i
1818

1919
| Name | Description | Source | Launch Stack |
2020
| -- | -- | :--: | :--: |
21-
{{ cfn_stack_row("VPC (Optional)", "GenomicsVPC", "https://aws-quickstart.s3.amazonaws.com/quickstart-aws-vpc/templates/aws-vpc.template", "Creates a new Virtual Private Cloud to use for your genomics workflow resources.") }}
21+
{{ cfn_stack_row("VPC (Optional)", "GenomicsVPC", "https://aws-quickstart.s3.amazonaws.com/quickstart-aws-vpc/templates/aws-vpc.template.yaml", "Creates a new Virtual Private Cloud to use for your genomics workflow resources.") }}
2222

2323
The above template uses the AWS Quickstart reference for a [Modular and Scalable VPC Architecture](https://aws.amazon.com/quickstart/architecture/vpc/) and provides a networking foundation for AWS Cloud infrastructures, deploying an Amazon Virtual Private Cloud (Amazon VPC) according to AWS best-practices and guidelines.
2424

main.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,21 @@ def cfn_button(name, template, enabled=True):
2424
s3 = _artifacts['s3']
2525

2626
if template.lower().startswith('http'):
27-
cfn_url = template
27+
template_url = template
2828
else:
2929
s3['object'] = "/".join(
3030
filter(None, [s3.get('prefix'), 'latest', 'templates', template])
3131
)
3232

33-
cfn_url = "".join([
34-
"https://console.aws.amazon.com/cloudformation/home?#/stacks/new?stackName=",
35-
name,
36-
"&templateURL=",
37-
"https://{bucket}.s3.amazonaws.com/{object}".format(**s3),
38-
])
33+
template_url = "https://{bucket}.s3.amazonaws.com/{object}".format(**s3)
3934

35+
cfn_url = "".join([
36+
"https://console.aws.amazon.com/cloudformation/home?#/stacks/new?stackName=",
37+
name,
38+
"&templateURL=",
39+
template_url,
40+
])
41+
4042
img_src = "/" + "/".join(
4143
filter(None, [s3.get('prefix'), 'images/cloudformation-launch-stack.png'])
4244
)

0 commit comments

Comments
 (0)