-
Notifications
You must be signed in to change notification settings - Fork 783
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
Address s3 compatible remote state issues + logging #840
Commits on Nov 9, 2023
-
Fix multiple s3 remote-state issues
* S3/Dynamo hosts did not support configurations without proto:// (regression) * Invalid value for SuppressDebugLog in s3 backend config * No Logger passed to s3 backend config * Context needed to be tied to specific loggers to function * Add Head to state get, works around some compatability issues Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1b97210 - Browse repository at this point
Copy the full SHA 1b97210View commit details -
Fix putting state in s3 compatible services
Works around issues in compatible services handing streaming checksums by pre-computing the hash and hitting the simpler code path. Hopefully this can be removed at some point, but for now it's a pretty big win. Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d41e8dd - Browse repository at this point
Copy the full SHA d41e8ddView commit details -
Add logging integration for s3 remote-state Delete()
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bb78831 - Browse repository at this point
Copy the full SHA bb78831View commit details -
Prefix non-proto endpoints with https://
This is not a requirement from aws-go-sdk, but it is for the hashicorp aws-go-sdk-base middleware. Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3fb97f6 - Browse repository at this point
Copy the full SHA 3fb97f6View commit details -
Only compute the sha256 when needed (default)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4a65aed - Browse repository at this point
Copy the full SHA 4a65aedView commit details -
Simplify PutObject sha256 computation
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 65d39f5 - Browse repository at this point
Copy the full SHA 65d39f5View commit details -
Add s3 backend function for attaching logging to context
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d19b88e - Browse repository at this point
Copy the full SHA d19b88eView commit details -
Add tests for s3 backend endpoint manipulation
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0cf1cdb - Browse repository at this point
Copy the full SHA 0cf1cdbView commit details -
Revert to BaseEndpoint instead of EndpointResolver
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8af0aa1 - Browse repository at this point
Copy the full SHA 8af0aa1View commit details -
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7febd2e - Browse repository at this point
Copy the full SHA 7febd2eView commit details -
Remove comments for old endpoint resolver attempt
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 46588eb - Browse repository at this point
Copy the full SHA 46588ebView commit details