OK, this isn’t a use case I’ve tried to implement myself but it might make sense to start with record and playback in this instance, so run Terraform against one of your AWS environments but proxying through WireMock with recording enabled. Then you can tweak/customise the resulting stubs and test against them without connecting to a real AWS account.