diff --git a/.github/workflows/scheduled-examples.yml b/.github/workflows/scheduled-programs.yml similarity index 96% rename from .github/workflows/scheduled-examples.yml rename to .github/workflows/scheduled-programs.yml index 7898b2dc56f..aa65b7e1c9a 100644 --- a/.github/workflows/scheduled-examples.yml +++ b/.github/workflows/scheduled-programs.yml @@ -1,4 +1,4 @@ -name: Run tests +name: Run example programs on: schedule: - cron: "0 8 * * *" @@ -74,4 +74,4 @@ jobs: role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }} - name: Run the tests - run: make test-examples + run: make test-programs diff --git a/.prettierignore b/.prettierignore index b7a1ffde2b9..e6f1333ed0c 100644 --- a/.prettierignore +++ b/.prettierignore @@ -15,4 +15,4 @@ yarn-error.log themes/default/theme themes/default/assets themes/default/layouts -themes/default/static/examples +themes/default/static/programs diff --git a/Makefile b/Makefile index 9f9665212e3..a3ccb0a7c75 100644 --- a/Makefile +++ b/Makefile @@ -80,5 +80,5 @@ new-learn-topic: new-template: ./scripts/content/new-template.sh -test-examples: - ./scripts/test-examples.sh preview +test-programs: + ./scripts/test-programs.sh preview diff --git a/scripts/clean.sh b/scripts/clean.sh index f31fbb05ed2..458eb95fb9e 100755 --- a/scripts/clean.sh +++ b/scripts/clean.sh @@ -2,6 +2,8 @@ set -o errexit -o pipefail +git clean -fdX + yarn cache clean hugo mod clean diff --git a/scripts/test-examples.sh b/scripts/test-programs.sh similarity index 86% rename from scripts/test-examples.sh rename to scripts/test-programs.sh index c822e627e59..457ecffa97b 100755 --- a/scripts/test-examples.sh +++ b/scripts/test-programs.sh @@ -5,9 +5,9 @@ set -euo pipefail pulumi whoami -v # Delete build/test artifacts. -git clean -fdX themes/default/static/examples +git clean -fdX themes/default/static/programs -pushd themes/default/static/examples +pushd themes/default/static/programs for dir in */; do project="$(basename $dir)" @@ -29,9 +29,9 @@ pushd themes/default/static/examples # https://github.com/pulumi/pulumi-awsx/issues/820 if [[ "$project" == "awsx-vpc-fargate-service-java" ]]; then continue - elif [[ "$project" == "load-balanced-fargate-ecr-java" ]]; then + elif [[ "$project" == "awsx-load-balanced-fargate-ecr-java" ]]; then continue - elif [[ "$project" == "load-balanced-fargate-nginx-java" ]]; then + elif [[ "$project" == "awsx-load-balanced-fargate-nginx-java" ]]; then continue fi diff --git a/themes/default/content/docs/clouds/aws/guides/ecr.md b/themes/default/content/docs/clouds/aws/guides/ecr.md index 0f4c3c9568d..d02cd5d1bb7 100644 --- a/themes/default/content/docs/clouds/aws/guides/ecr.md +++ b/themes/default/content/docs/clouds/aws/guides/ecr.md @@ -262,7 +262,7 @@ entirely from code. This lets you version and deploy container changes easily al In the following example, creating an `Image` resource will build an image from the "./app" directory (relative to our project and containing Dockerfile), and publish it to our ECR repository provisioned above. -{{< example path="awsx-ecr-image" languages="javascript,typescript,python,go,csharp,java,yaml" >}} +{{< example-program path="awsx-ecr-image" >}} As we run `pulumi up`, we will see Docker build output in the Pulumi CLI display. If there is an error, it'll be printed in the diagnostics section, but otherwise the resulting image name is printed: @@ -311,7 +311,7 @@ defaults to `latest`). The container instances require IAM permissions which are To use your private repository from an ECS task definition, reference it like so: -{{< example path="load-balanced-fargate-ecr" languages="javascript,typescript,python,go,csharp,java,yaml" >}} +{{< example-program path="awsx-load-balanced-fargate-ecr" >}} For information about ECS, refer to the [Pulumi Crosswalk for AWS ECS documentation](/docs/clouds/aws/guides/ecs/). For information about consuming ECR images from ECS services specifically, see @@ -321,7 +321,7 @@ information about consuming ECR images from ECS services specifically, see To use your private repository from a Kubernetes service, such as one using EKS, reference it like so: -{{< example path="awsx-ecr-eks-deployment-service" languages="javascript,typescript,python,go,csharp,java,yaml" >}} +{{< example-program path="awsx-ecr-eks-deployment-service" >}} For information about EKS, refer to the [Pulumi Crosswalk for AWS EKS documentation](/docs/clouds/aws/guides/eks/). diff --git a/themes/default/content/docs/clouds/aws/guides/ecs.md b/themes/default/content/docs/clouds/aws/guides/ecs.md index e737482f7b7..0759c3ef6eb 100644 --- a/themes/default/content/docs/clouds/aws/guides/ecs.md +++ b/themes/default/content/docs/clouds/aws/guides/ecs.md @@ -44,7 +44,7 @@ providing full control over the underlying EC2 machine resources that power your To run a Docker container in ECS using default network and cluster settings, use the `awsx.ecs.FargateService` class. Since we need to access this container over port 80 using a stable address, we will use a load balancer. -{{< example path="load-balanced-fargate-nginx" languages="javascript,typescript,python,go,csharp,java,yaml" >}} +{{< example-program path="awsx-load-balanced-fargate-nginx" >}} After deploying this program, `pulumi stack output url` can be used to access the Url output property. We can then access our NGINX web server behind our load balancer via curl: @@ -83,7 +83,7 @@ To create an ECS service inside of a VPC, we will first create or use an existin described in [Pulumi Crosswalk for AWS VPC](/docs/clouds/aws/guides/vpc/). Then we pass the subnets from that VPC into the network configuration argument for our cluster: -{{< example path="awsx-vpc-fargate-service" languages="javascript,typescript,python,go,csharp,java,yaml" >}} +{{< example-program path="awsx-vpc-fargate-service" >}} When using a custom VPC, you will also need to specify your own security groups if you need to allow ingress or egress. @@ -115,7 +115,7 @@ it separately ahead of time. This makes it very easy to use private registration For example, specifying a `path` will run a `docker build` in that path, push the result up to the ECR repository that specified in the first argument, and then pass the private ECR repository path to the container: -{{< example path="load-balanced-fargate-ecr" languages="javascript,typescript,python,go,csharp,java,yaml" >}} +{{< example-program path="awsx-load-balanced-fargate-ecr" >}} For more information about using ECR, refer to [Pulumi Crosswalk for AWS ECR](/docs/clouds/aws/guides/ecr/). diff --git a/themes/default/layouts/shortcodes/example-program-snippet.html b/themes/default/layouts/shortcodes/example-program-snippet.html new file mode 100644 index 00000000000..cf61bb04823 --- /dev/null +++ b/themes/default/layouts/shortcodes/example-program-snippet.html @@ -0,0 +1,44 @@ +{{- $path := .Get "path" -}} +{{- $language := .Get "language" -}} +{{- $from := .Get "from" -}} +{{- $to := .Get "to" -}} +{{- $program := "" -}} +{{- $depfile := "" -}} +{{- $deplang := "" -}} +{{- if eq $language "javascript" -}} + {{- $program = "index.js" -}} + {{- $depfile = "package.json" -}} + {{- $deplang = "json" -}} +{{- else if eq $language "typescript" -}} + {{- $program = "index.ts" -}} + {{- $depfile = "package.json" -}} + {{- $deplang = "json" -}} +{{- else if eq $language "python" -}} + {{- $program = "__main__.py" -}} + {{- $depfile = "requirements.txt" -}} + {{- $deplang = "plain" -}} +{{- else if eq $language "go" -}} + {{- $program = "main.go" -}} + {{- $depfile = "go.mod" -}} + {{- $deplang = "bash" -}} +{{- else if eq $language "csharp" -}} + {{- $program = "Program.cs" -}} + {{- $depfile = printf "%s.csproj" (printf "%s-%s" $path $language) -}} + {{- $deplang = "xml" -}} +{{- else if eq $language "java" -}} + {{- $program = "src/main/java/myproject/App.java" -}} + {{- $depfile = "pom.xml" -}} + {{- $deplang = "xml" -}} +{{- else if eq $language "yaml" -}} + {{- $program = "Pulumi.yaml" -}} +{{- end -}} +{{- $file := readFile (path.Join "static" "programs" (printf "%s-%s" $path $language) $program) -}} +{{- if and (ne $from "") (ne $to "") -}} + {{- $lines := split $file "\n" -}} + {{- $toEnd := after (sub (int $from) 1) $lines -}} + {{- $lineCount := add (sub (int $to) (int $from)) 1 -}} + {{- $toTo := first $lineCount $toEnd -}} + {{- delimit $toTo "\n" -}} +{{- else -}} + {{- $file -}} +{{- end -}} diff --git a/themes/default/layouts/shortcodes/example-program.html b/themes/default/layouts/shortcodes/example-program.html new file mode 100644 index 00000000000..43e9dc6f250 --- /dev/null +++ b/themes/default/layouts/shortcodes/example-program.html @@ -0,0 +1,67 @@ +{{ $path := .Get "path" }} +{{ $languages := default "javascript,typescript,python,go,csharp,java,yaml" (.Get "languages") }} +{{ $folder := path.Join "static" "programs" }} + +
+ +
+ +{{ range $i, $language := split $languages "," }} +
+ +
+ {{ $program := "" }} + {{ $depfile := "" }} + {{ $deplang := "" }} + {{ if eq $language "javascript" }} + {{ $program = "index.js" }} + {{ $depfile = "package.json" }} + {{ $deplang = "json" }} + {{ else if eq $language "typescript" }} + {{ $program = "index.ts" }} + {{ $depfile = "package.json" }} + {{ $deplang = "json" }} + {{ else if eq $language "python" }} + {{ $program = "__main__.py" }} + {{ $depfile = "requirements.txt" }} + {{ $deplang = "plain" }} + {{ else if eq $language "go" }} + {{ $program = "main.go" }} + {{ $depfile = "go.mod" }} + {{ $deplang = "bash" }} + {{ else if eq $language "csharp" }} + {{ $program = "Program.cs" }} + {{ $depfile = printf "%s.csproj" (printf "%s-%s" $path $language) }} + {{ $deplang = "xml" }} + {{ else if eq $language "java" }} + {{ $program = "src/main/java/myproject/App.java" }} + {{ $depfile = "pom.xml" }} + {{ $deplang = "xml" }} + {{ else if eq $language "yaml" }} + {{ $program = "Pulumi.yaml" }} + {{ end }} + {{ if and (ne $program "") (ne $depfile "") }} + {{ $root := slice "static" "programs" (printf "%s-%s" $path $language) }} + {{ $code := readFile (path.Join $root $program) }} + {{ $deps := readFile (path.Join $root $depfile) }} + {{ $info := os.Stat (path.Join $root) }} +
+ {{ highlight $code $language }} +
+ + {{ end }} +
+
+
+{{ end }} diff --git a/themes/default/layouts/shortcodes/example.html b/themes/default/layouts/shortcodes/example.html index f6b55e90d0f..83196339b26 100644 --- a/themes/default/layouts/shortcodes/example.html +++ b/themes/default/layouts/shortcodes/example.html @@ -1,35 +1,3 @@ -{{ $path := .Get "path" }} -{{ $languages := .Get "languages" }} - -
- +
+ {{ .Inner }}
- -{{ range $i, $language := split $languages "," }} -
- -
- {{ $program := "" }} - {{ if eq $language "javascript" }} - {{ $program = "index.js" }} - {{ else if eq $language "typescript" }} - {{ $program = "index.ts" }} - {{ else if eq $language "python" }} - {{ $program = "__main__.py" }} - {{ else if eq $language "go" }} - {{ $program = "main.go" }} - {{ else if eq $language "csharp" }} - {{ $program = "Program.cs" }} - {{ else if eq $language "java" }} - {{ $program = "src/main/java/myproject/App.java" }} - {{ else if eq $language "yaml" }} - {{ $program = "Pulumi.yaml" }} - {{ end }} - {{ if ne $program "" }} - {{ $code := readFile (path.Join "static" "examples" (printf "%s-%s" $path $language) $program) }} - {{ highlight $code $language }} - {{ end }} -
-
-
-{{ end }} diff --git a/themes/default/layouts/shortcodes/examples.html b/themes/default/layouts/shortcodes/examples.html new file mode 100644 index 00000000000..0d72523709f --- /dev/null +++ b/themes/default/layouts/shortcodes/examples.html @@ -0,0 +1,3 @@ +
+ {{ .Inner }} +
diff --git a/themes/default/layouts/shortcodes/snippet.html b/themes/default/layouts/shortcodes/snippet.html deleted file mode 100644 index 155d92f4e37..00000000000 --- a/themes/default/layouts/shortcodes/snippet.html +++ /dev/null @@ -1,13 +0,0 @@ -{{- $path := .Get "path" -}} -{{- $from := .Get "from" -}} -{{- $to := .Get "to" -}} -{{- $file := readFile (path.Join "static" "examples" $path) -}} -{{- if and (ne $from "") (ne $to "") -}} - {{- $lines := split $file "\n" -}} - {{- $toEnd := after (sub (int $from) 1) $lines -}} - {{- $lineCount := add (sub (int $to) (int $from)) 1 -}} - {{- $toTo := first $lineCount $toEnd -}} - {{- delimit $toTo "\n" | safeHTML -}} -{{- else -}} - {{- $file | safeHTML -}} -{{- end -}} diff --git a/themes/default/static/examples/README.md b/themes/default/static/examples/README.md deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-csharp/Pulumi.yaml b/themes/default/static/examples/awsx-ecr-eks-deployment-service-csharp/Pulumi.yaml deleted file mode 100644 index 3d70acd4f1d..00000000000 --- a/themes/default/static/examples/awsx-ecr-eks-deployment-service-csharp/Pulumi.yaml +++ /dev/null @@ -1,3 +0,0 @@ -name: awsx-ecr-eks-deployment-service-csharp -runtime: dotnet -description: A C# program to deploy a Kubernetes cluster on AWS diff --git a/themes/default/static/examples/awsx-ecr-image-csharp/Pulumi.yaml b/themes/default/static/examples/awsx-ecr-image-csharp/Pulumi.yaml deleted file mode 100644 index cf64e680786..00000000000 --- a/themes/default/static/examples/awsx-ecr-image-csharp/Pulumi.yaml +++ /dev/null @@ -1,3 +0,0 @@ -name: awsx-ecr-image-csharp -runtime: dotnet -description: A minimal AWS C# Pulumi program haha no. diff --git a/themes/default/static/examples/awsx-ecr-image-go/Pulumi.yaml b/themes/default/static/examples/awsx-ecr-image-go/Pulumi.yaml deleted file mode 100644 index 5999dfc886e..00000000000 --- a/themes/default/static/examples/awsx-ecr-image-go/Pulumi.yaml +++ /dev/null @@ -1,3 +0,0 @@ -name: awsx-ecr-image-go -runtime: go -description: A minimal AWS Go Pulumi program diff --git a/themes/default/static/examples/awsx-ecr-image-java/Pulumi.yaml b/themes/default/static/examples/awsx-ecr-image-java/Pulumi.yaml deleted file mode 100644 index 664b91d33dd..00000000000 --- a/themes/default/static/examples/awsx-ecr-image-java/Pulumi.yaml +++ /dev/null @@ -1,3 +0,0 @@ -name: awsx-ecr-image-java -runtime: java -description: A minimal AWS Java Pulumi program diff --git a/themes/default/static/examples/awsx-ecr-image-typescript/Pulumi.yaml b/themes/default/static/examples/awsx-ecr-image-typescript/Pulumi.yaml deleted file mode 100644 index 0315ca46fe6..00000000000 --- a/themes/default/static/examples/awsx-ecr-image-typescript/Pulumi.yaml +++ /dev/null @@ -1,3 +0,0 @@ -name: awsx-ecr-image-typescript -runtime: nodejs -description: A minimal AWS TypeScript Pulumi program diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-go/Pulumi.yaml b/themes/default/static/examples/awsx-vpc-fargate-service-go/Pulumi.yaml deleted file mode 100644 index 32a677705a5..00000000000 --- a/themes/default/static/examples/awsx-vpc-fargate-service-go/Pulumi.yaml +++ /dev/null @@ -1,3 +0,0 @@ -name: awsx-vpc-fargate-service-go -runtime: go -description: A minimal AWS Pulumi YAML program diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-csharp/Pulumi.yaml b/themes/default/static/examples/load-balanced-fargate-ecr-csharp/Pulumi.yaml deleted file mode 100644 index f4318892a7f..00000000000 --- a/themes/default/static/examples/load-balanced-fargate-ecr-csharp/Pulumi.yaml +++ /dev/null @@ -1,2 +0,0 @@ -name: load-balanced-fargate-ecr-csharp -runtime: dotnet diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-go/Pulumi.yaml b/themes/default/static/examples/load-balanced-fargate-ecr-go/Pulumi.yaml deleted file mode 100644 index 50a872d5445..00000000000 --- a/themes/default/static/examples/load-balanced-fargate-ecr-go/Pulumi.yaml +++ /dev/null @@ -1,3 +0,0 @@ -name: load-balanced-fargate-ecr-go -runtime: go -description: A minimal AWS Pulumi YAML program diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-java/Pulumi.yaml b/themes/default/static/examples/load-balanced-fargate-ecr-java/Pulumi.yaml deleted file mode 100644 index 172461f5d31..00000000000 --- a/themes/default/static/examples/load-balanced-fargate-ecr-java/Pulumi.yaml +++ /dev/null @@ -1,3 +0,0 @@ -name: load-balanced-fargate-ecr-yaml -runtime: java -description: A minimal AWS Pulumi YAML program diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-javascript/Pulumi.yaml b/themes/default/static/examples/load-balanced-fargate-ecr-javascript/Pulumi.yaml deleted file mode 100644 index 8d5db03a886..00000000000 --- a/themes/default/static/examples/load-balanced-fargate-ecr-javascript/Pulumi.yaml +++ /dev/null @@ -1,6 +0,0 @@ -name: load-balanced-fargate-ecr-javascript -runtime: - name: nodejs - options: - typescript: false -description: A minimal AWS Pulumi YAML program diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-python/Pulumi.yaml b/themes/default/static/examples/load-balanced-fargate-ecr-python/Pulumi.yaml deleted file mode 100644 index e11e9c0462b..00000000000 --- a/themes/default/static/examples/load-balanced-fargate-ecr-python/Pulumi.yaml +++ /dev/null @@ -1,3 +0,0 @@ -name: load-balanced-fargate-ecr-python -runtime: python -description: A minimal AWS Pulumi YAML program diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-typescript/Pulumi.yaml b/themes/default/static/examples/load-balanced-fargate-ecr-typescript/Pulumi.yaml deleted file mode 100644 index b759025fb8c..00000000000 --- a/themes/default/static/examples/load-balanced-fargate-ecr-typescript/Pulumi.yaml +++ /dev/null @@ -1,3 +0,0 @@ -name: load-balanced-fargate-ecr-typescript -runtime: nodejs -description: A minimal AWS Pulumi YAML program diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-csharp/Pulumi.yaml b/themes/default/static/examples/load-balanced-fargate-nginx-csharp/Pulumi.yaml deleted file mode 100644 index 32c70ae9b6e..00000000000 --- a/themes/default/static/examples/load-balanced-fargate-nginx-csharp/Pulumi.yaml +++ /dev/null @@ -1,2 +0,0 @@ -name: load-balanced-fargate-nginx-csharp -runtime: dotnet diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-go/Pulumi.yaml b/themes/default/static/examples/load-balanced-fargate-nginx-go/Pulumi.yaml deleted file mode 100644 index 4c28491919b..00000000000 --- a/themes/default/static/examples/load-balanced-fargate-nginx-go/Pulumi.yaml +++ /dev/null @@ -1,3 +0,0 @@ -name: load-balanced-fargate-nginx-go -runtime: go -description: A minimal AWS Pulumi YAML program diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-java/Pulumi.yaml b/themes/default/static/examples/load-balanced-fargate-nginx-java/Pulumi.yaml deleted file mode 100644 index 695b8b91885..00000000000 --- a/themes/default/static/examples/load-balanced-fargate-nginx-java/Pulumi.yaml +++ /dev/null @@ -1,3 +0,0 @@ -name: load-balanced-fargate-nginx-yaml -runtime: java -description: A minimal AWS Pulumi YAML program diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-javascript/Pulumi.yaml b/themes/default/static/examples/load-balanced-fargate-nginx-javascript/Pulumi.yaml deleted file mode 100644 index 227913fbd6c..00000000000 --- a/themes/default/static/examples/load-balanced-fargate-nginx-javascript/Pulumi.yaml +++ /dev/null @@ -1,6 +0,0 @@ -name: load-balanced-fargate-nginx-javascript -runtime: - name: nodejs - options: - typescript: false -description: A minimal AWS Pulumi YAML program diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-typescript/Pulumi.yaml b/themes/default/static/examples/load-balanced-fargate-nginx-typescript/Pulumi.yaml deleted file mode 100644 index c2ea12deb2f..00000000000 --- a/themes/default/static/examples/load-balanced-fargate-nginx-typescript/Pulumi.yaml +++ /dev/null @@ -1,3 +0,0 @@ -name: load-balanced-fargate-nginx-typescript -runtime: nodejs -description: A minimal AWS Pulumi YAML program diff --git a/themes/default/static/examples/.gitignore b/themes/default/static/programs/.gitignore similarity index 99% rename from themes/default/static/examples/.gitignore rename to themes/default/static/programs/.gitignore index fd69fc25508..25a0ccf643d 100644 --- a/themes/default/static/examples/.gitignore +++ b/themes/default/static/programs/.gitignore @@ -358,13 +358,13 @@ maven-status target/ # Nested .gitignores. -**/.gitignore +/**/.gitignore +!.gitignore # Lockfiles. go.sum package-lock.json yarn.lock - # Stack config files. Pulumi.*.yaml diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-csharp/Program.cs b/themes/default/static/programs/awsx-ecr-eks-deployment-service-csharp/Program.cs similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-csharp/Program.cs rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-csharp/Program.cs diff --git a/themes/default/static/programs/awsx-ecr-eks-deployment-service-csharp/Pulumi.yaml b/themes/default/static/programs/awsx-ecr-eks-deployment-service-csharp/Pulumi.yaml new file mode 100644 index 00000000000..1a3e4a785e8 --- /dev/null +++ b/themes/default/static/programs/awsx-ecr-eks-deployment-service-csharp/Pulumi.yaml @@ -0,0 +1,2 @@ +name: awsx-ecr-eks-deployment-service-csharp +runtime: dotnet diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-csharp/app/Dockerfile b/themes/default/static/programs/awsx-ecr-eks-deployment-service-csharp/app/Dockerfile similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-csharp/app/Dockerfile rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-csharp/app/Dockerfile diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-csharp/awsx-ecr-eks-deployment-service-csharp.csproj b/themes/default/static/programs/awsx-ecr-eks-deployment-service-csharp/awsx-ecr-eks-deployment-service-csharp.csproj similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-csharp/awsx-ecr-eks-deployment-service-csharp.csproj rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-csharp/awsx-ecr-eks-deployment-service-csharp.csproj diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-go/Pulumi.yaml b/themes/default/static/programs/awsx-ecr-eks-deployment-service-go/Pulumi.yaml similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-go/Pulumi.yaml rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-go/Pulumi.yaml diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-go/go.mod b/themes/default/static/programs/awsx-ecr-eks-deployment-service-go/go.mod similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-go/go.mod rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-go/go.mod diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-go/main.go b/themes/default/static/programs/awsx-ecr-eks-deployment-service-go/main.go similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-go/main.go rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-go/main.go diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-java/Pulumi.yaml b/themes/default/static/programs/awsx-ecr-eks-deployment-service-java/Pulumi.yaml similarity index 54% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-java/Pulumi.yaml rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-java/Pulumi.yaml index df81f7e2cec..25e7df35300 100644 --- a/themes/default/static/examples/awsx-ecr-eks-deployment-service-java/Pulumi.yaml +++ b/themes/default/static/programs/awsx-ecr-eks-deployment-service-java/Pulumi.yaml @@ -1,3 +1,2 @@ name: awsx-ecr-eks-deployment-service-java runtime: java -description: A minimal AWS Java Pulumi program diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-java/app/Dockerfile b/themes/default/static/programs/awsx-ecr-eks-deployment-service-java/app/Dockerfile similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-java/app/Dockerfile rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-java/app/Dockerfile diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-java/pom.xml b/themes/default/static/programs/awsx-ecr-eks-deployment-service-java/pom.xml similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-java/pom.xml rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-java/pom.xml diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-java/src/main/java/myproject/App.java b/themes/default/static/programs/awsx-ecr-eks-deployment-service-java/src/main/java/myproject/App.java similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-java/src/main/java/myproject/App.java rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-java/src/main/java/myproject/App.java diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-javascript/Pulumi.yaml b/themes/default/static/programs/awsx-ecr-eks-deployment-service-javascript/Pulumi.yaml similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-javascript/Pulumi.yaml rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-javascript/Pulumi.yaml diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-javascript/index.js b/themes/default/static/programs/awsx-ecr-eks-deployment-service-javascript/index.js similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-javascript/index.js rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-javascript/index.js diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-javascript/package.json b/themes/default/static/programs/awsx-ecr-eks-deployment-service-javascript/package.json similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-javascript/package.json rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-javascript/package.json diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-python/Pulumi.yaml b/themes/default/static/programs/awsx-ecr-eks-deployment-service-python/Pulumi.yaml similarity index 59% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-python/Pulumi.yaml rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-python/Pulumi.yaml index fa8a4a5f7dc..1610fdbf79a 100644 --- a/themes/default/static/examples/awsx-ecr-eks-deployment-service-python/Pulumi.yaml +++ b/themes/default/static/programs/awsx-ecr-eks-deployment-service-python/Pulumi.yaml @@ -3,4 +3,3 @@ runtime: name: python options: virtualenv: venv -description: A Python program to deploy a Kubernetes cluster on AWS diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-python/__main__.py b/themes/default/static/programs/awsx-ecr-eks-deployment-service-python/__main__.py similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-python/__main__.py rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-python/__main__.py diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-python/app/Dockerfile b/themes/default/static/programs/awsx-ecr-eks-deployment-service-python/app/Dockerfile similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-python/app/Dockerfile rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-python/app/Dockerfile diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-python/requirements.txt b/themes/default/static/programs/awsx-ecr-eks-deployment-service-python/requirements.txt similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-python/requirements.txt rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-python/requirements.txt diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-typescript/Pulumi.yaml b/themes/default/static/programs/awsx-ecr-eks-deployment-service-typescript/Pulumi.yaml similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-typescript/Pulumi.yaml rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-typescript/Pulumi.yaml diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-typescript/index.ts b/themes/default/static/programs/awsx-ecr-eks-deployment-service-typescript/index.ts similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-typescript/index.ts rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-typescript/index.ts diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-typescript/package.json b/themes/default/static/programs/awsx-ecr-eks-deployment-service-typescript/package.json similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-typescript/package.json rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-typescript/package.json diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-typescript/tsconfig.json b/themes/default/static/programs/awsx-ecr-eks-deployment-service-typescript/tsconfig.json similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-typescript/tsconfig.json rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-typescript/tsconfig.json diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-yaml/Pulumi.yaml b/themes/default/static/programs/awsx-ecr-eks-deployment-service-yaml/Pulumi.yaml similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-yaml/Pulumi.yaml rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-yaml/Pulumi.yaml diff --git a/themes/default/static/examples/awsx-ecr-eks-deployment-service-yaml/app/Dockerfile b/themes/default/static/programs/awsx-ecr-eks-deployment-service-yaml/app/Dockerfile similarity index 100% rename from themes/default/static/examples/awsx-ecr-eks-deployment-service-yaml/app/Dockerfile rename to themes/default/static/programs/awsx-ecr-eks-deployment-service-yaml/app/Dockerfile diff --git a/themes/default/static/examples/awsx-ecr-image-csharp/Program.cs b/themes/default/static/programs/awsx-ecr-image-csharp/Program.cs similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-csharp/Program.cs rename to themes/default/static/programs/awsx-ecr-image-csharp/Program.cs diff --git a/themes/default/static/programs/awsx-ecr-image-csharp/Pulumi.yaml b/themes/default/static/programs/awsx-ecr-image-csharp/Pulumi.yaml new file mode 100644 index 00000000000..1c5557c5434 --- /dev/null +++ b/themes/default/static/programs/awsx-ecr-image-csharp/Pulumi.yaml @@ -0,0 +1,2 @@ +name: awsx-ecr-image-csharp +runtime: dotnet diff --git a/themes/default/static/examples/awsx-ecr-image-csharp/app/Dockerfile b/themes/default/static/programs/awsx-ecr-image-csharp/app/Dockerfile similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-csharp/app/Dockerfile rename to themes/default/static/programs/awsx-ecr-image-csharp/app/Dockerfile diff --git a/themes/default/static/examples/awsx-ecr-image-csharp/awsx-ecr-image-csharp.csproj b/themes/default/static/programs/awsx-ecr-image-csharp/awsx-ecr-image-csharp.csproj similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-csharp/awsx-ecr-image-csharp.csproj rename to themes/default/static/programs/awsx-ecr-image-csharp/awsx-ecr-image-csharp.csproj diff --git a/themes/default/static/programs/awsx-ecr-image-go/Pulumi.yaml b/themes/default/static/programs/awsx-ecr-image-go/Pulumi.yaml new file mode 100644 index 00000000000..59864e0ee3a --- /dev/null +++ b/themes/default/static/programs/awsx-ecr-image-go/Pulumi.yaml @@ -0,0 +1,2 @@ +name: awsx-ecr-image-go +runtime: go diff --git a/themes/default/static/examples/awsx-ecr-image-go/app/Dockerfile b/themes/default/static/programs/awsx-ecr-image-go/app/Dockerfile similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-go/app/Dockerfile rename to themes/default/static/programs/awsx-ecr-image-go/app/Dockerfile diff --git a/themes/default/static/examples/awsx-ecr-image-go/go.mod b/themes/default/static/programs/awsx-ecr-image-go/go.mod similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-go/go.mod rename to themes/default/static/programs/awsx-ecr-image-go/go.mod diff --git a/themes/default/static/examples/awsx-ecr-image-go/main.go b/themes/default/static/programs/awsx-ecr-image-go/main.go similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-go/main.go rename to themes/default/static/programs/awsx-ecr-image-go/main.go diff --git a/themes/default/static/programs/awsx-ecr-image-java/Pulumi.yaml b/themes/default/static/programs/awsx-ecr-image-java/Pulumi.yaml new file mode 100644 index 00000000000..412ab73e107 --- /dev/null +++ b/themes/default/static/programs/awsx-ecr-image-java/Pulumi.yaml @@ -0,0 +1,2 @@ +name: awsx-ecr-image-java +runtime: java diff --git a/themes/default/static/examples/awsx-ecr-image-java/app/Dockerfile b/themes/default/static/programs/awsx-ecr-image-java/app/Dockerfile similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-java/app/Dockerfile rename to themes/default/static/programs/awsx-ecr-image-java/app/Dockerfile diff --git a/themes/default/static/examples/awsx-ecr-image-java/pom.xml b/themes/default/static/programs/awsx-ecr-image-java/pom.xml similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-java/pom.xml rename to themes/default/static/programs/awsx-ecr-image-java/pom.xml diff --git a/themes/default/static/examples/awsx-ecr-image-java/src/main/java/myproject/App.java b/themes/default/static/programs/awsx-ecr-image-java/src/main/java/myproject/App.java similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-java/src/main/java/myproject/App.java rename to themes/default/static/programs/awsx-ecr-image-java/src/main/java/myproject/App.java diff --git a/themes/default/static/examples/awsx-ecr-image-javascript/Pulumi.yaml b/themes/default/static/programs/awsx-ecr-image-javascript/Pulumi.yaml similarity index 62% rename from themes/default/static/examples/awsx-ecr-image-javascript/Pulumi.yaml rename to themes/default/static/programs/awsx-ecr-image-javascript/Pulumi.yaml index 06fa5efb89a..58342d5761d 100644 --- a/themes/default/static/examples/awsx-ecr-image-javascript/Pulumi.yaml +++ b/themes/default/static/programs/awsx-ecr-image-javascript/Pulumi.yaml @@ -3,4 +3,3 @@ runtime: name: nodejs options: typescript: false -description: A minimal AWS JavaScript Pulumi program diff --git a/themes/default/static/examples/awsx-ecr-image-javascript/app/Dockerfile b/themes/default/static/programs/awsx-ecr-image-javascript/app/Dockerfile similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-javascript/app/Dockerfile rename to themes/default/static/programs/awsx-ecr-image-javascript/app/Dockerfile diff --git a/themes/default/static/examples/awsx-ecr-image-javascript/index.js b/themes/default/static/programs/awsx-ecr-image-javascript/index.js similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-javascript/index.js rename to themes/default/static/programs/awsx-ecr-image-javascript/index.js diff --git a/themes/default/static/examples/awsx-ecr-image-javascript/package.json b/themes/default/static/programs/awsx-ecr-image-javascript/package.json similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-javascript/package.json rename to themes/default/static/programs/awsx-ecr-image-javascript/package.json diff --git a/themes/default/static/examples/awsx-ecr-image-python/Pulumi.yaml b/themes/default/static/programs/awsx-ecr-image-python/Pulumi.yaml similarity index 63% rename from themes/default/static/examples/awsx-ecr-image-python/Pulumi.yaml rename to themes/default/static/programs/awsx-ecr-image-python/Pulumi.yaml index d7857446902..4abe67ee372 100644 --- a/themes/default/static/examples/awsx-ecr-image-python/Pulumi.yaml +++ b/themes/default/static/programs/awsx-ecr-image-python/Pulumi.yaml @@ -3,4 +3,3 @@ runtime: name: python options: virtualenv: venv -description: A minimal AWS Python Pulumi program diff --git a/themes/default/static/examples/awsx-ecr-image-python/__main__.py b/themes/default/static/programs/awsx-ecr-image-python/__main__.py similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-python/__main__.py rename to themes/default/static/programs/awsx-ecr-image-python/__main__.py diff --git a/themes/default/static/examples/awsx-ecr-image-python/app/Dockerfile b/themes/default/static/programs/awsx-ecr-image-python/app/Dockerfile similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-python/app/Dockerfile rename to themes/default/static/programs/awsx-ecr-image-python/app/Dockerfile diff --git a/themes/default/static/examples/awsx-ecr-image-python/requirements.txt b/themes/default/static/programs/awsx-ecr-image-python/requirements.txt similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-python/requirements.txt rename to themes/default/static/programs/awsx-ecr-image-python/requirements.txt diff --git a/themes/default/static/programs/awsx-ecr-image-typescript/Pulumi.yaml b/themes/default/static/programs/awsx-ecr-image-typescript/Pulumi.yaml new file mode 100644 index 00000000000..a954da14903 --- /dev/null +++ b/themes/default/static/programs/awsx-ecr-image-typescript/Pulumi.yaml @@ -0,0 +1,2 @@ +name: awsx-ecr-image-typescript +runtime: nodejs diff --git a/themes/default/static/examples/awsx-ecr-image-typescript/app/Dockerfile b/themes/default/static/programs/awsx-ecr-image-typescript/app/Dockerfile similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-typescript/app/Dockerfile rename to themes/default/static/programs/awsx-ecr-image-typescript/app/Dockerfile diff --git a/themes/default/static/examples/awsx-ecr-image-typescript/index.ts b/themes/default/static/programs/awsx-ecr-image-typescript/index.ts similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-typescript/index.ts rename to themes/default/static/programs/awsx-ecr-image-typescript/index.ts diff --git a/themes/default/static/examples/awsx-ecr-image-typescript/package.json b/themes/default/static/programs/awsx-ecr-image-typescript/package.json similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-typescript/package.json rename to themes/default/static/programs/awsx-ecr-image-typescript/package.json diff --git a/themes/default/static/examples/awsx-ecr-image-typescript/tsconfig.json b/themes/default/static/programs/awsx-ecr-image-typescript/tsconfig.json similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-typescript/tsconfig.json rename to themes/default/static/programs/awsx-ecr-image-typescript/tsconfig.json diff --git a/themes/default/static/examples/awsx-ecr-image-yaml/Pulumi.yaml b/themes/default/static/programs/awsx-ecr-image-yaml/Pulumi.yaml similarity index 57% rename from themes/default/static/examples/awsx-ecr-image-yaml/Pulumi.yaml rename to themes/default/static/programs/awsx-ecr-image-yaml/Pulumi.yaml index 5fb58ac031f..b88b11e7ae2 100644 --- a/themes/default/static/examples/awsx-ecr-image-yaml/Pulumi.yaml +++ b/themes/default/static/programs/awsx-ecr-image-yaml/Pulumi.yaml @@ -8,11 +8,11 @@ resources: forceDelete: true image: - type: awsx:ecr:Image - properties: - repositoryUrl: ${repository.url} - context: "./app" - platform: "linux/amd64" + type: awsx:ecr:Image + properties: + repositoryUrl: ${repository.url} + context: "./app" + platform: "linux/amd64" outputs: url: ${repository.url} diff --git a/themes/default/static/examples/awsx-ecr-image-yaml/app/Dockerfile b/themes/default/static/programs/awsx-ecr-image-yaml/app/Dockerfile similarity index 100% rename from themes/default/static/examples/awsx-ecr-image-yaml/app/Dockerfile rename to themes/default/static/programs/awsx-ecr-image-yaml/app/Dockerfile diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-csharp/Program.cs b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-csharp/Program.cs similarity index 100% rename from themes/default/static/examples/load-balanced-fargate-ecr-csharp/Program.cs rename to themes/default/static/programs/awsx-load-balanced-fargate-ecr-csharp/Program.cs diff --git a/themes/default/static/programs/awsx-load-balanced-fargate-ecr-csharp/Pulumi.yaml b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-csharp/Pulumi.yaml new file mode 100644 index 00000000000..a7ef3c977db --- /dev/null +++ b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-csharp/Pulumi.yaml @@ -0,0 +1,2 @@ +name: awsx-load-balanced-fargate-ecr-csharp +runtime: dotnet diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-csharp/awsx-vpc-fargate-service-csharp.csproj b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-csharp/awsx-load-balanced-fargate-ecr-csharp.csproj similarity index 100% rename from themes/default/static/examples/awsx-vpc-fargate-service-csharp/awsx-vpc-fargate-service-csharp.csproj rename to themes/default/static/programs/awsx-load-balanced-fargate-ecr-csharp/awsx-load-balanced-fargate-ecr-csharp.csproj diff --git a/themes/default/static/programs/awsx-load-balanced-fargate-ecr-go/Pulumi.yaml b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-go/Pulumi.yaml new file mode 100644 index 00000000000..245130132d3 --- /dev/null +++ b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-go/Pulumi.yaml @@ -0,0 +1,2 @@ +name: awsx-load-balanced-fargate-ecr-go +runtime: go diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-go/go.mod b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-go/go.mod similarity index 99% rename from themes/default/static/examples/load-balanced-fargate-ecr-go/go.mod rename to themes/default/static/programs/awsx-load-balanced-fargate-ecr-go/go.mod index 0dcfcbb5e7c..4b2afb26bd9 100644 --- a/themes/default/static/examples/load-balanced-fargate-ecr-go/go.mod +++ b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-go/go.mod @@ -1,4 +1,4 @@ -module load-balanced-fargate-nginx-go +module awsx-load-balanced-fargate-nginx-go go 1.21 diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-go/main.go b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-go/main.go similarity index 100% rename from themes/default/static/examples/load-balanced-fargate-ecr-go/main.go rename to themes/default/static/programs/awsx-load-balanced-fargate-ecr-go/main.go diff --git a/themes/default/static/programs/awsx-load-balanced-fargate-ecr-java/Pulumi.yaml b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-java/Pulumi.yaml new file mode 100644 index 00000000000..1200a566098 --- /dev/null +++ b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-java/Pulumi.yaml @@ -0,0 +1,2 @@ +name: awsx-load-balanced-fargate-ecr-java +runtime: java diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-java/pom.xml b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-java/pom.xml similarity index 97% rename from themes/default/static/examples/load-balanced-fargate-nginx-java/pom.xml rename to themes/default/static/programs/awsx-load-balanced-fargate-ecr-java/pom.xml index f7a83c2a0c9..31696537179 100644 --- a/themes/default/static/examples/load-balanced-fargate-nginx-java/pom.xml +++ b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-java/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.pulumi - load-balanced-fargate-nginx-java + awsx-load-balanced-fargate-ecr-java 1.0-SNAPSHOT diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-java/src/main/java/myproject/App.java b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-java/src/main/java/myproject/App.java similarity index 100% rename from themes/default/static/examples/load-balanced-fargate-ecr-java/src/main/java/myproject/App.java rename to themes/default/static/programs/awsx-load-balanced-fargate-ecr-java/src/main/java/myproject/App.java diff --git a/themes/default/static/programs/awsx-load-balanced-fargate-ecr-javascript/Pulumi.yaml b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-javascript/Pulumi.yaml new file mode 100644 index 00000000000..3100dacecf4 --- /dev/null +++ b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-javascript/Pulumi.yaml @@ -0,0 +1,5 @@ +name: awsx-load-balanced-fargate-ecr-javascript +runtime: + name: nodejs + options: + typescript: false diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-javascript/index.js b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-javascript/index.js similarity index 100% rename from themes/default/static/examples/load-balanced-fargate-ecr-javascript/index.js rename to themes/default/static/programs/awsx-load-balanced-fargate-ecr-javascript/index.js diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-javascript/package.json b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-javascript/package.json similarity index 77% rename from themes/default/static/examples/load-balanced-fargate-ecr-javascript/package.json rename to themes/default/static/programs/awsx-load-balanced-fargate-ecr-javascript/package.json index 873e6353da2..8fd05e7d9ca 100644 --- a/themes/default/static/examples/load-balanced-fargate-ecr-javascript/package.json +++ b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-javascript/package.json @@ -1,5 +1,5 @@ { - "name": "load-balanced-fargate-ecr-javascript", + "name": "awsx-load-balanced-fargate-ecr-javascript", "devDependencies": { "@types/node": "^14" }, diff --git a/themes/default/static/programs/awsx-load-balanced-fargate-ecr-python/Pulumi.yaml b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-python/Pulumi.yaml new file mode 100644 index 00000000000..0a0296b0875 --- /dev/null +++ b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-python/Pulumi.yaml @@ -0,0 +1,2 @@ +name: awsx-load-balanced-fargate-ecr-python +runtime: python diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-python/__main__.py b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-python/__main__.py similarity index 100% rename from themes/default/static/examples/load-balanced-fargate-ecr-python/__main__.py rename to themes/default/static/programs/awsx-load-balanced-fargate-ecr-python/__main__.py diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-python/requirements.txt b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-python/requirements.txt similarity index 100% rename from themes/default/static/examples/awsx-vpc-fargate-service-python/requirements.txt rename to themes/default/static/programs/awsx-load-balanced-fargate-ecr-python/requirements.txt diff --git a/themes/default/static/programs/awsx-load-balanced-fargate-ecr-typescript/Pulumi.yaml b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-typescript/Pulumi.yaml new file mode 100644 index 00000000000..1c51cd5d8e3 --- /dev/null +++ b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-typescript/Pulumi.yaml @@ -0,0 +1,2 @@ +name: awsx-load-balanced-fargate-ecr-typescript +runtime: nodejs diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-typescript/index.ts b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-typescript/index.ts similarity index 100% rename from themes/default/static/examples/load-balanced-fargate-ecr-typescript/index.ts rename to themes/default/static/programs/awsx-load-balanced-fargate-ecr-typescript/index.ts diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-typescript/package.json b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-typescript/package.json similarity index 77% rename from themes/default/static/examples/load-balanced-fargate-ecr-typescript/package.json rename to themes/default/static/programs/awsx-load-balanced-fargate-ecr-typescript/package.json index dbe7346ca8c..1bf609c6755 100644 --- a/themes/default/static/examples/load-balanced-fargate-ecr-typescript/package.json +++ b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-typescript/package.json @@ -1,5 +1,5 @@ { - "name": "load-balanced-fargate-ecr-typescript", + "name": "awsx-load-balanced-fargate-ecr-typescript", "devDependencies": { "@types/node": "^14" }, diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-typescript/tsconfig.json b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-typescript/tsconfig.json similarity index 100% rename from themes/default/static/examples/awsx-vpc-fargate-service-typescript/tsconfig.json rename to themes/default/static/programs/awsx-load-balanced-fargate-ecr-typescript/tsconfig.json diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-yaml/Pulumi.yaml b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-yaml/Pulumi.yaml similarity index 84% rename from themes/default/static/examples/load-balanced-fargate-ecr-yaml/Pulumi.yaml rename to themes/default/static/programs/awsx-load-balanced-fargate-ecr-yaml/Pulumi.yaml index c1c74215ffd..5cce646d44c 100644 --- a/themes/default/static/examples/load-balanced-fargate-ecr-yaml/Pulumi.yaml +++ b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-yaml/Pulumi.yaml @@ -1,4 +1,4 @@ -name: load-balanced-fargate-ecr-yaml +name: awsx-load-balanced-fargate-ecr-yaml runtime: yaml resources: @@ -33,8 +33,8 @@ resources: memory: 512 essential: true portMappings: - - containerPort: 80 - targetGroup: ${lb.defaultTargetGroup} + - containerPort: 80 + targetGroup: ${lb.defaultTargetGroup} outputs: url: http://${lb.loadBalancer.dnsName} diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-csharp/Program.cs b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-csharp/Program.cs similarity index 100% rename from themes/default/static/examples/load-balanced-fargate-nginx-csharp/Program.cs rename to themes/default/static/programs/awsx-load-balanced-fargate-nginx-csharp/Program.cs diff --git a/themes/default/static/programs/awsx-load-balanced-fargate-nginx-csharp/Pulumi.yaml b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-csharp/Pulumi.yaml new file mode 100644 index 00000000000..4d27aa7e835 --- /dev/null +++ b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-csharp/Pulumi.yaml @@ -0,0 +1,2 @@ +name: awsx-load-balanced-fargate-nginx-csharp +runtime: dotnet diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-csharp/load-balanced-fargate-ecr-csharp.csproj b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-csharp/awsx-load-balanced-fargate-nginx-csharp.csproj similarity index 100% rename from themes/default/static/examples/load-balanced-fargate-ecr-csharp/load-balanced-fargate-ecr-csharp.csproj rename to themes/default/static/programs/awsx-load-balanced-fargate-nginx-csharp/awsx-load-balanced-fargate-nginx-csharp.csproj diff --git a/themes/default/static/programs/awsx-load-balanced-fargate-nginx-go/Pulumi.yaml b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-go/Pulumi.yaml new file mode 100644 index 00000000000..eb00b2d8116 --- /dev/null +++ b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-go/Pulumi.yaml @@ -0,0 +1,2 @@ +name: awsx-load-balanced-fargate-nginx-go +runtime: go diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-go/go.mod b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-go/go.mod similarity index 99% rename from themes/default/static/examples/load-balanced-fargate-nginx-go/go.mod rename to themes/default/static/programs/awsx-load-balanced-fargate-nginx-go/go.mod index 0dcfcbb5e7c..4b2afb26bd9 100644 --- a/themes/default/static/examples/load-balanced-fargate-nginx-go/go.mod +++ b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-go/go.mod @@ -1,4 +1,4 @@ -module load-balanced-fargate-nginx-go +module awsx-load-balanced-fargate-nginx-go go 1.21 diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-go/main.go b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-go/main.go similarity index 100% rename from themes/default/static/examples/load-balanced-fargate-nginx-go/main.go rename to themes/default/static/programs/awsx-load-balanced-fargate-nginx-go/main.go diff --git a/themes/default/static/programs/awsx-load-balanced-fargate-nginx-java/Pulumi.yaml b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-java/Pulumi.yaml new file mode 100644 index 00000000000..70f3f3a7ce5 --- /dev/null +++ b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-java/Pulumi.yaml @@ -0,0 +1,2 @@ +name: awsx-load-balanced-fargate-nginx-yaml +runtime: java diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-java/pom.xml b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-java/pom.xml similarity index 97% rename from themes/default/static/examples/load-balanced-fargate-ecr-java/pom.xml rename to themes/default/static/programs/awsx-load-balanced-fargate-nginx-java/pom.xml index ee6b7bc89c1..5b196ec5bb2 100644 --- a/themes/default/static/examples/load-balanced-fargate-ecr-java/pom.xml +++ b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-java/pom.xml @@ -5,7 +5,7 @@ 4.0.0 com.pulumi - load-balanced-fargate-ecr-java + awsx-load-balanced-fargate-nginx-java 1.0-SNAPSHOT diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-java/src/main/java/myproject/App.java b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-java/src/main/java/myproject/App.java similarity index 100% rename from themes/default/static/examples/load-balanced-fargate-nginx-java/src/main/java/myproject/App.java rename to themes/default/static/programs/awsx-load-balanced-fargate-nginx-java/src/main/java/myproject/App.java diff --git a/themes/default/static/programs/awsx-load-balanced-fargate-nginx-javascript/Pulumi.yaml b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-javascript/Pulumi.yaml new file mode 100644 index 00000000000..4a28b7cff1e --- /dev/null +++ b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-javascript/Pulumi.yaml @@ -0,0 +1,5 @@ +name: awsx-load-balanced-fargate-nginx-javascript +runtime: + name: nodejs + options: + typescript: false diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-javascript/index.js b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-javascript/index.js similarity index 100% rename from themes/default/static/examples/load-balanced-fargate-nginx-javascript/index.js rename to themes/default/static/programs/awsx-load-balanced-fargate-nginx-javascript/index.js diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-javascript/package.json b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-javascript/package.json similarity index 76% rename from themes/default/static/examples/load-balanced-fargate-nginx-javascript/package.json rename to themes/default/static/programs/awsx-load-balanced-fargate-nginx-javascript/package.json index e1c315987aa..4bcc28043d5 100644 --- a/themes/default/static/examples/load-balanced-fargate-nginx-javascript/package.json +++ b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-javascript/package.json @@ -1,5 +1,5 @@ { - "name": "load-balanced-fargate-nginx-javascript", + "name": "awsx-load-balanced-fargate-nginx-javascript", "devDependencies": { "@types/node": "^14" }, diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-python/Pulumi.yaml b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-python/Pulumi.yaml similarity index 54% rename from themes/default/static/examples/load-balanced-fargate-nginx-python/Pulumi.yaml rename to themes/default/static/programs/awsx-load-balanced-fargate-nginx-python/Pulumi.yaml index 97dabeb0001..27201b3d790 100644 --- a/themes/default/static/examples/load-balanced-fargate-nginx-python/Pulumi.yaml +++ b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-python/Pulumi.yaml @@ -1,3 +1,2 @@ name: load-balanced-fargate-nginx-python runtime: python -description: A minimal AWS Pulumi YAML program diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-python/__main__.py b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-python/__main__.py similarity index 100% rename from themes/default/static/examples/load-balanced-fargate-nginx-python/__main__.py rename to themes/default/static/programs/awsx-load-balanced-fargate-nginx-python/__main__.py diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-python/requirements.txt b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-python/requirements.txt similarity index 100% rename from themes/default/static/examples/load-balanced-fargate-ecr-python/requirements.txt rename to themes/default/static/programs/awsx-load-balanced-fargate-nginx-python/requirements.txt diff --git a/themes/default/static/programs/awsx-load-balanced-fargate-nginx-typescript/Pulumi.yaml b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-typescript/Pulumi.yaml new file mode 100644 index 00000000000..d2937506550 --- /dev/null +++ b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-typescript/Pulumi.yaml @@ -0,0 +1,2 @@ +name: awsx-load-balanced-fargate-nginx-typescript +runtime: nodejs diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-typescript/index.ts b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-typescript/index.ts similarity index 100% rename from themes/default/static/examples/load-balanced-fargate-nginx-typescript/index.ts rename to themes/default/static/programs/awsx-load-balanced-fargate-nginx-typescript/index.ts diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-typescript/package.json b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-typescript/package.json similarity index 76% rename from themes/default/static/examples/load-balanced-fargate-nginx-typescript/package.json rename to themes/default/static/programs/awsx-load-balanced-fargate-nginx-typescript/package.json index cfeaa1ecea1..78c2fe1d013 100644 --- a/themes/default/static/examples/load-balanced-fargate-nginx-typescript/package.json +++ b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-typescript/package.json @@ -1,5 +1,5 @@ { - "name": "load-balanced-fargate-nginx-typescript", + "name": "awsx-load-balanced-fargate-nginx-typescript", "devDependencies": { "@types/node": "^14" }, diff --git a/themes/default/static/examples/load-balanced-fargate-ecr-typescript/tsconfig.json b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-typescript/tsconfig.json similarity index 100% rename from themes/default/static/examples/load-balanced-fargate-ecr-typescript/tsconfig.json rename to themes/default/static/programs/awsx-load-balanced-fargate-nginx-typescript/tsconfig.json diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-yaml/Pulumi.yaml b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-yaml/Pulumi.yaml similarity index 93% rename from themes/default/static/examples/load-balanced-fargate-nginx-yaml/Pulumi.yaml rename to themes/default/static/programs/awsx-load-balanced-fargate-nginx-yaml/Pulumi.yaml index cc72fd06455..4aaac9c7dad 100644 --- a/themes/default/static/examples/load-balanced-fargate-nginx-yaml/Pulumi.yaml +++ b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-yaml/Pulumi.yaml @@ -1,4 +1,4 @@ -name: load-balanced-fargate-nginx-yaml +name: awsx-load-balanced-fargate-nginx-yaml runtime: yaml resources: repo: diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-csharp/Program.cs b/themes/default/static/programs/awsx-vpc-fargate-service-csharp/Program.cs similarity index 100% rename from themes/default/static/examples/awsx-vpc-fargate-service-csharp/Program.cs rename to themes/default/static/programs/awsx-vpc-fargate-service-csharp/Program.cs diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-csharp/Pulumi.yaml b/themes/default/static/programs/awsx-vpc-fargate-service-csharp/Pulumi.yaml similarity index 53% rename from themes/default/static/examples/awsx-vpc-fargate-service-csharp/Pulumi.yaml rename to themes/default/static/programs/awsx-vpc-fargate-service-csharp/Pulumi.yaml index e2f556b8018..d38a7abbff2 100644 --- a/themes/default/static/examples/awsx-vpc-fargate-service-csharp/Pulumi.yaml +++ b/themes/default/static/programs/awsx-vpc-fargate-service-csharp/Pulumi.yaml @@ -1,3 +1,2 @@ name: awsx-vpc-fargate-service-csharp runtime: dotnet -description: A minimal AWS Pulumi YAML program diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-csharp/load-balanced-fargate-nginx-csharp.csproj b/themes/default/static/programs/awsx-vpc-fargate-service-csharp/awsx-vpc-fargate-service-csharp.csproj similarity index 100% rename from themes/default/static/examples/load-balanced-fargate-nginx-csharp/load-balanced-fargate-nginx-csharp.csproj rename to themes/default/static/programs/awsx-vpc-fargate-service-csharp/awsx-vpc-fargate-service-csharp.csproj diff --git a/themes/default/static/programs/awsx-vpc-fargate-service-go/Pulumi.yaml b/themes/default/static/programs/awsx-vpc-fargate-service-go/Pulumi.yaml new file mode 100644 index 00000000000..2af45806a56 --- /dev/null +++ b/themes/default/static/programs/awsx-vpc-fargate-service-go/Pulumi.yaml @@ -0,0 +1,2 @@ +name: awsx-vpc-fargate-service-go +runtime: go diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-go/go.mod b/themes/default/static/programs/awsx-vpc-fargate-service-go/go.mod similarity index 100% rename from themes/default/static/examples/awsx-vpc-fargate-service-go/go.mod rename to themes/default/static/programs/awsx-vpc-fargate-service-go/go.mod diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-go/main.go b/themes/default/static/programs/awsx-vpc-fargate-service-go/main.go similarity index 100% rename from themes/default/static/examples/awsx-vpc-fargate-service-go/main.go rename to themes/default/static/programs/awsx-vpc-fargate-service-go/main.go diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-java/Pulumi.yaml b/themes/default/static/programs/awsx-vpc-fargate-service-java/Pulumi.yaml similarity index 51% rename from themes/default/static/examples/awsx-vpc-fargate-service-java/Pulumi.yaml rename to themes/default/static/programs/awsx-vpc-fargate-service-java/Pulumi.yaml index a8557c5fc38..364368f4e14 100644 --- a/themes/default/static/examples/awsx-vpc-fargate-service-java/Pulumi.yaml +++ b/themes/default/static/programs/awsx-vpc-fargate-service-java/Pulumi.yaml @@ -1,3 +1,2 @@ name: awsx-vpc-fargate-service-java runtime: java -description: A minimal AWS Pulumi YAML program diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-java/pom.xml b/themes/default/static/programs/awsx-vpc-fargate-service-java/pom.xml similarity index 100% rename from themes/default/static/examples/awsx-vpc-fargate-service-java/pom.xml rename to themes/default/static/programs/awsx-vpc-fargate-service-java/pom.xml diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-java/src/main/java/myproject/App.java b/themes/default/static/programs/awsx-vpc-fargate-service-java/src/main/java/myproject/App.java similarity index 100% rename from themes/default/static/examples/awsx-vpc-fargate-service-java/src/main/java/myproject/App.java rename to themes/default/static/programs/awsx-vpc-fargate-service-java/src/main/java/myproject/App.java diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-javascript/Pulumi.yaml b/themes/default/static/programs/awsx-vpc-fargate-service-javascript/Pulumi.yaml similarity index 67% rename from themes/default/static/examples/awsx-vpc-fargate-service-javascript/Pulumi.yaml rename to themes/default/static/programs/awsx-vpc-fargate-service-javascript/Pulumi.yaml index bda5a4adb05..b3af8730758 100644 --- a/themes/default/static/examples/awsx-vpc-fargate-service-javascript/Pulumi.yaml +++ b/themes/default/static/programs/awsx-vpc-fargate-service-javascript/Pulumi.yaml @@ -3,4 +3,3 @@ runtime: name: nodejs options: typescript: false -description: A minimal AWS Pulumi YAML program diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-javascript/index.js b/themes/default/static/programs/awsx-vpc-fargate-service-javascript/index.js similarity index 100% rename from themes/default/static/examples/awsx-vpc-fargate-service-javascript/index.js rename to themes/default/static/programs/awsx-vpc-fargate-service-javascript/index.js diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-javascript/package.json b/themes/default/static/programs/awsx-vpc-fargate-service-javascript/package.json similarity index 100% rename from themes/default/static/examples/awsx-vpc-fargate-service-javascript/package.json rename to themes/default/static/programs/awsx-vpc-fargate-service-javascript/package.json diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-python/Pulumi.yaml b/themes/default/static/programs/awsx-vpc-fargate-service-python/Pulumi.yaml similarity index 53% rename from themes/default/static/examples/awsx-vpc-fargate-service-python/Pulumi.yaml rename to themes/default/static/programs/awsx-vpc-fargate-service-python/Pulumi.yaml index 68e8819a340..13aa9494567 100644 --- a/themes/default/static/examples/awsx-vpc-fargate-service-python/Pulumi.yaml +++ b/themes/default/static/programs/awsx-vpc-fargate-service-python/Pulumi.yaml @@ -1,3 +1,2 @@ name: awsx-vpc-fargate-service-python runtime: python -description: A minimal AWS Pulumi YAML program diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-python/__main__.py b/themes/default/static/programs/awsx-vpc-fargate-service-python/__main__.py similarity index 100% rename from themes/default/static/examples/awsx-vpc-fargate-service-python/__main__.py rename to themes/default/static/programs/awsx-vpc-fargate-service-python/__main__.py diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-python/requirements.txt b/themes/default/static/programs/awsx-vpc-fargate-service-python/requirements.txt similarity index 100% rename from themes/default/static/examples/load-balanced-fargate-nginx-python/requirements.txt rename to themes/default/static/programs/awsx-vpc-fargate-service-python/requirements.txt diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-typescript/Pulumi.yaml b/themes/default/static/programs/awsx-vpc-fargate-service-typescript/Pulumi.yaml similarity index 55% rename from themes/default/static/examples/awsx-vpc-fargate-service-typescript/Pulumi.yaml rename to themes/default/static/programs/awsx-vpc-fargate-service-typescript/Pulumi.yaml index 105b2d8fbf2..83334cd7471 100644 --- a/themes/default/static/examples/awsx-vpc-fargate-service-typescript/Pulumi.yaml +++ b/themes/default/static/programs/awsx-vpc-fargate-service-typescript/Pulumi.yaml @@ -1,3 +1,2 @@ name: awsx-vpc-fargate-service-typescript runtime: nodejs -description: A minimal AWS Pulumi YAML program diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-typescript/index.ts b/themes/default/static/programs/awsx-vpc-fargate-service-typescript/index.ts similarity index 100% rename from themes/default/static/examples/awsx-vpc-fargate-service-typescript/index.ts rename to themes/default/static/programs/awsx-vpc-fargate-service-typescript/index.ts diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-typescript/package.json b/themes/default/static/programs/awsx-vpc-fargate-service-typescript/package.json similarity index 100% rename from themes/default/static/examples/awsx-vpc-fargate-service-typescript/package.json rename to themes/default/static/programs/awsx-vpc-fargate-service-typescript/package.json diff --git a/themes/default/static/examples/load-balanced-fargate-nginx-typescript/tsconfig.json b/themes/default/static/programs/awsx-vpc-fargate-service-typescript/tsconfig.json similarity index 100% rename from themes/default/static/examples/load-balanced-fargate-nginx-typescript/tsconfig.json rename to themes/default/static/programs/awsx-vpc-fargate-service-typescript/tsconfig.json diff --git a/themes/default/static/examples/awsx-vpc-fargate-service-yaml/Pulumi.yaml b/themes/default/static/programs/awsx-vpc-fargate-service-yaml/Pulumi.yaml similarity index 94% rename from themes/default/static/examples/awsx-vpc-fargate-service-yaml/Pulumi.yaml rename to themes/default/static/programs/awsx-vpc-fargate-service-yaml/Pulumi.yaml index 8f6c7efbc93..cf7d9d787c7 100644 --- a/themes/default/static/examples/awsx-vpc-fargate-service-yaml/Pulumi.yaml +++ b/themes/default/static/programs/awsx-vpc-fargate-service-yaml/Pulumi.yaml @@ -1,6 +1,5 @@ name: awsx-vpc-fargate-service-yaml runtime: yaml -description: A minimal AWS Pulumi YAML program resources: vpc: type: awsx:ec2:Vpc