How can I extract ami id to use in next step, where I want to provision ec2 instance using terraform. Anyway I can export ami_id into environment variable and then use it later?\
any other way please>?
Setting up ami_id as an environment variable should surely help. Also, GitHub Actions has a workflow command called "set-output" which should be helpful.
Manisha
I did try this approach but it failed with error Error: Unable to resolve action. Repository not found: hashicorp/packer-github-actions