great-sunset-355
10/28/2021, 12:51 PMlimited-rainbow-51650
10/28/2021, 1:17 PMpulumi.dynamic.ResourceProvider
(1-1 relationship) or can I implement a single dynamic provider for multiple dynamic resource types? If I can use a single dynamic provider, who do I differentiate between the resource type to create/update/delete?sparse-gold-10561
10/28/2021, 2:23 PMfaint-ambulance-18922
10/28/2021, 9:03 PMpulumi config set gcp:project test
let config = new pulumi.Config();
let defaultGCPProject = config.require("gcp:project");
doesn’t work.full-artist-27215
10/28/2021, 9:05 PMpulumi.Config("gcp").require("project")
full-artist-27215
10/28/2021, 9:05 PMbillowy-army-68599
10/28/2021, 9:07 PMlet config = new pulumi.Config()
let defaultGCPProject = config.get("gcp:project") || "a-default-project;
billowy-army-68599
10/28/2021, 9:07 PMconfig.get
makes it optionalfaint-ambulance-18922
10/28/2021, 9:08 PMlittle-soccer-5693
10/29/2021, 4:03 PM...
Flags:
-c, --config stringArray Config to save
but then doesn't describe the correct syntax for stringArray. Is there an example somewhere that I could look at?icy-pager-11287
10/29/2021, 4:16 PMchilly-hairdresser-56259
10/29/2021, 4:41 PMstraight-eye-78015
10/29/2021, 5:29 PMsparse-student-54516
10/29/2021, 7:19 PMmost-lighter-95902
10/29/2021, 8:57 PMpulumi import
cli to import a Istio Gateway created by Knative because I can’t figure out what the resource type is. I read the docs on this and also tried to infer the type via pulumi stack --show-urns
etc but I can’t seem to successfully import this resource due to unknown resource type error. Any pointers would be appreciated.gray-mechanic-96597
10/29/2021, 9:01 PMnice-father-44210
10/31/2021, 1:16 PMec2.RouteTable
(that has existing routes) but I want to manage the ec2.Route
resources in a standalone manner (as opposed to in-line). What’s the right way to accomplish this?
Should it work if construct the RouteTable
object with ResourceOptions(import_ = "rtb-xxx")
while omitting the routes
parameter?dazzling-sundown-39670
10/31/2021, 2:06 PMmost-lighter-95902
10/31/2021, 4:40 PMspec.config
) after its creation - i.e. KnativeServing CustomResource is already in Pulumi state and I need to update that state later in the code (after some other operation is finished).most-lighter-95902
10/31/2021, 4:43 PMmost-lighter-95902
10/31/2021, 4:45 PMcold-motherboard-287
11/01/2021, 12:47 PMpassphrase
as a fallback in case you lose access to the AWS KMS key.early-keyboard-41388
11/01/2021, 1:19 PMpassphrase
and kind of stuck with error error: incorrect passphrase
.
Is there a way to get around it? Do I have to delete the Pulumi.<stack>.yaml
and files in the .Pulumi
directory (and any cloud resources deleted manually)?
Thanks.sticky-airline-40485
11/01/2021, 2:13 PMunable to discover AWS AccessKeyID and/or SecretAccessKey
. Anyone else encountering this?white-cat-90296
11/01/2021, 3:11 PMawsx
package.
When creating an API gateway, it seems like the Integration Request
Lambda is configured correctly with the right ARN, however, there is no Execution Role
listed. That field is left empty and we have to configure it manually. Do you know how could we automatically set the execution role for the integration request?
Here's the creation of the API Gateway for your reference:
const api = new awsx.apigateway.API('api-name', {
routes: [{
path: "/targetpath",
method: "ANY",
eventHandler: lambda,
}]
...
able-camera-57198
11/01/2021, 3:56 PMyaml
file is created for it in my project. I generally don't like to keep environment specific information in source control. Is there any other way to manage stack configurations in pulumi?wooden-receptionist-75654
11/01/2021, 4:47 PMconst azure = authorization.getClientConfig();
const subscriptionId = azure.then(azure => azure.subscriptionId)
new authorization.RoleAssignment("ass", {
principalId: kprincipalId,
principalType: "ServicePrincipal",
roleDefinitionId:
`/subscriptions/${subscriptionId}/providers/Microsoft.Authorization/roleDefinitions/${id}`,
scope: resourceGroup.id,
});
And I’m still got [object Promise]
for subscriptionId. What I’m missing?boundless-angle-56560
11/01/2021, 6:27 PMbrave-nightfall-19158
11/01/2021, 7:01 PMbrave-nightfall-19158
11/01/2021, 7:01 PMbrave-nightfall-19158
11/01/2021, 7:01 PM