adamant-translator-31969
03/29/2021, 4:21 PMwonderful-napkin-50018
03/29/2021, 5:08 PMstack init staging
and stack import --file staging.json.bak
pulumi says:
error: could not deserialize deployment: unexpected end of JSON inputAny idea how to debug this or what to try next? I am lost.
wonderful-napkin-50018
03/29/2021, 5:28 PMIf you are using Pulumi in your organization, by default the stack will be created in your user account. To target the organization, name the stack using `orgName/stackName`:Does this only apply to pulumi.com as state backend? If I try this with S3 backend it says:
$> pulumi stack init orgName/test
error: stack names may not contain slashes
wonderful-napkin-50018
03/29/2021, 7:32 PMCluster
in one Stack and reference it in a FargateService
in another stack. How do I do this with awsx? The FargateService expects a whole Cluster argument, not just an ID or name. And I don't see how I can "get" an existing cluster with awsx.ecs.Cluster
. Do I have to export the whole cluster from the first stack?elegant-carpet-8859
03/29/2021, 7:48 PMwonderful-napkin-50018
03/29/2021, 11:15 PMshy-bird-55689
03/29/2021, 11:43 PMerror: 1 error occurred:
* Error creating API Gateway Deployment: BadRequestException: The REST API doesn't contain any methods
(using python) i'm specifying an OpenAPI spec for the body of aws.apigateway.RestApi
which has routes and methods configured.
Not sure what i'm maybe missing somewhere, new to Pulumi (coming from Serverless Framework)eager-lion-7694
03/30/2021, 2:23 AMwonderful-napkin-50018
03/30/2021, 11:20 AMsubnetIds
) and need to convert it to an Input<string>[]
(so an array of string inputs). How can I do this?salmon-salesclerk-93543
03/30/2021, 11:26 AMsalmon-salesclerk-93543
03/30/2021, 11:40 AMRepositoryCollaborator
where I can set the permission for users object but there is no such option to add team permission. Can anyone please point me to right direction.freezing-quill-32178
03/30/2021, 12:16 PMpulumi stack change-secrets-provider passphrase
error: decrypting secret value: failed to decrypt: incorrect passphrase, please set PULUMI_CONFIG_PASSPHRASE to the correct passphrase
When the correct old password is set to PULUMI_CONFIG_PASSPHRASE
nothing happens and i’m not prompted for new password
pulumi stack change-secrets-provider passphrase
Migrating old configuration and state to new secrets provider
According to this https://github.com/pulumi/pulumi/pull/5865 it should be available and working… I’m trying to migrate stacks from local storage file to GCS with new passwords and then later migrate again to the Pulumi SAAS…
pulumi version
v2.23.2
hallowed-camera-52062
03/30/2021, 12:41 PMconst environmentName: string = pulumi.getStack().toLowerCase()
// Filter the resources that belong to the current environment
const resources: ResourceDefinition[] = resourcesDefinitions.filter(
(r: ResourceDefinition) => r.environment === environmentName
)
if (resources.length === 0) {
console.log(
`There are no resources to be deployed onto the current environment ('${environmentName}').`
)
process.exit(0)
}
resources.map((resource) => {
const getConventionName: ConventionNameGetter = useNamingConvention(
resource.name,
resource.environment
)
provisionResource(resource, getConventionName)
})
I tried implementing this with process.exit(0)
but it seems like it's not a good idea:
The Pulumi runtime detected that 712 promises were still active
at the time that the process exited. There are a few ways that this can occur:
* Not using `await` or `.then` on a Promise returned from a Pulumi API
* Introducing a cyclic dependency between two Pulumi Resources
* A bug in the Pulumi Runtime
Leaving promises active is probably not what you want. If you are unsure about
why you are seeing this message, re-run your program with the `PULUMI_DEBUG_PROMISE_LEAKS`
environment variable. The Pulumi runtime will then print out additional
debug information about the leaked promises.
error: an unhandled error occurred: Program exited with non-zero exit code: 1
Resources:
+ 1 to create
better-shampoo-48884
03/30/2021, 12:42 PMfreezing-quill-32178
03/30/2021, 1:26 PMpulumi.StackReference
to provide passwordpurple-train-14007
03/30/2021, 1:50 PMred-football-97286
03/30/2021, 2:16 PMaws:codebuild:Webhook (build-setup-webhook):
error: 1 error occurred:
* error creating CodeBuild Webhook: InvalidInputException: Project source does not support webhook
code,
new aws.codebuild.Webhook('build-setup-webhook', {
projectName: buildProject.name,
filterGroups: [
{
filters: [
{
type: 'EVENT',
pattern: 'PUSH',
},
{
type: 'HEAD_REF',
pattern: 'main',
},
],
},
],
});
damp-school-17708
03/30/2021, 3:00 PMtall-scientist-89115
03/30/2021, 4:12 PMpurple-train-14007
03/30/2021, 5:11 PMpurple-train-14007
03/30/2021, 5:12 PMable-crayon-21563
03/30/2021, 6:03 PMnarrow-airport-65967
03/30/2021, 9:05 PMpulumi:"uri"
, how to use pulumi.Input, I tried, Uri: pulumi.Input{"string"}, but don't work, I tried Uri: pulumi.Input{"key":"value"}, but dont work too, somebody help me ?full-artist-27215
03/30/2021, 9:29 PMResourceOption(parent=self)
in all the child resources as well. In this way, my programming language object structure and my Pulumi resource structure are the same. Is there any inherent reason that the two should always be the same? That is, if I want to create a child resource and register it for Pulumi with ResourceOption(parent=self)
, but not keep it around within my ComponentResource "container" (e.g., because I have no need to access any of its properties anywhere else), will that get me into trouble? Likewise, if I were to register the child resource with ResourceOption(parent=some_other_thing)
, would that give me problems? I think I might be more inclined to do the former than the latter, and can think of some usecases for it, but want to make sure that I'm not running afoul of some implicit assumptions in how Pulumi operates. Thanks.elegant-carpet-8859
03/30/2021, 10:18 PMconst otherstack = new StackReference("org/project/stack");
export const network = otherstack.getOutput("network") as unknown as azure.network.VirtualNetwork
export const primaryProvider = otherstack.getOutput("primaryProvider") as unknown as azure.Provider
export const resourceGroup = otherstack.getOutput("resourceGroup") as unknown as azure.core.ResourceGroup
This is the only way I could get the TS to compile, but I'm also having difficulty using these (the provider doesn't work as a provider for creating a new k8s cluster for example) so I have a feeling I'm doing something wrongelegant-carpet-8859
03/30/2021, 10:18 PMmillions-market-17062
03/31/2021, 7:53 AMfuture-refrigerator-88869
03/31/2021, 10:39 AMpulumi up
, it will update the secret token of the service account (that's what i believe it does at least). That will always show up as a pulumi update.
My question now is: Is that intentional ? Is it supposed to show a pulumi update with every pulumi up
? If not, can anyone point me in the right direction of what to check in order to fix this ?clever-cartoon-41433
03/31/2021, 11:42 AMhandsome-pencil-40959
03/31/2021, 12:30 PM