summaryrefslogtreecommitdiffstats
path: root/swift-source.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'swift-source.yaml')
-rw-r--r--swift-source.yaml35
1 files changed, 35 insertions, 0 deletions
diff --git a/swift-source.yaml b/swift-source.yaml
new file mode 100644
index 00000000..a982d2f4
--- /dev/null
+++ b/swift-source.yaml
@@ -0,0 +1,35 @@
+Description: 'Swift-common: Openstack object storage common configurations'
+Parameters:
+ SwiftHashSuffix:
+ Default: unset
+ Description: A random string to be used as a salt when hashing to determine mappings in the ring.
+ Type: String
+ NoEcho: true
+ SwiftPassword:
+ Default: unset
+ Description: The password for the swift service account, used by the swift proxy services.
+ Type: String
+ NoEcho: true
+Resources:
+ notcomputeConfig:
+ Type: AWS::AutoScaling::LaunchConfiguration
+ Metadata:
+ swift:
+ devices:
+ Fn::Join:
+ - ''
+ - - 'r1z1-'
+ - Fn::Select:
+ - 0
+ - Fn::Select:
+ - 'ctlplane'
+ - Fn::GetAtt:
+ - notcompute
+ - networks
+ - ':%PORT%/d1'
+ hash:
+ Ref: SwiftHashSuffix
+ part-power: 10
+ replicas: 1
+ service-password:
+ Ref: SwiftPassword