-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcreate_clone.yaml
More file actions
58 lines (47 loc) · 1.28 KB
/
create_clone.yaml
File metadata and controls
58 lines (47 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Description: "Create a clone of a FSx for ONTAP volume."
Parameters:
FileSystemId:
Description: "The File System ID."
Type: String
SecretArn:
Description: "The Secret ARN."
Type: String
SecretKey:
Description: "The key to use within the AWS secret."
Default: "password"
Type: String
LinkArn:
Description: "The ARN to the Lambda link function."
Type: String
SvmName:
Description: "The name of the SVM that hold the parent volume."
Type: String
CloneVolumeName:
Description: "The desired name for the cloned volume."
Type: String
ParentVolumeName:
Description: "The name of the parent volume."
Type: String
IsCloned:
Description: "Set to false, during an update, to split the clone from its parent."
Type: String
Default: "true"
Resources:
CloneVolume:
Type: "NetApp::FSxN::Volume"
Properties:
FsxAdminPasswordSource:
Secret:
SecretArn: !Ref SecretArn
SecretKey: !Ref SecretKey
FileSystemId: !Ref FileSystemId
LinkArn: !Ref LinkArn
SVM:
Name: !Ref SvmName
Name: !Ref CloneVolumeName
Clone:
ParentSVM:
Name: !Ref SvmName
ParentVolume:
Name: !Ref ParentVolumeName
IsCloned: !Ref IsCloned