From cec17f976812d16ba6a9e197d2dbf049969e4a4d Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Wed, 24 Jul 2024 22:35:56 +0000 Subject: [PATCH] make build_sdks --- sdk/go/ns1/record.go | 12 ++++++------ sdk/python/pulumi_ns1/_utilities.py | 2 ++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/sdk/go/ns1/record.go b/sdk/go/ns1/record.go index d8ae936..2bc332a 100644 --- a/sdk/go/ns1/record.go +++ b/sdk/go/ns1/record.go @@ -119,17 +119,17 @@ import ( // Answer: pulumi.String(fmt.Sprintf("sub1.%v", tld.Zone)), // Region: pulumi.String("east"), // Meta: pulumi.Map{ -// "up": foo.ID().ApplyT(func(id string) (string, error) { +// "up": interface{}(foo.ID().ApplyT(func(id string) (string, error) { // return fmt.Sprintf("{\"feed\":\"%v\"}", id), nil -// }).(pulumi.StringOutput), +// }).(pulumi.StringOutput)), // }, // }, // &ns1.RecordAnswerArgs{ // Answer: pulumi.String(fmt.Sprintf("sub2.%v", tld.Zone)), // Meta: pulumi.Map{ -// "up": bar.ID().ApplyT(func(id string) (string, error) { +// "up": interface{}(bar.ID().ApplyT(func(id string) (string, error) { // return fmt.Sprintf("{\"feed\":\"%v\"}", id), nil -// }).(pulumi.StringOutput), +// }).(pulumi.StringOutput)), // "connections": pulumi.Any(3), // }, // }, @@ -184,8 +184,8 @@ import ( // // In other cases, a domain or zone may be passed in with a preceding dot ('.') // // character which would likewise lead the system to fail. // _, err = ns1.NewRecord(ctx, "external", &ns1.RecordArgs{ -// Zone: invokeReplace.Result, -// Domain: invokeReplace1.Result, +// Zone: pulumi.String(invokeReplace.Result), +// Domain: pulumi.String(invokeReplace1.Result), // Type: pulumi.String("CNAME"), // }) // if err != nil { diff --git a/sdk/python/pulumi_ns1/_utilities.py b/sdk/python/pulumi_ns1/_utilities.py index c92fd32..d14b49a 100644 --- a/sdk/python/pulumi_ns1/_utilities.py +++ b/sdk/python/pulumi_ns1/_utilities.py @@ -13,10 +13,12 @@ import sys import typing import warnings +import base64 import pulumi import pulumi.runtime from pulumi.runtime.sync_await import _sync_await +from pulumi.runtime.proto import resource_pb2 from semver import VersionInfo as SemverVersion from parver import Version as PEP440Version