community icon indicating copy to clipboard operation
community copied to clipboard

support update code paths for opensearchservice

Open jaypipes opened this issue 4 years ago • 3 comments
trafficstars

Currently, the Domain resource for the opensearchservice-controller does not support updating Domain attributes.

Some options of a Domain that can be set on CreateDomain can be updated using the UpdateDomainConfig API call. Examples of these attributes include the AutoTuneOptions and DeploymentTypeOptions.

Other attributes of the Domain, such as TagList are settable via the CreateDomain API call but have entirely different API calls for updating the values (AddTags and RemoveTags API calls...)

We should figure out a way to update these attributes using the UpdateDomainConfig and Add/RemoveTags API calls.

jaypipes avatar Jun 04 '21 15:06 jaypipes

Note that a similar issue exists for various fields of the S3 Bucket, including PutBucketCors and PutBucketEncryption, neither of which are settable on create of the bucket.

jaypipes avatar Jun 28 '21 15:06 jaypipes

There is no pretty way to generate any of this logic for all controllers. I have implemented a version which works for S3, which can be used as reference.

RedbackThomson avatar Aug 23 '21 21:08 RedbackThomson

/lifecycle frozen

vijtrip2 avatar Dec 22 '21 20:12 vijtrip2