-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
549 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: ${PROJECT} | ||
description: ${DESCRIPTION} | ||
runtime: yaml | ||
template: | ||
description: A minimal AliCloud Pulumi YAML program | ||
config: | ||
alicloud:region: | ||
description: The AliCloud region to deploy into | ||
default: cn-beijing | ||
|
||
resources: | ||
# Create an AliCloud resource (OSS Bucket) | ||
bucket: | ||
type: alicloud:oss:Bucket | ||
|
||
outputs: | ||
# Export the name of the bucket | ||
bucketName: ${bucket.id} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
resources: | ||
# Create an AliCloud resource (OSS Bucket) | ||
bucket: | ||
type: alicloud:oss:Bucket | ||
|
||
outputs: | ||
# Export the name of the bucket | ||
bucketName: ${bucket.id} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: ${PROJECT} | ||
description: ${DESCRIPTION} | ||
runtime: yaml | ||
template: | ||
description: A minimal Auth0 Pulumi YAML program | ||
config: | ||
auth0:clientId: | ||
description: The Auth0 client ID | ||
secret: true | ||
auth0:clientSecret: | ||
description: The Auth0 client secret | ||
secret: true | ||
auth0:domain: | ||
description: The Auth0 domain | ||
|
||
resources: | ||
client: | ||
type: auth0:Client | ||
properties: | ||
allowedLogoutUrls: | ||
- "https://www.example.com/logout" | ||
allowedOrigins: | ||
- "https://www.example.com" | ||
callbacks: | ||
- "https://example.com/auth/callback" | ||
appType: "regular_web" | ||
jwtConfiguration: | ||
alg: "RS256" | ||
|
||
outputs: | ||
clientId: ${client.clientId} | ||
clientSecret: ${client.clientSecret} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
resources: | ||
client: | ||
type: auth0:Client | ||
properties: | ||
allowedLogoutUrls: | ||
- "https://www.example.com/logout" | ||
allowedOrigins: | ||
- "https://www.example.com" | ||
callbacks: | ||
- "https://example.com/auth/callback" | ||
appType: "regular_web" | ||
jwtConfiguration: | ||
alg: "RS256" | ||
|
||
outputs: | ||
clientId: ${client.clientId} | ||
clientSecret: ${client.clientSecret} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: ${PROJECT} | ||
description: ${DESCRIPTION} | ||
runtime: yaml | ||
template: | ||
description: A minimal AWS Pulumi YAML program | ||
config: | ||
aws-native:region: | ||
description: The AWS region to deploy into | ||
default: us-east-1 | ||
|
||
resources: | ||
# Create an AWS resource (S3 Bucket) | ||
bucket: | ||
type: aws-native:s3:Bucket | ||
|
||
outputs: | ||
# Export the name of the bucket | ||
bucketName: ${bucket.id} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
resources: | ||
# Create an AWS resource (S3 Bucket) | ||
bucket: | ||
type: aws-native:s3:Bucket | ||
|
||
outputs: | ||
# Export the name of the bucket | ||
bucketName: ${bucket.id} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: ${PROJECT} | ||
description: ${DESCRIPTION} | ||
runtime: yaml | ||
template: | ||
description: A minimal AWS Pulumi YAML program | ||
important: true | ||
config: | ||
aws:region: | ||
description: The AWS region to deploy into | ||
default: us-east-1 | ||
|
||
resources: | ||
# Create an AWS resource (S3 Bucket) | ||
bucket: | ||
type: aws:s3:Bucket | ||
|
||
outputs: | ||
# Export the name of the bucket | ||
bucketName: ${bucket.id} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
resources: | ||
# Create an AWS resource (S3 Bucket) | ||
bucket: | ||
type: aws:s3:Bucket | ||
|
||
outputs: | ||
# Export the name of the bucket | ||
bucketName: ${bucket.id} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: ${PROJECT} | ||
description: ${DESCRIPTION} | ||
runtime: yaml | ||
template: | ||
description: A minimal Pulumi YAML program with the classic Azure provider | ||
config: | ||
azure:location: | ||
description: The Azure location to use | ||
default: WestUS | ||
|
||
resources: | ||
# Create an Azure Resource Group | ||
resourceGroup: | ||
type: azure:core:ResourceGroup | ||
# Create an Azure resource (Storage Account) | ||
account: | ||
type: azure:storage:Account | ||
properties: | ||
resourceGroupName: ${resourceGroup.name} | ||
accountTier: Standard | ||
accountReplicationType: LRS | ||
|
||
outputs: | ||
# Export the connection string for the storage account | ||
connectionString: ${account.primaryConnectionString} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
resources: | ||
# Create an Azure Resource Group | ||
resourceGroup: | ||
type: azure:core:ResourceGroup | ||
# Create an Azure resource (Storage Account) | ||
account: | ||
type: azure:storage:Account | ||
properties: | ||
resourceGroupName: ${resourceGroup.name} | ||
accountTier: Standard | ||
accountReplicationType: LRS | ||
|
||
outputs: | ||
# Export the connection string for the storage account | ||
connectionString: ${account.primaryConnectionString} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: ${PROJECT} | ||
description: ${DESCRIPTION} | ||
runtime: yaml | ||
template: | ||
description: A minimal Azure Native Pulumi YAML program | ||
important: true | ||
config: | ||
azure-native:location: | ||
description: The Azure location to use | ||
default: WestUS | ||
|
||
resources: | ||
# Create an Azure Resource Group | ||
resourceGroup: | ||
type: azure-native:resources:ResourceGroup | ||
# Create an Azure resource (Storage Account) | ||
storageAccount: | ||
type: azure-native:storage:StorageAccount | ||
properties: | ||
resourceGroupName: ${resourceGroup.name} | ||
sku: | ||
name: Standard_LRS | ||
kind: StorageV2 | ||
|
||
variables: | ||
storageAccountKeys: | ||
Fn::Invoke: | ||
Function: azure-native:storage:listStorageAccountKeys | ||
Arguments: | ||
resourceGroupName: ${resourceGroup.name} | ||
accountName: ${storageAccount.name} | ||
|
||
outputs: | ||
# Export the primary key of the Storage Account | ||
primaryStorageKey: ${storageAccountKeys.keys[0].value} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
resources: | ||
# Create an Azure Resource Group | ||
resourceGroup: | ||
type: azure-native:resources:ResourceGroup | ||
# Create an Azure resource (Storage Account) | ||
storageAccount: | ||
type: azure-native:storage:StorageAccount | ||
properties: | ||
resourceGroupName: ${resourceGroup.name} | ||
sku: | ||
name: Standard_LRS | ||
kind: StorageV2 | ||
|
||
variables: | ||
storageAccountKeys: | ||
Fn::Invoke: | ||
Function: azure-native:storage:listStorageAccountKeys | ||
Arguments: | ||
resourceGroupName: ${resourceGroup.name} | ||
accountName: ${storageAccount.name} | ||
|
||
outputs: | ||
# Export the primary key of the Storage Account | ||
primaryStorageKey: ${storageAccountKeys.keys[0].value} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: ${PROJECT} | ||
description: ${DESCRIPTION} | ||
runtime: yaml | ||
template: | ||
description: A minimal Civo Pulumi YAML program | ||
config: | ||
civo:token: | ||
description: The token that allows you access your CIVO account | ||
secret: true | ||
|
||
resources: | ||
firewall: | ||
type: civo:Firewall | ||
properties: | ||
name: myFirstFirewall | ||
region: LON1 | ||
createDefaultRules: true | ||
cluster: | ||
type: civo:KubernetesCluster | ||
properties: | ||
name: myFirstCivoCluster | ||
numTargetNodes: 3 | ||
targetNodesSize: g3.k3s.medium | ||
region: LON1 | ||
firewallId: ${firewall.id} | ||
|
||
outputs: | ||
clusterName: ${cluster.name} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
resources: | ||
firewall: | ||
type: civo:Firewall | ||
properties: | ||
name: myFirstFirewall | ||
region: LON1 | ||
createDefaultRules: true | ||
cluster: | ||
type: civo:KubernetesCluster | ||
properties: | ||
name: myFirstCivoCluster | ||
numTargetNodes: 3 | ||
targetNodesSize: g3.k3s.medium | ||
region: LON1 | ||
firewallId: ${firewall.id} | ||
|
||
outputs: | ||
clusterName: ${cluster.name} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: ${PROJECT} | ||
description: ${DESCRIPTION} | ||
runtime: yaml | ||
template: | ||
description: A minimal DigitalOcean Pulumi YAML program | ||
|
||
resources: | ||
# Create a DigitalOcean resource (Domain) | ||
domain: | ||
type: digitalocean:Domain | ||
properties: | ||
name: my-domain.io | ||
|
||
outputs: | ||
# Export the name of the domain | ||
domainName: ${domain.name} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
resources: | ||
# Create a DigitalOcean resource (Domain) | ||
domain: | ||
type: digitalocean:Domain | ||
properties: | ||
name: my-domain.io | ||
|
||
outputs: | ||
# Export the name of the domain | ||
domainName: ${domain.name} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: ${PROJECT} | ||
description: ${DESCRIPTION} | ||
runtime: yaml | ||
template: | ||
description: A minimal Equinix Metal Pulumi YAML program | ||
|
||
resources: | ||
# Create an Equinix Metal resource (Project) | ||
project: | ||
type: metal:Project | ||
properties: | ||
name: My Test Project | ||
|
||
outputs: | ||
# Export the name of the project | ||
projectName: ${project.name} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
resources: | ||
# Create an Equinix Metal resource (Project) | ||
project: | ||
type: metal:Project | ||
properties: | ||
name: My Test Project | ||
|
||
outputs: | ||
# Export the name of the project | ||
projectName: ${project.name} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: ${PROJECT} | ||
description: ${DESCRIPTION} | ||
runtime: yaml | ||
template: | ||
description: A minimal Google Cloud Pulumi YAML program | ||
important: true | ||
config: | ||
gcp:project: | ||
description: The Google Cloud project to deploy into | ||
|
||
resources: | ||
# Create a GCP resource (Storage Bucket) | ||
bucket: | ||
type: gcp:storage:Bucket | ||
properties: | ||
location: US | ||
|
||
outputs: | ||
# Export the DNS name of the bucket | ||
bucketName: ${bucket.url} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
resources: | ||
# Create a GCP resource (Storage Bucket) | ||
bucket: | ||
type: gcp:storage:Bucket | ||
properties: | ||
location: US | ||
|
||
outputs: | ||
# Export the DNS name of the bucket | ||
bucketName: ${bucket.url} |
Oops, something went wrong.