gifted-island-55702
11/20/2020, 12:54 PMrandom.RandomPassword
and I'm wondering why it's result
output is not marked as secret and I have to do:
const password = new random.RandomPassword('myPassword', {...}, { additionalSecretOutputs: ['result'] })
Shouldn't it be marked as sensitive by default?acceptable-train-73155
11/20/2020, 1:47 PMexport const loadBalancer = new lb.ApplicationLoadBalancer('alb');
No param is given so it defaults to default vpc, which as subnets in two availability zones, and still I see :
error creating application Load Balancer: ValidationError: At least two subnets in two different Availability Zones must be specified
Any idea on what is happening ?
Thxnice-oyster-71086
11/20/2020, 9:33 PMkind-school-28825
11/21/2020, 8:49 AMlocal
stack? What I mean is, before pushing to the development
branch where my github actions run pulumi up
I want to test out if everything works one step before, where a stack gets created automatically, resources are created in the cloud, things get deployed, and when no errors are returned by pulumi and I am satisfied with my deployment, I would then merge the branch to the development
branch and the local
resources and the stack are destroyed? Sometimes when I make some changes, pulumi preview
doesn't return any errors, because I have defined everything correctly, but in reality my setup i.e port mapping to my ECS instance has not been set up properly, so I want to go back, modify my config and try again. Is that something possible?
I have a feeling that's what the automation API is capable of.curved-pharmacist-41509
11/21/2020, 11:57 AMcareful-architect-87653
11/22/2020, 10:25 AMsalmon-honey-75627
11/23/2020, 1:15 AMerror: deleting urn:pulumi:dev::crytic::aws:s3/bucket:Bucket::my-bucket: 1 error occurred:
* error deleting S3 Bucket (my-bucket-467da8e): BucketNotEmpty: The bucket you tried to delete is not empty
little-cartoon-10569
11/23/2020, 1:33 AMpulumi undelete
command that marks the resources as not-deleted instead of deletion-in-progress (so that I can go delete the unmanaged resources then run pulumi up
again, cleanly).miniature-leather-70472
11/23/2020, 2:17 PMicy-london-56932
11/23/2020, 8:29 PMlittle-cartoon-10569
11/24/2020, 12:02 AMpulumi import
and stack transformations, but to find a type I (think I) have to open node_modules/@pulumi/<provider>/<somedir>/<resource>.js and look down the bottom of the file.freezing-house-86375
11/24/2020, 12:06 AMlittle-cartoon-10569
11/24/2020, 3:04 AMpulumi import
. I've attempted to import just a few SNS topic policies (I'd successfully imported the topics already). I'm using a json file, and I've set a nameTable with the conveniently-but-confusingly named this and provider properties: I chose this because the generated code was to go in the constructor of a ComponentResources, and the parent of the topics would be this
. Short cut!
Importing worked but no code was generated. The state was updated and looks like I want it to. The parent and provider properties of the new resources have the correct values (values from the nameTable properties). This error was output:
error: no name for provider urn😛ulumi:MyStack::MyProject::Name:aws:MyClass:myIdWhat might have gone wrong?
salmon-honey-75627
11/24/2020, 3:13 AMmany-mouse-4292
11/24/2020, 1:04 PMfrom pulumi.resource import ComponentResource
class AggregatorComponent(ComponentResource):
def __init__(self, *args, **kwargs) -> None:
super(AggregatorComponent, self).__init__(t="aggregator", *args, **kwargs)
and using it like so
project_aggregator = AggregatorComponent(name=project_id)
opts = ResourceOptions(parent=dataset_aggregator)
DemographyDataset(opts=opts)
FunctionsDataset(opts=opts)
...
Is there a better way to do this than my homemade AggregatorComponent
?steep-angle-29984
11/24/2020, 2:38 PMnarrow-area-20379
11/24/2020, 2:58 PMexport class CustomComponent extends pulumi.ComponentResource {
constructor(name, args, opts) {
super('pkg:CustomComponent', name, {}, opts)
const computeDefaultServiceAccount = await gcp.compute.getDefaultServiceAccount({project: projectId});
gcp.projects.IAMBinding('blah', { role: '', project: projectId, members: [`serviceAcccount:${computeDefaultServiceAccount.email}`]}
}
}
adamant-translator-31969
11/24/2020, 3:33 PMerror: aws:eks/cluster:Cluster resource 'resource' has a problem: Computed attribute cannot be set
crooked-lunch-83455
11/24/2020, 4:47 PMself.name
but I want the generated name. I am using python.future-nail-59564
11/24/2020, 8:12 PMloud-lifeguard-46150
11/24/2020, 10:48 PMType Name Status Info
pulumi:pulumi:Stack XXX-uat **failed** 1 error
~ ├─ azure:core:ResourceGroup rg updated [diff: ~tags]
~ ├─ azure:storage:Account storage updated [diff: ~tags]
~ ├─ azure:containerservice:Registry dockerhub updated [diff: ~tags]
~ ├─ azure:network:VirtualNetwork vnet **updating failed** [diff: ~tags]; 1 error
~ ├─ azure:network:NetworkSecurityGroup nsg updated [diff: ~tags]
~ └─ azure:network:PublicIp public-ip updated [diff: ~tags]
Diagnostics:
pulumi:pulumi:Stack (XXX-uat):
error: update failed
azure:network:VirtualNetwork (vnet):
error: 1 error occurred:
* updating urn:pulumi:uat::XXX::azure:network/virtualNetwork:VirtualNetwork::vnet: Error Creating/Updating Virtual Network "vnetXXXXXXX" (Resource Group "rgdXXXXXXX"): network.VirtualNetworksClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="InUseSubnetCannotBeDeleted" Message="Subnet subnetXXXXXXX is in use by /subscriptions/xxx/resourceGroups/rgdXXXXXXX/providers/Microsoft.Network/networkInterfaces/|providers|Microsoft.Compute|virtualMachineScaleSets|ss-managerXXXXXXX|virtualMachines|0|networkInterfaces|networkprofile/ipConfigurations/IPConfiguration and cannot be deleted. In order to delete the subnet, delete all the resources within the subnet. See <http://aka.ms/deletesubnet|aka.ms/deletesubnet>." Details=[]
I mean it's clearly a diff update and it requires to delete stuff. As much as I don't mind rebuilding our UAT environment, I can't delete anything off of our production environment.
Is there anything I'm missing here?full-dress-10026
11/24/2020, 10:53 PMfull-dress-10026
11/24/2020, 11:00 PM--logtostderr -v=9
. It appears that Pulumi is ignoring my logConfiguration
block in my container's spec.full-dress-10026
11/24/2020, 11:03 PMelegant-carpet-8859
11/25/2020, 2:22 AMjs-yaml
? Trying to install the Linkerd Helm chart using their HA values and I don't want to copy that whole thing into JS, would rather just read it in and then selectively set some more things.icy-jordan-58549
11/25/2020, 11:03 AMfuture-nail-59564
11/25/2020, 3:38 PMfull-dress-10026
11/25/2020, 4:20 PMpanic: interface conversion: interface {} is string, not bool
goroutine 340 [running]
...
I can paste additional lines from the stacktrace if interested.little-cartoon-10569
11/25/2020, 8:34 PMError: Running program 'foo' failed with an unhandled exception:
Error: Unable to deserialize resource urn😛ulumi:dev::foo::aws:iam/role:Role::foo, no module is registered for iam/role.It's working fine from my programs, so I'm not sure if I've got a problem with dependencies, maybe old versions of something laying around somewhere...
elegant-carpet-8859
11/25/2020, 10:55 PMallowedUses
for a cert is? The docs https://www.pulumi.com/docs/reference/pkg/tls/selfsignedcert/ just say they're "listed below" but they're not listed anywhere. And I can't find a list in the code either.elegant-carpet-8859
11/25/2020, 10:55 PMallowedUses
for a cert is? The docs https://www.pulumi.com/docs/reference/pkg/tls/selfsignedcert/ just say they're "listed below" but they're not listed anywhere. And I can't find a list in the code either.little-cartoon-10569
11/25/2020, 11:23 PM