Update YAML invoke syntax
MODIFY
aws-yaml-ansible-wordpress/Pulumi.yaml
aws-yaml-ansible-wordpress/Pulumi.yaml
@@ -33,13 +33,13 @@ config:
variables:
# Dynamically fetch AZs so we can spread across them.
availabilityZones:
- Fn::Invoke:
- Function: aws:getAvailabilityZones
+ fn::invoke:
+ function: aws:getAvailabilityZones
# Dynamically query for the Amazon Linux 2 AMI in this region.
awsLinuxAmi:
- Fn::Invoke:
- Function: aws:ec2:getAmi
- Arguments:
+ fn::invoke:
+ function: aws:ec2:getAmi
+ arguments:
owners: ["amazon"]
filters:
- name: name

MODIFY
aws-yaml-eks/Pulumi.yaml
aws-yaml-eks/Pulumi.yaml
@@ -3,15 +3,15 @@ runtime: yaml
description: An EKS cluster
variables:
vpcId:
- Fn::Invoke:
- Function: aws:ec2:getVpc
- Arguments:
+ fn::invoke:
+ function: aws:ec2:getVpc
+ arguments:
default: true
Return: id
subnetIds:
- Fn::Invoke:
- Function: aws:ec2:getSubnetIds
- Arguments:
+ fn::invoke:
+ function: aws:ec2:getSubnetIds
+ arguments:
vpcId: ${vpcId}
Return: ids
resources:

MODIFY
azure-yaml-app-service/Pulumi.yaml
azure-yaml-app-service/Pulumi.yaml
@@ -7,9 +7,9 @@ config:
default: pulumi
variables:
blobAccessToken:
- Fn::Invoke:
- Function: azure-native:storage:listStorageAccountServiceSAS
- Arguments:
+ fn::invoke:
+ function: azure-native:storage:listStorageAccountServiceSAS
+ arguments:
accountName: ${sa.name}
protocols: https
sharedAccessStartTime: '2022-01-01'

MODIFY
azure-yaml-container-apps/Pulumi.yaml
azure-yaml-container-apps/Pulumi.yaml
@@ -7,23 +7,23 @@ config:
default: pulumi
variables:
sharedKey:
- Fn::Invoke:
- Function: azure-native:operationalinsights:getSharedKeys
- Arguments:
+ fn::invoke:
+ function: azure-native:operationalinsights:getSharedKeys
+ arguments:
resourceGroupName: ${resourceGroup.name}
workspaceName: ${workspace.name}
Return: primarySharedKey
adminUsername:
- Fn::Invoke:
- Function: azure-native:containerregistry:listRegistryCredentials
- Arguments:
+ fn::invoke:
+ function: azure-native:containerregistry:listRegistryCredentials
+ arguments:
resourceGroupName: ${resourceGroup.name}
registryName: ${registry.name}
Return: username
adminPasswords:
- Fn::Invoke:
- Function: azure-native:containerregistry:listRegistryCredentials
- Arguments:
+ fn::invoke:
+ function: azure-native:containerregistry:listRegistryCredentials
+ arguments:
resourceGroupName: ${resourceGroup.name}
registryName: ${registry.name}
Return: passwords

MODIFY
webserver-yaml-json/Main.json
webserver-yaml-json/Main.json
"Properties": {
"instanceType": "${InstanceType}",
"ami": {
- "Fn::Invoke": {
+ "fn::invoke": {
"Function": "aws:getAmi",
"Arguments": {
"filters": [

MODIFY
webserver-yaml/Pulumi.yaml
webserver-yaml/Pulumi.yaml
@@ -7,9 +7,9 @@ config:
default: t3.micro
variables:
ec2ami:
- Fn::Invoke:
- Function: aws:getAmi
- Arguments:
+ fn::invoke:
+ function: aws:getAmi
+ arguments:
filters:
- name: name
values: ["amzn-ami-hvm-*-x86_64-ebs"]

Update YAML invoke syntax