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

feat: add test environment with proper docker-compose using MinIO + add compatibility for it to AWS provider #165

Merged
merged 4 commits into from Jun 16, 2021

Conversation

hbollon
Copy link
Member

@hbollon hbollon commented Jun 14, 2021

Terraboard is now compatible with MinIO (and normally all others S3 compatble providers) using AWS sdk.
I added AWS_OTHER_COMPATIBLE_PROVIDER env variable to disable locks/versions support in order to make the AWS provider compatible with MinIO
The testing purpose environment seems done and ready, it only missing few .tfstates inluded with it.

@coveralls
Copy link

coveralls commented Jun 14, 2021

Coverage Status

Coverage decreased (-0.1%) to 13.512% when pulling 402457d on hbollon:integration-test into 3d02c81 on camptocamp:integration-tests.

@raphink
Copy link
Contributor

raphink commented Jun 15, 2021

Very nice!

I wonder though if it wouldn't be better to have two separate options --no-versioning and --no-locks, as I remember some people using S3 buckets without versioning, or not using DynamoDB but still using versioned S3 buckets.

@hbollon
Copy link
Member Author

hbollon commented Jun 15, 2021

I wonder though if it wouldn't be better to have two separate options --no-versioning and --no-locks, as I remember some people using S3 buckets without versioning, or not using DynamoDB but still using versioned S3 buckets.

You're right it will be more versatile like that, I'm doing this right away 👍

@hbollon
Copy link
Member Author

hbollon commented Jun 15, 2021

I added a new configuration structure for the common parameters to the different providers. We can therefore use them to do the same for other providers in the future.

@raphink raphink merged commit 933f3c0 into camptocamp:integration-tests Jun 16, 2021
raphink pushed a commit that referenced this pull request Jun 16, 2021
…dd compatibility for it to AWS provider (#165)

* feat: docker-compose for test environment using MinIO

* feat: update AWS provider to be compatible with MinIO (and others S3 compatible ones)

* feat: replace AWS_OTHER_COMPATIBLE_PROVIDER by two distinct generic parameters
@hbollon hbollon deleted the integration-test branch June 16, 2021 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants