I am trying to connect 2 VCNs from different tenancies using LPG and while creating the policies given in the official documentation, I face an error: unable to parse Define compartment acceptorComp as id ocid1.compartment.oc1..aaa
and am unable to figure out why am I facing this issue or how do I go about solving this issue
I tried looking through the docs to try and understand the syntax properly but couldn’t find anything related to defining compartments or anything that could help me.
The config I used for requestor:
Define tenancy Requestor as ocid1.tenancy.oc1..qqq
Define group requestorGrp as ocid1.group.oc1..www
Define compartment acceptorComp as id ocid1.compartment.oc1..aaa
Admit group requestorGrp of tenancy Requestor to manage local-peering-to in compartment acceptorComp
Admit group requestorGrp of tenancy Requestor to associate local-peering-gateways in tenancy Requestor with local-peering-gateways in compartment acceptorComp
I was facing the same issue in the acceptor policy as this line is shared.
parnavh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.