polite-sandwich-68547
06/16/2023, 6:27 AMquaint-spring-93350
06/16/2023, 8:30 AMworried-arm-83283
06/16/2023, 9:47 AMpulumi login <azblob://main>
, I have sas token stored in $env:AZURE_STORAGE_SAS_TOKEN. But it works fine with cli 3.25. I would really appreciate if someone can point me to the right directioncool-scientist-53915
06/16/2023, 1:12 PMaws.ec2.Instance
to be in a running state before attempting to do a command.remote.Command
on that host.stocky-daybreak-33430
06/16/2023, 4:33 PMstocky-daybreak-33430
06/16/2023, 4:34 PMstocky-daybreak-33430
06/16/2023, 4:37 PM/home/vsts/work/_temp/5b92ef8e-7223-4b8e-be15-46265b561c71/pulumi/pulumi login <azblob://pulumi>
Logged in to fv-az708-326 as vsts (azblob://pulumi)
/home/vsts/work/_temp/5b92ef8e-7223-4b8e-be15-46265b561c71/pulumi/pulumi stack select <stack name redacted> -c
/home/vsts/work/_temp/5b92ef8e-7223-4b8e-be15-46265b561c71/pulumi/pulumi stack change-secrets-provider azurekeyvault://<vault name redacted>.vault.azure.net/keys/pulumi-stack-key --logtostderr --logflow -v 11
W0616 120445.614412 1698 log.go:98] log level 11 will print sensitive information such as api tokens and request headers
Migrating old configuration and state to new secrets provider
I0616 120446.949600 1698 log.go:80] defaultSink::Error(error: could not deserialize deployment: constructing secrets manager of type "cloud": secrets (code=InvalidArgument): POST https://<vault name redacted>.vault.azure.net/keys/pulumi-stack-key/decrypt
--------------------------------------------------------------------------------
RESPONSE 400: 400 Bad Request
ERROR CODE: BadParameter
--------------------------------------------------------------------------------
{
"error": {
"code": "BadParameter",
"message": "The parameter is incorrect.\r\n"
}
}
--------------------------------------------------------------------------------
)
error: could not deserialize deployment: constructing secrets manager of type "cloud": secrets (code=InvalidArgument): POST https://<vault name redacted>.vault.azure.net/keys/pulumi-stack-key/decrypt
--------------------------------------------------------------------------------
RESPONSE 400: 400 Bad Request
ERROR CODE: BadParameter
--------------------------------------------------------------------------------
{
"error": {
"code": "BadParameter",
"message": "The parameter is incorrect.\r\n"
}
}
--------------------------------------------------------------------------------stocky-daybreak-33430
06/16/2023, 4:38 PMstocky-daybreak-33430
06/16/2023, 4:38 PMbillowy-army-68599
stocky-daybreak-33430
06/16/2023, 4:42 PMbillowy-army-68599
cool-flag-35794
06/16/2023, 5:57 PMmagnificent-smartphone-40853
06/16/2023, 9:08 PMconst main = async (): Promise<void> => {
const coreVpc = vpc.createVpc(...);
}
main();
should I just return the coreVpc var within the async function? does pulumi resolve the output in this case?
const main = async (): Promise<{ coreVpc: Vpc }> => {
const coreVpc = vpc.createVpc(...);
return { coreVpc };
}
main();
limited-farmer-68874
06/17/2023, 1:28 AMapply
does not seem to convert Output[str]
despite documentation and everyone on the internet saying this is the way to accomplish this...
I'm working in Python, Btw.delightful-angle-16129
06/17/2023, 2:03 AMmagnificent-smartphone-40853
06/17/2023, 2:04 AMawsx.ec2.Vpc.fromExistingIds(...)
show up as a 'create' in the plan? is this just a logging misnomer?delightful-angle-16129
06/17/2023, 2:05 AMdelightful-angle-16129
06/17/2023, 2:06 AMdelightful-angle-16129
06/17/2023, 2:29 AMmagnificent-smartphone-40853
06/18/2023, 12:26 AMconst vpc = awsx.ec2.Vpc.fromExistingIds(`vpc-${environment}-${regionAlias}`, {
vpcId,
privateSubnetIds,
publicSubnetIds,
});
For some reason the subnets that it returns have the wrong subnet name
I'm seeing
• vpc-dev-use1-private-0
• vpc-dev-use1-private-2
• vpc-dev-use1-private-1
• vpc-dev-use1-private-3
• vpc-dev-use1-public-1
• vpc-dev-use1-public-0
instead of
• vpc-dev-use1-data-private-0
• vpc-dev-use1-data-private-1
• vpc-dev-use1-app-private-0
• vpc-dev-use1-app-private-1
• vpc-dev-use1-edge-private-0
• vpc-dev-use1-edge-private-1
The VPC is created in another stack like so:
return new awsx.ec2.Vpc(vpcName, {
... redacted for brevity ...
// Allocate three subnets per AZ: public (edge), private (app), private (data):
subnets: [
{ type: 'public', name: 'edge', cidrMask: 24 }, // 256 IPs with CIDR mask of /24
{ type: 'private', name: 'app', cidrMask: 24 }, // 256 IPs with CIDR mask of /24
{ type: 'private', name: 'data', cidrMask: 24 }, // 256 IPs with CIDR mask of /24
]
});
What am I doing wrong?wooden-queen-36575
06/18/2023, 4:08 PMable-policeman-41860
06/19/2023, 7:49 AMfancy-finland-37400
06/19/2023, 10:42 AMfancy-finland-37400
06/19/2023, 10:42 AMpolite-sandwich-68547
06/19/2023, 11:46 AMpolite-sandwich-68547
06/19/2023, 12:03 PMerror: preview failed: failed to validate provider config: could not find latest version for provider cloudwatch: 404 HTTP error fetching plugin from <https://api.github.com/repos/pulumi/pulumi-cloudwatch/releases/latest>. If this is a private GitHub repository, try providing a token via the GITHUB_TOKEN environment variable. See: <https://github.com/settings/tokens>
freezing-needle-27463
06/19/2023, 1:22 PMpulumi up
. The error is
Error: cannot ignore changes to the following properties because one or more elements of the path are missing: "tags.tag_created_date"
We have added a ResourceTransformation
in our StackOptions
to ignore changes to the tag_created_date
. We are using pulumi-azure-native
and on vers 3.72.2
of the CLI. This has been working without any issue till today.
We can fix it by deleting the tag in question from the resource, doing a pulumi refresh
and then pulumi up
. A very cumbersome workaround and would appreciate if anyone can help us diagnose the issue.
Thanksimportant-beach-52274
06/19/2023, 3:14 PMup/preview
.
Grpc.Core.RpcException: Status(StatusCode="Unknown", Detail="Invalid asset encountered when unmarshaling resource property")
• The stack trace and logs do not indicate any specific resource that is tripping it up
• Rolling back source does not resolve
• The only workaround we found was to destroy the entire stack, which will be problematic once we're dealing with a production stack
• Stack trace in the thread.refined-pilot-45584
06/19/2023, 3:23 PMBackends: &compute.BackendServiceBackendArray{}
Is the Struct I would like to Populate. I could simply say
Backends: &compute.BackendServiceBackendArray{
&compute.BackendServiceBackendArgs{
Group: "/projects/xxxx/global/backendservice/yyyy",
},
},
However this is obviously not dynamic. It I wanted to build
BackendServiceBackendArray{}
in a loop; or If I wanted to Append
&compute.BackendServiceBackendArgs{}
into the Array. Is there a way to do this…
for Example
backend := &compute.BackendServiceBackendArray{}
backends = append(backends, &compute.BackendServiceBackendArgs{Group: "xxxxxx"})
I am looking for the correct way to dynamically build out these InputArray Objects?