rivernews / media-literacy

Exploring possibilities of technology empowering media literacy
1 stars 0 forks source link

Step function #4

Closed rivernews closed 3 years ago

rivernews commented 3 years ago

Resolve the infra issues first

DO enforce using newer K8s.. now cert-manager is not working. Let's create a branch, and use it to update stuff to latest, then try again.

Then, when the node dev environment is ready again

In the future, to be able to fully use VScode remote-container-k8s...

rivernews commented 3 years ago

Debugging step func creation

Terraform apply error, something in the ASL YAML:

 Error: Provider produced inconsistent final plan
│ 
│ When expanding the plan for module.step_function.aws_sfn_state_machine.this[0] to include new values learned so far during apply, provider "registry.terraform.io/hashicorp/aws"
│ produced an invalid new value for .definition: was cty.StringVal("\nStartAt: FirstState\nStates:\n  FirstState:\n    Type: Pass\n    Result: \"FirstStateResult\"\n    End: true\n"),
│ but now cty.StringVal("\nComment: |\n  # AWS State Machine Definition Supports YAML\n  #
│ https://aws.amazon.com/about-aws/whats-new/2021/03/aws-step-functions-adds-tooling-support-for-yaml/\n  # Based on\n  #
│ https://docs.aws.amazon.com/step-functions/latest/dg/development-options.html#development-options-format\n\nStartAt: FirstState\nStates:\n  FirstState:\n    Type: Pass\n    Result:
│ \"FirstStateResult\"\n    End: true\n").
│ 
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.