diff --git a/aws-cs-eks/Aws.EksCluster.csproj b/aws-cs-eks/Aws.EksCluster.csproj index fcbb489e8..b30404dee 100644 --- a/aws-cs-eks/Aws.EksCluster.csproj +++ b/aws-cs-eks/Aws.EksCluster.csproj @@ -7,8 +7,8 @@ - - + + diff --git a/aws-cs-fargate/Infra/Aws.Fargate.csproj b/aws-cs-fargate/Infra/Aws.Fargate.csproj index f76c41610..408e69b6f 100644 --- a/aws-cs-fargate/Infra/Aws.Fargate.csproj +++ b/aws-cs-fargate/Infra/Aws.Fargate.csproj @@ -7,8 +7,8 @@ - - + + diff --git a/aws-cs-fargate/Infra/FargateStack.cs b/aws-cs-fargate/Infra/FargateStack.cs index b19096e53..724eb9215 100644 --- a/aws-cs-fargate/Infra/FargateStack.cs +++ b/aws-cs-fargate/Infra/FargateStack.cs @@ -16,9 +16,9 @@ class FargateStack : Stack public FargateStack() { // Read back the default VPC and public subnets, which we will use. - var vpc = Output.Create(Ec2.Invokes.GetVpc(new Ec2.GetVpcArgs {Default = true})); + var vpc = Output.Create(Ec2.GetVpc.InvokeAsync(new Ec2.GetVpcArgs {Default = true})); var vpcId = vpc.Apply(vpc => vpc.Id); - var subnet = vpcId.Apply(id => Ec2.Invokes.GetSubnetIds(new Ec2.GetSubnetIdsArgs {VpcId = id})); + var subnet = vpcId.Apply(id => Ec2.GetSubnetIds.InvokeAsync(new Ec2.GetSubnetIdsArgs {VpcId = id})); var subnetIds = subnet.Apply(s => s.Ids); // Create a SecurityGroup that permits HTTP ingress and unrestricted egress. @@ -90,7 +90,7 @@ public FargateStack() Port = 80, DefaultActions = { - new Elb.Inputs.ListenerDefaultActionsArgs + new Elb.Inputs.ListenerDefaultActionArgs { Type = "forward", TargetGroupArn = webTg.Arn, @@ -102,7 +102,7 @@ public FargateStack() var appRepo = new Ecr.Repository("app-repo"); var appRepoCredentials = appRepo.RegistryId.Apply(async rid => { - var credentials = await Ecr.Invokes.GetCredentials(new Ecr.GetCredentialsArgs {RegistryId = rid}); + var credentials = await Ecr.GetCredentials.InvokeAsync(new Ecr.GetCredentialsArgs {RegistryId = rid}); var data = Convert.FromBase64String(credentials.AuthorizationToken); return Encoding.UTF8.GetString(data).Split(":").ToImmutableArray(); }); @@ -151,7 +151,7 @@ public FargateStack() }, LoadBalancers = { - new Ecs.Inputs.ServiceLoadBalancersArgs + new Ecs.Inputs.ServiceLoadBalancerArgs { TargetGroupArn = webTg.Arn, ContainerName = "my-app", diff --git a/aws-cs-lambda/DotnetLambda/src/DotnetLambda/DotnetLambda.csproj b/aws-cs-lambda/DotnetLambda/src/DotnetLambda/DotnetLambda.csproj index d1a23efb0..52f9544d6 100644 --- a/aws-cs-lambda/DotnetLambda/src/DotnetLambda/DotnetLambda.csproj +++ b/aws-cs-lambda/DotnetLambda/src/DotnetLambda/DotnetLambda.csproj @@ -1,6 +1,6 @@ - netcoreapp2.1 + netcoreapp3.1 true Lambda diff --git a/aws-cs-lambda/pulumi/Aws.Lambda.csproj b/aws-cs-lambda/pulumi/Aws.Lambda.csproj index 9ed3baf94..576d17f09 100644 --- a/aws-cs-lambda/pulumi/Aws.Lambda.csproj +++ b/aws-cs-lambda/pulumi/Aws.Lambda.csproj @@ -7,7 +7,7 @@ - + diff --git a/aws-cs-lambda/pulumi/LambdaStack.cs b/aws-cs-lambda/pulumi/LambdaStack.cs index cc3ad7cb6..c17fdbeeb 100644 --- a/aws-cs-lambda/pulumi/LambdaStack.cs +++ b/aws-cs-lambda/pulumi/LambdaStack.cs @@ -10,8 +10,8 @@ public LambdaStack() { var lambda = new Function("basicLambda", new FunctionArgs { - Runtime = "dotnetcore2.1", - Code = new FileArchive("../DotnetLambda/src/DotnetLambda/bin/Debug/netcoreapp2.1/publish"), + Runtime = "dotnetcore3.1", + Code = new FileArchive("../DotnetLambda/src/DotnetLambda/bin/Debug/netcoreapp3.1/publish"), Handler = "DotnetLambda::DotnetLambda.Function::FunctionHandler", Role = CreateLambdaRole().Arn }); diff --git a/aws-cs-webserver/Aws.WebServer.csproj b/aws-cs-webserver/Aws.WebServer.csproj index 9ed3baf94..576d17f09 100644 --- a/aws-cs-webserver/Aws.WebServer.csproj +++ b/aws-cs-webserver/Aws.WebServer.csproj @@ -7,7 +7,7 @@ - + diff --git a/aws-cs-webserver/WebServerStack.cs b/aws-cs-webserver/WebServerStack.cs index 82704127b..f0f6c5ead 100644 --- a/aws-cs-webserver/WebServerStack.cs +++ b/aws-cs-webserver/WebServerStack.cs @@ -10,11 +10,11 @@ class WebServerStack : Stack { public WebServerStack() { - var ami = Output.Create(Pulumi.Aws.Invokes.GetAmi(new GetAmiArgs + var ami = Output.Create(GetAmi.InvokeAsync(new GetAmiArgs { MostRecent = true, Owners = {"137112412989"}, - Filters = {new GetAmiFiltersArgs {Name = "name", Values = {"amzn-ami-hvm-*"}}} + Filters = {new GetAmiFilterArgs {Name = "name", Values = {"amzn-ami-hvm-*"}}} })); var group = new SecurityGroup("web-secgrp", new SecurityGroupArgs diff --git a/aws-fs-lambda-webserver/LambdaWebServer/LambdaWebServer.fsproj b/aws-fs-lambda-webserver/LambdaWebServer/LambdaWebServer.fsproj index 9cd1bd7ef..550d3bec3 100644 --- a/aws-fs-lambda-webserver/LambdaWebServer/LambdaWebServer.fsproj +++ b/aws-fs-lambda-webserver/LambdaWebServer/LambdaWebServer.fsproj @@ -1,7 +1,7 @@  - netcoreapp2.1 + netcoreapp3.1 portable Exe false diff --git a/aws-fs-lambda-webserver/pulumi/Aws.LambdaWebServer.fsproj b/aws-fs-lambda-webserver/pulumi/Aws.LambdaWebServer.fsproj index 115f0dd01..0f4a80501 100644 --- a/aws-fs-lambda-webserver/pulumi/Aws.LambdaWebServer.fsproj +++ b/aws-fs-lambda-webserver/pulumi/Aws.LambdaWebServer.fsproj @@ -10,7 +10,7 @@ - - + + diff --git a/aws-fs-lambda-webserver/pulumi/Program.fs b/aws-fs-lambda-webserver/pulumi/Program.fs index 10d6854aa..6ccd4c942 100644 --- a/aws-fs-lambda-webserver/pulumi/Program.fs +++ b/aws-fs-lambda-webserver/pulumi/Program.fs @@ -65,8 +65,7 @@ let addInvokePermission name accountId functionArn executionArn = |> ignore let infra () = - let configSection = Pulumi.Config() - let accountId = configSection.Get "awsAccount" + let accountId = Output.Create(Pulumi.Aws.GetCallerIdentity.InvokeAsync()).Apply(fun r -> r.AccountId) let lambdaRole = Role ( @@ -96,8 +95,8 @@ let infra () = Function( "basicLambda", FunctionArgs( - Runtime = input "dotnetcore2.1", - Code = input (FileArchive "../LambdaWebServer/bin/Debug/netcoreapp2.1/publish" :> Archive), + Runtime = input "dotnetcore3.1", + Code = input (FileArchive "../LambdaWebServer/bin/Debug/netcoreapp3.1/publish" :> Archive), Handler = input "LambdaWebServer::Setup+LambdaEntryPoint::FunctionHandlerAsync", Role = io lambdaRole.Arn, Timeout = input 30 @@ -129,8 +128,8 @@ let infra () = ) ) - addInvokePermission "lambdaPermission1" (input accountId) (io lambda.Arn) (deployment.ExecutionArn |> Outputs.apply (fun arn -> arn + "*/*/") |> io) - addInvokePermission "lambdaPermission2" (input accountId) (io lambda.Arn) (deployment.ExecutionArn |> Outputs.apply (fun arn -> arn + "*/*/*") |> io) + addInvokePermission "lambdaPermission1" (io accountId) (io lambda.Arn) (deployment.ExecutionArn |> Outputs.apply (fun arn -> arn + "*/*/") |> io) + addInvokePermission "lambdaPermission2" (io accountId) (io lambda.Arn) (deployment.ExecutionArn |> Outputs.apply (fun arn -> arn + "*/*/*") |> io) let urlWithTrailingSlash = prodStage.InvokeUrl diff --git a/azure-cs-aks-private-container-registry/Azure.AKS.PrivateContainerRegistry.csproj b/azure-cs-aks-private-container-registry/Azure.AKS.PrivateContainerRegistry.csproj index 5b4dd37e4..abb953228 100644 --- a/azure-cs-aks-private-container-registry/Azure.AKS.PrivateContainerRegistry.csproj +++ b/azure-cs-aks-private-container-registry/Azure.AKS.PrivateContainerRegistry.csproj @@ -7,12 +7,12 @@ - - - - - - + + + + + + diff --git a/azure-cs-aks/Azure.Aks.csproj b/azure-cs-aks/Azure.Aks.csproj index 9887e2e04..8d5242676 100644 --- a/azure-cs-aks/Azure.Aks.csproj +++ b/azure-cs-aks/Azure.Aks.csproj @@ -7,10 +7,10 @@ - - - - + + + + diff --git a/azure-cs-appservice/AppServiceStack.cs b/azure-cs-appservice/AppServiceStack.cs index 911589ec5..036763265 100644 --- a/azure-cs-appservice/AppServiceStack.cs +++ b/azure-cs-appservice/AppServiceStack.cs @@ -75,7 +75,7 @@ public AppServiceStack() }, ConnectionStrings = { - new AppServiceConnectionStringsArgs + new AppServiceConnectionStringArgs { Name = "db", Type = "SQLAzure", diff --git a/azure-cs-appservice/Azure.AppService.csproj b/azure-cs-appservice/Azure.AppService.csproj index 81c983fe1..007944355 100644 --- a/azure-cs-appservice/Azure.AppService.csproj +++ b/azure-cs-appservice/Azure.AppService.csproj @@ -7,7 +7,7 @@ - + diff --git a/azure-cs-botservice/Azure.BotService.csproj b/azure-cs-botservice/Azure.BotService.csproj index 966b0854c..7f4e26ac0 100644 --- a/azure-cs-botservice/Azure.BotService.csproj +++ b/azure-cs-botservice/Azure.BotService.csproj @@ -13,9 +13,9 @@ - - - + + + diff --git a/azure-cs-cosmosapp-component/Azure.CosmosAppComponent.csproj b/azure-cs-cosmosapp-component/Azure.CosmosAppComponent.csproj index 29bed00ea..93deccbef 100644 --- a/azure-cs-cosmosapp-component/Azure.CosmosAppComponent.csproj +++ b/azure-cs-cosmosapp-component/Azure.CosmosAppComponent.csproj @@ -7,8 +7,8 @@ - - + + diff --git a/azure-cs-cosmosapp-component/Containers.cs b/azure-cs-cosmosapp-component/Containers.cs index e1e533465..4fd414d64 100644 --- a/azure-cs-cosmosapp-component/Containers.cs +++ b/azure-cs-cosmosapp-component/Containers.cs @@ -52,7 +52,7 @@ public static Output Run() Location = region.Location, ImageRegistryCredentials = { - new GroupImageRegistryCredentialsArgs + new GroupImageRegistryCredentialArgs { Server = registry.LoginServer, Username = registry.AdminUsername, @@ -62,7 +62,7 @@ public static Output Run() OsType = "Linux", Containers = { - new GroupContainersArgs + new GroupContainerArgs { Cpu = 0.5, Image = dockerImage.ImageName, @@ -70,7 +70,7 @@ public static Output Run() Name = "hello-world", Ports = { - new GroupContainersPortsArgs + new GroupContainerPortArgs { Port = 80, Protocol = "TCP", diff --git a/azure-cs-cosmosapp-component/CosmosApp.cs b/azure-cs-cosmosapp-component/CosmosApp.cs index 50612b480..47b449f39 100644 --- a/azure-cs-cosmosapp-component/CosmosApp.cs +++ b/azure-cs-cosmosapp-component/CosmosApp.cs @@ -105,7 +105,7 @@ public CosmosApp(string name, CosmosAppArgs args, ComponentResourceOptions? opti { ResourceGroupName = resourceGroup.Name, Location = primaryLocation, - GeoLocations = locations.Select((l, i) => new AccountGeoLocationsArgs { Location = l, FailoverPriority = i }).ToArray(), + GeoLocations = locations.Select((l, i) => new AccountGeoLocationArgs { Location = l, FailoverPriority = i }).ToArray(), OfferType = "Standard", ConsistencyPolicy = new AccountConsistencyPolicyArgs { ConsistencyLevel = "Session" }, EnableMultipleWriteLocations = args.EnableMultiMaster, diff --git a/azure-cs-cosmosapp-component/VmScaleSets.cs b/azure-cs-cosmosapp-component/VmScaleSets.cs index 19747d227..fb4759d19 100644 --- a/azure-cs-cosmosapp-component/VmScaleSets.cs +++ b/azure-cs-cosmosapp-component/VmScaleSets.cs @@ -68,7 +68,7 @@ public Builder(ResourceGroup resourceGroup) Location = location, FrontendIpConfigurations = { - new LoadBalancerFrontendIpConfigurationsArgs + new LoadBalancerFrontendIpConfigurationArgs { Name = "PublicIPAddress", PublicIpAddressId = publicIp.Id, @@ -138,11 +138,11 @@ public Builder(ResourceGroup resourceGroup) Location = location, NetworkProfiles = { - new ScaleSetNetworkProfilesArgs + new ScaleSetNetworkProfileArgs { IpConfigurations = { - new ScaleSetNetworkProfilesIpConfigurationsArgs + new ScaleSetNetworkProfileIpConfigurationArgs { LoadBalancerBackendAddressPoolIds = {bpepool.Id}, Name = "IPConfiguration", @@ -171,7 +171,7 @@ public Builder(ResourceGroup resourceGroup) }, StorageProfileDataDisks = { - new ScaleSetStorageProfileDataDisksArgs + new ScaleSetStorageProfileDataDiskArgs { Caching = "ReadWrite", CreateOption = "Empty", @@ -212,9 +212,9 @@ public Builder(ResourceGroup resourceGroup) }, Profiles = { - new AutoscaleSettingProfilesArgs + new AutoscaleSettingProfileArgs { - Capacity = new AutoscaleSettingProfilesCapacityArgs + Capacity = new AutoscaleSettingProfileCapacityArgs { Default = 1, Maximum = 10, @@ -223,9 +223,9 @@ public Builder(ResourceGroup resourceGroup) Name = "defaultProfile", Rules = { - new AutoscaleSettingProfilesRulesArgs + new AutoscaleSettingProfileRuleArgs { - MetricTrigger = new AutoscaleSettingProfilesRulesMetricTriggerArgs + MetricTrigger = new AutoscaleSettingProfileRuleMetricTriggerArgs { MetricName = "Percentage CPU", MetricResourceId = scaleSet.Id, @@ -236,7 +236,7 @@ public Builder(ResourceGroup resourceGroup) TimeGrain = "PT1M", TimeWindow = "PT5M", }, - ScaleAction = new AutoscaleSettingProfilesRulesScaleActionArgs + ScaleAction = new AutoscaleSettingProfileRuleScaleActionArgs { Cooldown = "PT1M", Direction = "Increase", @@ -244,9 +244,9 @@ public Builder(ResourceGroup resourceGroup) Value = 1, }, }, - new AutoscaleSettingProfilesRulesArgs + new AutoscaleSettingProfileRuleArgs { - MetricTrigger = new AutoscaleSettingProfilesRulesMetricTriggerArgs + MetricTrigger = new AutoscaleSettingProfileRuleMetricTriggerArgs { MetricName = "Percentage CPU", MetricResourceId = scaleSet.Id, @@ -257,7 +257,7 @@ public Builder(ResourceGroup resourceGroup) TimeGrain = "PT1M", TimeWindow = "PT5M", }, - ScaleAction = new AutoscaleSettingProfilesRulesScaleActionArgs + ScaleAction = new AutoscaleSettingProfileRuleScaleActionArgs { Cooldown = "PT1M", Direction = "Decrease", diff --git a/azure-cs-functions-raw/Azure.FunctionsRaw.csproj b/azure-cs-functions-raw/Azure.FunctionsRaw.csproj index f2f4b90f1..9400bc96e 100644 --- a/azure-cs-functions-raw/Azure.FunctionsRaw.csproj +++ b/azure-cs-functions-raw/Azure.FunctionsRaw.csproj @@ -7,7 +7,7 @@ - + diff --git a/azure-cs-msi-keyvault-rbac/AppStack.cs b/azure-cs-msi-keyvault-rbac/AppStack.cs index cf8f60e3d..2f930c795 100644 --- a/azure-cs-msi-keyvault-rbac/AppStack.cs +++ b/azure-cs-msi-keyvault-rbac/AppStack.cs @@ -87,7 +87,7 @@ public AppStack() Source = new FileArchive("./webapp/bin/Debug/netcoreapp2.2/publish"), }); - var clientConfig = Output.Create(Pulumi.Azure.Core.Invokes.GetClientConfig()); + var clientConfig = Output.Create(GetClientConfig.InvokeAsync()); var tenantId = clientConfig.Apply(c => c.TenantId); var currentPrincipal = clientConfig.Apply(c => c.ObjectId); @@ -99,7 +99,7 @@ public AppStack() TenantId = tenantId, AccessPolicies = { - new KeyVaultAccessPoliciesArgs + new KeyVaultAccessPolicyArgs { TenantId = tenantId, // The current principal has to be granted permissions to Key Vault so that it can actually add and then remove @@ -137,7 +137,7 @@ public AppStack() }, ConnectionStrings = { - new AppServiceConnectionStringsArgs + new AppServiceConnectionStringArgs { Name = "db", Type = "SQLAzure", diff --git a/azure-cs-msi-keyvault-rbac/Azure.KeyVault.csproj b/azure-cs-msi-keyvault-rbac/Azure.KeyVault.csproj index 4e3dd0472..d85703cb0 100644 --- a/azure-cs-msi-keyvault-rbac/Azure.KeyVault.csproj +++ b/azure-cs-msi-keyvault-rbac/Azure.KeyVault.csproj @@ -7,8 +7,8 @@ - - + + diff --git a/azure-cs-static-website/Azure.StaticWebsite.csproj b/azure-cs-static-website/Azure.StaticWebsite.csproj index 81c983fe1..007944355 100644 --- a/azure-cs-static-website/Azure.StaticWebsite.csproj +++ b/azure-cs-static-website/Azure.StaticWebsite.csproj @@ -7,7 +7,7 @@ - + diff --git a/azure-cs-webserver/Azure.WebServer.csproj b/azure-cs-webserver/Azure.WebServer.csproj index 81c983fe1..007944355 100644 --- a/azure-cs-webserver/Azure.WebServer.csproj +++ b/azure-cs-webserver/Azure.WebServer.csproj @@ -7,7 +7,7 @@ - + diff --git a/azure-cs-webserver/WebServerStack.cs b/azure-cs-webserver/WebServerStack.cs index c1e9f8c1b..13a24632d 100644 --- a/azure-cs-webserver/WebServerStack.cs +++ b/azure-cs-webserver/WebServerStack.cs @@ -20,7 +20,7 @@ public WebServerStack() AddressSpaces = {"10.0.0.0/16"}, Subnets = { - new VirtualNetworkSubnetsArgs {Name = "default", AddressPrefix = "10.0.1.0/24"} + new VirtualNetworkSubnetArgs {Name = "default", AddressPrefix = "10.0.1.0/24"} } } ); @@ -38,7 +38,7 @@ public WebServerStack() ResourceGroupName = resourceGroup.Name, IpConfigurations = { - new NetworkInterfaceIpConfigurationsArgs + new NetworkInterfaceIpConfigurationArgs { Name = "webserveripcfg", SubnetId = network.Subnets.Apply(subnets => subnets[0].Id), @@ -92,7 +92,7 @@ public WebServerStack() .Apply(async t => { (_, string name, string resourceGroupName) = t; - var ip = await Pulumi.Azure.Network.Invokes.GetPublicIP(new GetPublicIPArgs + var ip = await GetPublicIP.InvokeAsync(new GetPublicIPArgs {Name = name, ResourceGroupName = resourceGroupName}); return ip.IpAddress; }); diff --git a/azure-fs-aci/Azure.Aci.fsproj b/azure-fs-aci/Azure.Aci.fsproj index 363b21d27..148f6e67a 100644 --- a/azure-fs-aci/Azure.Aci.fsproj +++ b/azure-fs-aci/Azure.Aci.fsproj @@ -10,9 +10,9 @@ - - - + + + diff --git a/azure-fs-aci/Program.fs b/azure-fs-aci/Program.fs index c00767fd6..10466aecd 100644 --- a/azure-fs-aci/Program.fs +++ b/azure-fs-aci/Program.fs @@ -38,18 +38,18 @@ let infra () = GroupArgs (ResourceGroupName = io resourceGroup.Name, ImageRegistryCredentials = inputList [input - (GroupImageRegistryCredentialsArgs + (GroupImageRegistryCredentialArgs (Server = io registry.LoginServer, Username = io registry.AdminUsername, Password = io registry.AdminPassword))], OsType = input "Linux", Containers = inputList [input - (GroupContainersArgs + (GroupContainerArgs (Cpu = input 0.5, Image = io dockerImage.ImageName, Memory = input 1.5, Name = input "hello-world", - Ports = inputList [input (GroupContainersPortsArgs(Port = input 80, Protocol = input "TCP"))] + Ports = inputList [input (GroupContainerPortArgs(Port = input 80, Protocol = input "TCP"))] ))], IpAddressType = input "public", DnsNameLabel = input "acifsharp")) diff --git a/azure-fs-aks/Azure.Aks.fsproj b/azure-fs-aks/Azure.Aks.fsproj index d836b5a44..1bc1b1a37 100644 --- a/azure-fs-aks/Azure.Aks.fsproj +++ b/azure-fs-aks/Azure.Aks.fsproj @@ -9,10 +9,10 @@ - - - - - + + + + + diff --git a/azure-fs-appservice/Azure.AppService.fsproj b/azure-fs-appservice/Azure.AppService.fsproj index 9d3a5038c..0f1b52fac 100644 --- a/azure-fs-appservice/Azure.AppService.fsproj +++ b/azure-fs-appservice/Azure.AppService.fsproj @@ -10,8 +10,8 @@ - - + + diff --git a/azure-fs-appservice/Program.fs b/azure-fs-appservice/Program.fs index 60e33cab2..dd43d7d58 100644 --- a/azure-fs-appservice/Program.fs +++ b/azure-fs-appservice/Program.fs @@ -69,7 +69,7 @@ let infra () = server database username pwd) let connectionStringSetting = - AppServiceConnectionStringsArgs + AppServiceConnectionStringArgs (Name = input "db", Type = input "SQLAzure", Value = io connectionString) diff --git a/digitalocean-cs-loadbalanced-droplets/Digitalocean.LoadbalancedDroplets.csproj b/digitalocean-cs-loadbalanced-droplets/Digitalocean.LoadbalancedDroplets.csproj index 6a45e21bb..6e205d360 100644 --- a/digitalocean-cs-loadbalanced-droplets/Digitalocean.LoadbalancedDroplets.csproj +++ b/digitalocean-cs-loadbalanced-droplets/Digitalocean.LoadbalancedDroplets.csproj @@ -9,8 +9,7 @@ - - + diff --git a/gcp-cs-functions/GCP.Functions.csproj b/gcp-cs-functions/GCP.Functions.csproj index f65dc4831..87027b420 100644 --- a/gcp-cs-functions/GCP.Functions.csproj +++ b/gcp-cs-functions/GCP.Functions.csproj @@ -7,7 +7,7 @@ - + diff --git a/gcp-cs-gke/Gcp.Gke.csproj b/gcp-cs-gke/Gcp.Gke.csproj index f65dc4831..87027b420 100644 --- a/gcp-cs-gke/Gcp.Gke.csproj +++ b/gcp-cs-gke/Gcp.Gke.csproj @@ -7,7 +7,7 @@ - + diff --git a/gcp-cs-gke/KubernetesStack.cs b/gcp-cs-gke/KubernetesStack.cs index 44b53c22c..13bfa3fac 100644 --- a/gcp-cs-gke/KubernetesStack.cs +++ b/gcp-cs-gke/KubernetesStack.cs @@ -10,7 +10,7 @@ class KubernetesStack : Stack public KubernetesStack() { var masterVersion = new Config().Get("masterVersion") - ?? (Input) Output.Create(Invokes.GetEngineVersions()) + ?? (Input) Output.Create(GetEngineVersions.InvokeAsync()) .Apply(v => v.LatestMasterVersion); var cluster = new Cluster("helloworld", new ClusterArgs diff --git a/kubernetes-cs-guestbook/components/Kubernetes.Guestbook.Components.csproj b/kubernetes-cs-guestbook/components/Kubernetes.Guestbook.Components.csproj index 9dd1ce408..e0f6e56e7 100644 --- a/kubernetes-cs-guestbook/components/Kubernetes.Guestbook.Components.csproj +++ b/kubernetes-cs-guestbook/components/Kubernetes.Guestbook.Components.csproj @@ -7,7 +7,7 @@ - + diff --git a/kubernetes-cs-guestbook/simple/Kubernetes.Guestbook.csproj b/kubernetes-cs-guestbook/simple/Kubernetes.Guestbook.csproj index 2953b3300..48e5f36a1 100644 --- a/kubernetes-cs-guestbook/simple/Kubernetes.Guestbook.csproj +++ b/kubernetes-cs-guestbook/simple/Kubernetes.Guestbook.csproj @@ -6,7 +6,7 @@ - + diff --git a/testing-unit-cs/UnitTesting.csproj b/testing-unit-cs/UnitTesting.csproj index f1c4c5bfd..5c6630702 100644 --- a/testing-unit-cs/UnitTesting.csproj +++ b/testing-unit-cs/UnitTesting.csproj @@ -12,7 +12,7 @@ - +