stocky-petabyte-29883
02/24/2022, 3:59 PMsome-continent-1577
02/24/2022, 4:51 PMbored-table-20691
02/24/2022, 8:56 PMtls
, random
, etc) depend on quite a bit of Pulumi specific things (e.g. pulumictl
) and it’s not clear if it is the right place to start.
Ideally the repo should also take care of things like building the SDK binaries, etcworried-oxygen-57301
02/24/2022, 10:37 PMerror: resource complete event returned an error: failed to save snapshot: [403] The provided update token has expired.
late-energy-66663
02/25/2022, 12:57 AMeager-jordan-39489
02/25/2022, 1:42 AMonObjectCreated
in Python? I couldn't find it..fancy-spoon-46046
02/25/2022, 2:12 PMastonishing-beach-12529
02/25/2022, 3:55 PMsteep-beach-52652
02/25/2022, 4:15 PMrapid-raincoat-36492
02/25/2022, 4:19 PMlittle-library-54601
02/25/2022, 4:32 PMnew AzureNative.Web.Inputs.HostNameSslStateArgs
{
HostType = "Standard",
Name = "<http://my-app-service.azurewebsites.net|my-app-service.azurewebsites.net>",
SslState = "Disabled",
},
when it should be:
new AzureNative.Web.Inputs.HostNameSslStateArgs
{
HostType = HostType.Standard,
Name = "<http://my-app-service.azurewebsites.net|my-app-service.azurewebsites.net>",
SslState = SslState.Disabled,
},
As it stands, the generated code won't compile. If there's a better place to report this (again, assuming it hasn't been), lmk.melodic-car-16900
02/25/2022, 4:46 PMpulumi:pulumi:Stack (mast-snowflake-non-pro):
error: preview failed
snowflake:index:RoleGrants (snowflake_user_reader_role_grant):
error: Preview failed: refreshing urn:pulumi:non-pro::mast-snowflake::snowflake:index/roleGrants:RoleGrants::snowflake_user_reader_role_grant: 1 error occurred:
* 5 or 6 fields allowed
melodic-car-16900
02/25/2022, 4:46 PMmelodic-car-16900
02/25/2022, 4:47 PMmelodic-car-16900
02/25/2022, 4:47 PMnew snowflake.RoleGrants('snowflake_user_reader_role_grant', {
roleName: readRole.name,
roles: ['SYSADMIN'],
users: [readUser.name],
});
melodic-car-16900
02/25/2022, 4:48 PM/**
* Input properties used for looking up and filtering RoleGrants resources.
*/
export interface RoleGrantsState {
/**
* The name of the role we are granting.
*/
roleName?: pulumi.Input<string>;
/**
* Grants role to this specified role.
*/
roles?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Grants role to this specified user.
*/
users?: pulumi.Input<pulumi.Input<string>[]>;
}
melodic-car-16900
02/25/2022, 4:48 PMcreamy-carpet-23943
02/25/2022, 9:35 PMthousands-hairdresser-72380
02/25/2022, 9:42 PMaws:region
configuration to configure my stacks.
A stack was deployed to us-east-1
then the aws:region
was swapped to us-west-2
and deployed.
It got half way through and then failed.
It now fails to delete any resources from either region and returns errors like:
error reading ELBv2 Target Group [omitted] is not a valid target group ARN
and
InvalidParameterException: Invalid Region in ARN
What’s the best way to reconcile this without deleting all the resources manually then force deleting the stack?
Thank you!fancy-vase-72193
02/26/2022, 5:31 AMfs/promises
bulky-bird-93072
02/26/2022, 8:57 AMbulky-bird-93072
02/26/2022, 3:06 PMred-scooter-62880
02/26/2022, 3:22 PMgentle-account-13294
02/26/2022, 6:45 PMpulumi.Outputs
question tied to resource_name
:
I would like to have a resource_name
by dynamic and tied to a function
that is taking a Output
as parameter. e.g.
def some_func(database_name: Output[str], schema: Output[str]) :
snowflake.SchemaGrant(f"database_{database_name}_schema_{schema}_privilege_{one_privilege}_future_false_{role_hash}",
database_name=database_name,
privilege=one_privilege,
roles=roles,
schema_name=schema,
with_grant_option=False)
In this specific case I’m trying to write a generic function that will creates schema’s using the Snowflake provider but in principle this question should be applicable to any resource.
It seems like the resource_name
should be a str
and using the Output
just causes the resource name to have something like:
<pulumi.output.Output object at 0x111f482d0>_schema_<pulumi.output.Output object at 0x111f51290>_privilege_CREATE
instead of the actual name of the Output. Note that the Output is already known in this case. I also tried using apply
For e.g.
all_outputs = pulumi.Output.all(database_name, schema)
all_outputs.apply(inner). # where inner function just encapsulates the real work
the only way i could think of is using two apply
one inside the other for the two outputs to resolve this.
I’m hoping there is a better way or I’m missing something in my understanding of using Outputs
??bulky-tent-99405
02/26/2022, 11:46 PMlate-finland-24917
02/27/2022, 6:26 PMpulumi up
command, it stuck and doesn't do anything.
This is the whole preview:
Previewing update (kaas-test)
View Live: <https://app.pulumi.com/armanjtehrani/kubetest/kaas-test/previews/98576566-8eea-4e58-a906-48399e49a05d>
Type Name Plan Info
pulumi:pulumi:Stack kubetest-kaas-test running E0227 21:41:27.190963493 9981 <http://fork_posix.cc:70]|fork_posix.cc:70]> Fork support is only compatible with the epoll1 and poll polling strategies
pulumi:pulumi:Stack kubetest-kaas-test running. E0227 21:41:27.190963493 9981 <http://fork_posix.cc:70]|fork_posix.cc:70]> Fork support is only compatible with the epoll1 and poll polling strategies
few-petabyte-79686
02/27/2022, 8:53 PMpulumi-cloudflare
provider docs - Is it available or needs an issue to track in the pulumi-cloudflare
repo?agreeable-terabyte-59853
02/28/2022, 8:38 AMfeedPollDelay
on my Azure CosmosDB trigger through Pulumi. Any idea on how I could set it without manually accessing the property through Azure Portal?wet-fall-68417
02/28/2022, 9:54 AMerror: aws:lb/targetGroup:TargetGroup resource 'internal-lb-target-group' has a problem: expected target_type to be one of [instance ip lambda], got alb. Examine values at 'TargetGroup.TargetType'.
The alb type seems to not be supported by pulumi, which is a big problem for our pulumi managed infrastructure.adorable-gpu-98268
02/28/2022, 10:22 AMcurl -O "<https://get.pulumi.com/releases/sdk/pulumi-v3.25.0-linux-x64.tar.gz>"
curl -O "<https://get.pulumi.com/releases/sdk/pulumi-3.25.0-checksums.txt>"
sha256sum -c pulumi-3.25.0-checksums.txt
returns:
...
sha256sum: WARNING: 1 computed checksum did NOT match
adorable-gpu-98268
02/28/2022, 10:22 AMcurl -O "<https://get.pulumi.com/releases/sdk/pulumi-v3.25.0-linux-x64.tar.gz>"
curl -O "<https://get.pulumi.com/releases/sdk/pulumi-3.25.0-checksums.txt>"
sha256sum -c pulumi-3.25.0-checksums.txt
returns:
...
sha256sum: WARNING: 1 computed checksum did NOT match
echoing-dinner-19531
02/28/2022, 10:28 AMsha256sum pulumi-v3.25.0-linux-x64.tar.gz
7c283885947a563fd956d6b6146aa0ab243569dae20a912328afc3b7ca568596 pulumi-v3.25.0-linux-x64.tar.gz
https://github.com/pulumi/pulumi/runs/5312955548?check_suite_focus=true:
7c283885947a563fd956d6b6146aa0ab243569dae20a912328afc3b7ca568596 pulumi-v3.25.0-linux-x64.tar.gz
adorable-gpu-98268
02/28/2022, 10:29 AM~ % sha256sum pulumi-v3.25.0-linux-x64.tar.gz
fded5fbde6f9f6eec598ce17b047d96536824dfc4dbba2028f48eba36a1a78f0 pulumi-v3.25.0-linux-x64.tar.gz
echoing-dinner-19531
02/28/2022, 10:32 AMadorable-gpu-98268
02/28/2022, 10:35 AMcurl -O "<https://get.pulumi.com/releases/sdk/pulumi-v3.25.0-linux-x64.tar.gz>"
downloads for me:echoing-dinner-19531
02/28/2022, 10:38 AMadorable-gpu-98268
02/28/2022, 10:49 AMechoing-dinner-19531
02/28/2022, 11:03 AMadorable-gpu-98268
02/28/2022, 11:04 AMculr/wget
or Safari
from this same url. The cmd tools give me the file that doesn’t match and the Safari download gives me the file that matches.echoing-dinner-19531
03/01/2022, 9:03 AMadorable-gpu-98268
03/01/2022, 9:11 AMminiature-musician-31262
03/01/2022, 7:19 PM/releases/sdk/pulumi-3.25*
and /releases/sdk/pulumi-v3.25.*
, so I believe this is fixed. Let us know if you’re still seeing otherwise, though.