[x] Run make reviewable to ensure this PR is ready for review.
How has this code been tested
I have created an application resource without enabling management-policies. Then I edited the resource and added
managementPolicy: ObserveOnly to spec. I get the following message and situation:
message: managementPolicy is set to a non-default value but the feature is not
enabled.
NAME READY SYNCED EXTERNAL-NAME AGE
application.applications.azuread.upbound.io/example True False 96558175-82d0-4a9d-8596-ddb2a049b738 15m
Then I activated the management-policies by making changes in the Makefile. I created a new application resource in AAD console and I successfully imported it using the following manifest:
Description of your changes
This PR adds support for Observe Only resources. It also bumps
up
tov0.16.1
. Related PR: https://github.com/upbound/provider-aws/pull/672I have:
make reviewable
to ensure this PR is ready for review.How has this code been tested
I have created an application resource without enabling management-policies. Then I edited the resource and added
managementPolicy: ObserveOnly
tospec
. I get the following message and situation:Then I activated the management-policies by making changes in the Makefile. I created a new application resource in AAD console and I successfully imported it using the following manifest:
I can see the managed resource is ready & synced:
status.atProvider
is up to date with the actual status of the resource: