{"action":"created","issue":{"url":"https://api.github.com/repos/serverless/serverless/issues/4984","repository_url":"https://api.github.com/repos/serverless/serverless","labels_url":"https://api.github.com/repos/serverless/serverless/issues/4984/labels{/name}","comments_url":"https://api.github.com/repos/serverless/serverless/issues/4984/comments","events_url":"https://api.github.com/repos/serverless/serverless/issues/4984/events","html_url":"https://github.com/serverless/serverless/issues/4984","id":323719595,"number":4984,"title":"SSM fetch waits on when use interpolation","user":{"login":"wbotelhos","id":116234,"avatar_url":"https://avatars2.githubusercontent.com/u/116234?v=4","gravatar_id":"","url":"https://api.github.com/users/wbotelhos","html_url":"https://github.com/wbotelhos","followers_url":"https://api.github.com/users/wbotelhos/followers","following_url":"https://api.github.com/users/wbotelhos/following{/other_user}","gists_url":"https://api.github.com/users/wbotelhos/gists{/gist_id}","starred_url":"https://api.github.com/users/wbotelhos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wbotelhos/subscriptions","organizations_url":"https://api.github.com/users/wbotelhos/orgs","repos_url":"https://api.github.com/users/wbotelhos/repos","events_url":"https://api.github.com/users/wbotelhos/events{/privacy}","received_events_url":"https://api.github.com/users/wbotelhos/received_events","type":"User","site_admin":false},"labels":[{"id":417327117,"url":"https://api.github.com/repos/serverless/serverless/labels/kind/bug","name":"kind/bug","color":"FF8C94","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-05-16T17:39:11Z","updated_at":"2018-05-21T15:39:23Z","closed_at":null,"author_association":"NONE","body":"## Description\r\n\r\nUsing version `>= 1.27.0` makes my SSM variable waits on and do not work.\r\n\r\n```\r\n  # 2501:   ssm:/homolog/purger/VARNISH_DESCRIBING_ARN waited on by: ${ssm:/homolog/purger/VARNISH_DESCRIBING_ARN}\r\n```\r\n\r\n* What did you expect should have happened?\r\n\r\nIt should fetch the variable normally, like when a do:\r\n\r\n```\r\naws ssm get-parameter --name '/homolog/purger/VARNISH_DESCRIBING_ARN'\r\n\r\n{\r\n  \"Parameter\": {\r\n    \"Version\": 1, \r\n    \"Type\": \"String\", \r\n    \"Name\": \"/homolog/purger/VARNISH_DESCRIBING_ARN\", \r\n     \"Value\": \"arn:aws:autoscaling:us-east-1:xxx:autoScalingGroup::varnish-homolog\"\r\n    }\r\n}\r\n```\r\n\r\n* What was the config you used?\r\n\r\n```\r\ncustom:\r\n  stage: ${opt:stage, 'development'}\r\n\r\nframeworkVersion: \"=1.27.2\"\r\n\r\nfunctions:\r\n  purge:\r\n    events:\r\n      - http:\r\n          method: post\r\n          path: purge\r\n\r\n      - sns: \"arn:aws:sns:us-east-1:x:purges\"\r\n\r\n    handler: handler.purge\r\n    memorySize: 128\r\n    name: purger-purge-${self:custom.stage}\r\n\r\n    tags:\r\n      Environment: ${self:custom.stage}\r\n      Function: purge\r\n      Name: purger\r\n      Owner: front\r\n      Type: lambda\r\n\r\n    vpc:\r\n      security_group_ids:\r\n        - sg-x\r\n\r\n      subnets:\r\n        - subnet-x\r\n        - subnet-x\r\n        - subnet-x\r\n\r\nprovider:\r\n  environment:\r\n    AZION_LOGIN_URL: \"https://api.azion.net/tokens\"\r\n    AZION_PASSWORD: ${ssm:/${self:custom.stage}/purger/AZION_PASSWORD}\r\n    AZION_PURGE_URL: \"https://api.azion.net/purge/wildcard\"\r\n    AZION_USERNAME: ${ssm:/${self:custom.stage}/purger/AZION_USERNAME}\r\n    HOST: ${self:custom.stage}\r\n    NODE_ENV: ${ssm:/${self:custom.stage}/purger/NODE_ENV}\r\n    VARNISH_AUTO_SCALING_NAME: \"varnish-${self:custom.stage}\"\r\n    VARNISH_AUTO_SCALING_REGION: ${ssm:/${self:custom.stage}/purger/VARNISH_AUTO_SCALING_REGION}\r\n    VARNISH_DESCRIBING_ARN: ${ssm:/${self:custom.stage}/purger/VARNISH_DESCRIBING_ARN}\r\n\r\n  name: aws\r\n  region: us-east-1\r\n  runtime: nodejs8.10\r\n  stage: ${self:custom.stage}\r\n  timeout: 20\r\n\r\nservice: purger\r\n```\r\n\r\n* What stacktrace or error message from your provider did you see?\r\n\r\n```\r\nServerless Warning --------------------------------------\r\n \r\n  ################################################################################\r\n \r\n \r\n Serverless Warning --------------------------------------\r\n \r\n  # 2501: 8 of 9 promises have settled\r\n \r\n \r\n Serverless Warning --------------------------------------\r\n \r\n  # 2501: 1 unsettled promises:\r\n \r\n \r\n Serverless Warning --------------------------------------\r\n \r\n  # 2501:   ssm:/homolog/purger/VARNISH_DESCRIBING_ARN waited on by: ${ssm:/homolog/purger/VARNISH_DESCRIBING_ARN}\r\n \r\n \r\n Serverless Warning --------------------------------------\r\n \r\n  ################################################################################\r\n```\r\n\r\n* ***Serverless Framework Version you're using***: `1.27.2`\r\n* ***Operating System***:\r\n\r\n```\r\nSystem Version: macOS 10.13.4 (17E199)\r\nKernel Version: Darwin 17.5.0\r\nBoot Volume: Macintosh HD\r\n```"},"comment":{"url":"https://api.github.com/repos/serverless/serverless/issues/comments/390692455","html_url":"https://github.com/serverless/serverless/issues/4984#issuecomment-390692455","issue_url":"https://api.github.com/repos/serverless/serverless/issues/4984","id":390692455,"user":{"login":"erikerikson","id":571200,"avatar_url":"https://avatars1.githubusercontent.com/u/571200?v=4","gravatar_id":"","url":"https://api.github.com/users/erikerikson","html_url":"https://github.com/erikerikson","followers_url":"https://api.github.com/users/erikerikson/followers","following_url":"https://api.github.com/users/erikerikson/following{/other_user}","gists_url":"https://api.github.com/users/erikerikson/gists{/gist_id}","starred_url":"https://api.github.com/users/erikerikson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikerikson/subscriptions","organizations_url":"https://api.github.com/users/erikerikson/orgs","repos_url":"https://api.github.com/users/erikerikson/repos","events_url":"https://api.github.com/users/erikerikson/events{/privacy}","received_events_url":"https://api.github.com/users/erikerikson/received_events","type":"User","site_admin":false},"created_at":"2018-05-21T15:39:23Z","updated_at":"2018-05-21T15:39:23Z","author_association":"MEMBER","body":"Thank you very much for adding this information.\r\n\r\nThe tool currently does this to assist users in avoiding deadlocks.  I could see how it would trigger warning adverse CD pipelines though (i.e. some are configured to break on warnings).\r\n\r\nPerhaps this should be disabled in non-interactive mode?\r\n\r\nMaybe there aren't consequences but the messaging drives curiosity and I'm over-extrapolating?  I originally added this messaging for safety in case my strategy for resolving deadlocks was incomplete and users stare at an empty console if the variables get delayed indefinitely.\r\n\r\nHonestly, I didn't expect users to see it so thank you for reporting that you have and helping me understand the circumstances."}}
{"actor":{"display_login":"erikerikson"}}