limited-rainbow-51650
07/18/2019, 10:01 PMimport
-ing a resource, should the import
option remain in my code?glamorous-waitress-51149
07/23/2019, 8:56 AMlet object = new aws.s3.BucketObject(item, {
bucket: bucket,
source: new pulumi.asset.FileAsset(item), // use FileAsset to point to a file
contentType: mime.getType(item) || undefined, // set the MIME type of the file
});
glamorous-waitress-51149
07/23/2019, 8:57 AMitem
is the path to a file on disk and that will be uploaded to S3 with that exact same folder structure which isn’t what i want. Just because it’s in a certain folder on my local disk doesn’t mean i want the same structure in S3worried-engineer-33884
07/23/2019, 5:04 PMgetSecret
from Promise<GetSecretResult>
to Promise<GetSecretResult> & GetSecretResult
. Turning this into an intersection type broke some of our code, and I'm not sure why this should be an intersection at all. Could someone enlighten me?
Thanks!stocky-spoon-28903
07/23/2019, 6:58 PMsalmon-beard-79336
07/25/2019, 2:01 PMcreate
has in the delete
method as well?
interface DynamicProviderInputs {
region: string;
endpoint: string;
masterKey: string;
collectionName: string;
dbName: string;
cosmosAccountName: string;
}
public async create(inputs: DynamicProviderInputs): Promise<pulumi.dynamic.CreateResult> {
console.log('create: getting the client')
const client = await this.getCosmosContainerClient(inputs.region, inputs.endpoint, inputs.masterKey, inputs.dbName);
public async delete(id: string, props: DynamicProviderOutputs): Promise<void> {
salmon-beard-79336
07/25/2019, 2:02 PMprops
in delete
does not contain them, and they’re needed so I can initialize the client there too and do the delete actionboundless-monkey-50243
07/25/2019, 2:15 PMzlib
.)big-hair-80287
07/27/2019, 11:52 PMbig-hair-80287
07/27/2019, 11:55 PMbillowy-needle-56870
07/29/2019, 10:19 AMbillowy-needle-56870
07/29/2019, 10:19 AMbillowy-needle-56870
07/29/2019, 10:20 AMfierce-cpu-94517
07/29/2019, 1:52 PMUpdating (mystack):
Type Name Status Info
pulumi:pulumi:Stack private-cloud-mystack **failed** 1 error
└─ awsx:x:elasticloadbalancingv2:ApplicationLoadBalancer web
+ ├─ awsx:x:elasticloadbalancingv2:ApplicationTargetGroup web created
+ │ └─ aws:elasticloadbalancingv2:TargetGroup web created
+ ├─ awsx:x:elasticloadbalancingv2:ApplicationListener web-listener created
+ │ ├─ awsx:x:ec2:IngressSecurityGroupRule web-listener-external-0-ingress created
+ │ │ └─ aws:ec2:SecurityGroupRule web-listener-external-0-ingress **creating failed** 1 error
+ │ └─ awsx:x:ec2:EgressSecurityGroupRule web-listener-external-0-egress created
+ │ └─ aws:ec2:SecurityGroupRule web-listener-external-0-egress created
+ └─ aws:elasticloadbalancingv2:LoadBalancer web **creating failed** 1 error
Diagnostics:
aws:ec2:SecurityGroupRule (web-listener-external-0-ingress):
error: Plan apply failed: [WARN] A duplicate Security Group rule was found on (sg-0d4db747a736ac640). This may be
a side effect of a now-fixed Terraform issue causing two security groups with
identical attributes but different source_security_group_ids to overwrite each
other in the state. See <https://github.com/hashicorp/terraform/pull/2376> for more
information and instructions for recovery. Error message: the specified rule "peer: 0.0.0.0/0, TCP, from port: 443, to port: 443, ALLOW" already exists
salmon-beard-79336
07/30/2019, 2:10 PMSubscriptionRequired: false
for an Api
in an Azure Api Management Service
?handsome-airport-56801
08/02/2019, 6:58 PMthankful-optician-22583
08/02/2019, 9:15 PMglamorous-waitress-51149
08/05/2019, 8:34 AMglamorous-waitress-51149
08/05/2019, 8:35 AMconst eventRule = new aws.cloudwatch.EventRule(prefix + "ping-rule", {
name: prefix + "ping-rule",
scheduleExpression: "rate(3 minutes)"
});
const eventTarget = new aws.cloudwatch.EventTarget(prefix + "ping-target", {
rule: eventRule.name,
arn: apiLambda.arn,
input: "foo"
});
glamorous-waitress-51149
08/05/2019, 8:37 AMbroad-dog-22463
08/05/2019, 8:38 AMglamorous-waitress-51149
08/05/2019, 8:38 AMbroad-dog-22463
08/05/2019, 8:38 AM${prefix}ping-target
broad-dog-22463
08/05/2019, 8:38 AMglamorous-waitress-51149
08/05/2019, 8:39 AMbroad-dog-22463
08/05/2019, 8:39 AMbroad-dog-22463
08/05/2019, 8:39 AMbroad-dog-22463
08/05/2019, 8:39 AMglamorous-waitress-51149
08/05/2019, 8:40 AMlambdaTarget
property like there is for the others I mentionedbroad-dog-22463
08/05/2019, 8:40 AM