Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon web services 在AWS资源往返工程中使用CloudFormer_Amazon Web Services_Automation_Continuous Integration_Amazon Cloudformation - Fatal编程技术网

Amazon web services 在AWS资源往返工程中使用CloudFormer

Amazon web services 在AWS资源往返工程中使用CloudFormer,amazon-web-services,automation,continuous-integration,amazon-cloudformation,Amazon Web Services,Automation,Continuous Integration,Amazon Cloudformation,我想以一种自动化的方式使用CloudFormer来生成VPC中现有资源的模板。我可以使用Ruby SDK CloudFormation::Client.create_stack()创建CloudPreformer实例,并使用CloudFormation::Client.delete_stack()将其拆下-但在它运行时,我不知道如何与它对话,要求它为资源生成CloudFormation模板。我设想这样做: for every SecurityGroup in VPC: ask Cloud

我想以一种自动化的方式使用CloudFormer来生成VPC中现有资源的模板。我可以使用Ruby SDK CloudFormation::Client.create_stack()创建CloudPreformer实例,并使用CloudFormation::Client.delete_stack()将其拆下-但在它运行时,我不知道如何与它对话,要求它为资源生成CloudFormation模板。我设想这样做:

for every SecurityGroup in VPC:
    ask CloudFormer to generate a cloudformation template of the SecurityGroup
    store the template in S3
    scan the template for compliance with business rules etc.
end

CloudFormer运行后(以非交互方式)如何与之交谈?有人这样做过吗?我希望我不必使用Selenium等来与它的webUI对话。

CloudFormer仍处于测试阶段,没有与其他一流AWS服务相同的命令行界面工具,因此,不幸的是,无法以编程方式与正在运行的应用程序交互