bulky-policeman-29913
11/10/2021, 8:44 PM@pulumi/vault
provider yet by any chance? I am not finding good examples/documentation around this on retrieving secrets from Hashicorp Vault.freezing-sugar-24066
11/10/2021, 9:08 PMdata
block. I saw that this can be done by aws.ec2.getVpc()
. However, this returns a Promise<aws.ec2.GetVpcResult>
instead of a Vpc
(which has pulumi.Output<string>
properties) and the two objects are very different. Am I barking up the right tree, here?
I see the static Vpc.get()
method, but it has parameters I don’t know the meaning of, such as `id: pulumi.Input<pulumi.ID>`… what would I pass in there?
If I go down the getVpc()
route with the Promise, could I end up having any kind of race condition issue between the time the details of that VPC are fetched and the actual stack deploys?full-dress-10026
11/10/2021, 11:06 PMconst provider = new aws.Provider(`${acctName}-provider`, {
region: "us-west-2",
assumeRole: {
roleArn: pulumi.interpolate`arn:aws:iam::${args.id}:role/${args.roleName}`
}
});
I later create a resource by passing the provider as the 3rd arg to the resource {provider: provider}
. After running pulumi up
, I receive the following message:
aws:iam:Role (access):
error: 1 error occurred:
* error configuring Terraform AWS Provider: IAM Role (arn:aws:iam::<<account id>>:role/<<role name>>) cannot be assumed.
There are a number of possible causes of this - the most common are:
* The credentials used in order to assume the role are invalid
* The credentials do not have appropriate permission to assume the role
* The role ARN is not valid
Error: NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors
How can I go about further debugging this?lemon-lamp-41193
11/11/2021, 1:16 AMbackend=auto.ProjectBackend(url="<s3://pulumistate/>")
)? I have a central bucket for managing state but it throws an error when deploying a new instance in another region.
could not create stack: could not list bucket: blob (code=Unknown): BucketRegionError: incorrect region, the bucket is not in 'us-west-1' region
white-train-9300
11/11/2021, 2:39 AMkubernetes:core/v1:PersistentVolume storage-3 refreshing warning: configured Kubernetes cluster is unreachable: unable to load schema information from the API server: the server has asked for the client to provide credentials
abundant-book-94104
11/11/2021, 3:26 AMmagnificent-kitchen-5558
11/11/2021, 8:39 AMbulky-author-70444
11/11/2021, 9:25 AMsparse-spring-91820
11/11/2021, 2:07 PMerror: no resource plugin aws-v4.24.1 found in the workspace or on your $PATH, install the plugin using pulumi plugin install resource aws v4.24.1
I am not sure why I need to manually install aws plugin? I didn't do that on my local machine
ps. I am using organization account, when I do this on my personal account I don't have this issuebrash-quill-35776
11/11/2021, 3:28 PMOutput
The error is in azure-native
, which I can't change the source code, but the type is
For type like *readonly* identity: pulumi.Output<outputs.web.ManagedServiceIdentityResponse | undefined>;
How do I put them into another Input
type? I would get
Type 'Output<string | undefined>' is not assignable to type 'Input<string>'.
Type 'OutputInstance<string | undefined>' is not assignable to type 'Input<string>'.
Type 'OutputInstance<string | undefined>' is not assignable to type 'OutputInstance<string>'.
Type 'string | undefined' is not assignable to type 'string'.
Type 'undefined' is not assignable to type 'string'.ts(2322)
early-intern-90238
11/11/2021, 3:44 PMflat-appointment-12338
11/11/2021, 3:49 PMerror: could not deserialize deployment: decrypting secret value: [504]
right now from Pulumihappy-optician-17286
11/11/2021, 3:49 PMearly-intern-90238
11/11/2021, 3:49 PMearly-intern-90238
11/11/2021, 3:49 PMhappy-optician-17286
11/11/2021, 3:49 PMearly-intern-90238
11/11/2021, 4:00 PMearly-intern-90238
11/11/2021, 4:05 PMdamp-memory-66729
11/11/2021, 7:56 PM400 (request "MISSING_ATTRIBUTE") The required attribute databaseName was not specified.
though it's provided.
https://www.pulumi.com/registry/packages/mongodbatlas/api-docs/databaseuser/sparse-beach-51011
11/11/2021, 7:59 PMsparse-beach-51011
11/11/2021, 8:01 PMsparse-beach-51011
11/11/2021, 8:02 PMquick-lifeguard-72252
11/11/2021, 10:37 PMawsx.apigateway.API
with aws.apigatewayv2
? My use case is I need to create multi-level API mapping (like /a/b/v1
) which is not supported by aws.apigateway
.careful-motherboard-93259
11/12/2021, 1:56 AMpulumi preview --json
output from them. I'm struggling to get this output to be deterministic. Each time I generate it, the resources are in a different order.
Is there a way around this?crooked-sunset-90921
11/12/2021, 5:21 AMcrooked-sunset-90921
11/12/2021, 5:22 AMsparse-beach-51011
11/12/2021, 10:24 AMpulumi config
command to preserve the ordering of keys in the Pulumi.xxx.yaml file..? its quite annoying it keeps re-arranging all the keyssparse-beach-51011
11/12/2021, 10:26 AMsparse-beach-51011
11/12/2021, 10:26 AMsquare-coat-62279
11/12/2021, 11:47 AMlet var3 = []
for (let secret of props.secret ){
let var1 = pulumi.output(gcp.secretmanager.getSecret({
secretId: `${secret}*`
}))
let var2 = var1.name
var3 = var3.concat(var2)
}
The idea is to append the result from the getSecret function to var3 and then parse this list to create kubernetes secrets, I saw error:
Variable 'var3' implicitly has type 'any[]' in some locations where its type cannot be determined.
What's the result type return from the function and how should I append them?