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

artifact_bucket_name should not be a required field #15

Open
arqgroup-rohits opened this issue Dec 16, 2024 · 0 comments
Open

artifact_bucket_name should not be a required field #15

arqgroup-rohits opened this issue Dec 16, 2024 · 0 comments

Comments

@arqgroup-rohits
Copy link

Subject of the issue

Describe your issue here.

Your environment

  • version of sceptre (sceptre --version)
    Sceptre, version 4.5.2

  • version of python (python --version)
    Python 3.11.8

  • which OS/distro
    MacOS
    CodeBuild - aws/codebuild/amazonlinux2-x86_64-standard:5.0

Steps to reproduce

Tell us how to reproduce this issue. Please provide sceptre project files if possible,
you can use https://plnkr.co/edit/ANFHm61Ilt4mQVgF as a base.

SAM Package (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-package.html) now has an option to resolve-s3. This automatically creates a bucket in the region specified in the same package command.

This becomes easier to manage when it;s a cross region deployment.
In my case, pipeline is running in Sydney, but the deployment is in the Melbourne region.

Expected behaviour

Tell us what should happen
artifact_bucket_name - should be optional.

Actual behaviour

Tell us what happens instead

"'artifact_bucket_name' is a required property\n\nFailed validating 'required' in schema:\n {'properties': {'artifact_bucket_name': {'type': 'string'},\n 'artifact_prefix': {'type': 'string'},\n 'build_args': {'type': 'object'},\n 'package_args': {'type': 'object'},\n 'path': {'type': 'string'},\n 'skip_jinja_cleanup': {'type': 'boolean'}},\n 'required': ['path', 'artifact_bucket_name'],\n 'type': 'object'}\n\nOn instance:\n {'build_args': {'use-container': True},\n 'package_args': {'region': 'ap-southeast-4', 'resolve-s3': True},\n 'path': 'templates/lambda.yaml.j2'}"

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

1 participant