Skip to content

Commit

Permalink
build: Run pulumi new aws template
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Jun 21, 2024
1 parent bace0c8 commit c0da8e8
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pulumi/test-datasets/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.pyc
venv/
2 changes: 2 additions & 0 deletions pulumi/test-datasets/Pulumi.AWSMegatests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
config:
aws:region: eu-west-1
10 changes: 10 additions & 0 deletions pulumi/test-datasets/Pulumi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: test-datasets
runtime:
name: python
options:
virtualenv: venv
description: For hosting nf-core test datasets
config:
pulumi:tags:
value:
pulumi:template: aws-python
10 changes: 10 additions & 0 deletions pulumi/test-datasets/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"""An AWS Python Pulumi program"""

import pulumi
from pulumi_aws import s3

# Create an AWS resource (S3 Bucket)
bucket = s3.Bucket("my-bucket")

# Export the name of the bucket
pulumi.export("bucket_name", bucket.id)
2 changes: 2 additions & 0 deletions pulumi/test-datasets/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pulumi>=3.0.0,<4.0.0
pulumi-aws>=6.0.2,<7.0.0

0 comments on commit c0da8e8

Please sign in to comment.