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

ssm ssm.StringParameter.from_string_parameter_name fails 'Resource' object has no attribute 'string_value' #4985

Closed
tarunaroraonline opened this issue Nov 12, 2019 · 2 comments
Assignees
Labels
@aws-cdk/aws-ssm Related to AWS Systems Manager bug This issue is a bug. duplicate This issue is a duplicate. language/python Related to Python bindings needs-triage This issue or PR still needs to be triaged. p0

Comments

@tarunaroraonline
Copy link

When using ssm to retrieve the value by string parameter name it fails.

param = ssm.StringParameter.from_string_parameter_name(
              self,
              "ssmParam",
               string_parameter_name="parameterName",
             )

Error Log

'Resource' object has no attribute 'string_value'
{'jsii_ref': ObjRef(ref='@aws-cdk/core.Resource@10522', interfaces=['@aws-cdk/aws-ssm.IStringParameter'])}

Environment

  • **CLI Version :1.15.0, 1.16.0, 1.16.2
  • **Framework Version: **
  • **OS : Ubuntu 18.2
  • **Language :Python

Other


This is 🐛 Bug Report

@tarunaroraonline tarunaroraonline added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Nov 12, 2019
@SomayaB SomayaB added the duplicate This issue is a duplicate. label Nov 12, 2019
@SomayaB
Copy link
Contributor

SomayaB commented Nov 12, 2019

Seems to be a duplicate of #4982

@SomayaB SomayaB added the @aws-cdk/aws-ssm Related to AWS Systems Manager label Nov 12, 2019
@SomayaB SomayaB self-assigned this Nov 12, 2019
@SomayaB SomayaB added the language/python Related to Python bindings label Nov 12, 2019
@eladb eladb added the p0 label Nov 12, 2019
@eladb
Copy link
Contributor

eladb commented Nov 12, 2019

Closing as duplicate

@eladb eladb closed this as completed Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-ssm Related to AWS Systems Manager bug This issue is a bug. duplicate This issue is a duplicate. language/python Related to Python bindings needs-triage This issue or PR still needs to be triaged. p0
Projects
None yet
Development

No branches or pull requests

3 participants