adorable-gpu-98268
02/28/2022, 3:28 PMadorable-waitress-13708
02/28/2022, 3:51 PMhappy-cat-93167
02/28/2022, 9:02 PMagreeable-doctor-28278
03/01/2022, 12:02 AMechoing-activity-32278
03/01/2022, 11:50 AMprehistoric-kite-30979
03/01/2022, 12:20 PMsome-continent-1577
03/01/2022, 12:33 PMproud-art-41399
03/01/2022, 1:17 PMindex.html
(frontend web app build artifact) as a bucket object in the Pulumi program. How to achieve this? I'm thinking of running the build process with Command provider but I'm not sure if that's the right way. The two other alternatives I thought of:
• Run a process (I'm using Python) in the Pulumi program but I'm not sure how to wait for the result before provisioning the bucket object.
• Export the user's credentials as Pulumi outputs, run the build after Pulumi provision step and finally use AWS CLI to upload the index.html
.
Being able to do it all in Pulumi program seems like the most elegant way, though. Any ideas?adorable-gpu-98268
03/01/2022, 1:45 PMlittle-library-54601
03/01/2022, 3:20 PMfuture-window-78560
03/01/2022, 7:13 PMimportant-belgium-68902
03/01/2022, 8:00 PMhallowed-cpu-30324
03/02/2022, 9:32 AMbreezy-bear-50708
03/02/2022, 9:58 AMaliases
with multiple stacks in the same project? The URN includes the stack name, so there doesn't seem to be a way to alias something that got moved, at least using URNs. Can't use parent/name since it moved to an earlier component in the dep tree.salmon-musician-20405
03/02/2022, 10:46 AMbig-potato-91793
03/02/2022, 1:54 PMwhite-airport-78661
03/02/2022, 2:39 PMquaint-garden-29833
03/02/2022, 3:52 PMconst img = awsx.ecs.Image.fromPath("app-img", "./app");
Ideally, i need this to build the image from docker-compose rather than taking the dockerfile.kind-room-82948
03/02/2022, 5:06 PMsalmon-musician-20405
03/02/2022, 5:25 PMIn the middle of building stack the provider assumes a different role ( or provider is switched to different account, Eg: below code
provider = Provider(
resource_name="different_account",
region="eu-west-1",
assume_role=ProviderAssumeRoleArgs(role_arn=role_arn),
)
self._JobScript = BucketObject(
resource_name=f"{name}-glue-job-script",
opts=ResourceOptions(depends_on=[self._rolePolicy], provider=provider),
bucket=destination_bucket.name,
key=f"glue-job-scripts/{glue_script.split('/')[-1]}",
server_side_encryption="AES256",
source=FileAsset(glue_script),
tags=tagger.create_tags(f"{name}-glue-script"),
Fails while doing above operation and following error occurs - Access denied error
aws:s3:BucketObject test-ab40dc-glue-job-script creating failed '
'Diagnostics:'
Error uploading object to S3 bucket (test-ab40dc-curated): '
'AccessDenied: Access Denied'
salmon-musician-20405
03/02/2022, 5:25 PMsalmon-musician-20405
03/02/2022, 5:25 PMsalmon-musician-20405
03/02/2022, 5:26 PMadorable-gpu-98268
03/02/2022, 6:16 PMmain
option in the config but this changes the whole directory, which I don’t want (as then e.g. my tsconfig.json
also has to live in that directory, etc.)
I just want to put my .ts
files under src
to reduce the clutter in the project. Using "main": "src/index.ts"
in package.json
seems to work but that’s rather non-standard, isn’t it?loud-river-79607
03/02/2022, 7:19 PMloud-river-79607
03/02/2022, 7:20 PMloud-river-79607
03/02/2022, 7:21 PMloud-river-79607
03/02/2022, 7:21 PMsparse-intern-71089
03/02/2022, 8:09 PMadorable-gpu-98268
03/02/2022, 8:16 PMadorable-gpu-98268
03/02/2022, 8:16 PMlittle-cartoon-10569
03/02/2022, 8:28 PMProvides a Resource Access Manager (RAM) principal association. Depending if RAM Sharing with AWS Organizations is enabled, the RAM behavior with different principal types changes.
adorable-gpu-98268
03/02/2022, 8:29 PMlittle-cartoon-10569
03/02/2022, 8:29 PMNOTE: Certain AWS resources (e.g., EC2 Subnets) can only be shared in an AWS account that is a member of an AWS Organizations organization with organization-wide Resource Access Manager functionality enabled. See the Resource Access Manager User Guide and AWS service specific documentation for additional information.
billowy-army-68599
03/02/2022, 8:35 PMlittle-cartoon-10569
03/02/2022, 8:37 PMadorable-gpu-98268
03/02/2022, 8:37 PMaws ram enable-sharing-with-aws-organization
but for pulumi it would be a nice-to-have, as you can stay in the codelittle-cartoon-10569
03/02/2022, 8:50 PM