aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/resources
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2020-02-27 14:48:04 +0100
committergjoranv <gv@verizonmedia.com>2020-02-27 15:46:50 +0100
commit3f75d479cc5040732340b48f8a8450a40561ba86 (patch)
tree86d4a41c59db1aa874673107aec428a69f86280f /config-model/src/main/resources
parentccc613e98f3b2cd0f69cb48715646c7093da8134 (diff)
Modify xml syntax for cloudwatch
- Group access+secret key in new element 'credentials' - Move 'profile' into new element 'shared-credentials'
Diffstat (limited to 'config-model/src/main/resources')
-rw-r--r--config-model/src/main/resources/schema/admin.rnc14
1 files changed, 8 insertions, 6 deletions
diff --git a/config-model/src/main/resources/schema/admin.rnc b/config-model/src/main/resources/schema/admin.rnc
index e3ba7dc500d..f4585b3cf3f 100644
--- a/config-model/src/main/resources/schema/admin.rnc
+++ b/config-model/src/main/resources/schema/admin.rnc
@@ -91,14 +91,16 @@ Cloudwatch = element cloudwatch {
attribute region { xsd:Name } &
attribute namespace { xsd:string { pattern = "[\w_\-/#:\.]+" } } &
(
- (
- element access-key-name { xsd:Name } &
- element secret-key-name { xsd:Name }
- )
+ element credentials {
+ attribute access-key-name { xsd:Name } &
+ attribute secret-key-name { xsd:Name }
+ }
|
- element profile { xsd:Name }
+ element shared-credentials {
+ attribute profile { xsd:Name } &
+ attribute file { string }?
+ }
)?
-
}
ClusterControllers = element cluster-controllers {