Terraform 0.7.13
AWS Provider
This is a tracking issue for building Terraform support for AWS Step Functions (http://docs.aws.amazon.com/step-functions/latest/apireference/Welcome.html). As the CreateStateMachine function takes a substantially long JSON blob describing the flow, a data source similar to the existing aws_iam_policy_document would probably be a good idea.
Hi guys,
Started working on this in #11420 . It's almost ready!
Saw that the PR #11420 was merged for this, will it be released in v0.8.6, and if so, what is the ETA on that release. I'm excited to use this new functionality! Thanks @Ninir for putting in the work!
Hi @davidski ,
For now, support of Step Function State Machine definition in Terraform support basic inline code or templates files.
Hi folks,
as far as I understand the SFN support is pretty much complete (aws_sfn_state_machine + aws_sfn_activity) and we can close this issue, am I right?
Hi, @radeksimko. Terraform support for SFN is indeed up and running. The current support requires template files or very long JSON blobs. This isn't as clean as the data source version that IAM policy resources have in this provider. I'm fine with closing this out, but we shouldn't loose visibility into the discrepancy between the implementation of SFN vs. IAM. I'd very much like to see a consistent user experience when dealing with long JSON documents within the AWS provider and am a little anxious about fragmenting designs across different resources.
Again, the SFN functionality works today. Which is awesome! :grin:
Glad to hear @davidski :)
I think there is a much more complexity with the data source, but this is still in my bag for future contributions ;)
Thanks,
I will close this issue then, as it's describing SFNs as a feature and that's supported.
Feel free to raise a PR for the mentioned data sources whenever you're ready for it. 😺
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Most helpful comment
Hi guys,
Started working on this in #11420 . It's almost ready!