This directory contains HTTP replay data generators, used for integration testing.
This is intentionally does not make use of go generate as it requires non-trivial setup.
Creating AWS Resources
Warning
Always use sandbox accounts. Never use these in production or even qa/staging accounts.
You will need aws-vault. As testdata.go does no handle aws profiles to avoid pulling
in additional dependencies as well as to avoiding calls to STS which does not work well with http replayer. But it does support AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY and AWS_SESSION_TOKEN. With aws-vault configured, aws-vault exec can be used.
Warning
This will incur some billing, though it should be around ~5$ as long as you run terraform destroy afterwards. You can use local-kms to avoid it.