Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Using Template Output With Golang SDK #135

Open
rwade42 opened this issue Oct 19, 2018 · 1 comment
Open

Using Template Output With Golang SDK #135

rwade42 opened this issue Oct 19, 2018 · 1 comment

Comments

@rwade42
Copy link

rwade42 commented Oct 19, 2018

Use Case

I would like to deploy resources to a Docker image running the local version of DynamoDB directly from my project's CloudFormation template for testing purposes. I'm using Serverless framework to deploy from my template directly to AWS, but to deploy to the locally running DDB image, it seems like the best approach is to create the tables using the AWS Golang SDK in my tests.

Problem

Currently I'm able to get an AWSDynamoDBTable by using goformation. To be able to create the tables on my local DDB instance in my tests however, I need a CreateTableInput from the SDK. It seems like there should be a way to easily convert from one to the other, but I can't seem to find anything.

Suggestion

A PR that converts the aws resources here into the Golang SDK equivalents.

@PaulMaddox
Copy link
Contributor

You're correct - there's no way to do this today that i'm aware of, but it would be a nice feature. I don't have bandwidth to work on this myself at the moment but will leave this issue open to track the feature request in case anyone else wants to pick it up.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants