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

Add support for nested objects in output #106

Merged
merged 4 commits into from
Aug 10, 2023
Merged

Conversation

bdwyertech
Copy link
Contributor

Description of your changes

Add support for nested object output.

Fixes #

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

@bobh66 bobh66 self-requested a review March 2, 2023 21:52
Copy link
Member

@ytsarev ytsarev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pipes are failing with go mod tidy please double check.

go.mod Show resolved Hide resolved
Copy link
Collaborator

@bobh66 bobh66 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a rebase and it would be good to include non-sensitive object and list outputs in the output tests to ensure that it works and that nothing breaks it in the future.

@Upbound-CLA
Copy link

Upbound-CLA commented Mar 29, 2023

CLA assistant check
All committers have signed the CLA.

@ytsarev
Copy link
Member

ytsarev commented Jul 4, 2023

That was an accidental close. @bdwyertech Could you please rebase the PR?

@ytsarev ytsarev reopened this Jul 4, 2023
@niklasbeinghaus
Copy link

any news on this? I'd like to use list outputs from the provider in a composition without hacks and I guess this is the stuff I'm waiting for...

Signed-off-by: Yury Tsarev <yury@upbound.io>
@ytsarev ytsarev requested a review from turkenf as a code owner August 10, 2023 12:29
Signed-off-by: Yury Tsarev <yury@upbound.io>
Signed-off-by: Yury Tsarev <yury@upbound.io>
Copy link
Member

@ytsarev ytsarev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for the contribution, @bdwyertech !

Tested it e2e, it looks just great 👍

status:
    atProvider:
      outputs:
        subnet_data:
          arn: arn:aws:ec2:eu-west-1:12345:subnet/subnet-0481765836942e835
          id: subnet-0481765836942e835
        vpc_id: vpc-05d50d36843b95bc3

I've extended this PR with the associated example, linter, and pipeline dependency fixes.

@bobh66 as I added my own commits to this PR, can you please take a look before the final merge?

@ytsarev ytsarev merged commit d79a410 into upbound:main Aug 10, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants