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

AwsDataLb is missing arn parameter #1669

Closed
rirze opened this issue Mar 29, 2022 · 4 comments · Fixed by #1716
Closed

AwsDataLb is missing arn parameter #1669

rirze opened this issue Mar 29, 2022 · 4 comments · Fixed by #1716
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@rirze
Copy link
Contributor

rirze commented Mar 29, 2022

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

cdktf & Language Versions

Latest cdktf_cdktf_aws_provider Python package.

Affected Resource(s)

Data Source AwsDataLb

Debug Output

Function signature in Python does not show arn input parameter. It should according to the Terraform AWS spec.

|  __init__(self, scope: constructs.Construct, id: str, *, name: Optional[str] = None, tags: Union[cdktf.IResolvable, Mapping[str, str], NoneType] = None, count: Union[int, float, cdktf.IResolvable, NoneType] = None, depends_on: Optional[Sequence[cdktf.ITerraformDependable]] = None, lifecycle: Optional[cdktf.TerraformResourceLifecycle] = None, provider: Optional[cdktf.TerraformProvider] = None) -> None
 |      Create a new {@link https://www.terraform.io/docs/providers/aws/d/lb.html aws_lb} Data Source.
 |      
 |      :param scope: The scope in which to define this construct.
 |      :param id: The scoped construct ID. Must be unique amongst siblings in the same scope
 |      :param name: Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/d/lb.html#name DataAwsLb#name}.
 |      :param tags: Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/d/lb.html#tags DataAwsLb#tags}.
 |      :param count: 
 |      :param depends_on: 
 |      :param lifecycle: 
 |      :param provider:

Important Factoids

Terraform Docs: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/lb

@rirze rirze added bug Something isn't working new Un-triaged issue labels Mar 29, 2022
@jsteinich
Copy link
Collaborator

Related to #1602

@rirze
Copy link
Contributor Author

rirze commented Mar 29, 2022

Same problem exists with AwsDataLbListener. It has no arn input parameter, but Terraform docs says it should.

Could be some code generation bug related to arn?

@skorfmann skorfmann added duplicate This issue or pull request already exists and removed new Un-triaged issue labels Mar 30, 2022
@skorfmann
Copy link
Contributor

What @jsteinich said over here #1602 (comment) - Gonna close this as duplicate of #1602 and add some context over there.

@github-actions
Copy link
Contributor

I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants