dttung2905 opened a new pull request, #16:
URL: https://github.com/apache/iceberg-terraform/pull/16

   
   Adding resource polaris_principal. Polaris OpenAPI spec can be found 
[here](https://raw.githubusercontent.com/apache/polaris/refs/heads/main/spec/polaris-management-service.yml).
 I'm not too sure about the naming so i'm open for feedback :D 
   
   Example:
   
   ```
   # this is specific for aws, we can swap in for GCP / Azure if need. Just an 
example
   data "aws_secretsmanager_secret_version" "polaris_token" {
     secret_id = "prod/polaris/token" # or ARN
   }
   
   provider "iceberg" {
     catalog_uri            = "http://polaris:8181";
     polaris_management_uri = "http://polaris:8181/api/management/v1";
     token                  = 
data.aws_secretsmanager_secret_version.polaris_token.secret_string
   }
   
   resource "iceberg_polaris_principal" "this" {
     name = "that"
   
     properties = {
       team = "platform"
       env  = "prod"
     }
   }
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to