Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(codebuild): workspace select arg parsing in tf wrapper
The tf wrapper's workspace select handler hardcoded args[2] as the workspace NAME. When the buildspec passed -or-create=true as an explicit flag, args[2] was the flag string, not the name, causing terraform to receive no NAME argument -> 'Expected a single argument'. Fixes: - buildspec: remove -or-create=true from the call (wrapper handles it) - tf wrapper: skip flag args when finding the workspace name; use -or-create=true (=true required, bare -or-create may not parse in all Terraform 1.x patch versions)
- Loading branch information