Releases: silinternational/serverless-mfa-api-go
Releases · silinternational/serverless-mfa-api-go
Release v2.3.3 --GHCR.io image push
Added
-Pushing the Docker images to ghcr.io (Git Container Registry)
increase log retention to 60 days
Changed
- Increased log retention to 60 days
use GitHub Actions
Changed
- Use GitHub Actions instead of Codeship for test and deploy
change to the Amazon Linux 2 Lambda runtime
Merge pull request #70 from silinternational/develop Release 2.3.0 - change to the Amazon Linux 2 Lambda runtime
Return hash of the key handle from login endpoint
Added
- Return the hash of the key handle, which is what the registration endpoint returns. This allows the caller to look up the credential by the same token that it had at registration time.
Remove CORS
Changed (non-breaking)
- Remove the CORS middleware since it is not required for this application.
Cleanup IAM policy, update webauthn Go library
Changed (non-breaking)
- Replace deprecated duo-labs/webauthn with go-webauthn/webauthn.
Fixed
- Whitespace formatting using
go fmt
andgofumpt
. - Remove the duplicate "..._global" resource from the Lambda Role's policy
- The
api_key_table
andwebauthn_table
values now include the full table name, so this transitional additional resource name (where we manually appended the "_global" suffix) is no longer needed.
- The
Improve DNS failover using intermediate CNAME records
Added
- Add intermediate CNAMEs for easier failover
- Output domain names used by DNS CNAME failover records
Fixed
- Wait for certificate to be issued before trying to use it
Note: If desired, you could use terraform state mv
to reduce the amount of deletion-and-recreation that some included terraform module-renames and resource-renames will cause (if that matters to you):
terraform state mv module.dns_for_failover.module.fail_over_cname module.dns_for_failover.module.fail_over_cnames
terraform state mv module.dns_for_failover.module.custom_domains module.dns_for_failover.module.api_gateway_domains_and_certs
Use GlobalTables, add DNS for failover
Changed (BREAKING)
- Change Cloudflare zone/domain name variable
- Switch to using global table for api-keys
- Switch to using global table for u2f/webauthn records
Changed (non-breaking)
- Restrict IAM permissions by AWS account, not region
Added
- Add CNAME DNS records for failover
Fixed
- Fix api_name values to match code in codeship/deploy.sh
- Use calculate API stage as serverless_stage as well