I followed same steps to publish a module to terraform private registry.
I set env variables
- TOKEN
- TF_ORGANIZATION
but after running curl command, getting title not found error
curl \
–header “Authorization: Bearer $TOKEN” \
–header “Content-Type: application/vnd.api+json” \
–request POST \
–data @terraform-aws-networking/payload.json \
https://app.terraform.io/api/v2/organizations/my-org-name/registry-modules/
{“errors”:[{“status”:“404”,“title”:“not found”}]}%
could you please suggest me how i can resolve this issue?