github.com/jpreese/tflint@v0.19.2-0.20200908152133-b01686250fb6/rules/awsrules/models/mappings/opsworks.hcl (about)

     1  import = "aws-sdk-go/models/apis/opsworks/2013-02-18/api-2.json"
     2  
     3  mapping "aws_opsworks_application" {
     4    name                      = String
     5    short_name                = String
     6    stack_id                  = String
     7    type                      = AppType
     8    description               = String
     9    environment               = EnvironmentVariables
    10    enable_ssl                = Boolean
    11    ssl_configuration         = SslConfiguration
    12    app_source                = Source
    13    data_source_arn           = String
    14    data_source_type          = String
    15    data_source_database_name = String
    16    domains                   = Strings
    17    document_root             = String
    18    auto_bundle_on_deploy     = String
    19    rails_env                 = String
    20    aws_flow_ruby_settings    = String
    21  }
    22  
    23  mapping "aws_opsworks_custom_layer" {
    24    name                        = String
    25    short_name                  = String
    26    stack_id                    = String
    27    auto_assign_elastic_ips     = Boolean
    28    auto_assign_public_ips      = Boolean
    29    custom_instance_profile_arn = String
    30    custom_security_group_ids   = Strings
    31    auto_healing                = Boolean
    32    install_updates_on_boot     = Boolean
    33    instance_shutdown_timeout   = Integer
    34    elastic_load_balancer       = String
    35    drain_elb_on_shutdown       = Boolean
    36    system_packages             = Strings
    37    use_ebs_optimized_instances = Boolean
    38    ebs_volume                  = VolumeConfiguration
    39    custom_json                 = String
    40    custom_configure_recipes    = Strings
    41    custom_deploy_recipes       = Strings
    42    custom_setup_recipes        = Strings
    43    custom_shutdown_recipes     = Strings
    44    custom_undeploy_recipes     = Strings
    45  }
    46  
    47  mapping "aws_opsworks_ganglia_layer" {
    48    stack_id                    = String
    49    password                    = String
    50    name                        = String
    51    auto_assign_elastic_ips     = Boolean
    52    auto_assign_public_ips      = Boolean
    53    custom_instance_profile_arn = String
    54    custom_security_group_ids   = Strings
    55    auto_healing                = Boolean
    56    install_updates_on_boot     = Boolean
    57    instance_shutdown_timeout   = Integer
    58    elastic_load_balancer       = String
    59    drain_elb_on_shutdown       = Boolean
    60    system_packages             = Strings
    61    url                         = String
    62    username                    = String
    63    use_ebs_optimized_instances = Boolean
    64    ebs_volume                  = VolumeConfiguration
    65    custom_json                 = String
    66    custom_configure_recipes    = Strings
    67    custom_deploy_recipes       = Strings
    68    custom_setup_recipes        = Strings
    69    custom_shutdown_recipes     = Strings
    70    custom_undeploy_recipes     = Strings
    71  }
    72  
    73  mapping "aws_opsworks_haproxy_layer" {
    74    stack_id                    = String
    75    // stats_password           = String
    76    name                        = String
    77    auto_assign_elastic_ips     = Boolean
    78    auto_assign_public_ips      = Boolean
    79    custom_instance_profile_arn = String
    80    custom_security_group_ids   = Strings
    81    auto_healing                = Boolean
    82    healthcheck_method          = String
    83    healthcheck_url             = String
    84    install_updates_on_boot     = Boolean
    85    instance_shutdown_timeout   = Integer
    86    elastic_load_balancer       = String
    87    drain_elb_on_shutdown       = Boolean
    88    // stats_enabled            = String
    89    // stats_url                = String
    90    // stats_user               = String
    91    system_packages             = Strings
    92    use_ebs_optimized_instances = Boolean
    93    ebs_volume                  = VolumeConfiguration
    94    custom_json                 = String
    95    custom_configure_recipes    = Strings
    96    custom_deploy_recipes       = Strings
    97    custom_setup_recipes        = Strings
    98    custom_shutdown_recipes     = Strings
    99    custom_undeploy_recipes     = Strings
   100  }
   101  
   102  mapping "aws_opsworks_instance" {
   103    instance_type           = String
   104    stack_id                = String
   105    layer_ids               = Strings
   106    state                   = any
   107    install_updates_on_boot = Boolean
   108    auto_scaling_type       = AutoScalingType
   109    availability_zone       = String
   110    ebs_optimized           = Boolean
   111    hostname                = String
   112    architecture            = Architecture
   113    ami_id                  = String
   114    os                      = String
   115    root_device_type        = RootDeviceType
   116    ssh_key_name            = String
   117    agent_version           = String
   118    subnet_id               = String
   119    tenancy                 = String
   120    virtualization_type     = String
   121    root_block_device       = BlockDeviceMapping
   122    ebs_block_device        = BlockDeviceMapping
   123    ephemeral_block_device  = BlockDeviceMapping
   124  }
   125  
   126  mapping "aws_opsworks_java_app_layer" {
   127    stack_id                    = String
   128    name                        = String
   129    app_server                  = String
   130    app_server_version          = String
   131    auto_assign_elastic_ips     = Boolean
   132    auto_assign_public_ips      = Boolean
   133    custom_instance_profile_arn = String
   134    custom_security_group_ids   = Strings
   135    auto_healing                = Boolean
   136    install_updates_on_boot     = Boolean
   137    instance_shutdown_timeout   = Integer
   138    jvm_type                    = String
   139    jvm_options                 = String
   140    jvm_version                 = String
   141    elastic_load_balancer       = String
   142    drain_elb_on_shutdown       = Boolean
   143    system_packages             = Strings
   144    use_ebs_optimized_instances = Boolean
   145    ebs_volume                  = VolumeConfiguration
   146    custom_json                 = String
   147    custom_configure_recipes    = Strings
   148    custom_deploy_recipes       = Strings
   149    custom_setup_recipes        = Strings
   150    custom_shutdown_recipes     = Strings
   151    custom_undeploy_recipes     = Strings
   152  }
   153  
   154  mapping "aws_opsworks_memcached_layer" {
   155    stack_id                    = String
   156    name                        = String
   157    // allocated_memory         = String
   158    auto_assign_elastic_ips     = Boolean
   159    auto_assign_public_ips      = Boolean
   160    custom_instance_profile_arn = String
   161    custom_security_group_ids   = Strings
   162    auto_healing                = Boolean
   163    install_updates_on_boot     = Boolean
   164    instance_shutdown_timeout   = Integer
   165    elastic_load_balancer       = String
   166    drain_elb_on_shutdown       = Boolean
   167    system_packages             = Strings
   168    use_ebs_optimized_instances = Boolean
   169    ebs_volume                  = VolumeConfiguration
   170    custom_json                 = String
   171    custom_configure_recipes    = Strings
   172    custom_deploy_recipes       = Strings
   173    custom_setup_recipes        = Strings
   174    custom_shutdown_recipes     = Strings
   175    custom_undeploy_recipes     = Strings
   176  }
   177  
   178  mapping "aws_opsworks_mysql_layer" {
   179    stack_id                       = String
   180    name                           = String
   181    auto_assign_elastic_ips        = Boolean
   182    auto_assign_public_ips         = Boolean
   183    custom_instance_profile_arn    = String
   184    custom_security_group_ids      = Strings
   185    auto_healing                   = Boolean
   186    install_updates_on_boot        = Boolean
   187    instance_shutdown_timeout      = Integer
   188    elastic_load_balancer          = String
   189    drain_elb_on_shutdown          = Boolean
   190    // root_password                  = String
   191    // root_password_on_all_instances = String
   192    system_packages                = Strings
   193    use_ebs_optimized_instances    = Boolean
   194    ebs_volume                     = VolumeConfiguration
   195    custom_json                    = String
   196    custom_configure_recipes       = Strings
   197    custom_deploy_recipes          = Strings
   198    custom_setup_recipes           = Strings
   199    custom_shutdown_recipes        = Strings
   200    custom_undeploy_recipes        = Strings
   201  }
   202  
   203  mapping "aws_opsworks_nodejs_app_layer" {
   204    stack_id                    = String
   205    name                        = String
   206    auto_assign_elastic_ips     = Boolean
   207    auto_assign_public_ips      = Boolean
   208    custom_instance_profile_arn = String
   209    custom_security_group_ids   = Strings
   210    auto_healing                = Boolean
   211    install_updates_on_boot     = Boolean
   212    instance_shutdown_timeout   = Integer
   213    elastic_load_balancer       = String
   214    drain_elb_on_shutdown       = Boolean
   215    nodejs_version              = String
   216    system_packages             = Strings
   217    use_ebs_optimized_instances = Boolean
   218    ebs_volume                  = VolumeConfiguration
   219    custom_json                 = String
   220    custom_configure_recipes    = Strings
   221    custom_deploy_recipes       = Strings
   222    custom_setup_recipes        = Strings
   223    custom_shutdown_recipes     = Strings
   224    custom_undeploy_recipes     = Strings
   225  }
   226  
   227  mapping "aws_opsworks_permission" {
   228    allow_ssh  = Boolean
   229    allow_sudo = Boolean
   230    user_arn   = String
   231    level      = String
   232    stack_id   = String
   233  }
   234  
   235  mapping "aws_opsworks_php_app_layer" {
   236    stack_id                    = String
   237    name                        = String
   238    auto_assign_elastic_ips     = Boolean
   239    auto_assign_public_ips      = Boolean
   240    custom_instance_profile_arn = String
   241    custom_security_group_ids   = Strings
   242    auto_healing                = Boolean
   243    install_updates_on_boot     = Boolean
   244    instance_shutdown_timeout   = Integer
   245    elastic_load_balancer       = String
   246    drain_elb_on_shutdown       = Boolean
   247    system_packages             = Strings
   248    use_ebs_optimized_instances = Boolean
   249    ebs_volume                  = VolumeConfiguration
   250    custom_json                 = String
   251    custom_configure_recipes    = Strings
   252    custom_deploy_recipes       = Strings
   253    custom_setup_recipes        = Strings
   254    custom_shutdown_recipes     = Strings
   255    custom_undeploy_recipes     = Strings
   256  }
   257  
   258  mapping "aws_opsworks_rails_app_layer" {
   259    stack_id                    = String
   260    name                        = String
   261    // app_server               = String
   262    auto_assign_elastic_ips     = Boolean
   263    auto_assign_public_ips      = Boolean
   264    // bundler_version          = String
   265    custom_instance_profile_arn = String
   266    custom_security_group_ids   = Strings
   267    auto_healing                = Boolean
   268    install_updates_on_boot     = Boolean
   269    instance_shutdown_timeout   = Integer
   270    elastic_load_balancer       = String
   271    drain_elb_on_shutdown       = Boolean
   272    // manage_bundler           = Boolean
   273    // passenger_version        = String
   274    // ruby_version             = String
   275    // rubygems_version         = String
   276    system_packages             = Strings
   277    use_ebs_optimized_instances = Boolean
   278    ebs_volume                  = VolumeConfiguration
   279    custom_json                 = String
   280    custom_configure_recipes    = Strings
   281    custom_deploy_recipes       = Strings
   282    custom_setup_recipes        = Strings
   283    custom_shutdown_recipes     = Strings
   284    custom_undeploy_recipes     = Strings
   285  }
   286  
   287  mapping "aws_opsworks_rds_db_instance" {
   288    stack_id            = String
   289    rds_db_instance_arn = String
   290    db_user             = String
   291    db_password         = String
   292  }
   293  
   294  mapping "aws_opsworks_stack" {
   295    name                          = String
   296    region                        = String
   297    service_role_arn              = String
   298    default_instance_profile_arn  = String
   299    agent_version                 = String
   300    berkshelf_version             = String
   301    color                         = String
   302    default_availability_zone     = String
   303    configuration_manager_name    = String
   304    configuration_manager_version = String
   305    custom_cookbooks_source       = Source
   306    custom_json                   = String
   307    default_os                    = String
   308    default_root_device_type      = RootDeviceType
   309    default_ssh_key_name          = String
   310    default_subnet_id             = String
   311    hostname_theme                = String
   312    manage_berkshelf              = Boolean
   313    tags                          = Tags
   314    use_custom_cookbooks          = Boolean
   315    use_opsworks_security_groups  = Boolean
   316    vpc_id                        = String
   317  }
   318  
   319  mapping "aws_opsworks_static_web_layer" {
   320    stack_id                    = String
   321    name                        = String
   322    auto_assign_elastic_ips     = Boolean
   323    auto_assign_public_ips      = Boolean
   324    custom_instance_profile_arn = String
   325    custom_security_group_ids   = Strings
   326    auto_healing                = Boolean
   327    install_updates_on_boot     = Boolean
   328    instance_shutdown_timeout   = Integer
   329    elastic_load_balancer       = String
   330    drain_elb_on_shutdown       = Boolean
   331    system_packages             = Strings
   332    use_ebs_optimized_instances = Boolean
   333    ebs_volume                  = VolumeConfiguration
   334    custom_json                 = String
   335    custom_configure_recipes    = Strings
   336    custom_deploy_recipes       = Strings
   337    custom_setup_recipes        = Strings
   338    custom_shutdown_recipes     = Strings
   339    custom_undeploy_recipes     = Strings
   340  }
   341  
   342  mapping "aws_opsworks_user_profile" {
   343    user_arn              = String
   344    allow_self_management = Boolean
   345    ssh_username          = String
   346    ssh_public_key        = String
   347  }