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

github.com/aws/aws-sdk-go-v2/internal/endpoints/awsrulesfn should be it's own module #2244

Closed
2 tasks done
parsnips opened this issue Aug 16, 2023 · 5 comments
Closed
2 tasks done
Labels
feature-request A feature should be added or improved. p3 This is a minor priority issue

Comments

@parsnips
Copy link

parsnips commented Aug 16, 2023

Describe the feature

github.com/aws/aws-sdk-go-v2/internal/endpoints/awsrulesfn should be a module that's rev'd on it's own similar to how configsources is.

Use Case

Trying to use services/scheduler in a bazel/gazelle managed build and gazelle attempts to depend on the module via this dependency:

"@com_github_aws_aws_sdk_go_v2_internal_endpoints_v2//:awsrulesfn",

Even though this package/path does not have awsrulesfn

Proposed Solution

add a go.mod and version that package or
move it into github.com/aws/aws-sdk-go-v2/internal/endpoints/v2

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS Go SDK V2 Module Versions Used

github.com/aws/aws-sdk-go-v2/service/scheduler v1.2.2

Go version used

go version go1.20.2 darwin/arm64

@parsnips parsnips added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Aug 16, 2023
@lucix-aws lucix-aws removed the needs-triage This issue or PR still needs to be triaged. label Aug 23, 2023
@lucix-aws lucix-aws added the p3 This is a minor priority issue label Sep 19, 2023
@lucix-aws
Copy link
Contributor

This appears to be an issue with this dependency manager, there's nothing semantically invalid about how this subpackage is exposed, nor is it an outlier in internal - internal/auth is "unmoduled" in this same way.

We're not opposed to improved module granularity, we had briefly picked this up accordingly but we had to reprioritize.

Closing for now.

@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@lucix-aws lucix-aws closed this as not planned Won't fix, can't repro, duplicate, stale Oct 20, 2023
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@Avinodh
Copy link

Avinodh commented Jan 12, 2024

@parsnips - I'm hitting a similar issue when trying to use service/cloudtrail in my project:

ERROR: /private/var/tmp/<redacted>/external/com_github_aws_aws_sdk_go_v2_service_cloudtrail/BUILD.bazel:3:11: no such target '@com_github_aws_aws_sdk_go_v2_internal_endpoints_v2//:awsrulesfn': target 'awsrulesfn' not declared in package '' defined by
/private/var/tmp/_<redacted>/external/com_github_aws_aws_sdk_go_v2_internal_endpoints_v2/BUILD.bazel (Tip: use `query "@com_github_aws_aws_sdk_go_v2_internal_endpoints_v2//:*"` 
to see all the targets in that package) and referenced by '@com_github_aws_aws_sdk_go_v2_service_cloudtrail//:cloudtrail'

Were you able to work around this issue?

@joseph-galindo
Copy link

Just making a note and subscribing to this thread - running into similar issues with attempting to use service/organizations v1.30.2 with bazel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. p3 This is a minor priority issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants