|
| 1 | +ignore: |
| 2 | + resource_names: |
| 3 | + - CustomAvailabilityZone |
| 4 | + #- DBCluster |
| 5 | + - DBClusterEndpoint |
| 6 | + #- DBClusterParameterGroup |
| 7 | + - DBClusterSnapshot |
| 8 | + #- DBInstance |
| 9 | + - DBInstanceReadReplica |
| 10 | + #- DBParameterGroup |
| 11 | + - DBProxy |
| 12 | + - DBProxyEndpoint |
| 13 | + #- DBSecurityGroup |
| 14 | + - DBSnapshot |
| 15 | + #- DBSubnetGroup |
| 16 | + - EventSubscription |
| 17 | + - GlobalCluster |
| 18 | + - OptionGroup |
| 19 | + field_paths: |
| 20 | +operations: |
| 21 | + DeleteDBCluster: |
| 22 | + override_values: |
| 23 | + # Clearly this is not ideal, but will suffice until we add custom hook |
| 24 | + # points to the build_request methods to enable a genmeration of the |
| 25 | + # final snapshot identifier to use. |
| 26 | + SkipFinalSnapshot: true |
| 27 | + DeleteDBInstance: |
| 28 | + override_values: |
| 29 | + # Clearly this is not ideal, but will suffice until we add custom hook |
| 30 | + # points to the build_request methods to enable a genmeration of the |
| 31 | + # final snapshot identifier to use. |
| 32 | + SkipFinalSnapshot: true |
| 33 | + DescribeDBInstances: |
| 34 | + primary_identifier_field_name: DBInstanceIdentifier |
| 35 | + DescribeDBClusters: |
| 36 | + primary_identifier_field_name: DBClusterIdentifier |
| 37 | +resources: |
| 38 | + DBCluster: |
| 39 | + hooks: |
| 40 | + sdk_update_pre_build_request: |
| 41 | + template_path: hooks/db_cluster/sdk_update_pre_build_request.go.tpl |
| 42 | + sdk_delete_pre_build_request: |
| 43 | + template_path: hooks/db_cluster/sdk_delete_pre_build_request.go.tpl |
| 44 | + exceptions: |
| 45 | + terminal_codes: |
| 46 | + - DBClusterQuotaExceededFault |
| 47 | + - DBParameterGroupNotFound |
| 48 | + - DBSubnetGroupNotFoundFault |
| 49 | + - DBSubnetGroupDoesNotCoverEnoughAZs |
| 50 | + - DomainNotFoundFault |
| 51 | + - InsufficientStorageClusterCapacity |
| 52 | + - InvalidParameter |
| 53 | + - InvalidParameterValue |
| 54 | + - InvalidParameterCombination |
| 55 | + - InvalidDBClusterStateFault |
| 56 | + - InvalidDBInstanceStateFault |
| 57 | + - InvalidSubnet |
| 58 | + - InvalidVPCNetworkStateFault |
| 59 | + - KMSKeyNotAccessibleFault |
| 60 | + - StorageQuotaExceeded |
| 61 | + fields: |
| 62 | + MasterUserPassword: |
| 63 | + is_secret: true |
| 64 | + DBClusterParameterGroup: |
| 65 | + renames: |
| 66 | + operations: |
| 67 | + DescribeDBClusterParameterGroups: |
| 68 | + input_fields: |
| 69 | + DBClusterParameterGroupName: Name |
| 70 | + CreateDBClusterParameterGroup: |
| 71 | + input_fields: |
| 72 | + DBClusterParameterGroupName: Name |
| 73 | + DBParameterGroupFamily: Family |
| 74 | + DeleteDBClusterParameterGroup: |
| 75 | + input_fields: |
| 76 | + DBClusterParameterGroupName: Name |
| 77 | + fields: |
| 78 | + Parameters: |
| 79 | + from: |
| 80 | + operation: ModifyDBClusterParameterGroup |
| 81 | + path: Parameters |
| 82 | + DBInstance: |
| 83 | + hooks: |
| 84 | + sdk_update_pre_build_request: |
| 85 | + template_path: hooks/db_instance/sdk_update_pre_build_request.go.tpl |
| 86 | + sdk_delete_pre_build_request: |
| 87 | + template_path: hooks/db_instance/sdk_delete_pre_build_request.go.tpl |
| 88 | + renames: |
| 89 | + operations: |
| 90 | + CreateDBInstance: |
| 91 | + input_fields: |
| 92 | + # The data type of the create input and create output shape of the |
| 93 | + # DBSecurityGroups field is different which causes errors when |
| 94 | + # compiling |
| 95 | + DBSecurityGroups: DBSecurityGroupNames |
| 96 | + exceptions: |
| 97 | + terminal_codes: |
| 98 | + - InvalidParameter |
| 99 | + - InvalidParameterValue |
| 100 | + - InvalidParameterCombination |
| 101 | + - InvalidDBInstanceState |
| 102 | + - DBSecurityGroupNotFound |
| 103 | + - DBSubnetGroupNotFoundFault |
| 104 | + - DBParameterGroupNotFound |
| 105 | + fields: |
| 106 | + MasterUserPassword: |
| 107 | + is_secret: true |
| 108 | + DBParameterGroup: |
| 109 | + renames: |
| 110 | + operations: |
| 111 | + DescribeDBParameterGroups: |
| 112 | + input_fields: |
| 113 | + DBParameterGroupName: Name |
| 114 | + CreateDBParameterGroup: |
| 115 | + input_fields: |
| 116 | + DBParameterGroupName: Name |
| 117 | + DBParameterGroupFamily: Family |
| 118 | + DeleteDBParameterGroup: |
| 119 | + input_fields: |
| 120 | + DBParameterGroupName: Name |
| 121 | + fields: |
| 122 | + Parameters: |
| 123 | + from: |
| 124 | + operation: ModifyDBParameterGroup |
| 125 | + path: Parameters |
| 126 | + DBSecurityGroup: |
| 127 | + renames: |
| 128 | + operations: |
| 129 | + DescribeDBSecurityGroups: |
| 130 | + input_fields: |
| 131 | + DBSecurityGroupName: Name |
| 132 | + CreateDBSecurityGroup: |
| 133 | + input_fields: |
| 134 | + DBSecurityGroupName: Name |
| 135 | + DBSecurityGroupDescription: Description |
| 136 | + DeleteDBSecurityGroup: |
| 137 | + input_fields: |
| 138 | + DBSecurityGroupName: Name |
| 139 | + DBSubnetGroup: |
| 140 | + renames: |
| 141 | + operations: |
| 142 | + DescribeDBSubnetGroups: |
| 143 | + input_fields: |
| 144 | + DBSubnetGroupName: Name |
| 145 | + CreateDBSubnetGroup: |
| 146 | + input_fields: |
| 147 | + DBSubnetGroupName: Name |
| 148 | + DBSubnetGroupDescription: Description |
| 149 | + DeleteDBSubnetGroup: |
| 150 | + input_fields: |
| 151 | + DBSubnetGroupName: Name |
0 commit comments