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

Hyphen-minuses in names becomes -002D- #378

Closed
ppmag opened this issue Feb 10, 2020 · 6 comments
Closed

Hyphen-minuses in names becomes -002D- #378

ppmag opened this issue Feb 10, 2020 · 6 comments
Labels

Comments

@ppmag
Copy link

ppmag commented Feb 10, 2020

This behavior is visible everywhere, not just in lambda names.
AWS CLI output:

$ aws lambda list-functions

"Functions": [
        {
            "FunctionName": "get-client",
            "FunctionArn": "arn:aws:lambda:us-east-1:631001006968:function:get-client",
            "Runtime": "nodejs12.x",
            "Role": "arn:aws:iam::631001006968:role/service-role/get-client-role-xbocqvrg",
            "Handler": "index.handler",
            "CodeSize": 727,
....

Terraformer output:

2020/02/10 11:50:33 Refreshing state... aws_lambda_function.tfer--get-002D-client

Versions:

aws-cli/1.17.9 Python/3.7.5 Linux/5.3.0-29-generic botocore/1.14.9

Terraform v0.12.20

  • provider.aws v2.48.0

$terraformer --version
version v0.8.6

@julian-alarcon
Copy link

I can confirm this!

@sergeylanzman
Copy link
Collaborator

yes, it's by design #263
Maybe ugly, but we has many problem with name of resources.
I be happy for better solution.

@ppmag
Copy link
Author

ppmag commented Feb 14, 2020

yes, it's by design #263

It would be great to document this in some way.

@julian-alarcon
Copy link

This is similar to the points converted to other characters. If this is by design, this bug should be changed to add documentation about this behavior.

@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Apr 13, 2021
@github-actions
Copy link

This issue was closed because it has been stalled for 7 days with no activity.

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

No branches or pull requests

3 participants