cool-egg-852
06/07/2019, 5:49 PMmaxPodsPerNode, namePrefix, nodeCount
, etc.early-musician-41645
06/07/2019, 6:18 PMupdate
check if a scheduled pipeline already exists via the gitlab API, and if it doesn't then create one
- during destroy
check if a scheduled pipeline already exists via the gitlab API, and if it does then delete it
Is this reasonable? Is there a better approach for doing this?average-dream-51210
06/07/2019, 7:18 PMaverage-dream-51210
06/07/2019, 7:18 PMaverage-dream-51210
06/07/2019, 7:19 PMaverage-dream-51210
06/07/2019, 7:19 PMaverage-dream-51210
06/07/2019, 7:19 PMaverage-dream-51210
06/07/2019, 7:20 PMbillowy-garage-68819
06/07/2019, 7:42 PMstocky-island-3676
06/07/2019, 7:53 PMpulumi up
?
In the same update, I’m also deleting a big Helm chart (kube-prometheus
) and that creates a very, very big details list. Therefore, if I can select just one resource (which is not of that chart’s resources) would help a lot.billowy-laptop-45963
06/07/2019, 8:24 PMmany-vase-67759
06/07/2019, 9:47 PMmany-vase-67759
06/07/2019, 9:49 PMfierce-dinner-20116
06/07/2019, 10:43 PMstraight-napkin-70642
06/07/2019, 10:50 PMearly-musician-41645
06/07/2019, 11:20 PMcreate
method that works when I do pulumi up
.
The create
method makes a POST
to a server API, and then it gets back a result object with some data about the created resource, e.g. id
, owner
, etc.
I'd like to be able to do something like:
console.log(myNewResource.id);
However, I'm not sure how to expose the returned values in the resource's state.
Any pointers or examples?full-dress-10026
06/07/2019, 11:53 PMaws.sqs.Queue
?average-dream-51210
06/08/2019, 12:59 AMaverage-dream-51210
06/08/2019, 1:00 AMaverage-dream-51210
06/08/2019, 1:30 AMprotected: true
flag on an AWS Secrets manager resource. I changed the resource name and took the protected flag off because it coudln't delete a protected resource to do a renaming.
It's still giving me a protection error even with protected flag gone:average-dream-51210
06/08/2019, 1:30 AMerror: Preview failed: refusing to delete protected resource 'urn:pulumi:develop::savor-live::aws:secretsmanager/secret:Secret::
average-dream-51210
06/08/2019, 1:31 AMaverage-dream-51210
06/08/2019, 1:31 AMaverage-dream-51210
06/08/2019, 1:38 AMpulumi up
?average-dream-51210
06/08/2019, 1:44 AMbig-glass-16858
06/08/2019, 8:09 AMpulumi
binary with a python script that does the job but it feels very hacky and not secure. anyone have an idea ?chilly-photographer-60932
06/09/2019, 4:01 PMaws
vpc
with AccessDenied
. https://asciinema.org/a/XDK4ZRawRIDXYUEW8aNDGj5fZ and here is the sample code
import * as awsx from '@pulumi/awsx';
const vpc = new awsx.ec2.Vpc('custom', {
cidrBlock: '10.0.0.0/16',
numberOfAvailabilityZones: 3,
subnets: [
{ type: 'public' },
{ type: 'private' },
{ type: 'isolated', name: 'db' },
{ type: 'isolated', name: 'redis' }
]
});
It is failing with this error invocation of aws:index/getAvailabilityZones:getAvailabilityZones returned an error: invoking aws:index/getAvailabilityZones:getAvailabilityZones: Error fetching Availability Zones: UnauthorizedOperation: You are not authorized to perform this operation.
I am able to get the
aws ec2 describe-availability-zones
{
"AvailabilityZones": [
{
"State": "available",
"Messages": [],
"RegionName": "us-east-1",
"ZoneName": "us-east-1a",
"ZoneId": "use1-az1"
},
{
"State": "available",
"Messages": [],
"RegionName": "us-east-1",
"ZoneName": "us-east-1b",
"ZoneId": "use1-az2"
},
{
"State": "available",
"Messages": [],
"RegionName": "us-east-1",
"ZoneName": "us-east-1c",
"ZoneId": "use1-az4"
},
{
"State": "available",
"Messages": [],
"RegionName": "us-east-1",
"ZoneName": "us-east-1d",
"ZoneId": "use1-az6"
},
{
"State": "available",
"Messages": [],
"RegionName": "us-east-1",
"ZoneName": "us-east-1e",
"ZoneId": "use1-az3"
},
{
"State": "available",
"Messages": [],
"RegionName": "us-east-1",
"ZoneName": "us-east-1f",
"ZoneId": "use1-az5"
}
]
}
Which permissions am I missing? Thanksaverage-dream-51210
06/09/2019, 8:37 PMaverage-dream-51210
06/09/2019, 8:37 PMtall-librarian-49374
06/10/2019, 7:59 AMcould not load plugin for azure provider 'urn:pulumi:dev::azure-play::pulumi:providers:azure::default': no resource plugin 'azure-v0.18.2' found in the workspace
. Is this what the stack remembered to use? I seem to have reset it by unlinking, referencing the latest in package.json, running pulumi up
, and then linking again. Is there an easier way?