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

sam deploy hang on Setting default arguments for 'sam deploy' #6281

Closed
francobasilico opened this issue Nov 16, 2023 · 3 comments
Closed

sam deploy hang on Setting default arguments for 'sam deploy' #6281

francobasilico opened this issue Nov 16, 2023 · 3 comments
Labels
area/deploy sam deploy command blocked/close-if-inactive Blocked for >14 days with no response, will be closed if still inactive after 7 days blocked/more-info-needed More info is needed from the requester. If no response in 14 days, it will become stale.

Comments

@francobasilico
Copy link

francobasilico commented Nov 16, 2023

Description:

After building my lambda with sam build and trying to deploy using sam deploy --debug --guided it hangs right after showing
Setting default arguments for 'sam deploy'

sam --version: SAM CLI, version 1.102.0

Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

  1. OS: windows 10
  2. sam --version: 1.102.0
  3. AWS region: eu-west-2

sam --info:

{
  "version": "1.102.0",
  "system": {
    "python": "3.11.4",
    "os": "Windows-10-10.0.22621-SP0"
  },
  "additional_dependencies": {
    "docker_engine": "20.10.14",
    "aws_cdk": "Not available",
    "terraform": "1.4.5"
  },
  "available_beta_feature_env_vars": [
    "SAM_CLI_BETA_FEATURES",
    "SAM_CLI_BETA_BUILD_PERFORMANCE",
    "SAM_CLI_BETA_TERRAFORM_SUPPORT",
    "SAM_CLI_BETA_RUST_CARGO_LAMBDA"
  ]
}

DEBUG

2023-11-16 15:09:55,077 | Config file location: C:\Users\Franco\Documents\Development\test\apps\app\samconfig.toml
2023-11-16 15:09:55,078 | Loading configuration values from [default.['deploy'].parameters] (env.command_name.section) in config file at 'C:\Users\Franco\Documents\Development\test\apps\app\samconfig.toml'...
2023-11-16 15:09:55,078 | Configuration values successfully loaded.
2023-11-16 15:09:55,078 | Configuration values are: {'stack_name': 'scraper', 'capabilities': 'CAPABILITY_IAM', 'confirm_changeset': True, 'resolve_s3': True}
2023-11-16 15:09:55,081 | Using SAM Template at C:\Users\Franco\Documents\Development\test\apps\app\.aws-sam\build\template.yaml
2023-11-16 15:09:55,102 | Using config file: samconfig.toml, config environment: default
2023-11-16 15:09:55,102 | Expand command line arguments to:
2023-11-16 15:09:55,102 | --guided --template_file=C:\Users\Franco\Documents\Development\test\apps\app\.aws-sam\build\template.yaml --fail_on_empty_changeset --confirm_changeset --on_failure=ROLLBACK --stack_name=scraper --resolve_s3 --capabilities=['CAPABILITY_IAM']
2023-11-16 15:09:55,330 | Sam customer defined id is more priority than other IDs. Customer defined id for resource HelloWorldFunction is HelloWorldFunction
@francobasilico francobasilico added the stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. label Nov 16, 2023
@hnnasit
Copy link
Contributor

hnnasit commented Nov 17, 2023

Hi @francobasilico, thanks for reporting the issue. I could not reproduce this behavior. Does this also happen when sam deploy is run without --guided option?

@hnnasit hnnasit added blocked/more-info-needed More info is needed from the requester. If no response in 14 days, it will become stale. area/deploy sam deploy command and removed stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. labels Nov 17, 2023
@hnnasit hnnasit added the blocked/close-if-inactive Blocked for >14 days with no response, will be closed if still inactive after 7 days label Jul 30, 2024
@mildaniel
Copy link
Contributor

mildaniel commented Aug 22, 2024

Closing due to inactivity. If the issue persists, please open a new issue.

Copy link
Contributor

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/deploy sam deploy command blocked/close-if-inactive Blocked for >14 days with no response, will be closed if still inactive after 7 days blocked/more-info-needed More info is needed from the requester. If no response in 14 days, it will become stale.
Projects
None yet
Development

No branches or pull requests

3 participants