Skip to content

Conversation

@02strich
Copy link
Contributor

Summary

When using the S3 destination plugin, cloudquery failed with an Access Denied error around the test file despite correct permissions.

Beforehand the code used the plugins path (i.e. cloudquery/s3). That means it doesn't actually test the correct permissions. It should use the output path that is provided by the user.

Beforehand the code used the plugins path (i.e. cloudquery/s3). That
means it doesn't actually test the correct permissions. It should use
the output path that is provided by the user.
@cq-bot cq-bot added the s3 label Mar 13, 2023
@02strich 02strich changed the title Use the correct path for test file fix: Use the correct path for test file Mar 13, 2023
@02strich 02strich marked this pull request as ready for review March 13, 2023 19:51
@02strich 02strich requested review from a team and candiduslynx and removed request for a team March 13, 2023 19:51
@candiduslynx candiduslynx self-assigned this Mar 13, 2023
@candiduslynx
Copy link
Contributor

Hi @02strich!
Thanks for the PR!

I've tested it in #8940.
LGTM

@erezrokah erezrokah merged commit 8e4be40 into cloudquery:main Mar 14, 2023
kodiakhq bot pushed a commit that referenced this pull request Mar 14, 2023
🤖 I have created a release *beep* *boop*
---


## [3.0.1](plugins-destination-s3-v3.0.0...plugins-destination-s3-v3.0.1) (2023-03-14)


### Bug Fixes

* **deps:** Update module github.com/aws/aws-sdk-go-v2 to v1.17.6 ([#8882](#8882)) ([5fa0031](5fa0031))
* **deps:** Update module github.com/aws/aws-sdk-go-v2/config to v1.18.16 ([#8883](#8883)) ([82ffe4d](82ffe4d))
* **deps:** Update module github.com/aws/aws-sdk-go-v2/feature/ec2/imds to v1.12.24 ([#8885](#8885)) ([674fec4](674fec4))
* **deps:** Update module github.com/aws/aws-sdk-go-v2/feature/s3/manager to v1.11.56 ([#8886](#8886)) ([8a3db4b](8a3db4b))
* **deps:** Update module github.com/aws/aws-sdk-go-v2/internal/ini to v1.3.31 ([#8889](#8889)) ([f8fdb07](f8fdb07))
* **deps:** Update module github.com/aws/aws-sdk-go-v2/internal/v4a to v1.0.22 ([#8890](#8890)) ([3c5b412](3c5b412))
* Use the correct path for test file ([#8939](#8939)) ([8e4be40](8e4be40))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@candiduslynx candiduslynx changed the title fix: Use the correct path for test file fix(s3): Use the correct path for test file Mar 14, 2023
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.

4 participants