Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose the created bucket ARN #7

Open
zilahir opened this issue Aug 20, 2023 · 1 comment
Open

expose the created bucket ARN #7

zilahir opened this issue Aug 20, 2023 · 1 comment

Comments

@zilahir
Copy link

zilahir commented Aug 20, 2023

Is there a way to get access to the created S3 Bucket's RN somehow?

I would need it later in my CDK description.

const apiLambda = new PhpFpmFunction(this, `backend-${env}`, {
      handler: "public/index.php",
      code: packagePhpCode("../backend"),
      phpVersion: "8.2",
      timeout: Duration.seconds(30),
      environment: { // }
    });

this creates the s3 bucket automatically in the cloudformation stack, and i'd need a way to get it's ARN.

Any suggestion would be appreciated!

UPDATE: I guess if it's possible to provide a custom s3 bucket also created in the stack that would work too.

@mnapoli
Copy link
Member

mnapoli commented Aug 29, 2023

What S3 bucket? I don't understand, it's a Lambda function, it's not deploying a S3 bucket 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants