Some stack templates might include resources that can affect permissions in your AWS account; for example, by creating new AWS Identity and Access Management (IAM) users. For those stacks, you must explicitly acknowledge this by specifying one of these capabilities.
The following IAM resources require you to specify either the CAPABILITY_IAM or CAPABILITY_NAMED_IAM
・If you have IAM resources, you can specify either capability.
・If you have IAM resources with custom names, you must specify CAPABILITY_NAMED_IAM.
・If you don’t specify either of these capabilities, AWS CloudFormation returns an InsufficientCapabilities error.
withopen(self.settings['FEED_URI'], "r") as f: for readline in f.readlines(): item = json.loads(readline)
設定パラメーターが古い
期待通りの動作をするが、以下の警告が表示される
1
WARNING: /usr/local/lib/python3.8/site-packages/scrapy/extensions/feedexport.py:210: ScrapyDeprecationWarning: The `FEED_URI` and `FEED_FORMAT` settings have been deprecated in favor of the `FEEDS` setting. Please see the `FEEDS` setting docs for more details