|
381 | 381 | "description": "",
|
382 | 382 | "scope": "source.cloudformation"
|
383 | 383 | },
|
| 384 | + "route-table-assoc": { |
| 385 | + "prefix": "route-table-assoc", |
| 386 | + "body": [ |
| 387 | + "${1:routeTableAssocName}:", |
| 388 | + " Type: AWS::EC2::SubnetRouteTableAssociation", |
| 389 | + " Properties:", |
| 390 | + " SubnetId: ${2:subnet-id}", |
| 391 | + " RouteTableId: ${3:rtable-id}" |
| 392 | + ], |
| 393 | + "description": "", |
| 394 | + "scope": "source.cloudformation" |
| 395 | + }, |
| 396 | + "route-table": { |
| 397 | + "prefix": "route-table", |
| 398 | + "body": [ |
| 399 | + "${1:routeTableName}:", |
| 400 | + " Type: AWS::EC2::RouteTable", |
| 401 | + " Properties:", |
| 402 | + " VpcId: ${2:vpc-id}", |
| 403 | + " Tags:", |
| 404 | + " - Key: ${3:keyname}", |
| 405 | + " Value: ${4:value}" |
| 406 | + ], |
| 407 | + "description": "", |
| 408 | + "scope": "source.cloudformation" |
| 409 | + }, |
| 410 | + "route": { |
| 411 | + "prefix": "route", |
| 412 | + "body": [ |
| 413 | + "${1:routeName}:", |
| 414 | + " Type: AWS::EC2::Route", |
| 415 | + " Properties:", |
| 416 | + " RouteTableId: ${2:rtable-id}", |
| 417 | + " DestinationCidrBlock: ${3:--.--.--.--/--}", |
| 418 | + " GatewayId: ${4:gataway-id}" |
| 419 | + ], |
| 420 | + "description": "", |
| 421 | + "scope": "source.cloudformation" |
| 422 | + }, |
| 423 | + "route53-healthcheck": { |
| 424 | + "prefix": "route53-healthcheck", |
| 425 | + "body": [ |
| 426 | + "${1:route53HealthCheck}:", |
| 427 | + " Type: AWS::Route53::HealthCheck", |
| 428 | + " Properties:", |
| 429 | + " HealthCheckConfig:", |
| 430 | + " IPAddress: ${2:'000.000.000.000'}", |
| 431 | + " Port: ${3:'80'}", |
| 432 | + " Type: ${4:HTTP}", |
| 433 | + " ResourcePath: ${5:'/example/index.html'}", |
| 434 | + " FullyQualifiedDomainName: ${6:'example.com'}", |
| 435 | + " RequestInterval: ${7:'30'}", |
| 436 | + " FailureThreshold: ${8:'3'}", |
| 437 | + " HealthCheckTags:", |
| 438 | + " - ", |
| 439 | + " Key: ${9:\"SampleKey1\"}", |
| 440 | + " Value: ${10:\"SampleValue1\"}", |
| 441 | + " - ", |
| 442 | + " Key: ${11:\"SampleKey2\"}", |
| 443 | + " Value: ${12:\"SampleValue2\"}" |
| 444 | + ], |
| 445 | + "description": "", |
| 446 | + "scope": "source.cloudformation" |
| 447 | + }, |
| 448 | + "route53-hostedzone": { |
| 449 | + "prefix": "route53-hostedzone", |
| 450 | + "body": [ |
| 451 | + "${1:route53HostedZone}:", |
| 452 | + " Type: AWS::Route53::HostedZone", |
| 453 | + " Properties:", |
| 454 | + " Name: ${2}", |
| 455 | + " HostedZoneConfig:", |
| 456 | + " Comment: ${3:My hosted zone for example.com}", |
| 457 | + " VPCs:", |
| 458 | + " - ", |
| 459 | + " VPCId: ${4:\"vpc-id\"}", |
| 460 | + " VPCRegion: ${5:\"vpc-region\"}", |
| 461 | + " HostedZoneTags:", |
| 462 | + " - ", |
| 463 | + " Key: ${6:\"SampleKey1\"}", |
| 464 | + " Value: ${7:\"SampleValue1\"}" |
| 465 | + ], |
| 466 | + "description": "", |
| 467 | + "scope": "source.cloudformation" |
| 468 | + }, |
| 469 | + "route53-recordsetgroup": { |
| 470 | + "prefix": "route53-recordsetgroup", |
| 471 | + "body": [ |
| 472 | + "${1:route53RSGroup}:", |
| 473 | + " Type: AWS::Route53::RecordSetGroup", |
| 474 | + " Properties:", |
| 475 | + " Comment: ${2}", |
| 476 | + " HostedZoneId: ${3}", |
| 477 | + " HostedZoneName: ${4}", |
| 478 | + " RecordSets: ", |
| 479 | + " - ${5:recordset}" |
| 480 | + ], |
| 481 | + "description": "", |
| 482 | + "scope": "source.cloudformation" |
| 483 | + }, |
| 484 | + "route53-recordset": { |
| 485 | + "prefix": "route53-recordset", |
| 486 | + "body": [ |
| 487 | + "${1:route53RS}:", |
| 488 | + " Type: AWS::Route53::RecordSet", |
| 489 | + " Properties:", |
| 490 | + " Name: ${2}", |
| 491 | + " Comment: ${3}", |
| 492 | + " Type: ${4:A | AAAA | CNAME | MX | NS | PTR | SOA | SPF | SRV | TXT}", |
| 493 | + " TTL: ${5}", |
| 494 | + " AliasTarget: ${6}", |
| 495 | + " Failover: ${7}", |
| 496 | + " GeoLocation: ${8}", |
| 497 | + " HealthCheckId: ${9}", |
| 498 | + " HostedZoneId: ${10}", |
| 499 | + " HostedZoneName: ${11}", |
| 500 | + " Region: ${12}", |
| 501 | + " ResourceRecords: ${13}", |
| 502 | + " - ${14:record}", |
| 503 | + " SetIdentifier: ${15}", |
| 504 | + " Weight: ${16}" |
| 505 | + ], |
| 506 | + "description": "", |
| 507 | + "scope": "source.cloudformation" |
| 508 | + }, |
384 | 509 | "s3-bucket": {
|
385 | 510 | "prefix": "s3-bucket",
|
386 | 511 | "body": [
|
|
0 commit comments