1. 程式人生 > >Reference an Existing Resource When Creating a CloudFormation Template

Reference an Existing Resource When Creating a CloudFormation Template

{
   "Parameters":{
        "NetworkStackNameParameter":{
              "Type":"String"
      }
    },
"Resources" : {
  "WebServerInstance" : {
    "Type" : "AWS::EC2::Instance",
    "Properties" : {
      "InstanceType" : "t2.micro",
      "ImageId" : "ami-a1b23456",
      "NetworkInterfaces" : [{
        "GroupSet" : [{"Fn::ImportValue" : {"Fn::Sub" : "${NetworkStackNameParameter}-SecurityGroupID"}}],
        "AssociatePublicIpAddress" : "true",
        "DeviceIndex" : "0",
        "DeleteOnTermination" : "true",
        "SubnetId" : {"Fn::ImportValue" : {"Fn::Sub" : "${NetworkStackNameParameter}-SubnetID"}}
      }]
    }
  }
}

相關推薦

Reference an Existing Resource When Creating a CloudFormation Template

{ "Parameters":{ "NetworkStackNameParameter":{ "Type":"String" } }, "Resources" : { "WebServerInstance" : {

權限不足When Creating a Materialized View Log

MLOGThe privileges required to create a materialized view log are directly related to the privileges necessary to create the underlying objects associated

第一次使用jupyter建立python時錯誤:Creating Notebook Failed An error occurred while creating a new notebook.

當我們用命令列在瀏覽器中啟動jupyter notebook後需要點選右上角的New建立新的python檔案,此時會報錯。在Linux下可以用命令列解決這個問題。首先需要找到anaconda2中jupyter檔案,在anaconda2中的share檔案中,對jupyter執行如下命令,來修改jupy

30. Creating a GoldenGate confguration to run a Shell script when an end-of-day processing record is

簡單說明: OGG提供了EVENTMARKER特性,可以用來建立事件並執行它,本篇博文主要測試該特性 依據《11. Setting up a simple GoldenGate replication confguration between two sin

python eclipse+pydev(An error has occurred when creating this preference page)

Eclipse 安裝pydev : Help->Install New Software ->add ->Location=http://pydev.org/updates 點選pydev左邊的小三角勾選pydev for eclipse 開始

Creating a dataset using an API with Python

Whenever we begin a Machine Learning project, the first thing that we need is a dataset. While there are many datasets that you can find online with varied

Steps to create a new standby from an existing ADG standby (文件 ID 2305009.1)

Some customer want to know if we can create a new standby from an existing ADG standby, because we can reduce the overhead workload on pri

Ask HN: Do you start an LLC when launching a side-project?

If you do, do you use a LLC creation website, or do you do the paperwork yourself and list yourself as the registered agent. If not, what do you do instead

'version' contains an expression but should be a constant

modules count tle pro pda for 依賴 只需要 contains [WARNING] Some problems were encountered while building the effective model for com.ap

dashDB - Creating a table with CLOB column type

sda lec ads rim bold classic science count gree In order to create a table with clob column type, the table has to be created with "ORGAN

Entity Framework Code First to an Existing Database

post red arc for ram .com als opened and 1. Create an Existing Database CREATE TABLE [dbo].[Blogs] ( [BlogId] INT IDENTITY (1, 1)

when create a table,then show error ora-00952 tablespace tsb_1 not exist

check alter where temporary default ora emp rom esp QUESTION:When create a table,then show error ora-00952 tablespace tsb_1 not exist. ST

play02-Getting started-Creating a new application

Scala play sbt https://www.playframework.com/documentation/2.6.x/NewApplication 使用Play starter project:https://playframework.com/download#starters如果你

Creating a new dynamic form project, business modeling.

oss creat aps inf logic acc conn then dde The domain logic is like there are a bunch of objects, as well as a lot of configurations, acco

It is possible that this issue is resolved by uninstalling an existing version of the apk if it is

換了個電腦執行Android studio安裝apk時,彈出視窗,點確定安裝失敗。視窗內容如下: Installation failed with message Failed to establish se

報錯解析 [Vue warn]: You may have an infinite update loop in a component render function.

結構 vue操作一個很有意思的報錯 [Vue warn]: You may have an infinite update loop in a component render function. 程式碼: <template> <span

MySql Scaffolding an Existing Database in EF Core

line itoo nta spro sid user otn get bold 官方文檔詳見:https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework-core-scaffold-ex

vue sort()方法報錯:“You may have an infinite update loop in a component”

html  <div class="box" v-for="(item,itemindex) in itemrank" :key="itemindex"> <div class="box-title" > <div class="t

關於Studio在配置 SDK時提示 Target folder is neither empty nor does it point to an existing SDK installtion.

關於Studio在配置 SDK時提示 “Target folder is neither empty nor does it point to an existing SDK installtion.”解決方法!!! 筆者,從昨天晚上搞到現在,才搞好了Android的配置,就是卡在了An

hive的streaming:an error occurred when trying to close the Operator running your custom script.

 在對hive 進行 select 查詢的時候 我們可以編寫 python 、php 、perl等指令碼來進行相應的資料處理,我們要用到hive  的 transform  和 using。  在使用的時候容易報如圖所示的錯誤:an e